View Code? Open in Web Editor
NEW
Levitation experiment simulation
Home Page: https://pubs.acs.org/doi/full/10.1021/acs.nanolett.3c02442
License: Apache License 2.0
Python 4.25%
Jupyter Notebook 95.75%
levitation's Introduction
Simulation for the levitation experiment.
- "Near-Field GHz Rotation and Sensing with an Optically Levitated Nanodumbbell" by Peng Ju, et. al. Nano Lett. 23(22) 10157โ10163 (2023). [paper]
![](img/FreeFall.png)
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 do sudo 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.
levitation's People
Contributors
Stargazers
Watchers