-
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
Polycos with Doppler shifts 0 #595
Comments
That looks like a bug to me. Thank you for reporting this. I will fix it as soon as possible. |
Just wanted to report that this bug is still occurring. I am using this script: import pint
import pint.models
import pint.observatory
import pint.observatory.topo_obs
import pint.polycos
model = pint.models.get_model('0329+54.par')
obs = pint.observatory.topo_obs.TopoObs('ou', itrf_xyz=[669765.29,4903035.31,4010839.95])
polycos = pint.polycos.Polycos.generate_polycos(model, 59272, 59276, 'ou', 300, 12, 1400, progress=True)
polycos.write_polyco_file(format='tempo', filename='pint_polycos.dat') Which results in the following output:
Using tempo2, with the same parfile, I define the following line in my oh.dat observatory file: And generate polycos with the following command: Resulting in the following output:
I notice the following differences:
At least the zero doppler shift seems to me to be a bug. Not sure if the others are bugs or just intended differences in how pint operates vs. tempo2, or if I am not using the correct procedure to generate the polycos. |
Investigating a bit more:
|
Hello all,
I am generating polycos for a custom observatory. They are produced, but the Doppler shift due to Earth motion is 0 in each entry. This is the main effect I would like to correct for, to fold long observations with other software.
I have input my custom observatory in /PINT/src/pint/observatory/observatories.py as follows:
TopoObs('acre', aliases=['acreroad'], itrf_xyz =[3573741.1, -269156.74, 5258407.3], )
This is the Python script I used:
This is an example of a set of polycos from PINT_polycos.dat :
I believe pulsar name, date, UTC, MJD, 0 DM (dedispersed data) are correct; although the first two are not separated. Then there is 0 doppler shift and 0 fit residual (not sure if the latter is normal, either). Then reference phase, frequency, observatory, time span, number of coefficients, observing frequency and binary phase (single pulsar) seem all correct as well.
I can provide the contents of the log if needed.
Thank you!
Best,
Emma
Post-Scriptum: I also defined my observatory as follows, which yielded the same issue and did not save to observatories.py:
The text was updated successfully, but these errors were encountered: