files.Gspline function

Write headers to or clean files with sampled G-spline