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

◆ power()

int datrw::su::ScalCoo::power ( ) const

return decimal power of scaling factor

return decimal power of scaling factor

tested 29.3.2011

Definition at line 230 of file sucomanager.cc.

References scale, and datrw::su::scaletopower().

Referenced by adjustscale(), main(), scaletopower(), and smallestpower().

231  {
232  return(datrw::su::scaletopower(this->scale));
233  } // int ScalCoo::power() const
int scaletopower(short s, const bool &strict)
convert a SeismicUn*x scale value to a decimal power
Definition: sucomanager.cc:485
short scale
scale like scalco
Definition: sucomanager.h:169
Here is the call graph for this function:
Here is the caller graph for this function: