create_equivalent_angle_units_list#
- jdaviz.core.unit_conversion_utils.create_equivalent_angle_units_list(solid_angle_unit)[source]#
Return valid angles that
solid_angle_unit
(which should be a solid angle physical type, or square pixel), can be translated to in the unit conversion plugin. These options will populate the dropdown menu for ‘angle unit’ in the Unit Conversion plugin.- Parameters:
- solid_angle_unitstr or u.Unit
Unit object or string representation of unit that is a
solid angle
or square pixel physical type.
- Returns:
- equivalent_angle_unitslist of str
String representation of units that
solid_angle_unit
can be translated to.