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

◆ scalelf()

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

return factor defined by scalel

return factor defined by scalel

Todo:
better handle non-standard values only if appropriate file type modifiers are set; file type modifiers still have to be implemented

Definition at line 197 of file suheader.cc.

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

Referenced by info(), and srce().

198  {
199  return(scalefactor(Mheader.scalel,
201  } // double SUheader::scalelf() const
short scalel
Scalar to be applied to the previous 7 entries to give the real value (see details).
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
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: