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:
off_timefloat

time when the transmitter current returns to zero

peak_timefloat

time when the transmitter waveform is at a peak

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)

../../../_images/SimPEG-electromagnetics-time_domain-sources-TriangularWaveform-1.png

Attributes

peakTime

peak_time.peakTime has been deprecated.

peak_time

Peak time

Galleries and Tutorials using SimPEG.electromagnetics.time_domain.sources.TriangularWaveform#

TDEM: Waveforms

TDEM: Waveforms

1D Forward Simulation with User-Defined Waveforms

1D Forward Simulation with User-Defined Waveforms