-
Notifications
You must be signed in to change notification settings - Fork 16
API notes
Ali Hanks edited this page Oct 17, 2016
·
5 revisions
- Live time
- Channels
- Energy cal
- Subtracted spectrum? (force same binning)
- modified/rebinned spectrum? Only allow one rebin? Returns new object?
- x,y, units?
- net area
- Fit
- Source data? spectrum, peaks used, multiple spectra
- Curve
- Functions for channels -> energy
- Rebinning as equal energy bins
- Wrapper function that takes filename, parses and uses appropriate file-type class
- File format class returns a Cal or Raw spectrum
- Read method
- Eg:
s = Spectrum.from_file(‘...’)
returns spectrum with all the functionality available from the given file type