OpendTect-6_4  6.4
waveletextractor.h
Go to the documentation of this file.
1 #ifndef waveletextractor_h
2 #define waveletextractor_h
3 /*+
4 ________________________________________________________________________
5 
6  CopyRight: (C) dGB Beheer B.V.
7  Author: Nageswara
8  Date: July 2009
9  RCS: $Id$
10  ________________________________________________________________________
11 
12 -*/
13 
14 #include "seismod.h"
15 #include "executor.h"
16 #include "uistring.h"
17 
18 namespace Fourier { class CC; }
19 class IOObj;
20 namespace Seis { class SelData; }
21 class SeisTrc;
22 class SeisTrcReader;
23 class Wavelet;
24 template <class T> class Array1DImpl;
25 
28 public:
29  WaveletExtractor(const IOObj&,int wvltsize);
31 
32  void setSelData(const Seis::SelData&); // 3D
33  void setSelData(const ObjectSet<Seis::SelData>&);//2D
34  void setPhase(int phase);
35  void setTaperParamVal(float paramval);
36  const Wavelet& getWavelet() const;
37 
38 protected:
39 
40  void initWavelet(const IOObj&);
41  void init2D();
42  void init3D();
43  bool getSignalInfo(const SeisTrc&,
44  int& start,int& signalsz) const;
45  bool getNextLine(); //2D
46  bool processTrace(const SeisTrc&,
47  int start, int signalsz);
48  void normalisation(Array1DImpl<float>&);
49  bool finish(int nrusedtrcs);
50  bool doWaveletIFFT();
51  bool rotateWavelet();
52  bool taperWavelet();
53 
54  int nextStep();
55  od_int64 totalNr() const { return totalnr_ ; }
56  od_int64 nrDone() const { return nrdone_; }
57  uiString uiNrDoneText() const;
58  uiString uiMessage() const;
59 
61  const IOObj& iobj_;
66  int lineidx_;
67  float paramval_;
68  int wvltsize_;
69  int phase_;
71  int nrdone_;
75 };
76 
77 #endif
#define mExpClass(module)
Definition: commondefs.h:160
const Seis::SelData * sd_
Definition: waveletextractor.h:62
Does Fourier Transforms of any size.
Definition: fourier.h:30
od_int64 totalNr() const
Definition: waveletextractor.h:55
Summary for a Seismic object.
Definition: segydirectdef.h:23
ObjectSet< Seis::SelData > sdset_
Definition: waveletextractor.h:63
float paramval_
Definition: waveletextractor.h:67
od_int64 nrDone() const
Definition: waveletextractor.h:56
Definition: ioobj.h:58
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
od_int64 totalnr_
Definition: waveletextractor.h:73
uiString msg_
Definition: waveletextractor.h:74
#define od_int64
Definition: plftypes.h:36
Definition: wavelet.h:25
SeisTrcReader * seisrdr_
Definition: waveletextractor.h:64
Definition: uistring.h:89
int phase_
Definition: waveletextractor.h:69
Fourier::CC * fft_
Definition: waveletextractor.h:65
int lineidx_
Definition: waveletextractor.h:66
reads from a seismic data store.
Definition: seisread.h:50
int wvltsize_
Definition: waveletextractor.h:68
int nrdone_
Definition: waveletextractor.h:71
Definition: convolve2d.h:27
contains input (sub-)selection data from a cube or lineset
Definition: seisselection.h:82
Definition: waveletextractor.h:26
Seismic trace.
Definition: seistrc.h:34
int nrusedtrcs_
Definition: waveletextractor.h:70
const IOObj & iobj_
Definition: waveletextractor.h:61
Implementation of Array1D.
Definition: arrayndimpl.h:52
Wavelet & wvlt_
Definition: waveletextractor.h:60
bool isbetweenhor_
Definition: waveletextractor.h:72
Specification to enable chunkwise execution of a process.
Definition: executor.h:39

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