CosmicBackground added

This commit is contained in:
Lukas Klass 2020-06-18 10:13:23 +02:00
parent 9c5d9424e0
commit bdb67b3fe2
1 changed files with 1 additions and 1 deletions

View File

@ -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"):