OpenZGY/C++ API and Internals (ALPHA)
Access seismic data stored in ZGY format.
Public Member Functions | Static Public Attributes | List of all members
InternalZGY::LodAverageNon0< float > Class Reference

Arithmetic average, excluding NaN and zero, of float data. More...

Public Member Functions

float operator() (float s0, float s1, float s2, float s3, float s4, float s5, float s6, float s7, int, int, int)
 

Static Public Attributes

static const LodAlgorithm algorithm = LodAlgorithm::AverageNon0
 

Detailed Description

Arithmetic average, excluding NaN and zero, of float data.

CAVEAT: This is not useful for seismic data. It might be handy if samples are by nature integer values, not just floating point numbers (such as seismic amplitude) crammed into a too-small integer. This means that running the algorithm on float data is probably a mistake.


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