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.peak - Function Up: msr - Tool Previous: msr.areapf - Function


msr.mean - Function



Package dish
Module dish
Tool msr


Derives characteristic values based on the mean.


Synopsis
mean(lv, first, last, flevel, usecurs)


Description
The flevel (flux level) is multiplied by the mean over the channel range. Starting at the edges of the range, channels are found where the flux first rises above the derived level. The integrated flux is taken between these channels. A linear interpolation is done to find the velocity corresponding to where the flux equals that level. These two velocities (one at each end) are used to determine the characteristic velocity (the average of the two). The velocity width is the absolute value of their difference.


Example
- d.msr().mean(first=324,last=360,flevel=0.2)
[fluxint=99.0127912, vel=1109.67758, vwidth=130.143466, level=0.103916899, 
limits=[328 352] , type=mean, mean=0.519584496] 
- d.msr().mean(flevel=0.3,usecurs=T)
[fluxint=0.204479891, vel=1111.32345, vwidth=129.747723, level=0.000357433806, 
limits=[329.167913 353.229436] , type=mean, mean=0.00119144602]



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
usecurs   optionally set ranges with cursor
    Allowed: boolean
    Default: F



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




next up previous contents index
Next: msr.peak - Function Up: msr - Tool Previous: msr.areapf - 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