next up previous contents index
Next: Saving peaklists Up: Fit and integration Previous: Integration

Peaksearch

 

To obtain a list of all peaks in a spectrum TV offers a peaksearch function. The fit function used is a simple gaussian with constant background. Before performing the peaksearch it is necessary to apply a width calibration to determine the width of the gaussian. To get the two widhts you need for width calibration you can use the quickfit and to perform the width calibration use:

tv > calibration width < chnl 0> < width 0> < chnl 1> < width 1>

The amplitudes of the gaussian and background are fitted and the probability integral is compared with a given limit which is 99.99% by default. You can determine the current probability limit and set a new value with the command:

tv > fit psearch probability [ < limit > ]

If the probability integral exceeds the limit, the peak position is determined to a precision of 1/10 of a channel and the peak is added to a list. The peaksearch is performed by the command:

tv > fit psearch create

which prints the number of peaks found. You will get a list of all peaks found with their positions, widths and volumes with the command:

tv > fit psearch list

If you do not want to search for peaks in the whole spectrum, you can set markers to limit the range. To set a marker enter

tv > fit psearch marker enter {cursor | value | offset}

If you found a pair of good markers that you want to keep in mind while looking for a better pair you can store and restore them with:

tv > fit psearch marker store

tv > fit psearch marker restore



 
next up previous contents index
Next: Saving peaklists Up: Fit and integration Previous: Integration
Andreas Fitzler
7/13/2000