OpendTect  6.3
reflectivitysampler.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: Kristofer
8  Date: Jan 2011
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "algomod.h"
14 
15 #include "mathfunc.h"
16 #include "ranges.h"
17 #include "reflectivitymodel.h"
18 #include "paralleltask.h"
19 
20 namespace Fourier { class CC; };
21 
30 {
31 public:
33  const StepInterval<float>& timesampling,
34  TypeSet<float_complex>& freqreflectivities,
35  bool usenmotime=false);
36 
38 
39  /*<! Available after execution */
40  void getReflectivities(ReflectivityModel&);
41 
42 protected:
43  od_int64 nrIterations() const {return model_.size();}
44 
45  bool doPrepare(int);
46  bool doWork(od_int64,od_int64,int);
47  bool doFinish(bool);
48 
49  void removeBuffers();
50  bool applyInvFFT(TypeSet<float_complex>&);
51  void getRefModelInterpolator(PointBasedMathFunction&,
52  bool valueistime,
53  bool isnmo) const;
54 
60 
62 };
#define mExpClass(module)
Definition: commondefs.h:157
bool usenmotime_
Definition: reflectivitysampler.h:59
od_int64 nrIterations() const
Definition: reflectivitysampler.h:43
#define od_int64
Definition: plftypes.h:34
ObjectSet< float_complex > buffers_
Definition: reflectivitysampler.h:61
TypeSet< float_complex > * creflectivities_
Definition: reflectivitysampler.h:58
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:64
TypeSet< float_complex > & freqreflectivities_
Definition: reflectivitysampler.h:57
Definition: convolve2d.h:25
const ReflectivityModel & model_
Definition: reflectivitysampler.h:55
MathFunction based on bend points.
Definition: mathfunc.h:149
const StepInterval< float > outsampling_
Definition: reflectivitysampler.h:56
Takes a ReflectivityModel and samples it in the frequency domain Applies inverse FFT if a second outp...
Definition: reflectivitysampler.h:29

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