SFF++ library: reading and writing SFF from C++

◆ scaling()

void scaling ( const sff::TraceHeader hd)

Definition at line 214 of file sfftest.cc.

References sff::DAST::ampfac, sff::TraceHeader::dast(), and sff::TraceHeader::scale().

Referenced by test_waveform_normalizer().

215 {
216  if (hd.scale())
217  { cout << "will be scaled with ampfac "; }
218  else
219  { cout << "will not be scaled and ampfac is "; }
220  cout << hd.dast().ampfac << endl;
221 }
const bool & scale() const
Definition: sffxx.h:309
double ampfac
Definition: sffxx.h:187
const DAST & dast() const
Definition: sffxx.h:306
Here is the call graph for this function:
Here is the caller graph for this function: