OpendTect
7.0
|
Classical FFT filter, use set to set up data step, min and max frequency and type of the filter (minfreq not required for highpass, maxfreq not required for lowpass) More...
Public Types | |
enum | Type { LowPass , HighPass , BandPass } |
Public Member Functions | |
FFTFilter (int sz, float step) | |
~FFTFilter () | |
bool | apply (Array1DImpl< float > &) |
bool | apply (Array1DImpl< float_complex > &, bool dopreproc=true) |
Type | getFilterType () const |
Array1DImpl< float_complex > * | getFreqDomainArr () const |
bool | isHighPass () const |
bool | isLowPass () const |
void | requestStayInFreqDomain () |
void | setBandPass (float cutf1, float cutf2, float cutf3, float cutf4) |
void | setBandPass (float cutf1, float cutf4) |
void | setHighPass (float cutf1) |
void | setHighPass (float cutf1, float cutf2) |
void | setLowPass (float cutf3, float cutf4) |
void | setLowPass (float cutf4) |
bool | setTimeTaperWindow (int sz, BufferString wintype, float var=0.95) |
Protected Member Functions | |
void | buildFreqTaperWin () |
bool | deTrend (Array1DImpl< float > &outp, bool isimag=false) |
bool | deTrend (Array1DImpl< float_complex > &) |
bool | interpUdf (Array1DImpl< float > &, bool isimag=false) |
bool | interpUdf (Array1DImpl< float_complex > &) |
void | reSize (const Array1DImpl< float > &inp, Array1DImpl< float > &outp) const |
void | reSize (const Array1DImpl< float_complex > &inp, Array1DImpl< float_complex > &outp) const |
void | restoreSize (const Array1DImpl< float > &inp, Array1DImpl< float > &outp) const |
void | restoreSize (const Array1DImpl< float_complex > &inp, Array1DImpl< float_complex > &outp) const |
bool | restoreTrend (Array1DImpl< float > &outp, bool isimag=false) const |
bool | restoreTrend (Array1DImpl< float_complex > &) const |
void | restoreUdf (Array1DImpl< float > &, bool isimag=false) const |
void | restoreUdf (Array1DImpl< float_complex > &) const |
Protected Attributes | |
float | cutfreq_ [4] |
float | df_ |
Fourier::CC * | fft_ |
int | fftsz_ |
Array1DImpl< float_complex > * | freqdomain_ |
ArrayNDWindow * | freqwindow_ |
BoolTypeSet | isudfimag_ |
BoolTypeSet | isudfreal_ |
bool | stayinfreq_ |
float | step_ |
int | sz_ |
ArrayNDWindow * | timewindow_ |
Array1DImpl< float > * | trendimag_ |
Array1DImpl< float > * | trendreal_ |
Classical FFT filter, use set to set up data step, min and max frequency and type of the filter (minfreq not required for highpass, maxfreq not required for lowpass)
<>
enum FFTFilter::Type |
FFTFilter::FFTFilter | ( | int | sz, |
float | step | ||
) |
FFTFilter::~FFTFilter | ( | ) |
bool FFTFilter::apply | ( | Array1DImpl< float > & | ) |
bool FFTFilter::apply | ( | Array1DImpl< float_complex > & | , |
bool | dopreproc = true |
||
) |
|
protected |
|
protected |
|
protected |
Type FFTFilter::getFilterType | ( | ) | const |
|
inline |
|
protected |
|
protected |
bool FFTFilter::isHighPass | ( | ) | const |
bool FFTFilter::isLowPass | ( | ) | const |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
void FFTFilter::setBandPass | ( | float | cutf1, |
float | cutf2, | ||
float | cutf3, | ||
float | cutf4 | ||
) |
void FFTFilter::setBandPass | ( | float | cutf1, |
float | cutf4 | ||
) |
void FFTFilter::setHighPass | ( | float | cutf1 | ) |
void FFTFilter::setHighPass | ( | float | cutf1, |
float | cutf2 | ||
) |
void FFTFilter::setLowPass | ( | float | cutf3, |
float | cutf4 | ||
) |
void FFTFilter::setLowPass | ( | float | cutf4 | ) |
bool FFTFilter::setTimeTaperWindow | ( | int | sz, |
BufferString | wintype, | ||
float | var = 0.95 |
||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024