Skip to content

Commit 6e222ac

Browse files
committed
Defined basic imports in __init__.py
1 parent d542d37 commit 6e222ac

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ import mpes.fprocessing as fp
5454
import mpes.analysis as aly
5555
import mpes.visualization as vis
5656
```
57+
which can also be done without using the aliases simply as (not recommended)
58+
```
59+
from mpes import *
60+
```
5761

5862
### Using mayavi in Jupyter notebook
5963
For 3D rendering of multidimensional dataset, the mpes package takes advantage of the recent version of mayavi (4.5.0 and above) with jupyter notebook support through [x3dom](https://www.x3dom.org/). Follow the steps below on the command line to allow mayavi output to be displayed on jupyter/ipython notebook

mpes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
__version_info__ = ('0', '9', '8')
44
__version__ = '.'.join(__version_info__)
55
__author__ = 'R. Patrick Xian, Laurenz Rettig'
6-
__all__ = []
6+
__all__ = ['fprocessing', 'analysis', 'visualization', 'utils']

0 commit comments

Comments
 (0)