               Description of the input parameters for NMIRROR:
               =================================================

This is a description of the input parameters for nmirror

datasets: 
	Select a DABAX file from where the f1f2 scattering factors
	will be read. The "all" option is also available, and 
	in this case all datasets are used (useful for comparisons).

material: Select the desired material type. Three options are available:
	a) Element(formula) calculation for a single element. 
	b) Mixture(formula) calculation for a compound or a mixture. The user 
		defines the mixture formula. 
		The syntaxis is the following: string with the chemical
		formula of the compound(s) with their weight fraction between 
		parenthesis.
		Examples:
		H20
		SiO2(0.807)B2O3(0.129)Na2O(0.038)Al2O3(0.022)K2O(0.004)
		H2O(0.99)Cl2(0.01)
		H(0.11189834)O(0.88810166)
	c) Mixture(table) calculation for a compound or a mixture defined
		in the included mixture-table (from dabax file Compounds.dat)

table: Compound table, only available if the c) option in material is chosen.

formula: The element or compound or mixture formula, depending the "material"
		selection.

density: The mixture density in the case that option b) has been
		selected.

polarization:   The polarization of the neutron beam. 
	WARNING: The calculation of polarized beams require that the 
		database used contain polarized scattering lengths. 
		In the case that polarized scattering lengths are not 
		available, the unpolarized values are used WITHOUT 
		WARNING. Therefore, for being sure that calculations
		are for polarized beams, used a dataset (like 
		Neutron_SLSC_DataBooklet.dat) and compare the result with 
		the unpolarized case. 

	
calculate: select the calculation magnitude. The "all" option is also 
	available, and in this case all datasets are used (useful for 
	comparisons). The "all" option here is incompatible with the 
	"all" option in the "datasets" entry.

	NOTA: when chosing delta or beta (i.e., refraction index), the
	program ask is the user wants to create a file fith the refraction 
	index for further use with IMD [multilayers].



Wavelength [A] grid: the abscissas values for the wavelength-dependent
	calculations (i.e., not available in some cases, like for the 
	scattering lengths, which are not wavelength-dependent). Two 
	options are available: 
		a) Single-value, with the wavelength to be entered in 
		   "Initial wavelength [A]" box.
		b) User-defined, with the parameters described below.

Initial wavelength [A]: the initial wavelength value (only available 
		for wavelength-dependent calculations).

wFinal Wavelength [A]: the last wavelength value 

Number of points: the number of wavelength points.

Grazing angle: the surface grazing angle (only available when 
		"reflectivity" calculations are set in "Calculate" entry.
		Two options are available: 
		a) Single-value, for calculations of Reflectivity versus
		   wavelength.
		b) User-defined, for calculations of Reflectivity versus
		   angle, or reflectivity versus both angle and wavelength
		   (3D plot).

Roughness rms [A]: The surface RMS roughness in A (only available when
		"reflectivity" calculations are set in "Calculate" entry.

		A Debye-Waller or Nevot-Croce model is used.
		Convention:
		  If rough<0, a Nevot-Croce model is used
		  If rough>0, a Debye-Waller model is used


Stating Graz angle [mrad]: the grazing angle (when single-value is set) or
		the initial grazing angle value (only available for
		reflectivity calculations).

To [mrar]: the last grazing angle value (only available if both b) is chosen in the
		"Grazing angle" entry and for reflectivity calculations).

Number of angular points: the number of angle points (only available if both 
		b) is chosen in the "Grazing angle" entry and for reflectivity 
		calculations).

