Skip to content

Commit

Permalink
limit lower abundance for proper line formation
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Jun 3, 2022
1 parent c50fc34 commit 3c881f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pysme/sme_synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ def InputAbund(self, abund):
abundance structure to be passed (see Abund for more details)
"""
abund = abund("sme", raw=True)
# TODO: does this make sense or should we fix the C code?
abund[np.isnan(abund)] = -12
_smelib.InputAbund(abund)

def Opacity(self):
Expand Down

0 comments on commit 3c881f5

Please sign in to comment.