hlcc 2.0.0-beta2+pre1
|
Functions | |
def | altaz_unit_widgets_update (list degrees_widgets, list radians_widgets, NumericalUnitsPropertyEnum numerical_unit_type) |
Uses a par of given Alt,Az numerical unit widgets to update all widgets regarding the same Alt,Az functionality The update decision are made by the Property in view. | |
def | radec_units_widgets_update (list hmsdms_widgets, list degrees_widgets, list radians_widgets, NumericalUnitsPropertyEnum numerical_unit_type, bool pi_angle_range=False) |
Uses a par of given Ra,Dec numerical unit widgets to update all widgets regarding the same Ra,Dec functionality The update decision are made by the Property in view. | |
def | radians_pi_range_convertion (radians_2pi_value) |
def | single_unit_widgets_update (degrees_widget, radians_widget, numerical_unit_type) |
One numerical unit input widget update. | |
def unit_converter_helper.altaz_unit_widgets_update | ( | list | degrees_widgets, |
list | radians_widgets, | ||
NumericalUnitsPropertyEnum | numerical_unit_type | ||
) |
Uses a par of given Alt,Az numerical unit widgets to update all widgets regarding the same Alt,Az functionality The update decision are made by the Property in view.
degrees_widgets list List with widgets that are related to degrees representation radians_widgets list List with widgets that are related to radians representation numerical_unit_type NumericalUnitsPropertyEnum Enum that represents the numerical unit type widgets to be displayed
altaz_radians_coordinates list List of Alt/Az Radian coordinates used to store in a specific model
def unit_converter_helper.radec_units_widgets_update | ( | list | hmsdms_widgets, |
list | degrees_widgets, | ||
list | radians_widgets, | ||
NumericalUnitsPropertyEnum | numerical_unit_type, | ||
bool | pi_angle_range = False |
||
) |
Uses a par of given Ra,Dec numerical unit widgets to update all widgets regarding the same Ra,Dec functionality The update decision are made by the Property in view.
In the end returns the radians values to store them inside the correspodent model For example, HMS,DMS Widgets selected will update Degrees and Radians widgets.
hmsdms_widgets list List with widgets that are related to HMS/DMS representation degrees_widgets list List with widgets that are related to degrees representation radians_widgets list List with widgets that are related to radians representation numerical_unit_type NumericalUnitsPropertyEnum Enum that represents the numerical unit type widgets to be displayed
radec_radians_coordinates list List of Ra/Dec Radian coordinates used to store in a specific model
def unit_converter_helper.radians_pi_range_convertion | ( | radians_2pi_value | ) |
def unit_converter_helper.single_unit_widgets_update | ( | degrees_widget, | |
radians_widget, | |||
numerical_unit_type | |||
) |
One numerical unit input widget update.
Degree Widget to Radian Widget and vice-versa.
degrees_widgets list List with widgets that are related to degrees representation radians_widgets list List with widgets that are related to radians representation numerical_unit_type NumericalUnitsPropertyEnum Enum that represents the numerical unit type widgets to be displayed
radian_coordinate float Radian value from inputted widget value or convertion from other numerical unit