Welcome to physics research library (phyreslib
or prl
)! Based on research experience in a condensed matter physics laboratory, prl
is designed to be a Pythonic system-desgin platform and development environment for scientific experiments invloving instrument automation, data acquisition, data visualization, and more.
- Setup virtual environment for
prl
and install dependent packages. It is recommended to runprl
in a virtual environment. Here we useEnthought Deployment Manager (EDM)
.
[~]$ edm envs create prl-env
[~]$ edm shell -e prl-env
(prl-env) [~]$ edm install traits traitsui pyqt chaco numpy
- Checkout the appropriate branch on
phyreslib
.
(prl-env)[~]$ mkdir ~/prl-demo
(prl-env)[~]$ cd ~/prl-demo
(prl-env)[~/prl-demo]$ git clone https://github.com/xiaoyu-wu/phyreslib
(prl-env) [~/prl-demo]$ cd ~/prl-demo/phyreslib/
(prl-env) [~/prl-demo/phyreslib]$ git checkout master
- Run some examples to get a taste of
prl
.
(prl-env) [~/prl-demo/phyreslib]$ cd ..
(prl-env) [~/prl-demo]$ python -m phyreslib.examples.scan_image