This PR adds a new method to exercise.py that fits a Gaussian to the irradiance profiles in order to calculate the shift in wavelength needed to align the DownScan and UpScan irradiances to the reference spectrum.
The module docstrings and README are also updated accordingly. Additionally and a new plot (reference_spectrum_fit.html) is added to visualize the results of the fits (also pasted below):
The results of the wavelength shift had significant effects on the calculated irradiances and the irradiance ratios w.r.t. the reference spectrum; updated plots are also pasted below:
I am CCing @sbeland007 and @spenton here in case they are interested/curious about these changes!
Closes #4
This PR adds a new method to
exercise.py
that fits a Gaussian to the irradiance profiles in order to calculate the shift in wavelength needed to align the DownScan and UpScan irradiances to the reference spectrum.The module docstrings and
README
are also updated accordingly. Additionally and a new plot (reference_spectrum_fit.html
) is added to visualize the results of the fits (also pasted below):The results of the wavelength shift had significant effects on the calculated irradiances and the irradiance ratios w.r.t. the reference spectrum; updated plots are also pasted below:
I am CCing @sbeland007 and @spenton here in case they are interested/curious about these changes!