*
*           INPUT FILE FOR NRSFIT
*
***************************************************************
*  all lines not beginning with '*' will be read and should
*  contain valid input data !!!
*     1) give runmode for conuss
*        - grazing/forward/combined
*        - time or energy 
*     2) should error analysis be performed (yes/no)
*        - no: for preliminary search of chi^2 minimum
*        - yes: for refined search and error analysis
*     3) specify reflectivity (kgin & kref) filenames with 'z#_'
*     4) specify input files for nrsfit with 'z_' (max 100) 
*        input stream is terminated by '!%!'
*     5) give name of input file containing spectrum name
*        this name will be replaced by the same name without 'z_'
*     6) specify spectra info (max 100 spectra):
*        for every spectrum, give (on seperate lines):
*        - spectrum name (max 20 characters)
*	   first character should differ from '@' or '%'
*          if line is blanc, simulation will be made
*        - spectrum-dependent substitution lines
*          (format: name := value  dev  := min  max)
*        parameters beginning with '%' will be fit
*        the others will be fixed per spectrum
*	 spectrum info is terminated by '!&!'
*     7) specify the consistent substitution directives
*        (format: name := value  dev  := min  max)
*        input stream is terminated by '!#!'      
*  Note: make sure to have specified all input files  
*  for the CONUSS modules as z*-files:
*  (z#_in_kref,z#_in_kgin,z_in_kmix,z_in_kfit)
*  Note: maximum number of fitparameters = 50
*
***************************************************************
*
*  runmode for conuss :
*  --------------------
   forward
   energy
*
*  error analysis (yes/no):
*  -------------------------
   no
*
*  reflectivity input files:
*  -------------------------
   z1_in_kref
*
*  input files for nrsfit (terminated by '!%!'):
*  ---------------------------------------------
   z_in_fe
   z_in_kmix
!%!
*
*  input file specifying data file for conuss:
*  -------------------------------------------
   z_in_kfit
*
*  spectra info (terminated by '!&!'):
*  -----------------------------------
*
  cems.txt
% @ bmag   := -30.00  0.01  := -35.00  -30.00
@ iso    :=   0.155 0.01  :=  -1.00    1.00
@ width  :=   0.023 0.01  :=   0.00    1.00
% @ text   :=  95.   0.01  :=   0.00  100.00
@ theta  :=   90.   0.01  :=   0.00  180.00
@ phi    :=   90.   0.01  :=   0.00  360.00
*
*
*@ bmag   := -33.50  0.01  := -35.00  -30.00
*@ iso    :=   0.10  0.01  :=  -1.00    1.00
*@ width  :=   0.02  0.01  :=   0.00    1.00
*@ text   :=  100.   0.01  :=   0.00  100.00
*@ theta  :=   90.   0.01  :=   0.00  180.00
*@ phi    :=   90.   0.01  :=   0.00  360.00
*
!&!
*
*------------------------------------------------
*
*  consistent substitutions (terminated by '!#!'):
*  -----------------------------------------------
@ thick := 0.004  0.10  :=  0.002  0.006
*
***************************************************************
!#!
