The refractive index equations used when the crystal was biaxial were too approximate. The ones used in this version are now fully correct for UPPE in orthorhombic crystals and can be made quite good with an effective rotation of monoclinic crystals.
Two sequence functions are introduced that allow easier rotation into the effective fast and slow axes, rotateIntoBiaxial() and rotateFromBiaxial().
The python module now includes helper functions for rotation and axis reordering on the nonlinear tensors.
The refractive index equations used when the crystal was biaxial were too approximate. The ones used in this version are now fully correct for UPPE in orthorhombic crystals and can be made quite good with an effective rotation of monoclinic crystals.
Two sequence functions are introduced that allow easier rotation into the effective fast and slow axes, rotateIntoBiaxial() and rotateFromBiaxial().
The python module now includes helper functions for rotation and axis reordering on the nonlinear tensors.