diff --git a/CHANGELOG-unreleased.md b/CHANGELOG-unreleased.md index db597c37b..2a705d81a 100644 --- a/CHANGELOG-unreleased.md +++ b/CHANGELOG-unreleased.md @@ -11,6 +11,7 @@ the released changes. ### 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 +- Changed default value of `FDJUMPLOG` to `Y` - Bumped `black` version to 24.x ### Added - Type hints in `pint.derived_quantities` and `pint.residuals` diff --git a/src/pint/models/fdjump.py b/src/pint/models/fdjump.py index a5258defe..d79caed3b 100644 --- a/src/pint/models/fdjump.py +++ b/src/pint/models/fdjump.py @@ -69,7 +69,7 @@ def __init__(self): self.add_param( boolParameter( name="FDJUMPLOG", - value=False, + value=True, description="Whether to use log-frequency (Y) or linear-frequency (N) for computing FDJUMPs.", ) ) diff --git a/tests/test_fdjump.py b/tests/test_fdjump.py index 13924bd12..73548c88b 100644 --- a/tests/test_fdjump.py +++ b/tests/test_fdjump.py @@ -41,6 +41,8 @@ def test_params(model_and_toas): and hasattr(model, "FDJUMPDM2") ) + assert model.FDJUMPLOG.value + def test_residuals(model_and_toas): model, toas = model_and_toas