Include end wavelength

This commit is contained in:
Lukas Klass 2020-04-22 10:36:38 +02:00
parent 9b31b5d26e
commit c2a7f97ec4

View File

@ -134,5 +134,6 @@ class Configuration(object):
else:
wl_delta = self.conf.common.wl_min() / self.conf.common.res()
setattr(self.conf.common, 'wl_bins',
Entry(val=np.arange(self.conf.common.wl_min().to(u.nm).value, self.conf.common.wl_max().to(u.nm).value,
wl_delta.to(u.nm).value) << u.nm))
Entry(val=np.append(np.arange(self.conf.common.wl_min().to(u.nm).value,
self.conf.common.wl_max().to(u.nm).value, wl_delta.to(u.nm).value),
self.conf.common.wl_max().to(u.nm).value) << u.nm))