bourque / lasp_exercise

1 stars 0 forks source link

Implement wavelength shift #6

Open bourque opened 2 years ago

bourque commented 2 years ago

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):

reference_spectrum_fit

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:

irradiance irradiance_ratios

I am CCing @sbeland007 and @spenton here in case they are interested/curious about these changes!