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

Do not apply TNEF and TNEQ to the toaerrs #74

Merged
merged 3 commits into from
Apr 10, 2025

Conversation

vhaasteren
Copy link
Collaborator

There is a bug in libstempo that applies TNEF and TNEQ parameters in the parfile to the toaerrs. If a T2EFAC or T2EQUAD is present in the parfile libstempo prevents tempo2 from updating the toaerrs, but for TNEQ and TNEF that does tot happen.

This PR updates libstempo so that it acts the same way: it simply sets the count of self.psr[0].nTNEF and self.psr[0].nTNEQ equal to zero.

Copy link
Collaborator

@mattpitkin mattpitkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I'll merge when the CI passes.

@mattpitkin mattpitkin merged commit 781642b into vallis:master Apr 10, 2025
23 of 24 checks passed
@mattpitkin
Copy link
Collaborator

@vhaasteren Would it be useful if I created a new release version with this included?

@vhaasteren
Copy link
Collaborator Author

@mattpitkin I think that's useful, yes. NANOGrav and the IPTA are working hard on their new data releases at the moment. This particular bug has already caused some problems

Thanks!

@mattpitkin
Copy link
Collaborator

Ok, no problem. I'll make a new release this evening.

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

Successfully merging this pull request may close these issues.

2 participants