OpendTect-6_4  6.4
gapdeconattrib.h
Go to the documentation of this file.
1 #ifndef gapdeconattrib_h
2 #define gapdeconattrib_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Helene Huck
9  Date: 14-07-2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "attributesmod.h"
16 #include "attribprovider.h"
17 
18 namespace Attrib
19 {
20 
26 {
27 public:
28 
29  static void initClass();
30  GapDecon(Desc&);
31 
32  static const char* attribName() { return "GapDecon"; }
33  static const char* gateStr() { return "gate"; }
34  static const char* lagsizeStr() { return "lagsize"; }
35  static const char* gapsizeStr() { return "gapsize"; }
36  static const char* stepoutStr() { return "stepout"; }
37  static const char* noiselevelStr() { return "noiselevel"; }
38  static const char* isinp0phaseStr(){ return "isinpzerophase"; }
39  static const char* isout0phaseStr(){ return "isoutzerophase"; }
40  static const char* onlyacorrStr() { return "onlyautocorr"; }
41 
42  void prepareForComputeData();
43 
44 protected:
45 
46  static Provider* createInstance(Desc&);
47  static void updateDesc(Desc&);
48 
50  { return false; }
51 
52  bool getInputData(const BinID&,int zintv);
53  bool computeData(const DataHolder&,
54  const BinID& relpos,
55  int z0,int nrsamples,
56  int threadid) const;
57  const Interval<int>* desZSampMargin(int,int) const
58  { return &dessampgate_; }
59 
61  int lagsize_;
62  int gapsize_;
64 
69 
70  int nlag_;
71  int ncorr_;
72  int lcorr_;
73  int ngap_;
74 
77  int dataidx_;
79 
80  const float* hilbfilter_;
82 };
83 
84 } // namespace Attrib
85 
86 #endif
Gap deconvolution attribute.
Definition: gapdeconattrib.h:25
int noiselevel_
Definition: gapdeconattrib.h:63
static const char * lagsizeStr()
Definition: gapdeconattrib.h:34
static const char * stepoutStr()
Definition: gapdeconattrib.h:36
int ncorr_
Definition: gapdeconattrib.h:71
FixedString Attributes()
Definition: keystrs.h:40
static const char * isout0phaseStr()
Definition: gapdeconattrib.h:39
Interval< float > gate_
Definition: gapdeconattrib.h:60
const float * hilbfilter_
Definition: gapdeconattrib.h:80
const Interval< int > * desZSampMargin(int, int) const
Definition: gapdeconattrib.h:57
static const char * noiselevelStr()
Definition: gapdeconattrib.h:37
int dataidx_
Definition: gapdeconattrib.h:77
Description of an attribute in an Attrib::DescSet. Each attribute has a name (e.g. "Similarity"), a user reference (e.g. "My similarity"), and at least one output. In addition, it may have parameters and inputs. If it has multiple outputs, only one of the outputs are selected.
Definition: attribdesc.h:89
bool isoutzerophase_
Definition: gapdeconattrib.h:66
static const char * onlyacorrStr()
Definition: gapdeconattrib.h:40
static const char * gateStr()
Definition: gapdeconattrib.h:33
const DataHolder * inputdata_
Definition: gapdeconattrib.h:75
Holds the attribute data.
Definition: attribdataholder.h:43
int nlag_
Definition: gapdeconattrib.h:70
int lagsize_
Definition: gapdeconattrib.h:61
int lcorr_
Definition: gapdeconattrib.h:72
static const char * isinp0phaseStr()
Definition: gapdeconattrib.h:38
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
bool isinpzerophase_
Definition: gapdeconattrib.h:65
int dataidxmixed_
Definition: gapdeconattrib.h:78
const DataHolder * inputdatamixed_
Definition: gapdeconattrib.h:76
Provides the actual output to ...
Definition: attribprovider.h:44
int gapsize_
Definition: gapdeconattrib.h:62
#define mClass(module)
Definition: commondefs.h:164
int ngap_
Definition: gapdeconattrib.h:73
bool useonlyacorr_
Definition: gapdeconattrib.h:68
bool allowParallelComputation() const
Definition: gapdeconattrib.h:49
Interval< int > dessampgate_
Definition: gapdeconattrib.h:81
static void initClass()
Semblance Attribute.
Definition: attribdataholder.h:25
static const char * gapsizeStr()
Definition: gapdeconattrib.h:35
static const char * attribName()
Definition: gapdeconattrib.h:32
BinID stepout_
Definition: gapdeconattrib.h:67

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