Sample from an x3p object
Usage
x3p_sample(x3p, m = 2, mY = m, offset = 0, offsetY = offset)
sample_x3p(x3p, m = 2, mY = m, offset = 0, offsetY = offset)
Arguments
- x3p
x3p object
- m
integer value - every mth value is included in the sample
- mY
integer value - every mth value is included in the sample in x direction and every mYth value is included in y direction
- offset
integer value between 0 and m-1 to specify offset of the sample
- offsetY
integer value between 0 and mY-1 to specify different offsets for x and y direction