Skip to content

Commit

Permalink
Merge pull request nanograv#1787 from devbhakt/event_optimize_cleanup
Browse files Browse the repository at this point in the history
Event optimize cleanup
  • Loading branch information
abhisrkckl authored Jul 12, 2024
2 parents 7369be5 + b87be06 commit 8c9a689
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 171 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG-unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ the released changes.

## Unreleased
### Changed
- Moved the events -> TOAs and photon weights code into the function `load_events_weights` within `event_optimize`.
- Updated the `maxMJD` argument in `event_optimize` to default to the current mjd
### Added
- Type hints in `pint.derived_quantities`
- Doing `model.par = something` will try to assign to `par.quantity` or `par.value` but will give warning
### Fixed
### Removed
- Removed the argument `--usepickle` in `event_optimize` as the `load_events_weights` function checks the events file type to see if the
file is a pickle file.
- Removed obsolete code, such as manually tracking the progress of the MCMC run within `event_optimize`
Loading

0 comments on commit 8c9a689

Please sign in to comment.