- query
The query snow profile to be warped
- ref
The reference snow profile to be warped against
- open.end
Is an open end alignment desired? Recommended if profiles will not be rescaled.
- checkGlobalAlignment
Do you want to check whether a global alignment performs better (i.e.,
open.end = FALSE), and use the optimal one of the computed alignments? 'auto' sets to TRUE if simType == "HerlaEtAl2021" and to FALSE otherwise.
- keep.internals
Append resampled and aligned snow profiles as well as internal parameters to the output object?
- step.pattern
The local slope constraint of the warping path, defaults to Sakoe-Chiba's symmetric pattern
described by a slope factor of P = 1, see dtw::stepPattern
- resamplingRate
Scalar, numeric resampling rate for a regular depth grid. If the profiles have been rescaled prior to calling this routine, set to NA.
To resample onto the smallest possible mutual (original, likely irregular) depth grid (see Details, bullet point 2.2), set to 'irregularInterfaces'.
- rescale2refHS
Rescale the query snow height to match the ref snow height?
- bottom.up
Compute an open.end alignment from the ground upwards?
- top.down
Compute an open.end alignment from the snow surface downwards?
- nonMatchedSim
Similarity value [0, 1] for non-matched layers, see simSP. indifference = 0.5, penalty < 0.5
- nonMatchedThickness
How strongly should the thicknesses of non-matched layers influence the resulting similarity of
the profiles? The smaller this (positive!) value, the more influence; and vice versa. See simSP for more details.
- simType
the similarity between two profiles can be computed with different approaches, see simSP
- apply_scalingFactor
Setting for simSP in case simType == "layerwise.
- ...
Arguments passed to distMatSP, and dtw e.g.
dims, weights (defaults specified in distMatSP)
ddateNorm, numeric, normalize deposition date (default specified in distMatSP)
windowFunction, default warpWindowSP
window.size, window.size.abs, ddate.window.size (defaults specified in warpWindowSP)
gtype_distMat, (default specified in distMatSP), cf. e.g. grainSimilarity_align
prefLayerWeights, weighting matrix for preferential layer matching, e.g. layerWeightingMat