1- WrightSim
2- =========
1+ # WrightSim
2+
33A simulation package for multidimensional spectroscopy.
44
55
6- Installation
7- ------------
6+ ## Installation
87
9- .. code-block :: bash
10-
8+ ```
119 $ git clone https://github.com/wright-group/WrightSim
1210 $ cd WrightSim
13- $ python setup.py develop
14-
15- Note: This will install all required dependencies.
16- PyCUDA is not a required dependency in general, but is required if GPU simulations are desired.
17-
18- .. code-block :: bash
11+ $ python -m pip install -e .
12+ ```
1913
20- $ pip install pycuda
14+ * This will install all required dependencies. Use `` --no-deps `` flag to only install the package.
15+ * PyCUDA is not a required dependency in general, but is required if GPU simulations are desired:
16+ ` $ pip install pycuda `
17+ PyCUDA requires an Nvidia graphics card and drivers, and the CUDA libraries installed.
2118
22- PyCUDA requires an Nvida graphics card and drivers, and the CUDA libraries installed.
19+ ## Usage
2320
24- Usage
25- -----
26-
27- An example script is provided at ``./scripts/target.py ``
21+ An example script is provided at ` ./scripts/target.py `
2822
2923This script can be modified to suit an individual simulation.
3024
3125The basic steps are:
3226
33- # . Select an experiment
34- # . Set up the axes of the scan
35- # . Set the time interfal and buffers
36- # . Create a Hamiltonian object
37- # . Run the scan
38- # . (optional) review the results
27+ 1 . Select an experiment
28+ 2 . Set up the axes of the scan
29+ 3 . Set the time interval and buffers
30+ 4 . Create a Hamiltonian object
31+ 5 . Run the scan
32+ 6 . (optional) review the results
3933
4034Level of parallelism is selected by the `` mp `` parameter of teh `` exp.run `` method.
4135
@@ -44,13 +38,11 @@ Level of parallelism is selected by the ``mp`` parameter of teh ``exp.run`` meth
4438- `` False `` or `` "" `` runs in single threaded mode
4539
4640
47- The script is set up to read the dimensions from arguments.
48- it can be run like so:
49-
50- .. code-block :: bash
51-
41+ The script is set up to read the dimensions from arguments;
42+ it can be run like so:
43+ ```
5244 $ ./target.py 32 16
53-
45+ ```
5446
5547This will run a 3D simulation of 32x32x16 Freq-Freq-Delay.
5648
0 commit comments