Quantity#
- class pypillometry.Quantity(value, unit)[source]#
Bases:
objectA number or array together with a
Unit.Usually created by multiplying with a unit, e.g.
3 * u.minor(-200, 800) * u.ms. Tuples and lists are stored as numpy arrays. Iterating over or indexing an array quantity gives quantities.Methods
Return the quantity converted to unit.
Details