simpeg.electromagnetics.time_domain.sources.StepOffWaveform#

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

Bases: BaseWaveform

A heavy-side step function waveform. This is the default for time-domain EM simulations.

Parameters:
off_timefloat, default: 0.0

time at which the transmitter is turned off in units of seconds (default is 0s)

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

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

The default off-time for the step-off waveform is 0s. In the example below, we set it to 1e-5 s (0.01 ms) to illustrate it in a plot

>>> 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.StepOffWaveform(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-StepOffWaveform-1.png

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

Heagy et al., 2017 1D FDEM and TDEM inversions

Heagy et al., 2017 1D FDEM and TDEM inversions

1D Forward Simulation for a Single Sounding

1D Forward Simulation for a Single Sounding

1D Forward Simulation with Chargeable and/or Magnetic Viscosity

1D Forward Simulation with Chargeable and/or Magnetic Viscosity

1D Forward Simulation with User-Defined Waveforms

1D Forward Simulation with User-Defined Waveforms

3D Forward Simulation for Transient Response on a Cylindrical Mesh

3D Forward Simulation for Transient Response on a Cylindrical Mesh

1D Inversion of Time-Domain Data for a Single Sounding

1D Inversion of Time-Domain Data for a Single Sounding

Forward Simulation Including Inductive Response

Forward Simulation Including Inductive Response