Skip to content

Commit

Permalink
more documentation cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshields committed Sep 26, 2024
1 parent a6176a4 commit 299dca1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion stardis/radiation_field/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class RadiationField:
----------
frequencies : astronopy.units.Quantity
source_function : stardis.radiation_field.source_function
opacities : stardis.radiation_field.opacities
stellar_model : stardis.stellar_model.StellarModel
num_of_thetas : int
Attributes
----------
Expand All @@ -28,6 +29,12 @@ class RadiationField:
calculate the total opacity at each frequency at each depth point.
F_nu : numpy.ndarray
Radiation field fluxes at each frequency at each depth point. Initialized as zeros and calculated by a solver.
thetas : numpy.ndarray
Theta angles for raytracing.
I_nus_weights : numpy.ndarray
Weights for the theta angles.
I_nus : numpy.ndarray
Radiation field intensity at each frequency at each depth point at each theta angle. Initialized as zeros and calculated by a solver.
"""

def __init__(self, frequencies, source_function, stellar_model, num_of_thetas):
Expand Down

0 comments on commit 299dca1

Please sign in to comment.