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

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