-
Notifications
You must be signed in to change notification settings - Fork 58
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
add fix for timing model #162
Conversation
Codecov Report
@@ Coverage Diff @@
## master #162 +/- ##
==========================================
+ Coverage 34.38% 36.15% +1.76%
==========================================
Files 19 19
Lines 3711 3820 +109
==========================================
+ Hits 1276 1381 +105
- Misses 2435 2439 +4
Continue to review full report at Codecov.
|
@ark0015 Do these changes match the changes you've made on your branch? Would you mind taking a look through these changes? |
This looks like the corrections I have, except I also sort the residuals so that they are both sorted the same. So mine looks like: |
So @ark0015 do you think that @siyuan-chen changes should also sort the residuals? |
@ark0015 Just to check: When you don't sort neither I think that when you pass the residuals through an enterprise pulsar object, then there is no need to sort the residuals. See: https://github.com/nanograv/enterprise/blob/master/enterprise/pulsar.py#L199 |
@siyuan-chen It looks like you might be right that when neither of them are sorted, they reproduce the parallax signal. I think that because |
Thanks, Andrew. Yeah, let's go with sorting both. The PR already has the code changed to sort both, so it just needs to be accepted. @Hazboun6 |
This PR addresses #161 by changing the sign of the residuals - new_res. In addition, there is a need to sort the TOAs, as the libstempo pulsar object and the enterprise pulsar object have different sorting for the TOAs.