OpenZGY/Python API and Internals (ALPHA)
Access seismic data stored in ZGY format.
Public Member Functions | List of all members
openzgy.impl.histogram.HistogramData Class Reference

Public Member Functions

def __init__ (self, range_hint=None, dtype=np.float32)
 
def add (self, data, factor=1)
 
def scale (self, a, b)
 
def resize (self, newsize)
 
def bins (self)
 
def vv_range (self)
 
def np_range (self)
 
def binvalue (self, bin_number)
 

Member Function Documentation

◆ binvalue()

def openzgy.impl.histogram.HistogramData.binvalue (   self,
  bin_number 
)
Convert a single bin number to the center value of this bin.
Note that in ZGY this will refer to storage values, so you
may need to explicitly convert the result.

◆ np_range()

def openzgy.impl.histogram.HistogramData.np_range (   self)
Histogram range, numpy and salmon style, with numbers
representing the edges of the first and last bin.

◆ vv_range()

def openzgy.impl.histogram.HistogramData.vv_range (   self)
Histogram range, voxelvision and zgy style, with numbers
representing the center value of the first and last bin.

The documentation for this class was generated from the following file: