SIGCLEAR Program reference

sgpad

Pad sampled vectors or duplicate boundary columns and groups

Package: sigclear-soig · Version: 1.1.1-4 Download JSON

Description

Extend sampled vectors with zero or nearest-value samples, or duplicate
columns/groups at the requested boundaries. Padding extends the dataset's
layout; it does not represent newly observed measurements.

Synopsis

sgpad <stdin value=nearest time.prepend=0 time.append=0 index.prepend=0 index.append=0 group.prepend=0 group.append=0 >stdout

Parameters

sgpad parameters
ParameterTypeDefaultDescription
in ifile stdin input file
value enum nearest pad the time dimension with zeros or nearest values
Allowed: zero nearest
time.prepend int 0 prepend samples in vectors
time.append int 0 append samples in vectors
index.prepend int 0 prepend columns in a group
index.append int 0 append columns in a group
group.prepend int 0 groups to prepend
group.append int 0 groups to append
out ofile stdout output result

Input and output

Input

input file

Output

output result