[ Basic Info | References | User Guide ]
Basic Information on warpfit
Task: warpfit
Purpose: Non linear Least Squares Fitting for Parablic Panels.
Categories: misc, utility
WARPFIT determines the RMS deviation for a paraboloid
with a focal length of 100.8 inches for a maximum of 600 data points.
The rotation angle is set to zero. Data should be free format:
x(1) y(1) z(1)
x(2) y(2) z(2)
. . .
x(i) y(i) z(i)
The y-axis runs along the panel centerline
The x-axis is perpendicular to the centerline
The z-axis is the depth of the machining measured from the (x,y) plane.
Key: in
Input ascii file with up to 9 columns of data. No default.
Key: npts
Select the first ``npts'' from the input file.
Default reads the whole file or 2000 which is the maximum allowed.
Key: par
Initial estimates for parameters; rotations(degrees) and offsets(inches).
Exactly 6 numbers are needed here: xrot,yrot,z0,warp,angle,y0
Key: nfit
Number of paramters to fit. Remaining parameters are fixed.
E.g. nfit=3 would only fit xrot,yrot,z0, leaving warp,angle,y0 fixed.
Default: nfit=3
Key: swapxy
Swap x and y axes. Y or N, Default=No.
Key: log
Output logfile. It will contain the results, a histogram
with residuals and all selected measurements, the fit, and residuals.
Default: print results and histogram only to terminal.