Bases: object
An angle.
An angle can be specified either as a float, tuple (see below), or string. If A string, it must be in one of the following formats:
Parameters : | angle : float, int, str, tuple
unit : UnitBase, str
bounds : tuple
|
---|---|
Raises : | `~astropy.coordinates.errors.UnitsError` :
|
Attributes Summary
hours | The angle’s value in hours (read-only property). |
hms | The angle’s value in hours, and print as an (h,m,s) tuple (read-only property). |
radians | The angle’s value in radians (read-only property). |
bounds | ” The angle’s bounds, an immutable property. |
degrees | The angle’s value in degrees (read-only property). |
dms | The angle’s value in degrees, and print as an (d,m,s) tuple (read-only property). |
Methods Summary
format([unit, decimal, sep, precision, ...]) | A string representation of the angle. |
Attributes Documentation
Methods Documentation
A string representation of the angle.
Parameters : | units : UnitBase
decimal : bool
sep : str
precision : int
alwayssign : bool
pad : bool
|
---|---|
Returns : | strrepr : str
|