From 9b4739e1ffbbb626964ca4462b5b406bce070579 Mon Sep 17 00:00:00 2001 From: Abhimanyu Susobhanan Date: Fri, 20 Oct 2023 10:37:15 -0500 Subject: [PATCH] snippet --- src/pint/fitter.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pint/fitter.py b/src/pint/fitter.py index 6ce5ca968..287f7f467 100644 --- a/src/pint/fitter.py +++ b/src/pint/fitter.py @@ -1308,7 +1308,12 @@ def fit_toas( iteration of the downhill fit (implemented in the `_fit_toas()` method). If free white noise parameters are present, it will fit for them by numerically maximizing the likelihood function (implemented in the `_fit_noise()` method). - The timing model fit and the noise model fit are run iteratively in an alternating fashion. + The timing model fit and the noise model fit are run iteratively in an alternating + fashion. Fitting for a white noise parameter is as simple as:: + + fitter.model.EFAC1.frozen = False + fitter.fit_toas() + Parameters ==========