OpendTect
6.6
|
Asymptotic or 'Squeeze' scaling, with a linear (main) part. More...
Public Member Functions | |
AsymptScaler (double c=0, double w=1, double l=0.95) | |
double | center () const |
virtual AsymptScaler * | clone () const |
void | fromString (const char *) |
double | linedge () const |
bool | operator== (const AsymptScaler &b) const |
double | scale (double) const |
void | set (double, double, double) |
const char * | toString () const |
const char * | type () const |
double | unScale (double) const |
double | width () const |
Public Member Functions inherited from Scaler | |
virtual | ~Scaler () |
virtual bool | isEmpty () const |
void | put (char *) const |
void | put (char *, int sz) const |
Protected Attributes | |
double | center_ |
double | factor |
double | linedge_ |
double | width_ |
Additional Inherited Members | |
Static Public Member Functions inherited from Scaler | |
static Scaler * | get (const char *) |
Asymptotic or 'Squeeze' scaling, with a linear (main) part.
This scaler scales between -1 and 1. Between center()-width() and center()+width() this will happen linearly. The value at width() will be linedge(). Therefore, linedge should be set to a value near 1, like the default 0.95. Outside the width() boundaries, a 1 / (1 + x^2) function will make sure the output will be between -1 and 1. Thus, this scaler acts as a reversible squeeze function, with a non-deforming (linear), fast central part.
<>
|
inline |
|
inline |
|
inlinevirtual |
Implements Scaler.
|
virtual |
Implements Scaler.
|
inline |
|
inline |
|
virtual |
Implements Scaler.
void AsymptScaler::set | ( | double | , |
double | , | ||
double | |||
) |
|
virtual |
Implements Scaler.
|
inlinevirtual |
Implements Scaler.
|
virtual |
Reimplemented from Scaler.
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022