*
*           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 :
*  --------------------
   combined
   time
*
*  error analysis (yes/no):
*  -------------------------
   no
*
*  reflectivity input files:
*  -------------------------
   z1_in_kgin
   z1_in_kref
*
*  input files for nrsfit (terminated by '!%!'):
*  ---------------------------------------------
   z_fe1.lay
   z_fe1distb
   z_in_ss
   z_ssdistb
   z_in_kmix
!%!
*
*  input file specifying data file for conuss:
*  -------------------------------------------
   z_in_kfit
*
*  spectra info (terminated by '!&!'):
*  -----------------------------------
*
  combined.txt
@ Bext     :=   -0.50  0.03  :=  -0.60   +0.60
% @ theta1 :=   30.00  0.01  :=   0.00  180.00
@ bmag1    :=  -32.40  0.003 := -35.00  -32.00
@ width1   :=    0.03  0.50  :=   0.00    0.50
@ isoR     :=    5.54  0.01  := -10.00  +10.00                                                     
@ thickR   :=    0.28  0.02  :=   0.00    2.00                                                    
% @ widthR :=    0.50  0.05  :=   0.00    1.00                                                    
*
!&!
*
*------------------------------------------------
*
*  consistent substitutions (terminated by '!#!'):
*  -----------------------------------------------
@ graz   :=    4070  0.001 :=   3000    5000
@ enri   :=    0.33  0.05  :=   0.15    1.00
@ text1  :=   99.99  0.005 :=   0.00  100.00
@ iso1   :=    0.00  0.10  :=   0.00    0.15
@ phi1   :=   90.00  0.01  := -90.00  270.00
*
@ Pdeg   :=   96.50  0.01  :=  60.00  100.00                            
@ Pmix   :=  -80.00  0.02  := -90.00   90.00                            
@ Pcan   :=   90.00  0.01  :=  80.00   90.00                            
*
@ Tfe1   :=   32.00  0.01  :=   0.00   60.00                            
@ Tint   :=    4.00  0.01  :=   0.00   60.00                            
*
***************************************************************
!#!
