CW-CRDS cavity mode calculator