Skip to content

Commit e1c3cc4

Browse files
committed
Updated atomicMolecularTransition with references
1 parent fbbd100 commit e1c3cc4

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/plotting/convenience.jl

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4230,6 +4230,13 @@ Plot the atomic to molecular gas transition for a set of metallicity ranges.
42304230
- `trans_mode::Union{Symbol,Tuple{TranslationType,RotationType,Dict{Symbol,Vector{String}}}}=:all_box`: How to translate and rotate the cells/particles, before filtering with `filter_mode`. For options see [`selectTransformation`](@ref).
42314231
- `filter_mode::Union{Symbol,Tuple{Function,Dict{Symbol,Vector{String}}}}=:all`: Which cells/particles will be selected. For options see [`selectFilter`](@ref).
42324232
- `theme::Attributes=Theme()`: Plot theme that will take precedence over [`DEFAULT_THEME`](@ref).
4233+
4234+
# References
4235+
4236+
C. Christensen et al. (2012). *Implementing molecular hydrogen in hydrodynamic simulations of galaxy formation*. Monthly Notices of the Royal Astronomical Society, **425(4)**, 3058–3076. [doi:10.1111/j.1365-2966.2012.21628.x](https://doi.org/10.1111/j.1365-2966.2012.21628.x)
4237+
4238+
N. Y. Gnedin et al. (2011). *ENVIRONMENTAL DEPENDENCE OF THE KENNICUTT-SCHMIDT RELATION IN GALAXIES*. The Astrophysical Journal, **728(2)**, 88. [doi:10.1088/0004-637x/728/2/88](https://doi.org/10.1088/0004-637x/728/2/88)
4239+
42334240
"""
42344241
function atomicMolecularTransition(
42354242
simulation_paths::Vector{String},
@@ -4245,15 +4252,17 @@ function atomicMolecularTransition(
42454252
for simulation_path in simulation_paths
42464253

42474254
# Set some plotting parameters
4255+
# See Fig. 2 and 3 of Christensen et al. (2012)
4256+
# See Fig. 1 of Gnedin et al. (2011)
42484257
if isSimSFM(simulation_path)
42494258

4250-
x_quantity = :ode_atomic_number_density
4251-
y_quantity = ratio(:ode_molecular_stellar_mass, :ode_neutral_mass)
4259+
x_quantity = :gas_number_density
4260+
y_quantity = :ode_molecular_stellar_fraction
42524261

42534262
else
42544263

4255-
x_quantity = :br_atomic_number_density
4256-
y_quantity = ratio(:br_molecular_mass, :neutral_mass)
4264+
x_quantity = :gas_number_density
4265+
y_quantity = :br_molecular_fraction
42574266

42584267
end
42594268

0 commit comments

Comments
 (0)