The app is available online: https://share.streamlit.io/mathiaspnt/fitmydata/app.py
To cite this work, see this file.
The objective is to have a tool to quickly analyse data in the lab. It is not meant to cover all ppossibilities, but we would like this software to be as general as possible.
What has been implemented so far:
- Lifetime for exciton (cosine with exp decay) and trion (exp decay)
- HOM normalised by area of the side peaks
- HOM normalised by uncorelated central peak (ortho/para)
- g2
- Reflectivity spectrum
- photoluminescence spectrum
- Pulse calculator
This is the preferred option since it doesn't require any already installed package on your device (except for Docker).
docker build -t fitmydata .
docker run -p 8501:8501 fitmydata
# Or you can rather use the following run command to mount your code into the docker so that you can change the code in your IDE and it will be sync into the docker
docker run -p 8501:8501 -v ~/FitMyData:/workspace fitmydataand then open your browser to localhost:8501
If you're on Linux, you can directly do in your favorite shell:
apt update -y && xargs apt-get install -y <packages.txt
pip install -r requirements.txtA C compiler is installed through build-essential in packages.txt. This is required to install the library readPTU.
On other platforms (Mac, Windows..) you will need to install for yourself a C compiler, this is why the docker option is simpler.
To run the streamlit app:
streamlit run app.pyTo help me improve this toolbox + software: DO NOT PUSH OR COMMIT TO MAIN. You should rather:
- Create a branch with your _FirstnameLastname for any modifications.
- All push should be adding a reasonably small feature to only one of the files.