SimPEG.electromagnetics.time_domain.sources.TriangularWaveform#
- class SimPEG.electromagnetics.time_domain.sources.TriangularWaveform(start_time, off_time, peak_time, **kwargs)[source]#
Bases:
TrapezoidWaveform
TriangularWaveform is a special case of TrapezoidWaveform where there’s no pleateau
- Parameters:
Examples
>>> import matplotlib.pyplot as plt >>> import numpy as np >>> from SimPEG.electromagnetics import time_domain as tdem
>>> times = np.linspace(0, 1e-2, 1000) >>> waveform = tdem.sources.TriangularWaveform(start_time=1E-3, off_time=6e-3, peak_time=3e-3) >>> plt.plot(times, [waveform.eval(t) for t in times]) >>> plt.show()
(
Source code
,png
,pdf
)Attributes
peak_time.peakTime has been deprecated.
Peak time
Galleries and Tutorials using SimPEG.electromagnetics.time_domain.sources.TriangularWaveform
#
TDEM: Waveforms
1D Forward Simulation with User-Defined Waveforms
1D Forward Simulation with User-Defined Waveforms