Conversion between different angle notations

Perform various angle related transformations

Transform between different notations for angles: Degrees, radians and hours.

sapphire.transformations.angles.hours_to_degrees(angle)

Converts decimal hours to degrees

Parameters:

hours – angle in decimal hours

Returns:

angle in degrees

sapphire.transformations.angles.hours_to_radians(angle)

Converts decimal hours to radians

Parameters:

hours – angle in decimal hours

Returns:

angle in radians

sapphire.transformations.angles.degrees_to_hours(angle)

Converts degrees to decimal hours

Parameters:

angle – angle in degrees

Returns:

angle in decimal hours

sapphire.transformations.angles.radians_to_hours(angle)

Converts degrees to decimal hours

Parameters:

angle – angle in degrees

Returns:

angle in decimal hours