simpeg.electromagnetics.time_domain.sources.QuarterSineRampOnWaveform#
- class simpeg.electromagnetics.time_domain.sources.QuarterSineRampOnWaveform(ramp_on, ramp_off, **kwargs)[source]#
Bases:
TrapezoidWaveform
A waveform that has a quarter-sine ramp-on and a linear ramp-off
- Parameters:
- ramp_on: tuple
times during which the transmitter ramps on
- ramp_off: tuple
times between which there is a linear ramp-off
Attributes
Window of time within which the waveform is considered on
Whether the waveform has initial fields.
Off-time
times over which the transmitter ramps off.
times over which the transmitter ramps on.
time_nodes
Methods
eval
(time)Evaluate current waveform at a given time
eval_deriv
(time)Evaluate the time derivative of the linear ramp-off waveform at given times
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.QuarterSineRampOnWaveform(ramp_on=(0, 2e-3), ramp_off=(3e-3, 3.5e-3)) >>> plt.plot(times, [waveform.eval(t) for t in times]) >>> plt.show()
(
Source code
,png
,pdf
)
Galleries and Tutorials using simpeg.electromagnetics.time_domain.sources.QuarterSineRampOnWaveform
#
EM: TDEM: Permeable Target, Inductive Source
EM: TDEM: Permeable Target, Inductive Source
TDEM: Waveforms
1D Forward Simulation with User-Defined Waveforms
1D Forward Simulation with User-Defined Waveforms