JWST POPPY:docs

rebin_array

poppy.rebin_array(a=None, rc=(2, 2), verbose=False)[source] [edit on github]

Rebin array by an integer factor while conserving flux

Perform simple-minded flux-conserving binning... clip trailing size mismatch: eg a 10x3 array binned by 3 results in a 3x1 array

Parameters :

a : array_like

input array

rc : two-element tuple

(nrows, ncolumns) desired for rebinned array

verbose : bool

print additional status text?

anand@stsci.edu :

Page Contents