- "Near-Field GHz Rotation and Sensing with an Optically Levitated Nanodumbbell" by Peng Ju, et. al. Nano Lett. 23(22) 10157–10163 (2023). [paper]
physics_constant.py
contains all physics constant used in the simulations.helpers.py
contains helper functions for the simulations.Free_fall.ipynb
simulates how a nanoparticle rotates in the free fall experiment.
- Make sure you have installed
python3.10.13
or dosudo apt install Python3.10.13
. - Clone the repo.
- (Recommended) Create and activate a virtualenv under the
env/
directory. Git is already configured to ignore it. - Install the very minimal requirements using
pip3 install -r requirements.txt
- Run Jupyter in whatever way works for you. The simplest would be to run
pip3 install jupyter && jupyter notebook
. - Activate your virtual environment with
source venv/bin/activate
, - Run Python script within your virtual environment.