DIFFUSE_FLUX_UNIT#
- ctao_cr_spectra.DIFFUSE_FLUX_UNIT = Unit("1 / (TeV s sr m2)")#
Create a composite unit using expressions of previously defined units.
Direct use of this class is not recommended. Instead use the factory function
Unit
and arithmetic operators to compose units.- Parameters:
- scalenumber
A scaling factor for the unit.
- basessequence of
UnitBase
A sequence of units this unit is composed of.
- powerssequence of numbers
A sequence of powers (in parallel with
bases
) for each of the base units.
- Raises:
- UnitScaleError
If the scale is zero.