Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 5615029

Browse files
committed
misc changes (don't remember).
1 parent 2d7a4dd commit 5615029

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

SpectroscoPy/atomic/electronConfiguration.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
- __bool__ behavior for configurations, terms, energies, etc
1717
-include L-S coupling
1818
-include functions/methods without L-S coupling assumption
19+
-include jj coupling scheme methods
1920
-use subshellConfiguration() in electronConfiguration()
2021
-use electronConfiguration() and termSymbol() for energyLevel()
2122
-use 2 energyLevel() objects for transition() object
2223
-Create system for managing/saving/converting list of transition() objs
23-
-add tests for allowed/forbidden transitions
24+
-add "selection rules" tests for allowed/forbidden transitions
2425
2526
@author: Pawel M. Kozlowski
2627
"""
@@ -389,6 +390,21 @@ def empty():
389390
particle.
390391
"""
391392
return ElectronConfiguration([])
393+
def unpaired(self):
394+
"""
395+
Returns the number of unpaired electrons.
396+
"""
397+
def multiplicity(self):
398+
"""
399+
Spin multiplicity, calculated based on the number of unpaired
400+
electrons.
401+
"""
402+
def multiplet(self):
403+
"""
404+
Returns whether the configuration is in a singlet, doublet, triplet,
405+
etc. state based on the multiplicty and limitations on the number
406+
of spin orientations, when S <= L.
407+
"""
392408

393409

394410

0 commit comments

Comments
 (0)