multicolorfits.crop_cube_sky#

multicolorfits.crop_cube_sky(datain, hdrin, centerRADEC, radius_asec, zbounds=[0, None], newref=None, savenew=False, overwrite=False, coords_in='dec', return_cropcenterpix=False)[source]#

Function to crop a 3D fits cube based on sky coordinates and specified width.

zbounds (optional) are channel number boundaries [zmin,zmax], 0-indexed

Other arguments the same as for crop_image_sky()