pymf.rad_profile¶
-
pymf.rad_profile(image, pixel_size_arcmin, return_k=False)¶ Computes the azimuthally-averaged radial profile of a given map.
Parameters: - image: 2D float or complex array
Input image.
- pixel_size_arcmin: float
Pixel size in arcmin.
- return_k: bool, optional
If set to True, the provided image is assumed to be a power spectrum and the x-coordinate of the returned data is converted to the two-dimensional spatial frequency k. Default: None
Returns: - kradialprofile: float array
x-coordinate of the radial profile. Either the radial separation from the image center or spatial frequency k, depending on the value of the variable return_k.
- radialprofile: float or complex array
azimuthally averaged radial profile.