solarbextrapolation.utilities.decompose_ang_len(qua_input, **kwargs)[source]

Function to help decompose quantities that have an equivilence between angles and length, such as photospheric observational angles and object sizes. The function uses an equivilence to convert into either length or angle physical_type units.


qua_input : astropy.units.quantity.Quantity

The quantity you wish decomposed.

working_units : astropy.units.quantity.Quantity, optional

Unit that will be used for internal working and the returned quantity.

Ensure that it is of the correct physical type, angle or length.

equivalencies : astropy equivilence,

Equivilence used to relate the length and angle units.