poppy.measure_radial(HDUlist_or_filename=None, ext=0, center=None, binsize=None)[source] [edit on github]

measure azimuthally averaged radial profile of a PSF.

Returns a function object which when called returns the mean value at a given radius.

Parameters :

HDUlist_or_filename : string

what it sounds like.

ext : int

Extension in FITS file

center : tuple of floats

Coordinates (x,y) of PSF center. Default is image center.

binsize: :

size of step for profile. Default is pixel size.

Returns :

radial_profile: function :

A function which will return the mean PSF value at any desired radius.


>>> rp = measure_radial("someimage.fits")
>>> radius = np.linspace(0, 5.0, 100)
>>> plot(radius, rp(radius), label="PSF")

Page Contents