def psi_n(n, x, m, omega):

    # sympify arguments
    n, x, m, omega = map(S, [n, x, m, omega])
    nu = m * omega / hbar
    # normalization coefficient
    C = (nu/pi)**(S(1)/4) * sqrt(1/(2**n*factorial(n)))

    return C * exp(-nu* x**2 /2) * hermite(n, sqrt(nu)*x)
Return a Django form field appropriate for a reference property.
dataset/ETHPy150Open sympy/sympy/sympy/physics/qho_1d.py/psi_n--crossover with--dataset/ETHPy150Open IanLewis/kay/kay/utils/forms/modelform.py/ReferenceProperty.get_form_field