pymf.cross_spec

pymf.cross_spec(images, pixel_size_arcmin, return_k=False, global_cross=False)

Computes the azimuthally-averaged cross-spectrum of a given set of maps.

Parameters:
images: 3D float array

Data cube containing the input images

pixel_size_arcmin: float

Pixel size in arcmin.

return_k: bool, optional

If set to True, the provided image is assumed to be a powerspectrum and the x-coordinate of the returned data is converted to the two-dimensional spatial frequency k. Default: None

global_cross: bool, optional

If set to True, the cross power of the maps is computed globally (i.e. averaged over the full maps / all scales). If False, the cross power is computed at each spatial frequency. Default: False

Returns:
cc_maps: float array

Data cube of dimensions n_nu * n_nu containing the azimuthally-averaged cross-spectra maps.