Skip to content
  • Samuel Rowlinson's avatar
    Refs #368 --- applying refractive index correctly to Cavity class eigenmode values · 2853ed35
    Samuel Rowlinson authored
    The BeamParam instances created in Cavity.qx and Cavity.qy were incorrectly assuming
    that the source node of the cavity was associated with nr=1. This is updated to use
    the correct refractive index linked with the source node.
    
    Additionally a added generate_abcd_str method to Cavity class. This gives a string
    representation of the operation used to perform the round-trip matrices of the cavity.
    Useful for debugging purposes.
    2853ed35