Subtract the light source component from frequency intensity graph.
The peak intensity without excitation source model value is written to output.
The excitation source model can also be subtracted from the original data series. This allows an approximation of the excitation signal to be more clearly graphed on its own.
The excitation source is modeled by a single exponential equation that best fits two sections of the signal:
- The steep drop of the excitation source (shorter wavelength), and
- The flat tail of the data where both signals have a near-zero intensity (longer wavelength)
Run the program from src/
with one of the commands below:
python run.py
python 37C_run.py
There are a small number of unit tests for the drop-finding function.
Run from test/
with command:
python -m unittest