simpeg.electromagnetics.time_domain.sources.RampOffWaveform#

class simpeg.electromagnetics.time_domain.sources.RampOffWaveform(off_time=0.0, **kwargs)[source]#

Bases: BaseWaveform

A waveform with a linear ramp-off.

Parameters:
off_timefloat, default: 0.0

time at which the transmitter is turned off in units of seconds

Examples

>>> import matplotlib.pyplot as plt
>>> import numpy as np
>>> from simpeg.electromagnetics import time_domain as tdem
>>> times = np.linspace(0, 1e-4, 1000)
>>> waveform = tdem.sources.RampOffWaveform(off_time=1e-5)
>>> plt.plot(times, [waveform.eval(t) for t in times])
>>> plt.show()

(Source code, png, pdf)

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

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

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

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

TDEM: Waveforms

TDEM: Waveforms