ImageΒΆ

These functions examine or manipulate Image data in the xarray Dataset (xds) format. They take an xds as input and return a new xds or some other structure as output. Some may operate directly on the zarr data store on disk.

The input xarray Dataset is never modified.

To access these functions, use your favorite variation of: import cngi.image

contsub

ellipsefit

mask

Create a new mask Data variable in the Dataset

moment

Collapse an n-dimensional image cube into a moment by taking a linear combination of individual planes

preview

Preview the selected image component

rebin

Rebin an n-dimensional image across any single (spatial or spectral) axis

reframe

region

Create a new region Data variable in the Dataset

regrid

rmfit

smooth

Smooth data along n-dimensions of the image cube

specfit

specflux

spxfit