-
Notifications
You must be signed in to change notification settings - Fork 6
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
relationship between mapqk and ampqk #9
Comments
This is a question for Pat Wallace - author of slalib, upon which pal was based. I suggest you re-post your question on the starlink mailing list STARLINK@jiscmail.ac.uk, which Pat usually checks, or email him directly. |
Thanks. I emailed the mailing list. |
Apparently, I am not allowed to post to the STARLINK list unless I am registered there. Do you have Pat Wallace's direct email address handy? Thanks. |
I'll copy it to you offline on Slack. |
The PAL implementations are at https://github.com/Starlink/pal/blob/master/palAmpqk.c and https://github.com/Starlink/pal/blob/master/palMapqk.c |
Thanks. I was able to look at those via the git submodule that gets cloned with PALPY. |
I emailed Pat. The conclusion of that conversation was that ampqk was never meant to invert the ICRS-to-apparent-geocentric transformation for an actual celestial object (i.e. something with a parallax). It is only useful for going from (for example) alt, az to apparent geocentric to a theoretical position on the celestial sphere. |
Reading the documentation for mapqk and ampqk, I get the sense that they are supposed to invert each other. Mapqk transforms the mean position of a star into the apparent geocentric position. Ampqk does the opposite. However, Mapqk accepts parallax as one of its arguments. Ampqk does not. Indeed, in using the functions, I have noticed that they do invert each other to sub-milliarcsecond precision when parallax is zero. When parallax is not zero, running the roundtrip through mapqk and ampqk can result in a residual on the order of a few 0.1 arcseconds. Is there some reason these functions are not exact inverses of each other? I understand that subtracting out the effects of proper motion and radial velocity might not make much sense, but I would have assumed that parallax was something that we would want to be able to account for in converting from geocentric apparent to mean position.
Thanks.
The text was updated successfully, but these errors were encountered: