add wl_bins as Entry object
This commit is contained in:
parent
d6712834e2
commit
763556544c
@ -127,6 +127,6 @@ class Configuration(object):
|
|||||||
wl_delta = self.conf.common.wl_delta()
|
wl_delta = self.conf.common.wl_delta()
|
||||||
else:
|
else:
|
||||||
wl_delta = self.conf.common.wl_min() / self.conf.common.res()
|
wl_delta = self.conf.common.wl_min() / self.conf.common.res()
|
||||||
setattr(self.conf.common, 'wl_bins', np.arange(self.conf.common.wl_min().to(u.micron).value,
|
setattr(self.conf.common, 'wl_bins',
|
||||||
self.conf.common.wl_max().to(u.micron).value,
|
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.micron).value) * u.micron)
|
wl_delta.to(u.nm).value) << u.nm))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user