Hello philsol:
May I ask what meaning is this code or which paper is it from? It's in philsol-master/examples/example_KTP_waveguide.ipynb.
def n_guide(lam):
A = 2.17954368571
B = np.log(2.17954368571 / 1.75292972992) / 0.7
return A * np.exp(- B * (lam - 0.3))
And thanks for your work. Hd-Edison