Skip to content

Commit 6ae7ecb

Browse files
committed
README.md
1 parent 8ed53ad commit 6ae7ecb

File tree

2 files changed

+24
-32
lines changed

2 files changed

+24
-32
lines changed

README.rst renamed to README.md

Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,35 @@
1-
WrightSim
2-
=========
1+
# WrightSim
2+
33
A 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

2923
This script can be modified to suit an individual simulation.
3024

3125
The 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

4034
Level 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

5547
This will run a 3D simulation of 32x32x16 Freq-Freq-Delay.
5648

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def read(path):
3939
},
4040
version=version,
4141
description="A simulation package for multidimensional spectroscopy.",
42-
long_description=read(__here__ / "README.rst"),
43-
long_description_content_type="text/x-rst",
42+
long_description=read(__here__ / "README.md"),
43+
long_description_content_type="text/markdown",
4444
author="WrightSim Developers",
4545
license="MIT",
4646
url="https://github.com/wright-group/WrightSim",

0 commit comments

Comments
 (0)