astrochun / Metallicity_Stack_Commons

Set of common codes used in metallicity studies that use stacking techniques
MIT License
0 stars 1 forks source link

Code to consistently handle individual detections using composite measurements of electron temperature #21

Closed astrochun closed 4 years ago

astrochun commented 4 years ago

Created: feature/composite_indv_detect. The code should:

  1. Work with R_23+O_32 stacked results
  2. Work with M*+L(Hbeta) stacked results

The code should be as generic as possible to consider a number of possibilities.

astrochun commented 4 years ago

Started from this code

astrochun commented 4 years ago

Awaiting review/testing by @Reagen and @cmccormick1

astrochun commented 4 years ago

After discussion with @cmccormick1, the working code that contains stacked ID and Temperature is: derived_properties_metallicities.tbl

Note: The sample of individual galaxies/spectra includes those without reliable line measurements. Thus, a filtering is needed to avoid providing metallicity for those galaxies. The average T_e can be provided since that is based on the composite information for the respective bin. This is done in the below commit 0eb57a3

astrochun commented 4 years ago

Need to import column_names module for names

astrochun commented 4 years ago

See 2d3bf60 for bin_ID inclusion, and 2d3bf60 for using of Detection column name and slight change in np.where statement for detection cases.

astrochun commented 4 years ago

Need to write a new table for individual derived properties with ID, bin_ID, T_e, OII/Hb, OIII/Hb, and five different metallicity including 12+logO/H.