Refs #368 --- applying refractive index correctly to Cavity class eigenmode values
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.
Showing with 63 additions and 5 deletions