-
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
feat: add nonlinear timing model #240
Open
davecwright3
wants to merge
12
commits into
nanograv:master
Choose a base branch
from
davecwright3:feat/nonlinear-timing
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
davecwright3
force-pushed
the
feat/nonlinear-timing
branch
from
August 20, 2024 01:53
910ec24
to
fd0d103
Compare
Adds new prior methods useful for nonlinear timing to timing.py Co-authored-by: Andrew Kaiser <[email protected]>
Co-authored-by: Andrew Kaiser <[email protected]>
davecwright3
force-pushed
the
feat/nonlinear-timing
branch
from
August 20, 2024 19:07
fd0d103
to
f70023b
Compare
I broke down the monolithic commits into smaller, more logical commits. Also rebased onto master to include flake8 change. |
Updates tm_delay and timing_block with nonlinear timing. Also adds dm_block and other supporting methods. Co-authored-by: Andrew Kaiser <[email protected]>
Co-authored-by: Andrew Kaiser <[email protected]>
Adds new functionality for nonlinear timing, including specific jump proposals and restrictions to pulsar mass. Co-authored-by: Andrew Kaiser <[email protected]>
Co-authored-by: Andrew Kaiser <[email protected]>
Adds nonlinear timing model to single pulsar noise model. Co-authored-by: Andrew Kaiser <[email protected]>
Adds nonlinear timing model to model_general. Co-authored-by: Andrew Kaiser <[email protected]>
Co-authored-by: Andrew Kaiser <[email protected]>
Co-authored-by: Andrew Kaiser <[email protected]>
Co-authored-by: Andrew Kaiser <[email protected]>
davecwright3
force-pushed
the
feat/nonlinear-timing
branch
from
August 20, 2024 20:22
f70023b
to
291b6ca
Compare
GH actions tests are failing because SciPy likes to make breaking changes on minor version increases. We should either pin SciPy or change the methods we call from SciPy. |
SciPy has deprecated interp2d used in the 2D KDE method. Their suggested backwards compatible method is not actually backwards compatible because it doesn't expose the same arguments to users, like the fill value outside of the domain. The suggested new methods take different inputs, so it is unclear if they will work with the empirical distribution code. This needs to be further tested before changing interp2d.
davecwright3
changed the title
feat(nonlinear timing model): add nonlinear timing model
feat: add nonlinear timing model
Aug 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a rework of #187.
I went through the commit history and pulled out any changes that weren't linting, updates from dev, etc (via https://github.com/Wilfred/difftastic AST diffs). The code is passing all tests locally, and the example notebook is producing output matching what @Hazboun6 had in the original PR.
This PR also includes documentation to go along with the new features.