lamp_mac/TOF/
auto_remove_spectra.pro
top auto_remove_spectra
result = auto_remove_spectra(w_in, n_sdev=n_sdev, nolog=nolog)
******* *******************
** User callable
** Removes all spectra with a peak-height/background ratio of less than
** the mean value minus user given number of standard deviations
**
** KEYWORDS
** /nolog : if set, supresses output of badspecs in other_tit
** This is necessary in cases where other_tit exceeds 160 characters
**
** ARGUMENTS
** n_sdev : sets the number of standard deviations from the mean
** from which to remove the spectra (default = 2.0)
**
** DIMENSIONS
** w_in(nchannels,nspectra) -> w_out(nchannels,nspectra-n) - n=number of bad specs
**
** COMMAND SYNTAX
** e.g. w2=remove_spectra(w1 [,n_sdev = ] [,/nolog])
**
** JRS 27/2/07
Parameters
- w_in
Keywords
- n_sdev
- nolog
File attributes
Modification date: | Tue Oct 1 14:39:52 2013 |
Lines: | 88 |