CosmicBackground added
This commit is contained in:
parent
9c5d9424e0
commit
bdb67b3fe2
@ -65,7 +65,7 @@ class RadiantFactory:
|
||||
if "obstruction" in attribs:
|
||||
attribs["obstruction"] = float(attribs["obstruction"])
|
||||
class_ = getattr(oc, options.type)
|
||||
if options.type in ["Atmosphere", "StrayLight", "Mirror", "Lens", "BeamSplitter"]:
|
||||
if options.type in ["Atmosphere", "StrayLight", "CosmicBackground", "Mirror", "Lens", "BeamSplitter"]:
|
||||
return class_(**attribs)
|
||||
elif options.type == "Filter":
|
||||
if hasattr(options, "band"):
|
||||
|
Loading…
Reference in New Issue
Block a user