cwi_rebin

cwitools.scripts.rebin.rebin(cube, xybin=1, zbin=1, vardata=False, ext='.binned.fits', log=None, silent=None)

Rebin a data cube along the XY or Z axes.

Parameters:
  • cube (str) – Path to input data cube FITS file
  • xybin (int) – Bin-size for spatial axes
  • zbin (int) –
  • vardata (bool) – Set to TRUE if rebinning variance data
  • ext (str) – File extension for output file
  • log (str) – Path to log file to save output to.
  • silent (bool) – Set to TRUE to suppress standard output.
Returns:

None