diff --git a/colibre/auto_plotter/metallicity.yml b/colibre/auto_plotter/metallicity.yml index a61b1573..18936cc9 100644 --- a/colibre/auto_plotter/metallicity.yml +++ b/colibre/auto_plotter/metallicity.yml @@ -606,374 +606,6 @@ stellar_mass_gas_sf_metallicity_lom_allgals_50: - filename: GalaxyStellarMassGasMetallicity/Scholte2024.hdf5 - filename: GalaxyStellarMassGasMetallicity/Sarkar2024.hdf5 - -stellar_mass_gas_nitrogen_over_total_oxygen_lom_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing total (dust + diffuse) component, LoM." - y: - quantity: "derived_quantities.gas_n_over_o_abundance_total_avglin_50_kpc" - log: false - units: "dimensionless" - start: -3 - end: 0.5 - x: - quantity: "apertures.mass_star_50_kpc" - units: solar_mass - start: 1e6 - end: 1e12 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 1e6 - units: solar_mass - end: - value: 1e12 - units: solar_mass - metadata: - title: "Stellar mass - Gas Total (Dust + Diffuse) Nitrogen over Oxygen relation (log-of-mean, 50 kpc aperture, cold, dense gas only)" - caption: Shown for galaxies with cold, dense gas. No minimum metallicity is imposed. All haloes are plotted, including subhaloes. This uses total element mass fractions, meaning that it includes all metals (in dust and diffuse components). This figure shows the log-of-mean, which means it first calculates the mass weighted average of N/O for each galaxy and then calculates the log. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/HaydenPawson_2022a.hdf5 - -stellar_mass_gas_nitrogen_over_oxygen_lom_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing diffuse component, LoM." - y: - quantity: "derived_quantities.gas_n_over_o_abundance_avglin_50_kpc" - log: false - units: "dimensionless" - start: -3 - end: 0.5 - x: - quantity: "apertures.mass_star_50_kpc" - units: solar_mass - start: 1e6 - end: 1e12 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 1e6 - units: solar_mass - end: - value: 1e12 - units: solar_mass - metadata: - title: "Stellar mass - Gas Diffuse Nitrogen over Oxygen relation (log-of-mean, 50 kpc aperture, cold, dense gas only)" - caption: Shown for galaxies with cold, dense gas. No minimum metallicity is imposed. All haloes are plotted, including subhaloes. This uses diffused element mass fractions, meaning that it does not include metals that are present in dust. This figure shows the log-of-mean, which means it first calculates the mass weighted average of N/O for each galaxy and then calculates the log. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/HaydenPawson_2022a.hdf5 - -stellar_mass_gas_nitrogen_over_oxygen_hifloor_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing diffuse component. High floor mask" - y: - quantity: "derived_quantities.gas_n_over_o_abundance_avglog_high_50_kpc" - log: false - units: "dimensionless" - start: -3 - end: 0.5 - x: - quantity: "apertures.mass_star_50_kpc" - units: solar_mass - start: 1e6 - end: 1e12 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 1e6 - units: solar_mass - end: - value: 1e12 - units: solar_mass - metadata: - title: "Stellar mass - Gas Diffuse Nitrogen over Oxygen relation (mean-of-log, 50 kpc aperture)" - caption: Shown for galaxies with cold, dense gas. The floor value is set to 1e-3 x (N/O)sun. All haloes are plotted, including subhaloes. This uses diffused element abundances, i.e. it does not include metals that are present in dust. Note that this figure shows the mean-of-log, which means it calculates the mass weighted of log(N/O) for each galaxy. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/HaydenPawson_2022a.hdf5 - -stellar_mass_gas_nitrogen_over_oxygen_lofloor_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing diffuse component. Low floor mask" - y: - quantity: "derived_quantities.gas_n_over_o_abundance_avglog_low_50_kpc" - log: false - units: "dimensionless" - start: -3 - end: 0.5 - x: - quantity: "apertures.mass_star_50_kpc" - units: solar_mass - start: 1e6 - end: 1e12 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 1e6 - units: solar_mass - end: - value: 1e12 - units: solar_mass - metadata: - title: "Stellar mass - Gas Diffuse Nitrogen over Oxygen relation (mean-of-log, 50 kpc aperture)" - caption: Shown for galaxies with cold, dense gas. The floor value is set to 1e-4 x (N/O)sun. All haloes are plotted, including subhaloes. These quantities do not include metals that are present in dust. Note that this figure shows the mean-of-log, which means it calculates the mass weighted of log(N/O) for each galaxy. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/HaydenPawson_2022a.hdf5 - -gas_metallicity_gas_nitrogen_over_total_oxygen_lom_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing total (dust + diffuse) component. LoM." - y: - quantity: "derived_quantities.gas_n_over_o_abundance_total_avglin_50_kpc" - log: false - units: "dimensionless" - start: -3 - end: 0.5 - x: - quantity: "derived_quantities.gas_o_abundance_total_avglin_50_kpc" - log: false - units: "dimensionless" - start: 7 - end: 10 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 7 - units: "dimensionless" - end: - value: 10 - units: "dimensionless" - metadata: - title: "Total Gas metallicity - Total Gas Nitrogen over Oxygen relation (log-of-mean, 50 kpc aperture, Only dense gas)" - caption: Shown for galaxies with cold, dense gas. Metallicity is represented by 12 + $\log_{10}$ O/H (where $\log_{10}$ O/H is averaged between gas particles with a [O/H]=-3 floor for diffuse O) of the cold, dense gas ($T < 10^{4.5}\;{\rm K}$, $n_{\rm H} > 0.1 \; {\rm cm^{-3}}$). No minimum metallicity is imposed. All haloes are plotted, including subhaloes. This uses total gas metallicity, i.e. it also includes metals that are present in dust. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/HaydenPawson_2022b.hdf5 - - filename: GalaxyStellarMassGasMetallicity/Nicholls_2017b.hdf5 - - filename: GalaxyStellarMassGasMetallicity/Berg_2020.hdf5 - - -gas_metallicity_gas_nitrogen_over_oxygen_lom_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing diffuse component. LoM." - y: - quantity: "derived_quantities.gas_n_over_o_abundance_avglin_50_kpc" - log: false - units: "dimensionless" - start: -3 - end: 0.5 - x: - quantity: "derived_quantities.gas_o_abundance_avglin_50_kpc" - log: false - units: "dimensionless" - start: 7 - end: 10 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 7 - units: "dimensionless" - end: - value: 10 - units: "dimensionless" - metadata: - title: "Diffuse Gas metallicity - Diffuse Gas Nitrogen over Oxygen relation (log-of-mean, 50 kpc aperture, Only dense gas)" - caption: Shown for galaxies with cold, dense gas. Metallicity is represented by 12 + $\log_{10}$ O/H (where $\log_{10}$ O/H is averaged between gas particles with a [O/H]=-3 floor for diffuse O) of the cold, dense gas ($T < 10^{4.5}\;{\rm K}$, $n_{\rm H} > 0.1 \; {\rm cm^{-3}}$). No minimum metallicity is imposed. All haloes are plotted, including subhaloes. This uses depleted gas metallicity, i.e. it does not include metals that are present in dust. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/HaydenPawson_2022b.hdf5 - - filename: GalaxyStellarMassGasMetallicity/Nicholls_2017b.hdf5 - - filename: GalaxyStellarMassGasMetallicity/Berg_2020.hdf5 - - -gas_metallicity_gas_nitrogen_over_oxygen_lofloor_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing diffuse component. LoM." - y: - quantity: "derived_quantities.gas_n_over_o_abundance_avglog_low_50_kpc" - log: false - units: "dimensionless" - start: -3 - end: 0.5 - x: - quantity: "derived_quantities.gas_o_abundance_avglog_low_50_kpc" - log: false - units: "dimensionless" - start: 7 - end: 10 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 7 - units: "dimensionless" - end: - value: 10 - units: "dimensionless" - metadata: - title: "Diffuse Gas metallicity - Diffuse Gas Nitrogen over Oxygen relation (mean-of-log, 50 kpc aperture)" - caption: Only shown for galaxies with cold, dense gas. Metallicity is represented by 12 + $\log_{10}$ O/H (where $\log_{10}$ O/H is averaged between gas particles with a [O/H]=-4 floor for diffuse O) of the cold, dense gas ($T < 10^{4.5}\;{\rm K}$, $n_{\rm H} > 0.1 \; {\rm cm^{-3}}$). The floor values are set to 1e-4 x (N/O)sun and 1e-4 x (O/H)sun. All haloes are plotted, including subhaloes. This uses depleted gas metallicity, i.e. it does not include metals that are present in dust. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/HaydenPawson_2022b.hdf5 - - filename: GalaxyStellarMassGasMetallicity/Nicholls_2017b.hdf5 - - filename: GalaxyStellarMassGasMetallicity/Berg_2020.hdf5 - -gas_metallicity_gas_nitrogen_over_oxygen_hifloor_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing diffuse component. High floor mask." - y: - quantity: "derived_quantities.gas_n_over_o_abundance_avglog_high_50_kpc" - log: false - units: "dimensionless" - start: -3 - end: 0.5 - x: - quantity: "derived_quantities.gas_o_abundance_avglog_high_50_kpc" - log: false - units: "dimensionless" - start: 7 - end: 10 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 7 - units: "dimensionless" - end: - value: 10 - units: "dimensionless" - metadata: - title: "Diffuse Gas metallicity - Diffuse Gas Nitrogen over Oxygen relation (mean-of-log, 50 kpc aperture)" - caption: Only shown for galaxies with cold, dense gas. Metallicity is represented by 12 + $\log_{10}$ O/H (where $\log_{10}$ O/H is averaged between gas particles with a [O/H]=-3 floor for diffuse O) of the cold, dense gas ($T < 10^{4.5}\;{\rm K}$, $n_{\rm H} > 0.1 \; {\rm cm^{-3}}$). The floor values are set to 1e-3 x (N/O)sun and 1e-3 x (O/H)sun. All haloes are plotted, including subhaloes. This uses depleted gas metallicity, i.e. it does not include metals that are present in dust. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/HaydenPawson_2022b.hdf5 - - filename: GalaxyStellarMassGasMetallicity/Nicholls_2017b.hdf5 - - filename: GalaxyStellarMassGasMetallicity/Berg_2020.hdf5 - -gas_metallicity_gas_carbon_over_oxygen_lom_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing diffuse component. LoM." - y: - quantity: "derived_quantities.gas_c_over_o_abundance_avglin_50_kpc" - log: false - units: "dimensionless" - start: -2 - end: 1 - x: - quantity: "derived_quantities.gas_o_abundance_avglin_50_kpc" - log: false - units: "dimensionless" - start: 7 - end: 10 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 7 - units: "dimensionless" - end: - value: 10 - units: "dimensionless" - metadata: - title: "Diffuse Gas metallicity - Diffuse Gas Carbon over Oxygen relation (log-of-mean, 50 kpc aperture, only cold dense gas)" - caption: Only shown for galaxies with cold, dense gas. Metallicity is represented by 12 + $\log_{10}$ O/H (where $\log_{10}$ O/H is averaged between gas particles for diffuse O) of the cold, dense gas ($T < 10^{4.5}\;{\rm K}$, $n_{\rm H} > 0.1 \; {\rm cm^{-3}}$). No minimum metallicity is imposed. All haloes are plotted, including subhaloes. This uses depleted gas metallicity, i.e. it does not include metals that are present in dust. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/Nicholls_2017a.hdf5 - -gas_metallicity_gas_carbon_over_oxygen_total_lom_50_kpc: - type: "scatter" - legend_loc: "upper left" - selection_mask: "derived_quantities.has_cold_dense_gas_50_kpc" - comment: "All galaxies with cold dense gas, showing total (dust + diffuse). LoM." - y: - quantity: "derived_quantities.gas_c_over_o_abundance_total_avglin_50_kpc" - log: false - units: "dimensionless" - start: -2 - end: 1 - x: - quantity: "derived_quantities.gas_o_abundance_total_avglin_50_kpc" - log: false - units: "dimensionless" - start: 7 - end: 10 - median: - plot: true - log: true - adaptive: true - number_of_bins: 30 - start: - value: 7 - units: "dimensionless" - end: - value: 10 - units: "dimensionless" - metadata: - title: "Total Gas metallicity - Total (Dust + Diffuse) Gas Carbon over Oxygen relation (log-of-mean, 50 kpc aperture, only cold dense gas)" - caption: Only shown for galaxies with cold, dense gas. Metallicity is represented by 12 + $\log_{10}$ O/H (where $\log_{10}$ O/H is averaged between gas particles for diffuse O) of the cold, dense gas ($T < 10^{4.5}\;{\rm K}$, $n_{\rm H} > 0.1 \; {\rm cm^{-3}}$). No minimum metallicity is imposed. All haloes are plotted, including subhaloes. This uses total gas metallicity, i.e. it includes metals that are present in dust. - section: Gas Metallicity - show_on_webpage: true - observational_data: - - filename: GalaxyStellarMassGasMetallicity/Nicholls_2017a.hdf5 - - stellar_mass_star_metallicity_50: type: "scatter" legend_loc: "upper left" diff --git a/colibre/registration.py b/colibre/registration.py index f9329053..9c12917b 100644 --- a/colibre/registration.py +++ b/colibre/registration.py @@ -877,199 +877,6 @@ def register_star_Mg_and_O_to_Fe(self, catalogue, aperture_sizes): return - -def register_nitrogen_to_oxygen(self, catalogue, aperture_sizes): - # Loop over aperture average-of-linear N/O-abundances - for aperture_size in aperture_sizes: - - for short_phase, long_phase in zip( - ["_total", ""], ["Total (Diffuse + Dust)", "Diffuse"] - ): - - # Fetch N over O times gas mass computed in apertures. The - # mass ratio between N and O has already been accounted for. - log_N_over_O_times_gas_mass = catalogue.get_quantity( - f"lin_element_ratios_times_masses.lin_N_over_O{short_phase}_times_gas_mass_{aperture_size}_kpc" - ) - # Fetch gas mass in apertures, here we are calling cold gas - # that is part of the ISM and that is considered in the calculation of - # lin_N_over_O_times_gas_mass - gas_cold_dense_mass = catalogue.get_quantity( - f"cold_dense_gas_properties.cold_dense_gas_mass_{aperture_size}_kpc" - ) - # Needed because of https://github.com/SWIFTSIM/SOAP/pull/120 - if ( - log_N_over_O_times_gas_mass.units.dimensions - != unyt.Msun.units.dimensions - ): - log_N_over_O_times_gas_mass = ( - log_N_over_O_times_gas_mass * gas_cold_dense_mass - ) - - # Compute gas-mass weighted O over H - log_N_over_O = unyt.unyt_array( - np.zeros_like(gas_cold_dense_mass), "dimensionless" - ) - - # Avoid division by zero - mask = gas_cold_dense_mass > 0.0 * gas_cold_dense_mass.units - log_N_over_O[mask] = np.log10( - log_N_over_O_times_gas_mass[mask] / gas_cold_dense_mass[mask] - ) - - log_N_over_O.name = ( - f"{long_phase} Gas $\\log_{{10}}({{\\rm N/O}})$ ({aperture_size} kpc)" - ) - - # Register the field - setattr( - self, - f"gas_n_over_o_abundance{short_phase}_avglin_{aperture_size}_kpc", - log_N_over_O, - ) - setattr(self, f"has_cold_dense_gas_{aperture_size}_kpc", mask) - - # register average-of-log O-abundances (high and low particle floors) - for floor, floor_label in zip( - ["low", "high"], ["Min = $10^{{-4}}$", "Min = $10^{{-3}}$"] - ): - # Fetch N over O times gas mass computed in apertures. - # Note that here we are calling the diffuse quantities - log_N_over_O_times_gas_mass = catalogue.get_quantity( - f"log_element_ratios_times_masses.log_N_over_O_times_gas_mass_{floor}floor_{aperture_size}_kpc" - ) - # Fetch gas mass in apertures - gas_cold_dense_mass = catalogue.get_quantity( - f"cold_dense_gas_properties.cold_dense_gas_mass_{aperture_size}_kpc" - ) - # Needed because of https://github.com/SWIFTSIM/SOAP/pull/120 - if ( - log_N_over_O_times_gas_mass.units.dimensions - != unyt.Msun.units.dimensions - ): - log_N_over_O_times_gas_mass = ( - np.log10(log_N_over_O_times_gas_mass) * gas_cold_dense_mass - ) - - # Compute gas-mass weighted N over O - log_N_over_O = unyt.unyt_array( - np.zeros_like(gas_cold_dense_mass), "dimensionless" - ) - # Avoid division by zero - mask = gas_cold_dense_mass > 0.0 * gas_cold_dense_mass.units - log_N_over_O[mask] = ( - log_N_over_O_times_gas_mass[mask] / gas_cold_dense_mass[mask] - ) - - # Convert to units used in observations - N_abundance = unyt.unyt_array(log_N_over_O, "dimensionless") - N_abundance.name = f"Diffuse Gas $\\log_{{10}}({{\\rm N/O}})$ ({floor_label}, {aperture_size} kpc)" - - # Register the field - setattr( - self, - f"gas_n_over_o_abundance_avglog_{floor}_{aperture_size}_kpc", - N_abundance, - ) - setattr(self, f"has_cold_dense_gas_{aperture_size}_kpc", mask) - - return - - -def register_carbon_to_oxygen(self, catalogue, aperture_sizes): - # Loop over aperture average-of-linear C/O-abundances - for aperture_size in aperture_sizes: - - for short_phase, long_phase in zip( - ["_total", ""], ["Total (Diffuse + Dust)", "Diffuse"] - ): - # Fetch C over O times gas mass computed in apertures. The - # mass ratio between N and O has already been accounted for. - log_C_over_O_times_gas_mass = catalogue.get_quantity( - f"lin_element_ratios_times_masses.lin_C_over_O{short_phase}_times_gas_mass_{aperture_size}_kpc" - ) - # Fetch gas mass in apertures - gas_cold_dense_mass = catalogue.get_quantity( - f"cold_dense_gas_properties.cold_dense_gas_mass_{aperture_size}_kpc" - ) - # Needed because of https://github.com/SWIFTSIM/SOAP/pull/120 - if ( - log_C_over_O_times_gas_mass.units.dimensions - != unyt.Msun.units.dimensions - ): - log_C_over_O_times_gas_mass = ( - log_C_over_O_times_gas_mass * gas_cold_dense_mass - ) - - # Compute gas-mass weighted O over H - log_C_over_O = unyt.unyt_array( - np.zeros_like(gas_cold_dense_mass), "dimensionless" - ) - # Avoid division by zero - mask = gas_cold_dense_mass > 0.0 * gas_cold_dense_mass.units - log_C_over_O[mask] = np.log10( - log_C_over_O_times_gas_mass[mask] / gas_cold_dense_mass[mask] - ) - - log_C_over_O.name = ( - f"{long_phase} Gas $\\log_{{10}}({{\\rm C/O}})$ ({aperture_size} kpc)" - ) - - # Register the field - setattr( - self, - f"gas_c_over_o_abundance{short_phase}_avglin_{aperture_size}_kpc", - log_C_over_O, - ) - setattr(self, f"has_cold_dense_gas_{aperture_size}_kpc", mask) - - # register average-of-log O-abundances (high and low particle floors) - for floor, floor_label in zip( - ["low", "high"], ["Min = $10^{{-4}}$", "Min = $10^{{-3}}$"] - ): - # Fetch C over O times gas mass computed in apertures. - # Note that here we are calling the diffuse quantities. - log_C_over_O_times_gas_mass = catalogue.get_quantity( - f"log_element_ratios_times_masses.log_C_over_O_times_gas_mass_{floor}floor_{aperture_size}_kpc" - ) - # Fetch gas mass in apertures - gas_cold_dense_mass = catalogue.get_quantity( - f"cold_dense_gas_properties.cold_dense_gas_mass_{aperture_size}_kpc" - ) - # Needed because of https://github.com/SWIFTSIM/SOAP/pull/120 - if ( - log_C_over_O_times_gas_mass.units.dimensions - != unyt.Msun.units.dimensions - ): - log_C_over_O_times_gas_mass = ( - np.log10(log_C_over_O_times_gas_mass) * gas_cold_dense_mass - ) - - # Compute gas-mass weighted O over H - log_C_over_O = unyt.unyt_array( - np.zeros_like(gas_cold_dense_mass), "dimensionless" - ) - # Avoid division by zero - mask = gas_cold_dense_mass > 0.0 * gas_cold_dense_mass.units - log_C_over_O[mask] = ( - log_C_over_O_times_gas_mass[mask] / gas_cold_dense_mass[mask] - ) - - # Convert to units used in observations - C_abundance = unyt.unyt_array(log_C_over_O, "dimensionless") - C_abundance.name = f"Diffuse Gas $\\log_{{10}}({{\\rm C/O}})$ ({floor_label}, {aperture_size} kpc)" - - # Register the field - setattr( - self, - f"gas_c_over_o_abundance_avglog_{floor}_{aperture_size}_kpc", - C_abundance, - ) - setattr(self, f"has_cold_dense_gas_{aperture_size}_kpc", mask) - - return - - def register_oxygen_to_hydrogen(self, catalogue, aperture_sizes): # Loop over aperture average-of-linear O-abundances for aperture_size in aperture_sizes: @@ -1971,8 +1778,6 @@ def register_SNIa_rates(self, catalogue, aperture_sizes): register_stellar_to_halo_mass_ratios(self, catalogue, aperture_sizes_30_50_100_kpc) register_projected_stellar_masses(self, catalogue, aperture_sizes_10_30_50_100_kpc) register_oxygen_to_hydrogen(self, catalogue, aperture_sizes_30_50_100_kpc) -register_nitrogen_to_oxygen(self, catalogue, aperture_sizes_30_50_100_kpc) -register_carbon_to_oxygen(self, catalogue, aperture_sizes_30_50_100_kpc) register_cold_dense_gas_metallicity( self, catalogue,