In SpectralSurface.emission() in module optics/surface.py (l.127) the emission is rescaled if an entry rescale_emission exists in the yaml-file that defines the effect. As argued in https://github.com/astronomyk/irdb/issues/7 rescaling should be off by default. The choice to rescale should be based on a new parameter:
if self.meta['rescale_emission']['rescale']:
or based on a non-None target value:
if self.meta['rescale_emission']['value'] is not None:
In
SpectralSurface.emission()
in moduleoptics/surface.py
(l.127) the emission is rescaled if an entryrescale_emission
exists in the yaml-file that defines the effect. As argued in https://github.com/astronomyk/irdb/issues/7 rescaling should be off by default. The choice to rescale should be based on a new parameter:if self.meta['rescale_emission']['rescale']:
or based on a non-None
target value:if self.meta['rescale_emission']['value'] is not None: