From 0b059aa33c079e961faf13e86e87a46ece455a20 Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Tue, 13 Oct 2020 19:05:34 +0200 Subject: [PATCH] Caching for ATRAN requests added --- esbo_etc/classes/optical_component/Atmosphere.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esbo_etc/classes/optical_component/Atmosphere.py b/esbo_etc/classes/optical_component/Atmosphere.py index 23699cc..eeb7fdf 100644 --- a/esbo_etc/classes/optical_component/Atmosphere.py +++ b/esbo_etc/classes/optical_component/Atmosphere.py @@ -247,6 +247,9 @@ class Atmosphere(AOpticalComponent): bb = BlackBody(temperature=temp, scale=em * u.W / (u.m ** 2 * u.nm * u.sr)) return lambda wl: bb(wl) + def __repr__(self): + return "Atmosphere Object" + @staticmethod def check_config(conf: Entry) -> Union[None, str]: """