AstarVienna / ScopeSim

A telescope observation simulator for Python.
GNU General Public License v3.0
16 stars 10 forks source link

Rescaling of atmospheric emission #47

Open oczoske opened 3 years ago

oczoske commented 3 years ago

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:

hugobuddel commented 1 year ago

In #13 it is claimed that "Scaling of atmospheric background emission doesn"t work".