velfitpatch in=mom1 out=fit1 mode=rt
    ccdtrace fit1.vc fit1.vctab xytrace.tab wcs=f cumul=t
    ccdtrace fit1.om fit1.omtab xytrace.tab
    ccdtrace fit1.pa fit1.patab xytrace.tab
    paste fit1.vc fit1.om fit1.pa | awk ’{print $4,$3,$7,$10}’ > fit1.vop
resulting in a file fit1.vop, with columns  L,Vc,Omega,P.A, where L is the
length along the trace. Watch out for units. See ccdtrace(1NEMO)
 for more
info on units. 
If a curve needs to be spline interpolated, one method can
be to spline smooth the X and Y independantly: 
ccdtrace fit-a.vc - curve.tab wcs=f cumul=t # note it goes from 0 to 160 pixels (for example) # we are then resample along the curve from 0 to 160 pixels in steps of 5 pixels ccdtrace fit-a.vc - curve.tab wcs=f cumul=t | tabspline - 4 1 0:160:5 | tabmath - - delcol=1 > x.tab ccdtrace fit-a.vc - curve.tab wcs=f cumul=t | tabspline - 4 2 0:160:5 | tabmath - - delcol=1 > y.tab paste x.tab y.tab > curve-xy.tab # now we have a smoother curve-xy.tab table for input to
26-Jul-15 V0.1 Created PJT