1.5.1
CCC
 
VMap.hpp File Reference
#include "gstlearn_export.hpp"
#include "geoslib_define.h"
#include "Enum/ECalcVario.hpp"
#include "Variogram/AVario.hpp"
#include "Variogram/VarioParam.hpp"

Classes

class  VMap
 Class containing the Variogram Map which uses an DbGrid provided by the user This function simply calculate and add the results as new field in this DbGrid. More...
 

Functions

GSTLEARN_EXPORT DbGriddb_vmap (Db *db, const ECalcVario &calcul_type=ECalcVario::fromKey("VARIOGRAM"), const VectorInt &nxx=VectorInt(), const VectorDouble &dxx=VectorDouble(), int radius=0, bool flag_FFT=true, const NamingConvention &namconv=NamingConvention("VMAP"))
 

Function Documentation

◆ db_vmap()

GSTLEARN_EXPORT DbGrid* db_vmap ( Db db,
const ECalcVario &  calcul_type,
const VectorInt nxx,
const VectorDouble dxx,
int  radius,
bool  flag_FFT,
const NamingConvention namconv 
)

Calculate the variogram map (integrated function)

Returns
Error return code
Parameters
[in]dbDb containing the data
[in]calcul_typeType of calculation (ECalcVario)
[in]nxxVector of (Half-) number of nodes for Vmap (def:20)
[in]dxxVector of mesh for Vmap (see details)
[in]radiusDilation radius (mooth resulting maps) only on points
[in]flag_FFTUse FFT method (only valid on grid)
[in]namconvNaming convention
Remarks
For calculating the default values:
- for nx: it is set to 20 in all directions
- for dx:
. If 'Db' is a grid, the mesh of the grid is used
- Otherwise, the mesh is set to the field extension / nx