-
Notifications
You must be signed in to change notification settings - Fork 13
/
__init__.py
executable file
·43 lines (35 loc) · 1.11 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
"""Provides utility classes for writing simple data analysis scripts more easily.
It has been developed by members of the `Condensed Matter Group<http://www.stoner.leeds.ac.uk/>` at the
`University of Leeds<http://www.leeds.ac.uk>`.
"""
# pylint: disable=import-error
__all__ = [
"core",
"analysis",
"formats",
"plot",
"tools",
"Image",
"Data",
"DataFolder",
"ImageFile",
"ImageFolder",
"ImageStack",
"set_option",
"get_option",
"Options",
]
# These fake the old namespace if you do an import Stoner
from os import path as _path_
import pathlib
from . import core, analysis, formats, plot, tools, Image
from .core.data import Data
from .Folders import DataFolder
from .Image import ImageFile, ImageFolder, ImageStack
from .tools import set_option, get_option, Options as _Options
Options = _Options()
__version_info__ = ("0", "11", "0")
__version__ = ".".join(__version_info__)
__homepath__ = pathlib.Path(__file__).parent.resolve()
__datapath__ = (__homepath__ / ".." / "sample-data").resolve()
__home__ = str(__homepath__)