Skip to content

Commit 4c0f8c6

Browse files
small fix
1 parent f76e282 commit 4c0f8c6

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/rydstate/rydberg/rydberg_sqdt.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@ def __init__(
303303
l: Orbital angular momentum quantum number of the rydberg electron.
304304
j: Angular momentum quantum number of the rydberg electron.
305305
f: Total angular momentum quantum number of the atom (rydberg electron + core)
306-
Optional, only needed if the species supports hyperfine structure (i.e. species.i_c is not None or 0).
306+
Optional, only needed if the species supports hyperfine structure
307+
(i.e. species.i_c is not None and species.i_c != 0).
307308
m: Total magnetic quantum number.
308309
Optional, only needed for concrete angular matrix elements.
309310
nu: Effective principal quantum number of the rydberg electron.
@@ -348,7 +349,8 @@ def __init__(
348349
s_tot: Total spin quantum number of all electrons.
349350
j_tot: Total angular momentum quantum number of all electrons.
350351
f_tot: Total angular momentum quantum number of the atom (rydberg electron + core)
351-
Optional, only needed if the species supports hyperfine structure (i.e. species.i_c is not None or 0).
352+
Optional, only needed if the species supports hyperfine structure
353+
(i.e. species.i_c is not None and species.i_c != 0).
352354
m: Total magnetic quantum number.
353355
Optional, only needed for concrete angular matrix elements.
354356
nu: Effective principal quantum number of the rydberg electron.
@@ -453,7 +455,8 @@ def __init__(
453455
j_r: Total angular momentum quantum number of the Rydberg electron.
454456
f_c: Total angular momentum quantum number of the core (core electron + nucleus).
455457
f_tot: Total angular momentum quantum number of the atom (rydberg electron + core)
456-
Optional, only needed if the species supports hyperfine structure (i.e. species.i_c is not None or 0).
458+
Optional, only needed if the species supports hyperfine structure
459+
(i.e. species.i_c is not None and species.i_c != 0).
457460
m: Total magnetic quantum number.
458461
Optional, only needed for concrete angular matrix elements.
459462
nu: Effective principal quantum number of the rydberg electron.

0 commit comments

Comments
 (0)