STFINV library: seek source wavelet correction filter

◆ offset()

double stfinv::WaveformTriple::offset ( ) const

Return source offset of this waveform.

Definition at line 359 of file stfinvbase.cc.

References header, CTripleHeader::rx, CTripleHeader::ry, CTripleHeader::sx, and CTripleHeader::sy.

360  {
361  double dx=header.rx-header.sx;
362  double dy=header.ry-header.sy;
363  return (sqrt(dx*dx+dy*dy));
364  } // double WaveformTriple::offset() const
CTripleHeader header
The header is expected to be the same for all three time series. In particular the number of samples ...
Definition: stfinvbase.h:87