Coverage for src / sdynpy / __init__.py: 100%

48 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-03-11 16:22 +0000

1"""SDynPy: A Structural Dynamics Library for Python""" 

2 

3""" 

4Copyright 2022 National Technology & Engineering Solutions of Sandia, 

5LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. 

6Government retains certain rights in this software. 

7 

8This program is free software: you can redistribute it and/or modify 

9it under the terms of the GNU General Public License as published by 

10the Free Software Foundation, either version 3 of the License, or 

11(at your option) any later version. 

12 

13This program is distributed in the hope that it will be useful, 

14but WITHOUT ANY WARRANTY; without even the implied warranty of 

15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 

16GNU General Public License for more details. 

17 

18You should have received a copy of the GNU General Public License 

19along with this program. If not, see <https://www.gnu.org/licenses/>. 

20""" 

21from .core import coordinate, colors, array, geometry, shape, data, system, matrix_mod, system_nl 

22from .fileio import unv, uff, rattlesnake, vic, tshaker, pdf3D, escdf 

23from .fem.sdynpy_exodus import Exodus, ExodusInMemory, read_sierra_matlab_map_file, read_sierra_matlab_matrix_file 

24from .fem import sdynpy_beam as beam 

25from .fem import sdynpy_shaker as shaker 

26from .fem import sdynpy_dof as dof 

27from .signal_processing import (frf, cpsd, integration, correlation, complex, 

28 rotation, generator, camera, harmonic, 

29 geometry_fitting, srs, lrm, frf_inverse, buffer) 

30from .modal import (PolyPy, SMAC, PolyPy_GUI, SMAC_GUI, compute_residues, 

31 compute_shapes, SignalProcessingGUI, ColoredCMIF, 

32 read_modal_fit_data, ModalTest) 

33from . import doc 

34 

35# Pull things in for easier access 

36SdynpyArray = array.SdynpyArray 

37coordinate_array = coordinate.coordinate_array 

38CoordinateArray = coordinate.CoordinateArray 

39coordinate_system_array = geometry.coordinate_system_array 

40CoordinateSystemArray = geometry.CoordinateSystemArray 

41node_array = geometry.node_array 

42NodeArray = geometry.NodeArray 

43traceline_array = geometry.traceline_array 

44TracelineArray = geometry.TracelineArray 

45element_array = geometry.element_array 

46ElementArray = geometry.ElementArray 

47Geometry = geometry.Geometry 

48shape_array = shape.shape_array 

49ShapeArray = shape.ShapeArray 

50data_array = data.data_array 

51NDDataArray = data.NDDataArray 

52time_history_array = data.time_history_array 

53TimeHistoryArray = data.TimeHistoryArray 

54transfer_function_array = data.transfer_function_array 

55TransferFunctionArray = data.TransferFunctionArray 

56coherence_array = data.coherence_array 

57CoherenceArray = data.CoherenceArray 

58multiple_coherence_array = data.multiple_coherence_array 

59MultipleCoherenceArray = data.MultipleCoherenceArray 

60power_spectral_density_array = data.power_spectral_density_array 

61PowerSpectralDensityArray = data.PowerSpectralDensityArray 

62spectrum_array = data.spectrum_array 

63ShockResponseSpectrumArray = data.ShockResponseSpectrumArray 

64shock_response_spectrum_array = data.shock_response_spectrum_array 

65SpectrumArray = data.SpectrumArray 

66GUIPlot = data.GUIPlot 

67CPSDPlot = data.CPSDPlot 

68id_map = geometry.id_map 

69System = system.System 

70matrix_plot = correlation.matrix_plot 

71Matrix = matrix_mod.Matrix 

72matrix = matrix_mod.matrix 

73SystemNL = system_nl.SystemNL