OpendTect-6_4  6.4
reflectivitysampler.h
Go to the documentation of this file.
1 #ifndef reflectivitysampler_h
2 #define reflectivitysampler_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer
9  Date: Jan 2011
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "algomod.h"
16 
17 #include "mathfunc.h"
18 #include "ranges.h"
19 #include "reflectivitymodel.h"
20 #include "paralleltask.h"
21 
22 namespace Fourier { class CC; };
23 
32 {
33 public:
35  const StepInterval<float>& timesampling,
36  TypeSet<float_complex>& freqreflectivities,
37  bool usenmotime=false);
38 
40 
41  /*<! Available after execution */
42  void getReflectivities(ReflectivityModel&);
43 
44 protected:
45  od_int64 nrIterations() const {return model_.size();}
46 
47  bool doPrepare(int);
48  bool doWork(od_int64,od_int64,int);
49  bool doFinish(bool);
50 
51  void removeBuffers();
52  bool applyInvFFT(TypeSet<float_complex>&);
53  void getRefModelInterpolator(PointBasedMathFunction&,
54  bool valueistime,
55  bool isnmo) const;
56 
62 
64 };
65 
66 
67 #endif
#define mExpClass(module)
Definition: commondefs.h:160
bool usenmotime_
Definition: reflectivitysampler.h:61
od_int64 nrIterations() const
Definition: reflectivitysampler.h:45
#define od_int64
Definition: plftypes.h:36
ObjectSet< float_complex > buffers_
Definition: reflectivitysampler.h:63
TypeSet< float_complex > * creflectivities_
Definition: reflectivitysampler.h:60
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
TypeSet< float_complex > & freqreflectivities_
Definition: reflectivitysampler.h:59
Definition: convolve2d.h:27
const ReflectivityModel & model_
Definition: reflectivitysampler.h:57
MathFunction based on bend points.
Definition: mathfunc.h:151
const StepInterval< float > outsampling_
Definition: reflectivitysampler.h:58
Takes a ReflectivityModel and samples it in the frequency domain Applies inverse FFT if a second outp...
Definition: reflectivitysampler.h:31

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