Skip to content

Commit

Permalink
Merge pull request #106 from SWIFTSIM/add-stellar-birth-temperature-f…
Browse files Browse the repository at this point in the history
…ield-to-translator

Register stellar birth temperature fields in translator.py
  • Loading branch information
EvgeniiChaikin authored Jan 12, 2024
2 parents 0d6e404 + ba79597 commit 7ad798e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions velociraptor/catalogue/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,18 @@ def VR_to_SOAP(particle_property_name: str) -> str:
"fofsubhaloproperties.maximumstellarbirthdensity",
-1,
),
"stellar_birth_temperatures.logaverage": (
"fofsubhaloproperties.logarithmicallyaveragedstellarbirthtemperature",
-1,
),
"stellar_birth_temperatures.min": (
"fofsubhaloproperties.minimumstellarbirthtemperature",
-1,
),
"stellar_birth_temperatures.max": (
"fofsubhaloproperties.maximumstellarbirthtemperature",
-1,
),
"snii_thermal_feedback_densities.max": (
"fofsubhaloproperties.lastsupernovaeventmaximumgasdensity",
-1,
Expand Down

0 comments on commit 7ad798e

Please sign in to comment.