Typing aliases (cmomy.core.typing
)#
Classes:
DataArray or Dataset |
|
TypeVar of floating point precision (np.float32, np.float64, default=Any) |
|
TypeVar of types wrapped by IndexSampler |
Data:
Index |
- class cmomy.core.typing.DataT#
DataArray or Dataset
alias of TypeVar(‘DataT’, ~xarray.core.dataarray.DataArray, ~xarray.core.dataset.Dataset)
- class cmomy.core.typing.FloatT#
TypeVar of floating point precision (np.float32, np.float64, default=Any)
alias of TypeVar(‘FloatT’, ~numpy.float64, ~numpy.float32)
- class cmomy.core.typing.SamplerArrayT#
TypeVar of types wrapped by IndexSampler
alias of TypeVar(‘SamplerArrayT’, NDArrayAny, ~xarray.core.dataarray.DataArray, ~xarray.core.dataset.Dataset, xr.DataArray | xr.Dataset)
- cmomy.core.typing.AxesWrap(*args, **kwargs)#
Axes type (with wrapping)
alias of
complex
|tuple[complex, ...]
- cmomy.core.typing.AxisReduceWrap(*args, **kwargs)#
Reduction axes type (with wrapping)
- cmomy.core.typing.AxisReduceMult(*args, **kwargs)#
Reduction axes type (multiple)
- cmomy.core.typing.AxisReduceMultWrap(*args, **kwargs)#
Reduction axes type (multiple, with wrapping)
- cmomy.core.typing.RngTypes(*args, **kwargs)#
Random number generator types
alias of
int
|Sequence
[int
] |SeedSequence
|BitGenerator
|Generator
- cmomy.core.typing.FloatDTypes(*args, **kwargs)#
Floating dtype
alias of
float32
|float64
- cmomy.core.typing.NDArrayAny(*args, **kwargs)#
Array type (any dtype)
- cmomy.core.typing.NDArrayInt(*args, **kwargs)#
Array type (int dtype)
- cmomy.core.typing.NDArrayFloats(*args, **kwargs)#
Array type (float dtype)
- cmomy.core.typing.NDArrayBool(*args, **kwargs)#
Array type (bool dtype)
- cmomy.core.typing.NDGeneric(*args, **kwargs)#
Float or array of float
- cmomy.core.typing.Moments(*args, **kwargs)#
Moments type
alias of
int
|tuple[int]
|tuple[int, int]
- cmomy.core.typing.MomentsStrict(*args, **kwargs)#
Strict moments type
alias of
tuple[int]
|tuple[int, int]
- cmomy.core.typing.MomAxes(*args, **kwargs)#
Axes containing moment(s).
alias of
int
|tuple[int]
|tuple[int, int]
- cmomy.core.typing.MomAxesStrict(*args, **kwargs)#
Axes containing moment(s).
alias of
tuple[int]
|tuple[int, int]
- cmomy.core.typing.DimsReduceMult(*args, **kwargs)#
Reduction dimension(s)
- cmomy.core.typing.Dims(*args, **kwargs)#
Dimensions
alias of
str
|Collection
[Hashable
] |EllipsisType
|None
- cmomy.core.typing.MomDims(*args, **kwargs)#
Dimensions containing moment(s)
alias of
Hashable
|tuple[Hashable]
|tuple[Hashable, Hashable]
- cmomy.core.typing.MomDimsStrict(*args, **kwargs)#
Dimensions containing moment(s)
alias of
tuple[Hashable]
|tuple[Hashable, Hashable]
- cmomy.core.typing.IndexAny = 'pd.Index[Any]'#
Index
- cmomy.core.typing.ArrayOrderACF(*args, **kwargs)#
Order parameters
- cmomy.core.typing.ArrayOrderKACF(*args, **kwargs)#
Order parameters
- cmomy.core.typing.Casting(*args, **kwargs)#
Casting rules
alias of
Literal
[‘no’, ‘equiv’, ‘safe’, ‘same_kind’, ‘unsafe’]
- cmomy.core.typing.MissingCoreDimOptions(*args, **kwargs)#
What to do if missing a core dimensions.
alias of
Literal
[‘raise’, ‘copy’, ‘drop’]