Module:
sdynpy.core.sdynpy_geometrySource: GitHub
Parent:
pyvistaqt.plotting.BackgroundPlotterParent:
pyvistaqt.plotting.QtInteractorParent:
pyvistaqt.rwi.QVTKRenderWindowInteractorParent:
PyQt5.QtWidgets.QWidgetParent:
PyQt5.QtCore.QObjectParent:
sip.wrapperParent:
PyQt5.QtGui.QPaintDeviceParent:
sip.simplewrapperParent:
pyvista.plotting.plotter.BasePlotterParent:
pyvista.core.utilities.misc._BoundsSizeMixinParent:
pyvista.plotting.picking.PickingHelperParent:
pyvista.plotting.picking.PickingMethodsParent:
pyvista.plotting.picking.PickingInterfaceParent:
pyvista.plotting.widgets.WidgetHelper
Signature¶
class sdynpy.core.sdynpy_geometry.DeflectionShapePlotter(geometry, deflection_shape_data, plot_kwargs, background_plotter_kwargs={'auto_update': 0.01}, undeformed_opacity=0.25, starting_scale=1.0, deformed_opacity=1.0, num_curves=50)Class used to plot animated deflection shapes from spectra
Methods¶
| Name | Summary |
|---|---|
__init__ | Create a DeflectionShapePlotter object to plot shapes |
modify_abscissa | |
save_multiline_animation |
__init__¶
Source: GitHub
def sdynpy.core.sdynpy_geometry.DeflectionShapePlotter.__init__(self, geometry, deflection_shape_data, plot_kwargs, background_plotter_kwargs={'auto_update': 0.01}, undeformed_opacity=0.25, starting_scale=1.0, deformed_opacity=1.0, num_curves=50)Create a DeflectionShapePlotter object to plot shapes
Parameters¶
geometry : Geometry Geometry on which the shapes will be plotted
deflection_shape_data : NDDataArray Data array containing the deflection shapes to plot
plot_kwargs : dict Keyword arguments passed to the Geometry.plot function
background_plotter_kwargs : dict, optional Keyword arguments passed to the BackgroundPlotter constructor. The default is {‘auto_update’:0.01}.
undeformed_opacity : float, optional Opacity of the undeformed geometry. Set to zero for no undeformed geometry. The default is 0.25.
starting_scale : float, optional Starting scale of the shapes on the plot. The default is 1.0.
num_curves : int, optional Maximum number of curves to plot on the frequency selector. Default is 50
modify_abscissa¶
Source: GitHub
def sdynpy.core.sdynpy_geometry.DeflectionShapePlotter.modify_abscissa(self)save_multiline_animation¶
Source: GitHub
def sdynpy.core.sdynpy_geometry.DeflectionShapePlotter.save_multiline_animation(self, filename=None, frame_rate=20, phase_change_per_frame=0.087, frequency_change_per_frame=0.5, start_phase=0.0, start_frequency=None, end_frequency=None, individual_images=False)