Control and data are provided to ParamBspline2 via a file. An example of a complete input file is given in the section Example Input Files . To make a new input file the easiest thing to do is copy an existing example and modify it to meet your needs.
The input file is an ASCII file, i.e. any text editor or word processor can read and write it. If you use a word processor be very sure to save the file in a plain ASCII format!
ParamBSpline2 reads this file in a two step process. In the first step everything is read into memory, one line at a time. Comments and blank lines are then discarded. Thus, you may add as many comments and blank lines as you wish, where ever you wish. A comment is anything after the first "/*" character pair found on a line.
Next the program searches for certain control phrases. These phrases determine such things as the names of variables, the behavior of the spline fitting and the output. The various controls are given in logical groups. After the control phrase,"Data = ", the program digests the input data table. Each control phrases and the data table are explained in subsequent sections.
Forward
Backward Return to Home Page