Skip to content

Commit

Permalink
deadtime bias and beam profile calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
johbackm committed Jan 19, 2024
1 parent a57754c commit 62b0ea9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_gfit.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ def test_psds():
np.testing.assert_almost_equal(my_psds['IncanNumEnsemble'].sum(), 32.22939087)
np.testing.assert_almost_equal(my_psds['ScatMassEnsemble'].sum(), 3.15026266)
np.testing.assert_almost_equal(my_psds['IncanMassEnsemble'].sum(), 0.08177226)
np.testing.assert_almost_equal(my_binary['DeadtimeRelativeBias'].mean(), -0.00023515)
coeff, beam_profile = pysp2.util.beam_shape(my_binary,beam_position_from='peak maximum',Globals=pysp2.util.DMTGlobals())

0 comments on commit 62b0ea9

Please sign in to comment.