__init__.py 757 Bytes
Newer Older
1
2
3
4
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
Daniel Brown's avatar
Daniel Brown committed
5

6
__version__ = "1.0.14"
7
8
9

# This flag is used to switch on the gui features in pkat at import time
USE_GUI = False
10
HAS_OPTIVIS = False
11

12
import imp
13

14
15
16
17
18
try:
	imp.find_module('optivis')
	HAS_OPTIVIS = True
except ImportError:
	HAS_OPTIVIS = False
19
20
21
22

import pykat.exceptions as pkex

NoGUIException = pkex.BasePyKatException("No PyQt4 module was found so cannot open a GUI")
Daniel Brown's avatar
Daniel Brown committed
23

24
25
26
27
import pykat.finesse as finesse
import pykat.components as components
import pykat.detectors as detectors
import pykat.commands as commands
28

29
from pykat.optics.gaussian_beams import BeamParam
30

31
from pykat.plotting import init_pykat_plotting
32
33