Input File: Output Data

OutputMode

Once the bsplines are generated for your data they are evaluated at predetermined points along the "u" axis. The result of each evaluation is an estimate of your data at that location. ParamBSpline2 gives you several ways to determine the output points. Interpolate will reproduce the input locations and insert "n" points in between. "n", the number of points to insert must be >= 0. Resample will use the locations of the first and last points and then insert "n" points in between. This can be used to reduce the number of sample points. Fixed will provide points at integer multiples of the "n" within the range of the first and last points. For example if n=0.25 and the first point is at 0.45 points will be created at5075 1.00 1.25.. The first and last points are also provided in the output. Specified will use the points you provide. You may have as many as you wish. They must fit on a single line, but since there is no maximum imposed on the length of a line you can have quite a few. If you request evaluation at points that are outside of the data range those points will be ignored. DoLoop will provide points beginning at some starting value, "m" and go to a stop value, "n", in steps of "p". For those who program this is simply a do loop. There is no check on the requested values versus the input data range. Thus you may request data outside of your data. Be very careful if you do this. GIGO!

OutputMode    = Interpolate 3

             /* Must be of the form
             /*     Interpolate  n,
             /*     Resample     n,
             /*     Fixed        n,
             /*     Specified    n1 n2 n3 n4 n5..,
             /*     DoLoop i = n to m by p
             /*
             /*  "Interpolate n" will output values for each input point and
             /*    create an additional n points in between each pair of
             /*     adjacent input points.
             /*  "Resample n"  will create n points between the first
             /*    and last data points.
             /*  "Fixed n" will output points at uniform sample spacing.
             /*     Points will be at integer multiple of n.  The units for
             /*     this are the same as the units of the DistanceParam. Points
             /*     for the start and stop of the data will also be output.
             /*  "Specified n1 n2 n3 n4 n5.." will output estimates for each
             /*     point, n1, n2, n3...  specified.
             /*  "DoLoop i = m to n by p" will output values starting with m and
             /*     going toward n in p sized steps.  You MUST replace m, n AND
             /*     p with values appropriate for your needs. Warning, this option
             /*     allows you to obtain output outside the range of input data!

OutputFile

The output of ParamBSpline2 is written to a file. The name of that file is set using OutputFile. Remember, if the file exists it will be appended without requesting additional permission. If it can not be written to ParamBSpline does not warn the user.

OutputFile    = MyOutPutFileName

             /* If this file already exists it will be appended.

Forward
     Backward     Return to Home Page