twistpy.polarization.TimeFrequencyAnalysis3C.plot#

TimeFrequencyAnalysis3C.plot(clip: float = 0.05, major_semi_axis: bool = True, show: bool = True, alpha: Optional[ndarray] = None, seismograms: Optional[Stream] = None, log_frequency: bool = False, fmin: Optional[float] = None, fmax: Optional[float] = None) None[source]#

Plot polarization analysis.

Parameters
clipfloat, default=0.05 (between 0 and 1)

Results are only plotted at time-frequency points where the signal amplitudes exceed a value of amplitudes * maximum amplitude in the signal (given by the l2-norm of all three components).

major_semi_axisobj:bool, default=True

If True, the inclination and azimuth of the major semi-axis is plotted. Otherwise (major_semi_axis=False), The inclination and azimuth are plotted for the minor semi-axis.

showbool, default=True

Display the plot directly after plotting. If set to False, the plot will only show up once show is called.

alphanumpy.ndarray, default = None

A mask (values between zero and 1) of the same dimension as the polarization attributes, that will be plotted on the alpha channel.

seismogramsobspy.core.Stream, default = None

Manually provide seismograms to be plotted in the first panel. By default, the input data is plotted.

log_frequencybool Optional, Default = False

Plot polarization attributes on a logarithmic frequency axis.

fminfloat, optional

Set the lower limit of the frequency axis.

fmaxfloat, optional

Set the upper limit of the frequency axis.