lamp_mac/TOF/
remove_spectra.pro
NAME:
remove_spectra For IN4, IN5, IN6, DCS and HET, ... Removes spectra with numbers given in array badspecs. Spectrum numbers run from 1 to nspectra.KEYWORDS:
/nolog : if set, supresses output of badspecs in other_tit This is necessary in cases where other_tit exceeds 160 charactersARGUMENTS:
badspecs : array of spectrum numbers to be deletedDIMENSIONS:
w_in(nchannels,nspectra) -> w_out(nchannels,nspectra-n) - n=number of bad specsCOMMAND SYNTAX:
w2 = remove_spectra(w1,[3,90,202]) (remember square brackets) w2 = remove_spectra(w1,BadSpectra = '1-87,112-121,234,235,236,256-273')HISTORY:
KHA,JRS 7/05/05 JO, Mon Jun 16 14:24:35 CEST 2008 Modif to take a group of detectors instead of individual numbers. e.g. w2 = remove_spectra(w1,BadSpectra = '1-87,112-121,234,235,236,256-273')top remove_spectra
result = remove_spectra(w_in, badspecs, zero=zero, nolog=nolog, verbose=verbose, BadSpectra=BadSpectra)
******* ************** ** User callable ** For IN4, IN5, IN6, DCS and HET, ... ** Removes spectra with numbers given in array badspecs. Spectrum numbers ** run from 1 to nspectra.
Parameters
- w_in
- badspecs
Keywords
- zero
- nolog
- verbose
- BadSpectra
File attributes
Modification date: | Tue Oct 1 14:39:52 2013 |
Lines: | 147 |