-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path__init__.py
executable file
·42 lines (33 loc) · 1.17 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
"""
Vibration Testing module
------------------------
This module is a companion to the manuscript Vibration Testing with Health
Monitoring by Joseph C. Slater. It includes functions for:
- Signal processing
- System manipulation and solution
- System identification
"""
from __future__ import division, print_function, absolute_import
__title__ = 'vibrationtesting'
__version__ = '0.24'
__author__ = u'Joseph C. Slater'
__license__ = 'MIT'
__copyright__ = 'Copyright 2002-2017 Joseph C. Slater'
__all__ = ['identification', 'signals', 'system',
'__version__']
import sys
import matplotlib as mpl
import numpy as np
if 'pytest' in sys.argv[0]:
# print('Setting backend to agg to run tests')
_ = mpl.use('agg')
np.set_printoptions(precision=4, suppress=True)
from .signals import *
from .system import *
from .identification import *
from .sparsematriceshandler import *
# Signal processing (:mod:`vibrationtesting.signal`)
# print options were change inside modules to produce better
# outputs at examples. Here we set the print options to the
# default values after importing the modules to avoid changing
# np default print options when importing the module.