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 
 
- off_time
 - 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)  - Attributes - Window of time within which the waveform is considered on - Whether the waveform has initial fields. - 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 
