//-------------------------------------------------------------------------
// Materials Parameters Database v.1.1
//-------------------------------------------------------------------------
//
//        * * * * * * * * * * * * WARNING * * * * * * * * * * * * *
//
//        Photon Design makes NO GUARANTEE as to the accuracy of
//        these parameters. Often data is only approximate and even
//        the literature disagrees on what is the "true" value. You
//        are advised to check these with your own data.
//-------------------------------------------------------------------------
//
<materbase(2.21)> // file and version signature
//

//----------------------------------------------------------------------
BEGIN TurnRect_Th00_Ph00(x)    // Material name
// This material is taken from Chen, Hsu, Chang, Optics Express
// The conversion from Th and Ph to theta_x, theta_y, and theta_z is given in the validation document

// Set anisotropic index 
// Note that 1 after of dn_xx dn_yy and dn_zz is polynomial order. DO NOT CHANGE IT.
RIX_ANISOPOLYX dn_xx 1 0.5292 	// works as 1.0 + dn_xx
RIX_ANISOPOLYX dn_yy 1 0.5292 	// works as 1.0 + dn_yy
RIX_ANISOPOLYX dn_zz 1 0.7072 	// works as 1.0 + dn_zz, extraordinary axis

// Set optic axis rotations [degrees]
RIX_ANIROTATION phiZ 0.0	// phi_z in degrees
RIX_ANIROTATION phiX USE_MX	// phi_x in degrees
RIX_ANIROTATION phiY USE_MY	// phi_y in degrees

// Set rotational angle around axis y as a device parameter
// as iniValue [minValue:maxValue] “label [units]”
MXPARM ON 0 [-180:180] "angle x [deg]"
MYPARM ON 0 [-180:180] "angle y [deg]"

END 

//----------------------------------------------------------------------
BEGIN TurnRect_Th90_Ph00(x)    // Material name
// This material is taken from Chen, Hsu, Chang, Optics Express
// The conversion from Th and Ph to theta_x, theta_y, and theta_z is given in the validation document

// Set anisotropic index 
// Note that 1 after of dn_xx dn_yy and dn_zz is polynomial order. DO NOT CHANGE IT.
RIX_ANISOPOLYX dn_xx 1 0.7072 	// works as 1.0 + dn_xx, , extraordinary axis
RIX_ANISOPOLYX dn_yy 1 0.5292 	// works as 1.0 + dn_yy
RIX_ANISOPOLYX dn_zz 1 0.5292 	// works as 1.0 + dn_zz

// Set optic axis rotations [degrees]
RIX_ANIROTATION phiZ USE_MX	// phi_z in degrees
RIX_ANIROTATION phiX 0.0	// phi_x in degrees
RIX_ANIROTATION phiY 0.0	// phi_y in degrees

// Set rotational angle around axis y as a device parameter
// as iniValue [minValue:maxValue] “label [units]”
MXPARM ON 0 [-180:180] "angle z [deg]"

END 
