Source code for pemtk

[docs]__version__ = '0.0.1'
# For module dev testing, include path to module here, otherwise use global installation import sys # Import epsproc if installed, otherwise try local copy # Note - this is currently required for fitting class, but not symHarm functionality. try: import epsproc as ep except ImportError: print("*** ePSproc installation not found, setting for local copy.") if sys.platform == "win32":
[docs] modPath = r'D:\code\github\ePSproc' # Win test machine
winFlag = True else: modPath = r'/home/femtolab/github/ePSproc/' # Linux test machine winFlag = False sys.path.append(modPath) try: import epsproc as ep except ImportError: print("*** ePSproc local copy not found, please run 'sys.path.append(<path to ePSproc repo>)' and try again. Optionally set local path settings in PEMtk/__init__.py. (TODO: fix this issue!)")