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

◆ ScalCoo()

datrw::su::ScalCoo::ScalCoo ( const datrw::su::options::SpatialSampling ctrl,
const bool &  debug = false 
)
inline

constructor

Definition at line 126 of file sucomanager.h.

References datrw::su::options::SpatialSampling::bestrict, datrw::su::fixscalevalue(), Mcontrol, and scale.

128  : scale(ctrl.scalco), coo(0), Mcontrol(ctrl), Mdebug(debug)
129  {
131  }
bool bestrict
if true: strictly use header definition by SeismicUnix source
Definition: suformat.h:133
int coo
coordinate
Definition: sucomanager.h:171
short scale
scale like scalco
Definition: sucomanager.h:169
short scalco
preferred scalco value
Definition: suformat.h:131
datrw::su::options::SpatialSampling Mcontrol
control parameters
Definition: sucomanager.h:173
bool Mdebug
debug mode
Definition: sucomanager.h:175
void fixscalevalue(short &s, const bool &strict)
fix a SeismicUn*x scale value
Definition: sucomanager.cc:498
Here is the call graph for this function: