-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11e9028
commit 69464ff
Showing
2 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
# Python interface for the Enhanced Monte Carlo (EMC) package | ||
# Enhanced Monte Carlo (EMC) Python Interface | ||
|
||
The `pyemc` module is a thin Python layer around the [EMC](http://montecarlo.sourceforge.net/emc/Welcome.html) package that allows you to use EMC with ease. | ||
|
||
|
||
## Installation | ||
|
||
```bash | ||
pip install pmd | ||
``` | ||
|
||
|
||
## Usage | ||
|
||
```python | ||
import pyemc | ||
|
||
# Equivalent to running ./emc_setup.pl your-setup-file.esh on the command line | ||
pyemc.setup('your-setup-file.esh') | ||
|
||
# Equivalent to running the emc executable | ||
pyemc.build('build.emc') | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters