Skip to content

Commit

Permalink
Update long range covariance data-model tolerances for b=0 PTC fit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Broughton committed Oct 15, 2024
1 parent 281852a commit cdc6f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_ptc.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,12 +371,12 @@ def test_covAstier(self):
values = (
ptc.covariancesModel[amp][mask, 1, 1] - ptc.covariances[amp][mask, 1, 1]
) / ptc.covariancesModel[amp][mask, 1, 1]
np.testing.assert_array_less(np.abs(values), 0.3)
np.testing.assert_array_less(np.abs(values), 0.5)

values = (
ptc.covariancesModel[amp][mask, 1, 2] - ptc.covariances[amp][mask, 1, 2]
) / ptc.covariancesModel[amp][mask, 1, 2]
np.testing.assert_array_less(np.abs(values), 0.3)
np.testing.assert_array_less(np.abs(values), 0.5)

# And test that the auxiliary values are there and
# correctly ordered.
Expand Down

0 comments on commit cdc6f25

Please sign in to comment.