Closed ashleyrback closed 9 years ago
@jwaterfield docs should now be fine too. except for a couple of problems displaying maths in decay
module. I can't quite figure out why as they were displaying fine before and haven't been changed.
Ok. Happy and merging
Supersedes #56
Changes include:
echidna.__echidna_base
which points to base directory of echidna repoconstants
, including some SNO+ defaultsdecay
methods, mainly some re-naming and re-structuring. Also adds better handling of ROI efficiency.decay.main
, which test compatibility against Andy's numbers (numbers from docDB)Spectra
class:shrink_to_roi
which, given an axis, lower and upper limit for an ROI, calls the standardshrink
method and also calculates the efficiency (roi_integral / full_integral
) and stores the parameters in the dictSpectra._rois[axis]
.Spectra._style
cut
method which is similar toshrink
but updatesSpectra._num_decays
, meaning that theSpectra
object represents a different number of decays after calling this method.chi_squared
:set_penalty_term
methodget_chi_squared_per_bin
counts_down
and correspondingget_last_bin_above
methods, plus a few other helpful methods.SystAnalyser
classLimitSetting
:matplotlib
'spdfPages
plot
module:spectral_plot
method to produce spectral plotpylab
in moduleplot_chi_squared
, including "trun_on" plot and "push_pull" plot. These are all useful diagnostic tools that help visualise the data collected by theSystAnalyser
class.store.load/dump_ndarray
physics_tests
module