-
Notifications
You must be signed in to change notification settings - Fork 101
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
Make barycentered TOAs work correctly #23
Comments
@paulray is working on this. |
Currently if you call model.phase(toas.table), it tries to evaluate the full model for each TOA. It actually should not evaluate the solar system delay terms for TOAs at the 'Barycenter'. This needs to be fixed so that one could have TOA tables that intermix Barycentric and normal TOAs. |
I think it is likely a one-liner (or near one-liner) that we can put in to the solar_system_geometric_delay() method to return 0 for TOAs where the observatory is Barycenter. |
Shouldn't this all already work out OK if the observatory position is set correctly (ie to 0,0,0) for the barycentered TOAs? |
Ah, but that isn't the correct barycenter position.... that is the geocenter position. And we want that as well. |
(unless you meant in barycenter coordinates!) |
Yes, I meant the vector stored along with pint TOAs ("toas['ssb_obs_pos']") which is relative to the barycenter. This is what the astrometry class uses.. if it's zero things should work fine although I agree we might want a special case just to avoid unnecessary calculation. I don't know if barycentered TOAs (which as we've discussed before are kind of a hack to begin with) typically have had SS shapiro delay applied or not... depending on how this was done the shapiro delay part might need disabling, or changing as the observatory wasn't really at the barycenter. |
It should be easy to correct, but I am having trouble figuring out the Python to make it work (elegantly).
|
I believe this was fixed. If not, someone re-open it. |
We should be able to have PINT ingest TOAs that are barycentered and work correctly. Barycentered TOAs are ones that have been externally converted to the TDB time scale and have had the Solar System delays applied for light travel time and Shapiro delay from the Sun and Planets. (Question: Can they be either infinite frequency or finite frequency, or must they be infinite frequency).
When these TOAs are used in PINT, the timing model must correctly handle them, and not apply the Solar System delays a second time.
The text was updated successfully, but these errors were encountered: