feather_plot¶
- uvcombine.feather_plot(hires, lores, highresextnum=0, lowresextnum=0, highresscalefactor=1.0, lowresscalefactor=1.0, lowresfwhm=None, lowpassfilterSD=False, xaxisunit='arcsec', hires_threshold=None, lores_threshold=None, match_units=True)[source]¶
Plot the power spectra of two images that would be combined along with their weights.
High-res will be shown in red, low-res in blue.
- Parameters:
- highresfitsfilestr
The high-resolution FITS file
- lowresfitsfilestr
The low-resolution (single-dish) FITS file
- highresextnumint
The extension number to use from the high-res FITS file
- highresscalefactorfloat
- lowresscalefactorfloat
A factor to multiply the high- or low-resolution data by to match the low- or high-resolution data
- lowresfwhm
astropy.units.Quantity The full-width-half-max of the single-dish (low-resolution) beam; or the scale at which you want to try to match the low/high resolution data
- xaxisunit‘arcsec’ or ‘lambda’
The X-axis units. Either arcseconds (angular scale on the sky) or baseline length (lambda)
- hires_thresholdfloat or None
- lores_thresholdfloat or None
Threshold to cut off before computing power spectrum to remove the noise contribution. Threshold will be applied after scalefactor.
- match_unitsbool
Attempt to match the flux units between the files before combining? See
match_flux_units.
- Returns:
- comboimage
The image of the combined low and high resolution data sets
- combo_hdufits.PrimaryHDU
(optional) the image encased in a FITS HDU with the relevant header