finesse.components.laser.Laser.get_output_field¶
- Laser.get_output_field(homs)[source]¶
Get optical field outputted as a HOM vector.
Returns the complex amplitude of the modes specified in homs. This does not respect the add_gouy_phase` attribute of the laser element and will always return the complex amplitude without the gouy phase. If the gouy phase is required then it is recommended to use a FieldDetector at the laser output with
add_gouy_phase
set toTrue
.- Parameters
- homssequence
Collection of (n, m) higher order modes to retrieve the output field for. Typically this is just the
model.homs
value. The outputE
vector will match the ordering ofhoms
.
- Returns
- sequence
The output fields for homs. If a given (n, m) has no defined coefficients, its field defaults to 0.