Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

det coordinates not working #346

Open
Russell-Ryan opened this issue Jun 6, 2024 · 0 comments
Open

det coordinates not working #346

Russell-Ryan opened this issue Jun 6, 2024 · 0 comments

Comments

@Russell-Ryan
Copy link

I am trying to do coordinate conversions between det and sci reference frames for HST instruments. pysiaf gives this error on this MWE:

import pysiaf

s = pysiaf.Siaf('hst')
A = s['JWFC']

v2,v3 = A.det_to_tel(1000,1000)

It says:

raise TypeError('Angle has to be a float. It is of type {} and has the value {}'.format(
TypeError: Angle has to be a float. It is of type <class 'NoneType'> and has the value None

I've tried a few other apertures, and it gives the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant