osyris.Array#
- class osyris.Array(values, unit=None, name='')#
- __init__(values, unit=None, name='')#
Methods
__init__(values[, unit, name])copy()Make a (deep) copy of the array.
reshape(*shape)Reshape the array.
to(unit)Convert the array to a new unit.
Attributes
dtypeThe dtype of the array.
labelReturn a label for the object with name and unit.
nbytesThe number of bytes used by the array.
ndimThe number of dimensions of the array.
normThe norm of the array (just returns itself).
shapeThe shape of the array.
unitThe unit of the array.
valuesThe values of the array.