OpendTect  6.6
spectrogram.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: K. Tingdahl
8  Date: 9-3-1999
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 */
13 
14 #include "algomod.h"
15 #include "fourier.h"
16 
17 
27 {
28 public:
31 
32  bool init();
33  bool setInputInfo( const ArrayNDInfo& ni);
34  const ArrayNDInfo& getInputInfo() const;
35 
36  bool real2real() const { return true; }
37  bool real2complex() const { return false; }
38  bool complex2real() const { return false; }
39  bool complex2complex() const { return true; }
40  bool biDirectional() const { return false; }
41  bool getDir() const { return true; }
42  bool setDir( bool fwd ) { return fwd; }
43 
47 protected:
48 
49  bool isPossible(int) const { return true; }
50  bool isFast(int sz) const { return fft_->isFast(sz); }
51 
55 };
56 
57 
Spectrogram::Spectrogram
Spectrogram()
Spectrogram::isPossible
bool isPossible(int) const
Definition: spectrogram.h:49
fourier.h
ArrayNDInfo
Contains the information about the size of ArrayND, and in what order the data is stored (if accessab...
Definition: arrayndinfo.h:25
Fourier::CC
Does Fourier Transforms of any size.
Definition: fourier.h:30
Spectrogram::getDir
bool getDir() const
Definition: spectrogram.h:41
Spectrogram::complex2complex
bool complex2complex() const
Definition: spectrogram.h:39
Spectrogram::biDirectional
bool biDirectional() const
Definition: spectrogram.h:40
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
Spectrogram::tempout_
ArrayND< float_complex > * tempout_
Definition: spectrogram.h:53
Spectrogram::isFast
bool isFast(int sz) const
Definition: spectrogram.h:50
Spectrogram::real2complex
bool real2complex() const
Definition: spectrogram.h:37
Spectrogram::transform
bool transform(const ArrayND< float_complex > &, ArrayND< float_complex > &)
Spectrogram::setDir
bool setDir(bool fwd)
Definition: spectrogram.h:42
Spectrogram::complex2real
bool complex2real() const
Definition: spectrogram.h:38
Spectrogram::tempin_
ArrayND< float_complex > * tempin_
Definition: spectrogram.h:52
Spectrogram::transform
bool transform(const ArrayND< float > &, ArrayND< float > &)
Spectrogram
Spectrogram calculates the spectrogram of a N-dimensional signal. The spectrogram is the square of th...
Definition: spectrogram.h:27
Spectrogram::setInputInfo
bool setInputInfo(const ArrayNDInfo &ni)
ArrayND< float >
Spectrogram::~Spectrogram
~Spectrogram()
Spectrogram::getInputInfo
const ArrayNDInfo & getInputInfo() const
Spectrogram::fft_
Fourier::CC * fft_
Definition: spectrogram.h:54
Spectrogram::init
bool init()
Spectrogram::real2real
bool real2real() const
Definition: spectrogram.h:36

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2021