11# openPMD-beamphysics
22
3- ** ` Documentation ` ** |
4- ------------------- |
5- [ ![ Documentation] ( https://img.shields.io/badge/beamphysics-documentation-blue.svg )] ( https://christophermayes.github.io/openPMD-beamphysics/ ) |
3+ | ** ` Documentation ` ** |
4+ | ------------------------------------------------------------------------------------------------------------------------- ------------------- |
5+ | [ ![ Documentation] ( https://img.shields.io/badge/beamphysics-documentation-blue.svg )] ( https://christophermayes.github.io/openPMD-beamphysics/ ) |
66
77Tools for analyzing and viewing particle data in the openPMD standard, extension beamphysics.
88
9- https://github.com/openPMD/openPMD-standard/blob/upcoming-2.0.0/EXT_BeamPhysics.md
9+ < https://github.com/openPMD/openPMD-standard/blob/upcoming-2.0.0/EXT_BeamPhysics.md >
1010
11- Installing openpmd-beamphysics
12- ==============================
11+ # Installing openpmd-beamphysics
1312
1413Installing ` openpmd-beamphysics ` from the ` conda-forge ` channel can be achieved by adding ` conda-forge ` to your channels with:
1514
@@ -27,3 +26,30 @@ It is possible to list all of the versions of `openpmd-beamphysics` available on
2726
2827```
2928conda search openpmd-beamphysics --channel conda-forge
29+ ```
30+
31+ ## Development environment
32+
33+ A conda environment file is provided in this repository and may be used for a
34+ development environment.
35+
36+ To create a new conda environment using this file, do the following:
37+
38+ ``` bash
39+ git clone https://github.com/ChristopherMayes/openPMD-beamphysics
40+ cd openPMD-beamphysics
41+ conda env create -n pmd_beamphysics-dev -f environment.yml
42+ conda activate beamphysics-dev
43+ python -m pip install --no-deps -e .
44+ ```
45+
46+ Alternatively, with a virtualenv and pip:
47+
48+ ``` bash
49+ git clone https://github.com/ChristopherMayes/openPMD-beamphysics
50+ cd openPMD-beamphysics
51+
52+ python -m venv beamphysics-venv
53+ source pmd_beamphysics-venv/bin/activate
54+ python -m pip install -e .
55+ ```
0 commit comments