gmm-quiescent

Simple code to assign a probability of quiescence to a galaxy given its rest frame NUV,U,V,J fluxes using a Gaussian Mixture Model

https://github.com/kmlgould/gmm-quiescent

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
    Links to: iop.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Simple code to assign a probability of quiescence to a galaxy given its rest frame NUV,U,V,J fluxes using a Gaussian Mixture Model

Basic Info
  • Host: GitHub
  • Owner: kmlgould
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 134 KB
Statistics
  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme Citation

README.md

GMM-quiescent

This repo contains a tool for probabilistic selection of quiescent galaxies at z>2 from photometric data.

The basics of colour selections

The most straight forward way to select a sample of quiescent galaxies from a photometric catalog is using criteria based on colour, e.g. the classical rest frame UVJ method (Whitaker et al., 2012, Williams et al., 2009), which requires galaxies to have red colours (i.e, U-V and V-J are positive). The foundation of colour selections is great because essentially you're measuring the shape of the observed SED (if your rest frame colours are calculated via some kind of interpolation method), and rest frame colours are relatively fast and easy to compute. Then, making a binary selection based on these properties is also fast and easy.

Why probabilistic selection?

The idea behind probabilistic selection is that each galaxy occupies a locus in colour space because of the uncertainties, and the intrinsic galaxy populations cluster in those spaces in a way that can be modelled using N dimensional Gaussians, where each Gaussian represents a colour. You can then use these pieces of information to make flexible (or strict) population samples. This can come in handy when the observed colour space has large scatter, because instead of galaxies being assigned to a population based on the chance they fall on one side of a dividing line, the "blurriness" is taken into account.

How does it work?

In this case, I computed the boot strapped* NUV-U, U-V and V-J colours of massive (log(mstar/msun)>10.6) galaxies at 2<z<3 and then fit the colour space with a Gaussian Mixture Model. The number of components is unimportant, what we care about is the probability of each galaxy to be contained within the cloud we expect quiescent galaxies to occupy. Because its calculated using the boot strapped colours, you can decide not only how far into this cloud the galaxy needs to be, but also how much of the galaxy's colour distribution needs to be inside this cloud.

  • Assume rest frame fluxes X,Y and their uncertainities Xe,Ye are the mean and standard deviation of a normal distribution and draw samples from each distribution to create a distribution of colour X-Y

How do I use it?

In numbers, this means deciding a threshold T (0<T<1) for how far into the cloud, and a p(q) percentile that has to be above that threshold. The model returns the 1 and 2 sigma percentiles as well as the median p(q), so all you need to do is decide how strict you want to be.

If you don't want to think about that, you can also use the thresholds in Gould et al., 2023 or Valentino et al., 2023

Please see the tutorial notebook for a walk through example.

If you use this code, please cite the following works:

Gould et al., 2023 Valentino et al., 2023

This method uses the GMM tool from SciKit Learn, so I also suggest you cite that too:

Scikit-learn: Machine Learning in Python, Pedregosa et al., JMLR 12, pp. 2825-2830, 2011.

Owner

  • Name: Katriona Gould
  • Login: kmlgould
  • Kind: user
  • Location: Copenhagen

PhD student at DAWN, Copenhagen, interested in high redshift galaxies, quenching, and SED fitting

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Gould"
  given-names: "Katriona M. L."
  orcid: "https://orcid.org/0000-0003-4196-5960"
title: "GMM-quiescent"
version: 1.0.0
doi: 10.5281/zenodo.7712937
date-released: 2023-05-11
url: "https://github.com/kmlgould/GMM-quiescent"

GitHub Events

Total
Last Year