get_seg_scale.Rd
In order to identify the congruent registration position of a basis segment,
the length of the basis segment will be doubled to compute the correlation curve.
get_seg_scale
computes the increased segment, which has the same center
as the basis segment.
get_seg_scale(segments, nseg, out_length)
list with basis segments and their corresponding indices in the original profile, obtianed by get_segs()
integer. nseg
= 3: increase the length of the third basis segment.
integer. The length of the enlarged segment
list consisting of
aug_seg
: the increased segment
aug_idx
: the corresponding indices in the profile