-
Notifications
You must be signed in to change notification settings - Fork 0
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
Broadcasting in Ska.quatutil.yagzag2radec #13
Comments
I have a fix for this which I believe works. Part of the problem is that we (I?) have chosen the wrong convention for where to place the extra axes in places (e.g.
|
One idea that just occurred to me is to basically stop updating Ska.quatutil and copy the functionality we need into Quaternion or chandra_aca.transform, and then make the N-d support work consistently. We could perhaps deprecate Ska.quatutil, but that is not necessarily needed. |
I second this last proposal. I would split it: radec2yagzag and yagzag2radec into chandra_aca.transform, the rest into Quaternion. |
I may not understand scope, but I was thinking we might want to do something in Ska.quatutil to have those methods just not support a Quaternion with length > 1 and raise an error. That would at least be consistent. If we are moving methods around, we may still want something like that and a deprecation warning. |
well, I think there is not much difference whether we make it work with the vectorized quaternion before or after deprecating and moving. |
This issue follows issue sot/chandra_aca/issues/102 and it is better described there.
The text was updated successfully, but these errors were encountered: