Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move link_t_rad_t_electron to config file #2008

Merged
merged 4 commits into from
May 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ Shilpi Prasad <[email protected]> Shilpi <[email protected]

Sourav Singh <[email protected]>

Sona Chitchyan <[email protected]>

Srinath Rajagopalan <[email protected]>
Srinath Rajagopalan <[email protected]>
Srinath Rajagopalan <[email protected]> Srinath R <[email protected]>
Expand Down
4 changes: 4 additions & 0 deletions tardis/io/schemas/plasma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ properties:
type: string
default: none
description: Path to file containing heating rate/light curve data.
link_t_rad_t_electron:
type: number
default: 0.9
description: Value used for estimating the electron temperature from radiation temperature.
required:
- ionization
- excitation
Expand Down
2 changes: 1 addition & 1 deletion tardis/plasma/standard_plasmas.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def assemble_plasma(config, model, atom_data=None):
atomic_data=atom_data,
time_explosion=model.time_explosion,
w=model.dilution_factor,
link_t_rad_t_electron=0.9,
link_t_rad_t_electron=config.plasma.link_t_rad_t_electron,
continuum_interaction_species=continuum_interaction_species,
)

Expand Down