FractionalPhase¶
- class baseband_tasks.phases.FractionalPhase(angle, unit=None, wrap_angle=None, **kwargs)[source] [edit on github]¶
Bases:
LongitudePhase without the cycle count, i.e., with a range of 1 cycle.
This subclass of
Longitudediffers from it mostly in being able to take the fractional part of anyPhaseinput.- Parameters:
- anglearray, list, scalar,
Quantity, AngleThe angle value(s). If a tuple, will be interpreted as(h, m s)or(d, m, s)depending onunit. If a string, it will be interpreted following the rules described forAngle.- unit
UnitBase, str, optional The unit of the value specified for the angle. This may be any string that
Unitunderstands. Must be an angular unit. Default is ‘cycle’.- wrap_angle
Angleor equivalent, optional Angle at which to wrap back to
wrap_angle - 1 cycle. IfNone(default), it will be taken to be 0.5 cycle unlessanglehas awrap_angleattribute.
- anglearray, list, scalar,
- Raises:
UnitsErrorIf a unit is not provided or it is not an angular unit.
TypeErrorIf the angle parameter is a
Latitude.