Skip to content

Commit

Permalink
reduce hermite accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
corinwagen committed Jul 2, 2021
1 parent 878a306 commit d4fa92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cctk/vibrational_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def quantum_distribution_value(self, x, level=0):
val = math.sqrt(omega_term) * math.exp(-1 * omega_term * math.pi * x ** 2 ) * (H(math.sqrt(omega_term * math.pi) * x) ** 2) / (2 ** n * math.factorial(n))
return val

def quantum_distribution_max(self, level=0, num_pts=1e5):
def quantum_distribution_max(self, level=0, num_pts=1e4):
"""
Returns the maximum value of psi**2 for the quantum harmonic oscillator at a given level.
"""
Expand Down

0 comments on commit d4fa92a

Please sign in to comment.