FITS_tools.hcongrid.zoom_fits(fitsfile, scalefactor, preserve_bad_pixels=True, **kwargs)[source] [edit on github]

Zoom in on a FITS image by interpolating using zoom


fitsfile : str

FITS file name

scalefactor : float

Zoom factor along all axes

preserve_bad_pixels : bool

Try to set NAN pixels to NAN in the zoomed image. Otherwise, bad pixels will be set to zero