Skip to content

Commit

Permalink
Remove temperature option from Chianti data export
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfullard committed Nov 12, 2024
1 parent 9fad0c1 commit c750a44
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions carsus/io/output/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def __init__(
"levels_metastable_loggf_threshold": -3,
"lines_loggf_threshold": -3,
},
collisions_param={"temperatures": np.arange(2000, 50000, 2000)},
):
self.atomic_weights = atomic_weights

Expand All @@ -61,7 +60,6 @@ def __init__(
self.vald_reader = vald_reader
self.barklem_2016_data = barklem_2016_data
self.levels_lines_param = levels_lines_param
self.collisions_param = collisions_param

self.ionization_energies_preparer = IonizationEnergiesPreparer(self.cmfgen_reader, ionization_energies)

Expand All @@ -86,7 +84,7 @@ def __init__(
if cmfgen_reader is not None and hasattr(cmfgen_reader, "collisions"):
self.collisions_preparer = CollisionsPreparer(self.cmfgen_reader)
elif hasattr(chianti_reader, "collisions"):
self.collisions_preparer = ChiantiCollisionsPreparer(self.chianti_reader, self.levels, self.levels_all, self.lines_all, self.levels_lines_preparer.chianti_ions, self.collisions_param)
self.collisions_preparer = ChiantiCollisionsPreparer(self.chianti_reader, self.levels, self.levels_all, self.lines_all, self.levels_lines_preparer.chianti_ions)
else:
logger.warning("No source of collisions was selected.")
self.collisions_preparer = None
Expand Down

0 comments on commit c750a44

Please sign in to comment.