MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / integrate

Method integrate

postprocessing/visualization/receiver/src/Waveform.py:78–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 self.waveforms[name] = numpy.gradient(wf, self.time)
77
78 def integrate(self):
79 dt = self.time[1] - self.time[0]
80 for name, wf in self.waveforms.items():
81 self.waveforms[name] = numpy.cumsum(wf) * dt

Callers 1

plotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected