Commit 2ae9831cf2e92c6512bf0f867c05016fd86d6351
1 parent
980a2e652e
Exists in
master
waist_sicav: waist calculations
Showing 1 changed file with 14 additions and 0 deletions Side-by-side Diff
waist_sicav/waist_calc.py
| 1 | +from numpy import pi | |
| 2 | + | |
| 3 | +L = 140e-3 | |
| 4 | +R = 0.325 | |
| 5 | +l = 1542e-9 | |
| 6 | +g = 1-L/R | |
| 7 | +w0cp = ((L*l)/pi*(g/(1-g))**.5)**.5 | |
| 8 | +#w0cc = ((L*l)/pi*((1+g)/(4*(1-g)))**.5)**.5 | |
| 9 | +#w0ccl = ((L*l)/pi*(R/(2*L))**.5)**.5 | |
| 10 | + | |
| 11 | +print('waist cp = %e m'%w0cp) | |
| 12 | +#print('waist cc = %e m'%w0cc) | |
| 13 | +#print('waist ccl = %e m'%w0ccl) |