Skip to content

Commit

Permalink
Update groundstatesonlynist.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Dec 18, 2024
1 parent ae307ed commit 527f070
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions artisatomic/groundstatesonlynist.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,15 @@ def read_ground_levels(atomic_number, ion_stage, flog):

ionization_energy_in_ev = this_ion["IonizationEnergy"].to_numpy()[0]
artisatomic.log_and_print(flog, f"ionization energy: {ionization_energy_in_ev} eV")
energy_levels = [None]
energy_levels.append(
energy_levels = [
None,
EnergyLevel(
levelname=this_ion["config"].to_numpy()[0],
parity=0,
g=this_ion["g"].to_numpy()[0],
energyabovegsinpercm=0.0,
)
)

),
]
transitions = []
transition_count_of_level_name = defaultdict(int)

Expand Down

0 comments on commit 527f070

Please sign in to comment.