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

Public Member Functions

def __init__ (self, shape, value, dtype)
 
def shape (self)
 
def dtype (self)
 
def value (self)
 
def itemsize (self)
 
def __len__ (self)
 
def __str__ (self)
 
def __repr__ (self)
 
def inflate (self)
 

Detailed Description

Represents an ndarray where all elements have the same value.
This is basically a scalar but additionally has a .shape
attribute telling how large an array it represents.

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