*
*           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 :
*  --------------------
   grazing
   time
*
*  error analysis (yes/no):
*  -------------------------
   no
*
*  reflectivity input files:
*  -------------------------
   z1_in_kgin
*
*  input files for nrsfit (terminated by '!%!'):
*  ---------------------------------------------
   z_fe57si1.lay
   z_fe57si2.lay
   z_fe1fluct
   z_fe2fluct
   z_fe3fluct
   z_fe1distb
   z_fe2distb
   z_fe4distb
   z_in_kmix
!%!
*
*  input file specifying data file for conuss:
*  -------------------------------------------
   z_in_kfit
*
*  spectra info (terminated by '!&!'):
*  -----------------------------------
*
  FeSi.txt
@ Bext     :=   0.00  0.10   :=   0.00   10.00 
@ graz     :=   4265  0.001  :=   3400    4400
@ enri     :=   0.95  0.01   :=   0.05    1.00
*
@ lambda1  :=   1.00  0.33   :=   0.01   10000
@ bhf1     := -27.00  0.005  := -30.50  -26.00
@ phi1     := -90.18  0.02   := -95.00  -85.00
@ theta1a  :=   0.00  0.05   :=   0.00  180.00
@ theta1b  := 180.00  0.05   :=   0.00  180.00
@ text1    :=  35.00  0.01   :=  20.00   40.00
@ width1   :=   0.28  0.04   :=   0.22    2.00
* 
@ lambda2  :=   2.00  0.15   :=   0.00   12.00
@ bhf2     :=  -9.92  0.01   := -12.00   -8.00
@ phi2     := -90.58  0.02   := -95.00  -85.00
@ theta2a  :=   0.00  0.10   :=   0.00  180.00
@ theta2b  := 180.00  0.10   :=   0.00  180.00
@ text2    :=  20.00  0.02   :=   1.00   50.00
@ width2   :=   0.24  0.04   :=   0.21   10.00
@ weight2  :=   0.21  0.05   :=   0.20    1.00
*
@ lambda3  :=   8.77  0.10   :=   0.0001 10000
@ bhf3     :=  -5.05  0.02   :=  -9.00   -4.50
@ phi3     :=  90.10  0.02   :=  85.00   95.00
@ theta3a  :=   0.00  0.10   :=   0.00  180.00
@ theta3b  := 180.00  0.10   :=   0.00  180.00
@ text3    :=  87.16  0.01   :=  70.00  100.00
@ width3   :=   0.24  0.04   :=   0.21   10.00
@ weight3  :=   0.32  0.05   :=   0.00    1.00
*
* - - - - - - - - - - - - - - - - - - - - - - 
*
@ bhf4     := -21.50  0.005  := -24.00   19.00
@ phi4     := -60.30  0.10   := -90.00  270.00
@ theta4   := 140.00  0.05   :=   0.00  180.00
@ text4    := 99.58   0.05   :=   0.00  100.00
@ width4   :=  0.08   0.10   :=   0.01    0.20
*
@ Tfe57si1 := 33.00   0.01   :=  28.00   34.00
@ Tfe57si2 :=  1.00   0.01   :=   1.00    3.00
*
!&!
*
*------------------------------------------------
*
*  consistent substitutions (terminated by '!#!'):
*  -----------------------------------------------
@ iso1      :=    0.00  0.10  :=   0.00   0.12
@ iso2      :=    0.00  0.10  :=   0.00   0.12
@ iso3      :=    0.00  0.10  :=   0.00   0.12
@ iso4      :=    0.00  0.10  :=   0.00   0.12
*
***************************************************************
!#!
