AbstractArray¶
- class kgpy.uncertainty.AbstractArray(nominal=<Quantity 0.>)¶
Bases:
Copyable,NDArrayMethodsMixin,NDArrayOperatorsMixin,ABC,Generic[NominalT,DistributionT]- __init__(nominal=<Quantity 0.>)¶
- Parameters
nominal (NominalT) –
- Return type
None
Attributes
Methods
__init__([nominal])copy()- rtype
typing.TypeVar(CopyableT, bound= Copyable)
- rtype
typing.TypeVar(CopyableT, bound= Copyable)
max([axis, where])- rtype
typing.TypeVar(NDArrayMethodsMixinT, bound= NDArrayMethodsMixin)
mean([axis, where])- rtype
typing.TypeVar(NDArrayMethodsMixinT, bound= NDArrayMethodsMixin)
min([axis, where])- rtype
typing.TypeVar(NDArrayMethodsMixinT, bound= NDArrayMethodsMixin)
Inheritance Diagram
- type_array_primary¶
alias of
AbstractArray
- copy()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- copy_shallow()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- max(axis=None, where=<no value>)¶
- mean(axis=None, where=<no value>)¶
- min(axis=None, where=<no value>)¶
-
axis_distribution:
typing.ClassVar[str] = '_distribution'¶
- property distribution_normalized: AbstractArray¶
-
nominal:
typing.TypeVar(NominalT, bound=typing.Union[typing.Sequence[typing.Sequence[typing.Sequence[typing.Sequence[typing.Sequence[typing.Any]]]]],numpy.typing._array_like._SupportsArray[numpy.dtype],typing.Sequence[numpy.typing._array_like._SupportsArray[numpy.dtype]],typing.Sequence[typing.Sequence[numpy.typing._array_like._SupportsArray[numpy.dtype]]],typing.Sequence[typing.Sequence[typing.Sequence[numpy.typing._array_like._SupportsArray[numpy.dtype]]]],typing.Sequence[typing.Sequence[typing.Sequence[typing.Sequence[numpy.typing._array_like._SupportsArray[numpy.dtype]]]]],bool,int,float,complex,str,bytes,typing.Sequence[typing.Union[bool,int,float,complex,str,bytes]],typing.Sequence[typing.Sequence[typing.Union[bool,int,float,complex,str,bytes]]],typing.Sequence[typing.Sequence[typing.Sequence[typing.Union[bool,int,float,complex,str,bytes]]]],typing.Sequence[typing.Sequence[typing.Sequence[typing.Sequence[typing.Union[bool,int,float,complex,str,bytes]]]]],astropy.units.Quantity,kgpy.labeled.AbstractArray]) = <Quantity 0.>¶
- property nominal_normalized: AbstractArray[Quantity]¶
-
type_array:
typing.ClassVar[typing.Tuple[typing.Type,...]] = (<class 'bool'>, <class 'int'>, <class 'float'>, <class 'complex'>, <class 'numpy.generic'>, <class 'numpy.ndarray'>, <class 'kgpy.labeled.AbstractArray'>)¶
-
type_array_auxiliary:
typing.ClassVar[typing.Tuple[typing.Type,...]] = (<class 'bool'>, <class 'int'>, <class 'float'>, <class 'complex'>, <class 'numpy.generic'>, <class 'numpy.ndarray'>)¶