From 6d70381b0c2397e961b51c64d0bd3286d4db0b0a Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Thu, 18 Jun 2020 10:24:38 +0200 Subject: [PATCH] Scaling for AETC validation added. --- esbo_etc/classes/target/BlackBodyTarget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esbo_etc/classes/target/BlackBodyTarget.py b/esbo_etc/classes/target/BlackBodyTarget.py index 18f5a6a..f383312 100644 --- a/esbo_etc/classes/target/BlackBodyTarget.py +++ b/esbo_etc/classes/target/BlackBodyTarget.py @@ -55,7 +55,7 @@ class BlackBodyTarget(ATarget): # for the central wavelength of the given band factor = self._band[band.upper()]["sfd"] / (bb(self._band[band.upper()]["wl"]) * u.sr) * u.sr # Calculate spectral flux density for the given wavelengths and scale it for a star of the given magnitude - sfd = bb(wl_bins) * factor * 10 ** (- 2 / 5 * mag / u.mag) + sfd = bb(wl_bins) * factor * 10 ** (- 2 / 5 * mag / u.mag) # / 1.195 * 1.16 # scaling for AETC validation # Initialize super class super().__init__(SpectralQty(wl_bins, sfd), wl_bins, size)