1
- WrightSim
2
- =========
1
+ # WrightSim
2
+
3
3
A simulation package for multidimensional spectroscopy.
4
4
5
5
6
- Installation
7
- ------------
6
+ ## Installation
8
7
9
- .. code-block :: bash
10
-
8
+ ```
11
9
$ git clone https://github.com/wright-group/WrightSim
12
10
$ 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
+ ```
19
13
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.
21
18
22
- PyCUDA requires an Nvida graphics card and drivers, and the CUDA libraries installed.
19
+ ## Usage
23
20
24
- Usage
25
- -----
26
-
27
- An example script is provided at ``./scripts/target.py ``
21
+ An example script is provided at ` ./scripts/target.py `
28
22
29
23
This script can be modified to suit an individual simulation.
30
24
31
25
The basic steps are:
32
26
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
39
33
40
34
Level of parallelism is selected by the `` mp `` parameter of teh `` exp.run `` method.
41
35
@@ -44,13 +38,11 @@ Level of parallelism is selected by the ``mp`` parameter of teh ``exp.run`` meth
44
38
- `` False `` or `` "" `` runs in single threaded mode
45
39
46
40
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
+ ```
52
44
$ ./target.py 32 16
53
-
45
+ ```
54
46
55
47
This will run a 3D simulation of 32x32x16 Freq-Freq-Delay.
56
48
0 commit comments