From 5d729fccc22b0a674604a396c54315e7f89ca221 Mon Sep 17 00:00:00 2001 From: Josh Shields Date: Tue, 10 Dec 2024 11:19:03 -0500 Subject: [PATCH] remove 4pi comment --- stardis/plasma/base.py | 5 ++--- stardis/plasma/molecules.py | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/stardis/plasma/base.py b/stardis/plasma/base.py index bd26e2dc..086b9db5 100644 --- a/stardis/plasma/base.py +++ b/stardis/plasma/base.py @@ -313,7 +313,7 @@ def calculate( # Radiation broadening parameter is approximated as the einstein A coefficient. Vald parameters are in log scale. linelist["A_ul"] = 10 ** ( linelist["rad"] - ) # see 1995A&AS..112..525P for appropriate units - may be off by a factor of 4pi + ) # see 1995A&AS..112..525P for appropriate units # Need to remove autoionization lines - can't handle with current broadening treatment because can't calculate effective principal quantum number valid_indices = linelist.level_energy_upper < linelist.ionization_energy @@ -451,8 +451,7 @@ def calculate( # Radiation broadening parameter is approximated as the einstein A coefficient. Vald parameters are in log scale. linelist["A_ul"] = 10 ** ( linelist["rad"] - ) # see 1995A&AS..112..525P for appropriate units - may be off by a factor of 4pi - + ) # see 1995A&AS..112..525P for appropriate units return alphas, linelist diff --git a/stardis/plasma/molecules.py b/stardis/plasma/molecules.py index c88f5c8f..7272316e 100644 --- a/stardis/plasma/molecules.py +++ b/stardis/plasma/molecules.py @@ -290,7 +290,7 @@ def calculate( # Radiation broadening parameter is approximated as the einstein A coefficient. Vald parameters are in log scale. linelist["A_ul"] = 10 ** ( linelist["rad"] - ) # see 1995A&AS..112..525P for appropriate units - may be off by a factor of 4pi + ) # see 1995A&AS..112..525P for appropriate units return alphas, linelist @@ -416,6 +416,6 @@ def calculate( # Radiation broadening parameter is approximated as the einstein A coefficient. Vald parameters are in log scale. linelist["A_ul"] = 10 ** ( linelist["rad"] - ) # see 1995A&AS..112..525P for appropriate units - may be off by a factor of 4pi + ) # see 1995A&AS..112..525P for appropriate units return alphas, linelist