Return to directory of Todd's CASA extensions

Measures the FWHM of the specified (y vs. x) profile by removing half the maximum (or other specified fractional level) and using a spline fit to find the zero crossings. This works best on noise-free data. To operate on images instead, see getfwhm and getfwhm2.


au.findFWHM(x, y, level=0.5, s=0)


CASA <17>: au.findFWHM(range(-4,5,1),[0.1,0.15,0.3,0.7,0.95,0.8,0.4,0.3,0.2])
  Out[17]: 3.3083849908301022

-- ToddHunter - 2013-12-06

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > FindFWHM
Topic revision: 2013-12-23, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback