forked from murraylab/PyDDM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
27 lines (21 loc) · 821 Bytes
/
__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
# Copyright 2018 Max Shinn <[email protected]>
# 2018 Norman Lam <[email protected]>
#
# This file is part of PyDDM, and is available under the MIT license.
# Please see LICENSE.txt in the root directory for more information.
__all__ = ["Sample", "Solution", "Model", "Fittable", "Fitted", "FitResult"]
# Check that Python3 is running
import sys
if sys.version_info.major != 3:
raise ImportError("PyDDM only supports Python 3")
from .models import *
from .model import Model, Fittable, Fitted, FitResult
from .sample import Sample
from .solution import Solution
from .functions import *
from ._version import __version__
# Some default functions for paranoid scientist
import paranoid
import math
import numpy as np
paranoid.settings.Settings.get("namespace").update({"math": math, "np": np})