Package reflectometry :: Package model3d :: Module par_form

Module par_form

source code

Form class for a substrate and a feature and functions for operating on it

Calculates the scattering resulting from the shape profile of individual features. This also calculates the scattering that results from the layers of the substrate. All calculation in this module are in the Born Approximation and for shapes that are parallelapiped.

Classes
  Substrate
This contains variables to define a substrate
  Parallelapiped
This contains variables to define a feature
  Lego_Model
Functions
 
form_loop(feature_form, qx, qy, qz)
This function creates the form factor for the sample.
source code
 
substrate_loop(substrate, qx, qy, qz) source code
 
layer_loop(feature_form, qz) source code
 
z_form(rho, Qz, zlo, zhi)
Calculations of int_zlo^zhi{ rho e^{iQ_z z} dz }
source code
 
inplane_form(q, size) source code
Function Details

form_loop(feature_form, qx, qy, qz)

source code 
This function creates the form factor for the sample. The substrate form factor and sample form factor are calculated separately. Tz_sub and Tz are vectors returned from the layer_loop function, so total_form_feature[:,i,j] assignment maps onto [qz,qx,qy] (why this order?)