astro_toolbox.angle package
Submodules
astro_toolbox.angle.degrees module
This module contains AngleDeg class.
- class astro_toolbox.angle.degrees.AngleDeg(anglevalue: float)
Bases:
objectAngleDeg define degrees angle with its conversions.
Attributes
- anglevalue: float
The angle value in degrees.
- degtodms()
Degrees to DMS converting method. This method returns angle in DMS from angle in degrees.
Returns
- tuple
The angle values in DMS.
astro_toolbox.angle.dms module
This module contains AngleDMS class.
- class astro_toolbox.angle.dms.AngleDMS(anglevalue: tuple | str)
Bases:
objectAngleDMS define a dms angle with its conversions.
Attributes
- anglevaluetuple
The angle values as floats in tuple.
astro_toolbox.angle.hms module
This module contains AngleHMS class.
- class astro_toolbox.angle.hms.AngleHMS(anglevalue: tuple | str)
Bases:
objectAngleHMS define a HMS angle with its conversions.
Attributes
- anglevaluetuple
The angle value as floats in tuple.
astro_toolbox.angle.radians module
This module contains AngleRad class.
- class astro_toolbox.angle.radians.AngleRad(anglevalue: float)
Bases:
objectAngleRad define radians angle with its conversions.
Attributes
- anglevaluefloat
The angle value in radians.
- radtodeg()
Radians to Degrees converting method. This method returns angle in radians from angle in degrees.
Returns
- float
The angle value in degrees.