finesse.components.laser.Laser.set_output_field

Laser.set_output_field(E, homs)[source]

Set optical field outputted using HOM vector.

This changes the output power and mode content of the laser to match the requested E field.

Parameters
Esequence

The complex optical field amplitude for homs.

homssequence

Sequence of (n, m) higher order modes. Typically this is just the model.homs value. It should match the size of E.

Notes

If you do not want the gouy phase due to the current beam parameter values set at the laser to be added to the output, set the add_gouy_phase attribute of the laser element to False.