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
input_reference [2018/01/25 09:15]
pklapetek
input_reference [2020/05/15 11:04] (current)
pklapetek
Line 133: 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>​
input_reference.txt ยท Last modified: 2020/05/15 11:04 by pklapetek