Xraytrace documentation

raytracing software for x-ray standing wave calculations

User Tools

Site Tools


running

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
Next revision Both sides next revision
running [2018/01/24 16:54]
185.62.108.185
running [2018/01/24 18:11]
89.103.122.186
Line 2: Line 2:
  
 <​code>​ <​code>​
-COMP +VERBOSE 
-double double double double+integer
 </​code>​ </​code>​
  
-- sets ray direction in theta, phi coordinates,​ in degrees, with similar orientation as used in GSvitRay should be incident to the center of computational domainIf there is material at the boundary, it does not refract there, and goes directly insideAs third parameter, this command ​also sets the radius of the beam - rays are randomly shifted ​in this radius to produce an idealaly collimated beam. Finally, wavelength is supplied, in meters. Default value is 90 degrees theta, ​degrees phi, 1 voxel radius, which corresponds to ray propagating in x direction (towards positive values)See image below for angles meaning (polarisation angle psi is not used so far):+- sets verbosity levelBelow 3 this means not many messages and should be used for normal workAbove 3 this means lot of details of every individual rayValue of 10 means also debugging data for each ray and no intensity decay in output field data. Default value is 0.
  
 <​code>​ <​code>​
Line 14: Line 14:
  
 - sets total number of rays to be casted. Value around 10000 should be fine for beams of radius around 10. Set to unity if you want to understand better what is happenning, ideally with increasing verbosity level and decreasing the beam radius. Default value is 1. - sets total number of rays to be casted. Value around 10000 should be fine for beams of radius around 10. Set to unity if you want to understand better what is happenning, ideally with increasing verbosity level and decreasing the beam radius. Default value is 1.
 +
 +<​code>​
 +COMP
 +double double double double
 +</​code>​
 +
 +- sets ray direction in theta, phi coordinates,​ in degrees, with similar orientation as used in GSvit. Ray should be incident to the center of computational domain. If there is a material at the boundary, it does not refract there, and goes directly inside. As third parameter, this command also sets the radius of the beam - rays are randomly shifted in this radius to produce an idealaly collimated beam. Finally, wavelength is supplied, in meters. Default value is 90 degrees theta, 0 degrees phi, 1 voxel radius, which corresponds to ray propagating in x direction (towards positive values). See image below for angles meaning (polarisation angle psi is not used so far):
 +
 +<​code>​
 +SCAN_THETA
 +90.01 91.5 0.01
 +</​code>​
 +
 +Do multiple calculation to scan across some theta range, with given step.
 +
 +
 +<​code>​
 +NORMALIZE
 +double int
 +</​code>​
 +
 +- normalizes result by value obtained at given angle for given material.
 +
 +
 +
  
  
Line 37: Line 62:
  
  
-<​code>​ 
-AVERAGE 
-integer 
-</​code>​ 
- 
-- sets the local averaging radius for local plane (surface normal) evaluation. Default value is 2. This option is not used if a minimal inteface method is used. Note that for very small incident angles averaging might be problematic (see also Interface method). 
- 
-<​code>​ 
-INTERFACE_METHOD 
-integer 
-</​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. 
  
 <​code>​ <​code>​
Line 95: Line 107:
 Creates periodic BC. If optimization is requested, end boundary is shifted towards making it periodic with respect of incident signal wavelength and angles. Creates periodic BC. If optimization is requested, end boundary is shifted towards making it periodic with respect of incident signal wavelength and angles.
  
-<​code>​ 
-SIMPLE 
-0/1 
-</​code>​ 
- 
-Run simple calculation according to Bedzyk, X-ray Standing wave techniques, assuming that material 2 is the reflecting one, and the XSW is in z. Material and data below surface plane have no meaning and are not evaluated. 
- 
-<​code>​ 
-MEGASIMPLE 
-0/1 matindex 
-</​code>​ 
- 
-Run megasimple calculation according to Bedzyk, X-ray Standing wave techniques, assuming that material 2 is the reflecting one, and the XSW is in z. Only single material is evaluated. Not all the vector commands work properly. 
- 
-<​code>​ 
-SCAN_THETA 
-90.01 91.5 0.01 
-</​code>​ 
- 
-Do multiple calculation to scan across some theta range, with given step. 
- 
- 
-<​code>​ 
-NORMALIZE 
-double int 
-</​code>​ 
- 
-- normalizes result by value obtained at given angle for given material. 
  
  
Line 130: Line 114:
 {{ :​centerednotcentered.png?​400 |}} {{ :​centerednotcentered.png?​400 |}}
  
-{{ :​normals.png?​400 |}}+
running.txt · Last modified: 2018/01/28 13:32 by pklapetek