finesse.detectors.compute.utils module

finesse.detectors.compute.utils.local_oscillator_conj(double P_lo, double phase) double complex

Utility function to calculate the electric field of the local oscillator in a balanced homodyne detector. Used in BalancedHomodyneReadout, BalancedHomodyneDetector, and QuantumBHD.

Parameters

P_lofloat

Power of the local oscillator in Watts

phasefloat

Phase of the local oscillator in degrees

Returns

complex

Complex amplitude of the electric field of the local oscillator