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

PINT doesn't recognize P0 #410

Open
tcromartie opened this issue Aug 9, 2018 · 7 comments
Open

PINT doesn't recognize P0 #410

tcromartie opened this issue Aug 9, 2018 · 7 comments

Comments

@tcromartie
Copy link
Contributor

PINT doesn't recognize P0 (as opposed to F0) (discovered when running event_optimize with a parfile that contains P0)

@luojing1211
Copy link
Member

We will fix this. Is it necessary to have higher-order of spin period derivatives (higher than P1)?

@tcromartie
Copy link
Contributor Author

Hmm... I'm not sure. Since basically everyone will be using F0 instead, I would be surprised. But probably worth asking @scottransom. Thanks!

@scottransom
Copy link
Member

I don't think it is necessary. I'm not sure what tempo2 does, but I think that in TEMPO it is just a convenience and it converts P0 to F0 internally and then outputs that. So it could even be something in model_builder that just does the same conversion. Although P1 might be recognized as well. Anyway, internally frequencies are used and only frequencies are output.

@kstovall
Copy link
Member

kstovall commented Aug 9, 2018 via email

@paulray
Copy link
Member

paulray commented Aug 9, 2018

I think it should throw an error (not just a warning) if P2 or higher is in the par file (if that is not supported and thus is being ignored). I'm timing a ULX pulsar where P2 is often used in published ephemerides. Just because us fast pulsar people rarely use P2 doesn't mean it isn't a valid use case.

@kerrm
Copy link
Contributor

kerrm commented Feb 17, 2021

What's the status on this one? Sounds like we have a plan (convert P0 and P1, error on P2). Or if P2 really is used, why not implement it, too? Just a few more lines of algebra.

@luojing1211
Copy link
Member

luojing1211 commented Feb 17, 2021 via email

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

6 participants