Fix units
This commit is contained in:
parent
3189e6ec67
commit
e640eff28b
@ -31,6 +31,6 @@ class Atmosphere(AOpticalComponent):
|
|||||||
else:
|
else:
|
||||||
# Read the emission
|
# Read the emission
|
||||||
emission_sqty = SpectralQty.fromFile(emission, wl_unit_default=u.nm,
|
emission_sqty = SpectralQty.fromFile(emission, wl_unit_default=u.nm,
|
||||||
qty_unit_default=u.dimensionless_unscaled)
|
qty_unit_default=u.W / (u.m**2 * u.nm * u.sr))
|
||||||
# Initialize the super class
|
# Initialize the super class
|
||||||
super().__init__(parent, transmittance_sqty, emission_sqty)
|
super().__init__(parent, transmittance_sqty, emission_sqty)
|
||||||
|
Loading…
Reference in New Issue
Block a user