Function changes |
|
|
|
Legend |
|
pRT2 |
pRT3 |
Remarks |
|
normal |
nothing special |
* |
load_all_opacities |
|
|
- |
no name change |
* |
load_cia_opacities |
|
|
* |
did not exist |
* |
_compute_cia_opacities |
Self-explanatory function |
|
bold |
important change |
* |
_get_non_cia_gas_continuum_contributions |
Future proofing, returns a dictionary with the non CIA name as key and the function to calculate it as value, can be expanded to include more than just H- |
|
<removed> |
removed from code |
* |
_compute_non_cia_gas_induced_continuum_opacities |
Future proofing, execute all the functions within the non CIA dict |
|
red |
removed or moved |
* |
_compute_power_law_opacities |
Self-explanatory function |
|
|
|
* |
_compute_optical_depths_with_custom_cloud |
Self-explanatory function |
|
|
|
add_rayleigh |
_compute_rayleigh_scattering_opacities |
Now static |
|
|
|
calc_borders |
compute_bins_edges |
|
|
|
|
calc_cloud_opacity |
_compute_cloud_opacities |
|
|
|
|
calc_flux |
calculate_flux |
Changed arguments order |
|
|
|
calc_flux_transm |
<removed> |
No real use |
|
|
|
calc_mmw |
compute_mean_molar_masses |
Moved to chemistry.utils |
|
|
|
calc_opt_depth |
_compute_optical_depths |
Now static |
|
|
|
calc_pressure_hydrostatic_equilibrium |
compute_pressure_hydrostatic_equilibrium |
|
|
|
|
calc_radius_hydrostatic_equilibrium |
compute_radius_hydrostatic_equilibrium |
|
|
|
|
calc_rosse_planck |
calculate_rosseland_planck_opacities |
|
|
|
|
calc_RT |
_calculate_flux |
|
|
|
|
calc_tau_cloud |
_calculate_cloud_optical_depths |
|
|
|
|
calc_tr_rad |
_calculate_transit_radii |
|
|
|
|
calc_transm |
calculate_transit_radii |
Changed arguments order |
|
|
|
cia_read |
load_cia_opacities |
|
|
|
|
get_arr_len_array_bords |
find_line_by_line_frequency_loading_boundaries |
|
|
|
|
get_freq |
load_frequencies |
|
|
|
|
get_freq_len |
load_frequencies_g_sizes |
|
|
|
|
get_opa |
__compute_opacities |
Only used in plot_opas |
|
|
|
get_PHOENIX_spec |
<removed> |
Redundant with compute_phoenix_spectrum |
|
|
|
get_PHOENIX_spec_rad |
compute_phoenix_spectrum |
|
|
|
|
get_rg_n |
compute_cloud_particles_mean_radius |
|
|
|
|
get_rg_n_hansen |
compute_cloud_particles_mean_radius_hansen |
|
|
|
|
interpol_opa_ck |
interpolate_line_opacities |
|
|
|
|
interpolate_cia |
_interpolate_cia |
Now static |
|
|
|
interpolate_species_opa |
_interpolate_species_opacities |
|
|
|
|
mix_opa_tot |
_calculate_opacities |
|
|
|
|
mix_opas_ck |
combine_opacities |
|
|
|
|
plot_opas |
plot_radtrans_opacities |
Moved to `plotlib.plotlib` |
|
|
|
py_calc_cloud_opas |
_compute_cloud_log_normal_particles_distribution_opacities |
Moved into `Radtrans` |
|
|
|
py_calc_transm_spec |
compute_transit_radii |
Moved into `Radtrans` |
|
|
|
read_cloud_opas |
load_cloud_opacities |
Moved into `Radtrans` |
|
|
|
read_in_cloud_opacities |
load_cloud_opacities |
|
|
|
|
read_in_molecular_opacities |
load_line_opacity_grid |
|
|
|
|
read_kappa |
load_line_by_line_opacities_grid |
|
|
|
|
read_line_opacities |
load_line_opacities |
Moved into `Radtrans` |
|
|
|
read_wlen |
load_line_by_line_wavelengths |
|
|
|
|
setup_opa_structure |
<removed> |
Opacities are now loaded in `__init__` |
|
|
|
write_out_rebin |
rebin_ck_line_opacities |
Moved to __file_conversion |
|
|
|
Argument an attributes changes |
|
|
|
|
Legend |
|
pRT2 |
pRT3 |
Other changes |
Remarks |
|
normal |
nothing special |
* |
anisotropic_cloud_scattering |
Added to `Radtrans` arguments and to attributes. |
Calculation mode of cloud scattering, can be True, False, or 'auto' (default); in 'auto' mode, cloud scattering is calculated depending on whether an emission (True) or transmission spectrum (False) is calculated; a warning is displayed if the "wrong" mode is chosen |
|
- |
no name change |
* |
_lines_loaded_opacities |
|
LockedDict property to bundle all line opacities parameters together |
|
* |
did not exist |
* |
_init_cia_loaded_opacities |
|
Init the CIA LockedDict |
|
bold |
important change |
* |
_clouds_loaded_opacities |
|
LockedDict property to bundle all cloud opacities parameters together |
|
<removed> |
removed from code |
* |
addtional_outputs |
|
Not an attribute, used to bundle extra outputs from calculate_* |
|
red |
removed or moved |
* |
path_input_data |
Added to `Radtrans` arguments and to attributes. |
|
|
|
|
a_hans |
cloud_a_hansen |
|
|
|
|
|
absorbers_present |
__absorber_present |
|
This is the result of an internal check, so it should not appear outside of the class |
|
|
|
add_cloud_scat_as_abs |
<removed> |
|
Did a weird and very specific thing |
|
|
|
b_hans |
cloud_b_hansen |
|
|
|
|
|
border_freqs |
_frequency_bins_edges |
Now an unsettable property |
|
|
|
|
border_lambda_angstroem |
<removed> |
Now calculated on the fly |
|
|
|
|
CIA_species |
_cias_loaded_opacities |
|
LockedDict property to bundle all cia opacities parameters together |
|
|
|
cloud_abs_plus_scat_anisotropic |
cloud_anisotropic_extinctions |
|
|
|
|
|
cloud_abs_plus_scat_no_anisotropic |
cloud_isotropic_extinctions |
|
|
|
|
|
cloud_aniso |
_cloud_loaded_opacities['particles_asymmetry_parameters'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
cloud_lambdas |
_cloud_loaded_opacities['wavelengths'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
cloud_mass_fracs |
cloud_species_mass_fractions |
No more an attribute |
|
|
|
|
cloud_rad_bins |
_cloud_loaded_opacities['particles_radii_bins'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
cloud_radii |
_cloud_loaded_opacities['particles_radii'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
cloud_red_fac_anisotropic_tot |
cloud_scattering_reduction_factor |
|
|
|
|
|
cloud_scaling_factor |
- |
No more an attribute |
It was re-set each time a spectrum is calculated |
|
|
|
cloud_species |
- |
Now a property |
|
|
|
|
cloud_specs_abs_opa |
_cloud_loaded_opacities['absorption_opacities'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
cloud_specs_scat_opa |
_cloud_loaded_opacities['scattering_opacities'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
cloud_wlen |
<removed> |
|
Only used for a check, no purpose in code |
|
|
|
continuum_opa |
continuum_opacities |
No more an attribute |
|
|
|
|
continuum_opa_scat |
continuum_opacities_scattering |
No more an attribute |
|
|
|
|
continuum_opa_scat_emis |
continuum_opacities_scattering_emission |
No more an attribute |
|
|
|
|
continuum_opacities |
gas_continuum_contributors |
Now a property |
Contains continuum species names, not opacities; clouds are condensed continuum contributors |
|
|
|
contr_em |
emission_contribution |
No more an attribute (output in new additional_outputs) |
|
|
|
|
contr_tr |
transmission_contribution |
No more an attribute (output in new additional_outputs) |
|
|
|
|
contribution |
return_contribution |
|
|
|
|
|
COs |
co_ratios |
|
|
|
|
|
custom_diffPs |
_line_loaded_opacities['pressure_grid_size'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
custom_diffTs |
_line_loaded_opacities['temperature_grid_size'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
custom_grid |
_line_loaded_opacities['has_custom_tp_grid'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
custom_line_TP_grid |
_line_loaded_opacities['temperature_pressure_grid'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
dist |
cloud_particles_radius_distribution |
|
|
|
|
|
do_scat_emis |
scattering_in_emission |
Now a property |
|
|
|
|
emissivity |
emissivities |
No more an attribute, now an argument of calculate_flux |
|
|
|
|
FEHs |
log10_metallicities |
|
|
|
|
|
flux |
flux |
No more an attribute, returned from calc_flux |
|
|
|
|
freq |
frequencies |
Now an unsettable porperty |
|
|
|
|
freq_len |
<removed> |
|
Redundant with shape/size |
|
|
|
fsed |
cloud_f_sed |
No more an attribute |
|
|
|
|
g_gauss |
_line_loaded_opacities['g_gauss'] |
|
|
|
|
|
g_len |
<removed> |
|
Redundant with shape/size |
|
|
|
gamma_scat |
power_law_opacity_coefficient |
|
|
|
|
|
geometry |
emission_geometry |
No more an attribute, no more an argument of `__init__` |
It was re-set each time a spectrum is calculated |
|
|
|
give_absorption_opacity |
additional_absorption_opacities_function |
|
|
|
|
|
give_scattering_opacity |
additional_scattering_opacities_function |
|
|
|
|
|
gravity |
reference_gravity |
No more an attribute, added to `get_flux` |
It was re-set each time a spectrum is calculated |
|
|
|
gray_opacity |
- |
No more an attribute |
It was re-set each time a spectrum is calculated |
|
|
|
hack_cloud_photospheric_tau |
cloud_photosphere_median_optical_depth |
No more an attribute, no more an argument of `Radtrans` |
It was re-set each time a spectrum is calculated |
|
|
|
hack_cloud_total_abs |
cloud_absorption_opacities |
|
|
|
|
|
hack_cloud_total_scat_aniso |
cloud_anisotropic_scattering_opacities |
|
|
|
|
|
haze_factor |
- |
No more an attribute, added to `get_flux` |
It was re-set each time a spectrum is calculated |
|
|
|
kappa_rosseland |
opacities_rosseland |
No more an attribute (output in new additional_outputs) |
|
|
|
|
kappa_zero |
power_law_opacity_350nm |
|
|
|
|
|
kzz |
eddy_diffusion_coefficient |
|
|
|
|
|
lambda_angstroem |
<removed> |
Now calculated on the fly |
|
|
|
|
lbl_opacity_sampling |
line_by_line_opacity_sampling |
Now a property |
|
|
|
|
line_absorbers_present |
<removed> |
|
Redundant with shape/size |
|
|
|
line_abundances |
line_species_mass_fractions |
No more an attribute |
|
|
|
|
line_grid_kappas_custom_PT |
_line_loaded_opacities['opacity_grid'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
line_species |
- |
Now a property |
|
|
|
|
line_struc_kappas |
line_opacities |
No more an attribute |
|
|
|
|
line_struc_kappas_comb |
<removed> |
|
No actual use in code |
|
|
|
mmw |
mean_molar_masses |
No more an attribute |
It was re-set each time a spectrum is calculated |
|
|
|
mode |
line_opacity_mode |
Now a property |
|
|
|
|
mu |
emission_cos_angle_grid |
Added to `Radtrans` arguments |
|
|
|
|
mu_star |
star_irradiation_cos_angle |
No more an attribute, no more an argument of `Radtrans` |
It was re-set each time a spectrum is calculated |
|
|
|
p0_bar |
reference_pressure |
|
|
|
|
|
path_input_data |
- |
Now a property |
|
|
|
|
Pcloud |
opaque_cloud_top_pressure |
|
|
|
|
|
phot_radius |
photosphere_radius |
|
|
|
|
|
photon_destruction_prob |
photon_destruction_probabilities |
|
|
|
|
|
press |
pressures |
Now a property |
|
|
|
|
r_g |
clouds_particles_mean_radii |
No more an attribute (output in new additional_outputs) |
|
|
|
|
r_pl |
planet_radius |
|
|
|
|
|
r_star |
star_radius |
|
|
|
|
|
radius |
cloud_particles_mean_radius |
|
Argument of calculate_cloud_opacities |
|
|
|
radius |
cloud_particles_mean_radii |
|
Argument of calculate_flux, calculate_transit_radii, etc. |
|
|
|
radius_hse |
radius_hydrostatic_equilibrium |
No more an attribute (output in new additional_outputs) |
|
|
|
|
rayleigh_species |
- |
Now a property |
|
|
|
|
reflectance |
reflectances |
No more an attribute, now an argument of calculate_flux |
|
|
|
|
rho_cloud_particles |
cloud_particles_densities |
Now initialized (but not set) in `__init__` |
|
|
|
|
rho_cloud_particles |
_cloud_particles_densities |
|
|
|
|
|
scaling_physicality |
relative_cloud_scaling_factor |
No more an attribute (output in new additional_outputs) |
please bring back -> done |
|
|
|
scat |
__scattering_in_transmission |
|
|
|
|
|
semimajoraxis |
orbit_semi_major_axis |
No more an argument of `Radtrans` |
It was re-set each time a spectrum is calculated |
|
|
|
skip_RT_step |
<removed> |
|
Unreachable branch |
|
|
|
star_inclination_angle |
star_irradiation_angle |
|
|
|
|
|
stellar_intensity |
- |
No more an argument of `Radtrans` |
It was re-set each time a spectrum is calculated |
|
|
|
t_star |
star_effective_temperature |
|
|
|
|
|
tau_cloud |
cloud_opacities |
No more an attribute (output in new additional_outputs) |
|
|
|
|
tau_rosse |
optical_depths_rosseland |
No more an attribute (output in new additional_outputs) |
|
|
|
|
temp |
temperatures |
|
|
|
|
|
temperatures |
- |
No more an attribute |
It was re-set each time a spectrum is calculated |
|
|
|
test_ck_shuffle_comp |
<removed> |
|
|
|
|
|
total_tau |
optical_depths |
No more an attribute |
It was re-set each time a spectrum is calculated |
|
|
|
transm_rad |
transit_radii |
|
|
|
|
|
use_detailed_line_absorber_names |
<removed> |
Now a property |
|
|
|
|
w_gauss |
_line_loaded_opacities['weights_gauss'] |
Now initialized (but not set) in `__init__` |
|
|
|
|
w_mu_gauss |
emission_cos_angle_grid_weights |
Added to `Radtrans` arguments |
|
|
|
|
wlen_bords_micron |
wavelength_boundaries |
Now a property |
|
|
|
|