DATRW++ library: seismic data I/O with multiple formats

◆ scalcof()

double datrw::su::SUheader::scalcof ( ) const

return factor defined by scalco

return scaling factor defined by scalco

Definition at line 206 of file suheader.cc.

References datrw::su::options::SpatialSampling::bestrict, Mheader, Mheadercontrol, datrw::su::TraceHeaderStruct::scalco, datrw::su::scalefactor(), and datrw::su::options::SUHeaderControl::spatialsampling.

Referenced by info(), and srce().

207  {
208  return(scalefactor(Mheader.scalco,
210  } // double SUheader::scalcof() const
bool bestrict
if true: strictly use header definition by SeismicUnix source
Definition: suformat.h:133
datrw::su::options::SUHeaderControl Mheadercontrol
all options taken from the user
Definition: suheader.h:202
short scalco
Scalar to be applied to the next 4 entries to give the real value (see details).
TraceHeaderStruct Mheader
the actual data fields are provided for public access
Definition: suheader.h:239
double scalefactor(short s, const bool &strict)
convert scale value to a factor to be applied
Definition: sucomanager.cc:546
Here is the call graph for this function:
Here is the caller graph for this function: