Skip to main content

lab_direction

Function lab_direction 

Source
pub fn lab_direction(tilt_rad: f64, twist_rad: f64) -> [f64; 3]
Expand description

Unit beam direction in the lab frame for tilt θ and twist φ: (cos θ, sin θ cos φ, sin θ sin φ).