*
*           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
   time
*
*  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 '!&!'):
*  -----------------------------------
*
  Fe_x.txt
@ bmag   :=  -32.30  0.001 := -33.20  -32.00
@ thick  :=    2.10  0.01  :=   1.75    4.00
@ theta  :=   90.00  0.05  :=   0.00  180.00
% @ phi    :=   45.00  0.01  :=   0.00   90.00
*
  Fe_y.txt
@ bmag   :=  -32.30  0.001 := -33.20  -32.80
@ thick  :=    2.10  0.01  :=   1.75    4.00
@ theta  :=   90.00  0.05  :=   0.00  180.00
% @ phi    :=   60.00  0.01  :=   0.00   90.00
*
*
*@ bmag   :=  -32.30  0.001 := -33.20  -32.80
*@ thick  :=    2.10  0.01  :=   1.75    4.00
*@ theta  :=   90.00  0.05  :=   0.00  180.00
*@ phi    :=   45.00  0.01  :=   0.00   90.00
*
!&!
*
*------------------------------------------------
*
*  consistent substitutions (terminated by '!#!'):
*  -----------------------------------------------
*
@ Bext   :=    0.00  0.10  :=  -0.50    0.50
@ enri   :=    0.99  0.05  :=   0.16    0.20
@ text   :=   99.00  0.005 :=   0.00  100.00
@ iso    :=    0.00  0.03  :=   0.42    0.48
*
@ Pdeg   :=  100.00  0.01  :=  95.00  100.00
@ Pmix   :=    0.00  0.01  := -90.00   90.00
@ Pcan   :=   90.00  0.01  :=   0.00   90.00
*
***************************************************************
!#!
