theta#

property ReciprocalLatticeVector.theta#

Twice the Bragg angle.

Returns:

theta – Filled with None if calculate_theta() hasn’t been called yet.

Return type:

numpy.ndarray

Examples

See ReciprocalLatticeVector for the creation of rlv

>>> rlv
ReciprocalLatticeVector (2,), al (m-3m)
[[1. 1. 1.]
 [2. 0. 0.]]

Bragg angles are by default not calculated

>>> rlv.theta
array([nan, nan])
>>> rlv.calculate_theta(20e3)
>>> rlv.theta  
array([0.0184036 , 0.02125105])