Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: msr.twopeak - Function Up: msr - Tool Previous: msr.mean - Function


msr.peak - Function



Package dish
Module dish
Tool msr


Derives characteristic values based on the peak.


Synopsis
peak(lv, first, last, flevel, rms, usecurs)


Description
Identical to mean except that the cutoff level is the peak value times flevel. Also, you can optionally supply a noise estimation (the rms argument). This is subtracted from the peak value before it is multiplied by flevel. The returned fields here are nearly identical to those in mean. The only difference is that there is a peak field here instead of mean. That is the actual peak, not the value reduced by rms.



Example
- d.msr().peak(flevel=0.5,usecurs=T)
[fluxint=91.9571165, vel=1108.78946, vwidth=105.650325, level=0.610705972, 
limits=[330.404096 350.418538] , type=peak, peak=1.22141194]



Arguments

lv   an SDRecord
    Allowed: SDRecord - Not enabled
    Default: F
first   first channel number in range to integrate
    Allowed: integer
    Default: F
last   last channel number in range to integrate
    Allowed: integer
    Default: F
flevel   fractional flux level
    Allowed: float
    Default: 0.3
rms   rms of spectrum
    Allowed: float
    Default: 0.
usecurs   optionally set ranges with cursor
    Allowed: boolean
    Default: F



Returns
Record (fluxint, vel, vwidth, level, limits, type, peak)




next up previous contents index
Next: msr.twopeak - Function Up: msr - Tool Previous: msr.mean - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01