sunbather.construct_parker
Functions to construct parker
Functions
|
Calculates the weighted mean of the radial mean particle mass profile, according to Eq. |
|
Calculates the mean particle mass assuming a completely neutral (i.e., atomic) gas, for a given composition (specified through elemental scale factors that can be converted into abundances). |
|
Executes the run_s() function with provided arguments, while catching errors more gracefully. |
|
Reads a spectrum file in the format that we give it to Cloudy, namely angstroms and monochromatic flux (i.e., nu*F_nu or lambda*F_lambda) units. |
|
Main function to construct a Parker profile. |
|
Creates an argument parser for the main function. |
|
z : float |
|
Calculates a grid of isothermal Parker wind models, by executing the run() function in parallel. |
|
Runs an isothermal Parker wind profile through Cloudy, using the isothermal temperature profile. |
|
Calculates a single isothermal Parker wind profile. |
|
Calculates an isothermal Parker wind profile with any composition by iteratively running the p-winds code (dos Santos et al. 2022) and Cloudy (Ferland et al. 1998; 2017, Chatziokos et al. 2023). |
|
Uses the p-winds code (dos Santos et al. 2022). |
|
Uses the p-winds code (dos Santos et al. 2022) Runs p_winds and saves a 'pprof' txt file with the r, rho, v, mu structure. |