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

49 statements  

« prev     ^ index     » next       coverage.py v7.16.1, created at 2026-09-18 21:32 +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, psv 

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 .fem import sdynpy_visualization_reduction as viz_reduction 

28from .signal_processing import ( 

29 frf, 

30 cpsd, 

31 integration, 

32 correlation, 

33 complex, 

34 rotation, 

35 generator, 

36 camera, 

37 harmonic, 

38 geometry_fitting, 

39 srs, 

40 lrm, 

41 frf_inverse, 

42 buffer, 

43 massprops, 

44 interpolation, 

45) 

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

47 compute_shapes, SignalProcessingGUI, ColoredCMIF, 

48 read_modal_fit_data, ModalTest) 

49from . import doc 

50 

51# Pull things in for easier access 

52SdynpyArray = array.SdynpyArray 

53coordinate_array = coordinate.coordinate_array 

54CoordinateArray = coordinate.CoordinateArray 

55coordinate_system_array = geometry.coordinate_system_array 

56CoordinateSystemArray = geometry.CoordinateSystemArray 

57node_array = geometry.node_array 

58NodeArray = geometry.NodeArray 

59traceline_array = geometry.traceline_array 

60TracelineArray = geometry.TracelineArray 

61element_array = geometry.element_array 

62ElementArray = geometry.ElementArray 

63Geometry = geometry.Geometry 

64shape_array = shape.shape_array 

65ShapeArray = shape.ShapeArray 

66data_array = data.data_array 

67NDDataArray = data.NDDataArray 

68time_history_array = data.time_history_array 

69TimeHistoryArray = data.TimeHistoryArray 

70transfer_function_array = data.transfer_function_array 

71TransferFunctionArray = data.TransferFunctionArray 

72coherence_array = data.coherence_array 

73CoherenceArray = data.CoherenceArray 

74multiple_coherence_array = data.multiple_coherence_array 

75MultipleCoherenceArray = data.MultipleCoherenceArray 

76power_spectral_density_array = data.power_spectral_density_array 

77PowerSpectralDensityArray = data.PowerSpectralDensityArray 

78spectrum_array = data.spectrum_array 

79ShockResponseSpectrumArray = data.ShockResponseSpectrumArray 

80shock_response_spectrum_array = data.shock_response_spectrum_array 

81SpectrumArray = data.SpectrumArray 

82GUIPlot = data.GUIPlot 

83CPSDPlot = data.CPSDPlot 

84id_map = geometry.id_map 

85System = system.System 

86matrix_plot = correlation.matrix_plot 

87Matrix = matrix_mod.Matrix 

88matrix = matrix_mod.matrix 

89SystemNL = system_nl.SystemNL