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

Static methods for downsampling. Used by lodalgo.cpp only. More...

#include <lodsampling.h>

Static Public Member Functions

static void downSample1D (double *dst, int sizeDst, const double *src, int sizeSrc)
 

Detailed Description

Static methods for downsampling. Used by lodalgo.cpp only.

Member Function Documentation

◆ downSample1D()

void InternalZGY::LodSampling::downSample1D ( double *  dst,
int  sizeDst,
const double *  src,
int  sizeSrc 
)
static

Downsample a vector with a factor of 2. The vector is low pass filtered and then down sampled.

Parameters
[out]dstOut vector with downsampled result
[in]sizeDstSize of output vector. It must be sizeDst*2==sizeSrc
[in]srcIn vector
[in]sizeSrcSize of src vector. It must be sizeSrc==sizeDst*2 and >=5

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