Units#

See Units.

pypillometry.u#

Namespace of units, e.g. u.ms, u.sec, u.min, u.cm, u.deg. Multiplying a number, tuple or array by a unit gives a Quantity. All aliases work as attributes (e.g. u.seconds, u.degrees). u.m is metres (use u.min for minutes).

Quantity

A number or array together with a Unit.

Unit

A unit of time, length or angle.

parse_time

Convert a time (or tuple/array of times) to unit to.

parse_distance

Convert a distance to mm.

parse_angle

Convert an angle to radians.