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

epsilon

Window of time within which the waveform is considered on

has_initial_fields

Whether the waveform has initial fields.

off_time

Off-time

ramp_off

times over which the transmitter ramps off.

ramp_on

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)

../../../_images/simpeg-electromagnetics-time_domain-sources-QuarterSineRampOnWaveform-1.png

Galleries and Tutorials using simpeg.electromagnetics.time_domain.sources.QuarterSineRampOnWaveform#

EM: TDEM: Permeable Target, Inductive Source

EM: TDEM: Permeable Target, Inductive Source

TDEM: Waveforms

TDEM: Waveforms

1D Forward Simulation with User-Defined Waveforms

1D Forward Simulation with User-Defined Waveforms