Data analysis to find the onset value
The code used for "Accurate Determination of the Onset Wavelength (onset) in Optical Spectroscopy" is found in v_2.0.7
The updated 0nset v_2.1.1 contains the same algorithm in v_2.0.7 but has fewer issues with user input. Additionally, some useful local minima and maxima information is provided with each dataset to aide the user in selecting better intervals.
There are several methods for setting up your python environment to run this code; however, one of the easiest methods will be described below through using Anaconda.
- Go to Anaconda and download the individual version for your operating system.
- Either clone the repo with git or download the zip file for this repository.
- Open the terminal (linux/macOS) or powershell (Windows 10/11) and navigate to where you have extracted the zip file.
- Run the following command in the terminal to create your virtual environment.
conda create -f environment.yml
- Activate the environment.
conda activate 0nset
- Designate the flask app
export FLASK_APP=app.py