conv/many suite: convert (m)any seismic data format(s)

◆ bin() [1/2]

libtime::TAbsoluteTime CompletenessBins::bin ( const unsigned int &  i) const

beginnig of bin (according to bin raster)

Definition at line 75 of file completenessbins.cc.

References binsize(), firstbin(), and nbins().

Referenced by gnuplotplot(), isinbin(), nextbin(), samplesinbin(), and seriesofmissingsamples().

76 {
77  TFXX_assert((i>=0) && (i<this->nbins()), "illegal bin index");
78  libtime::TAbsoluteTime retval=this->firstbin();
79  retval += i*this->binsize();
80  return(retval);
81 } // libtime::TAbsoluteTime CompletenessBins::bin(const unsigned int& i) const
libtime::TAbsoluteTime firstbin() const
unsigned int nbins() const
libtime::TRelativeTime binsize() const
Here is the call graph for this function:
Here is the caller graph for this function: