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
- clip
float
, 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.
- show
bool
, default=True Display the plot directly after plotting. If set to False, the plot will only show up once
show
is called.- alpha
numpy.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.
- seismograms
obspy.core.Stream
, default = None Manually provide seismograms to be plotted in the first panel. By default, the input data is plotted.
- log_frequency
bool
Optional, Default = False Plot polarization attributes on a logarithmic frequency axis.
- fmin
float
, optional Set the lower limit of the frequency axis.
- fmax
float
, optional Set the upper limit of the frequency axis.
- clip