__init__.py 708 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
__version__ = "0.6.2"
6
7
8

# This flag is used to switch on the gui features in pkat at import time
USE_GUI = False
9
10
11
12
13
14
15
HAS_OPTIVIS = False
import imp
try:
	imp.find_module('optivis')
	HAS_OPTIVIS = True
except ImportError:
	HAS_OPTIVIS = False
16
17
18
19

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
20

21
22
23
24
import pykat.finesse as finesse
import pykat.components as components
import pykat.detectors as detectors
import pykat.commands as commands
25

26
from pykat.optics.gaussian_beams import beam_param
27
28
29
30