Xraytrace documentation

raytracing software for x-ray standing wave calculations

User Tools

Site Tools


input_reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
input_reference [2018/01/24 14:23]
185.62.108.185
input_reference [2020/05/15 11:04] (current)
pklapetek
Line 3: Line 3:
 ==== Parameter file format and options ==== ==== Parameter file format and options ====
  
-Here follows a list of all the parameter file format ​and options:+Here follows a list of all the parameters ​and their options ​that can be used 
 +within parameter file. Some of them have meaning only if used with other parameters,​ 
 +please refer to other parts of documentation or examples in case of doubts.
  
 <​code>​ <​code>​
Line 131: Line 133:
 </​code>​ </​code>​
  
-- sets the surface/​interface normal calculation method, 0 - simple weighing, 1 - RS, 2 - gradient based, 3 - minimal (single voxel). Simple weighting gives slightly wrong angles and should not be used, RS method provides local plane fitting, gradient method is an approximate method using gradient of material within the sample, minimal method only looks to adjacent voxels and therefore can only produce normals of individual voxel faces. All the averaging based methods may fail at large angles hitting edges of objects (where real staircased object normal is too much different from averaged one); if it fails algorithm automatically uses the minimal method for the particular reflection/​transmission. Default value is 2.+- sets the surface/​interface normal calculation method, 0 - simple weighing, 1 - RS, 2 - gradient based, 3 - minimal (single voxel), 4 - conformal modeling. Simple weighting gives slightly wrong angles and should not be used, RS method provides local plane fitting, gradient method is an approximate method using gradient of material within the sample, minimal method only looks to adjacent voxels and therefore can only produce normals of individual voxel faces. All the averaging based methods may fail at large angles hitting edges of objects (where real staircased object normal is too much different from averaged one); if it fails algorithm automatically uses the minimal method for the particular reflection/​transmission. Conformal modeling is the most complex method and is still experimental. Default value is 2.
  
 <​code>​ <​code>​
Line 225: Line 227:
  
 ==== Material table file format and options ==== ==== Material table file format and options ====
- 
  
 Material table file is a plain text file where each line represents one material in the following format: Material table file is a plain text file where each line represents one material in the following format:
  
 index material_type (Material string unused_double) / (refractive_index beta unused_double unused_double) index material_type (Material string unused_double) / (refractive_index beta unused_double unused_double)
-where index should match the material index in the geometry .vtk file. Material with zero index is expected to be outside of the computational domain, usually this is vacuum, but not necessarily.+where index should match the material index in the geometry .vtk file. Material with zero index is expected to be also outside of the computational domain, usually this is vacuum. Under special circumstances it could be also other material, but this is untested for many algorithms.
  
-Material types can be 0 (then the refractive index, ​beta and spare doubles ​are provided) or 99 followed by material string (eg. Si) and unused ​double.+Material types can be 0 (then the real and imaginary part of refractive index, ​density ​and attenuation coefficient ​are provided) or 99 followed by material string (eg. Si) and two double ​values to potentially override density and attenuation coefficient.
  
input_reference.1516800185.txt.gz · Last modified: 2018/01/24 14:23 by 185.62.108.185