79394721

Date: 2025-01-28 17:45:14
Score: 1.5
Natty:
Report link

your gaussian function seems to have a factor of 2 in, try this instead:

def gaussian(wz, r, I):
    """
    wz: Beam width at z=0;
    r : Radial coordinates
    I : Intensity distribution
    """
    Fin = I*np.exp(-(r/wz)**2)
    return Fin

Are you sure that 2 supposed to be there?

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Neil Butcher