Skip to content

Commit

Permalink
explain alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshields committed Sep 3, 2024
1 parent c4ace31 commit 9998091
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion stardis/plasma/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class AlphaLine(ProcessingPlasmaProperty):
Attributes
----------
alpha_line : Pandas DataFrame, dtype float
Sobolev optical depth for each line. Indexed by line.
Calculates the alpha (line integrated absorption coefficient in cm^-1) values for each line at each depth point. Indexed by line.
Columns as zones.
"""

Expand Down Expand Up @@ -176,6 +176,7 @@ def calculate(

class AlphaLineVald(ProcessingPlasmaProperty):
"""
Calculates the alpha (line integrated absorption coefficient in cm^-1) values for each line at each depth point. Uses VALD linelists for lines. Indexed by line.
Attributes
----------
alpha_line_from_linelist : DataFrame
Expand Down Expand Up @@ -321,6 +322,9 @@ def calculate(

class AlphaLineShortlistVald(ProcessingPlasmaProperty):
"""
Calculates the alpha (line integrated absorption coefficient in cm^-1) values for each line at each depth point. Uses VALD shortform linelists for lines. Indexed by line.
Subtley different from the full list calculation in that it does not require the upper level degeneracy, and pure number density is not directly calculated as a result.
Attributes
----------
alpha_line_from_linelist : DataFrame
Expand Down
4 changes: 2 additions & 2 deletions stardis/plasma/molecules.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def calculate(self, t_electrons, atomic_data):

class AlphaLineValdMolecule(ProcessingPlasmaProperty):
"""
Calculates the alpha values for each molecular line from Vald at each depth point. This is adapted from the AlphaLineVald calculation.
Calculates the alpha (line integrated absorption coefficient in cm^-1) values for each molecular line from Vald at each depth point. This is adapted from the AlphaLineVald calculation.
Attributes
----------
molecule_alpha_line_from_linelist : DataFrame
Expand Down Expand Up @@ -298,7 +298,7 @@ def calculate(

class AlphaLineShortlistValdMolecule(ProcessingPlasmaProperty):
"""
Calculates the alpha values for each molecular line from Vald at each depth point. This is adapted from the AlphaLineShortlistVald calculation.
Calculates the alpha (line integrated absorption coefficient in cm^-1) values for each molecular line from Vald at each depth point. This is adapted from the AlphaLineShortlistVald calculation.
Attributes
----------
Expand Down

0 comments on commit 9998091

Please sign in to comment.