Skip to content

Commit

Permalink
Merge pull request #55 from eltociear/patch-1
Browse files Browse the repository at this point in the history
chore: update basis_utils.py
  • Loading branch information
ClaudioZeni authored Feb 21, 2025
2 parents 73134bb + cdf57bd commit 94aad2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mattergen/common/gemnet/layers/basis_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def real_sph_harm(
L_maxdegree: int, use_theta: bool, use_phi: bool = True, zero_m_only: bool = True
) -> List[List[Any]]:
"""
Computes formula strings of the the real part of the spherical harmonics up to degree L (excluded).
Computes formula strings of the real part of the spherical harmonics up to degree L (excluded).
Variables are either spherical coordinates phi and theta (or cartesian coordinates x,y,z) on the UNIT SPHERE.
Parameters
Expand All @@ -209,7 +209,7 @@ def real_sph_harm(
Returns
-------
Y_lm_real: list
Computes formula strings of the the real part of the spherical harmonics up
Computes formula strings of the real part of the spherical harmonics up
to degree L (where degree L is not excluded).
In total L^2 many sph harm exist up to degree L (excluded). However, if zero_m_only only is True then
the total count is reduced to be only L many.
Expand Down

0 comments on commit 94aad2f

Please sign in to comment.