Documented gaussian beam and cavity ions scripts with figures