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.
While the initial implementation of 0nset used a flask application in python, a much more user-friendly version is available at https://dyesdb.com/onset. This version is written in javascript and does not require user setup. If you have issues running your code through either implementation, please don't hesitate to contact me at awallace43@gatech.edu!
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 env create -f environment.yml
- Activate the environment.
conda activate 0nset
- Designate the flask app
export FLASK_APP=app.py
- Run the flask app
flask run