1 #ifndef reflectivitymodel_h 2 #define reflectivitymodel_h 28 : reflectivity_(
mUdf(float),
mUdf(float) )
29 , time_(
mUdf(float) )
30 , correctedtime_(
mUdf(float) )
31 , depth_(
mUdf(float) )
34 inline bool isDefined()
const;
35 inline float time(
bool isnmo=
true)
const;
37 inline bool operator==(
const ReflectivitySpike& s)
const;
38 inline bool operator!=(
const ReflectivitySpike& s)
const;
64 {
return !(*
this==s); }
#define mIsUdf(val)
Use mIsUdf to check for undefinedness of simple types.
Definition: undefval.h:287
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
float time_
Definition: reflectivitymodel.h:41
A reflectivity spike.
Definition: reflectivitymodel.h:24
ReflectivitySpike()
Definition: reflectivitymodel.h:27
float time(bool isnmo=true) const
Definition: reflectivitymodel.h:74
float depth_
Definition: reflectivitymodel.h:43
bool isDefined() const
Definition: reflectivitymodel.h:67
float_complex reflectivity_
Definition: reflectivitymodel.h:40
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
std::complex< float > float_complex
Definition: odcomplex.h:18
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
TypeSet< ReflectivitySpike > ReflectivityModel
A table of reflectivies vs time and/or depth.
Definition: reflectivitymodel.h:49
#define mIsEqualWithUdf(x, y, e)
Definition: commondefs.h:55
#define mClass(module)
Definition: commondefs.h:164
bool operator==(const ReflectivitySpike &s) const
Definition: reflectivitymodel.h:54
float correctedtime_
Corrected for normal moveout.
Definition: reflectivitymodel.h:42
bool operator!=(const ReflectivitySpike &s) const
Definition: reflectivitymodel.h:63