

** HOW TO DO THE FITTING:

   1. Mark the areas to used used in the fitting by maintaining
      the WIDTH-parameter and/or using the COMMANDS M and U. 
   2. Choose the range to be fitted by CURSORS. If you want to fit  
      whole the range, you may use F5 to remove the CURSORS
      from the display range.
   3. Choose the base-line function by defining n and m. Wait and
      the display shows the predicted base-line function. 
   4. If the base line is too curved, reduce the number of the 
      terms; if the line is too straight, add a few terms. 
   5. When a good base-line is found, press <RETURN> to return to 
      the main MODE.

     If you only want to bring the base-line to zero, use Z !

 
 ** HOW TO MARK THE AREAS:
   
    The points coloured with BLUE are used in the baseline-fitting. 
    If the PEAK-PICKING has been done (or a peak-list has been read 
    from [name].TOP), the program automatically marks the points to 
    be used. The rule is that points within 
                         +/- C*WIDTH 
    from the peak-top are not used. WIDTH is the default line-width 
    or it can be redefined in the PEAK-PICKING procedure or with W 
    (0.12W sets WIDTH to 0.12 Hz). C is a constant, which depends 
    on the GAUSSIAN CONTRIBUTION to the line shape. For 100% 
    Lorenzian C=4, for 100% Gaussian C=2.

    One can Mark or Unmark the points between the cursor by 
    pressing M or U. 

   
 ** THE BASE-LINE FUNCTION:

    The general form of the function is: 
    
      B(v) =  C + A1*sin(S) + A2*sin(2*S) + ... An*sin(n*S) +
                  B1*X  +     B2*(X*X)   + ... Bm*(X*X..*X)
    where
      v = Frequency (Hz).
      S = pii*X/2  (pii = 3.14142).
      X = (Vleft-v)/(Vleft-Vright).
      Vleft and Vright are the frequencies defined by the CURSORS.  
      Only n and m are to be defined by the user (5F => n=5;  
      4P => m=4;  5,4 => n=5,m=4).
      C, Ai and Bj are coefficients which are optimized.
