Classes#

Data Structures#

DataArray

Named variable with associated coords, masks, and attributes.

Dataset

Dict of data arrays with aligned dimensions.

DType

Representation of a data type of a Variable in scipp.

Unit

A physical unit.

Variable

Array of values with dimension labels and a unit, optionally including an array of variances.

Auxiliary Containers#

Bins(obj)

Proxy for access to bin contents and operations on bins of a variable.

Coords

dict-like collection of meta data

GroupByDataArray

GroupBy object implementing split-apply-combine mechanism.

GroupByDataset

GroupBy object implementing split-apply-combine mechanism.

Masks

dict-like collection of masks.

Exceptions#

BinEdgeError

Inappropriate bin-edge coordinate.

BinnedDataError

Incorrect use of binned data.

CoordError

Bad coordinate values or mismatching coordinates.

DataArrayError

Incorrect use of scipp.DataArray.

DatasetError

Incorrect use of scipp.Dataset.

DimensionError

Inappropriate dimension labels and/or shape.

DTypeError

Inappropriate dtype.

UnitError

Inappropriate unit.

VariableError

Incorrect use of scipp.Variable.

VariancesError

Variances used where they are not supported or not used where they are required.

Typing#

typing.DTypeLike

Anything that can be interpreted as a dtype.

typing.MetaDataMap

dict-like object mapping dimension labels to Variables.

typing.VariableLike

Any object that behaves like a scipp.Variable.