Skip to content

cmlamman/spec-IA

Repository files navigation

spec-IA

This repository contains tools for measuring intrinsic alignments of galaxies and galaxy groups in spectroscopic data.

Installation

spec-IA requires Python and the following libraries:

  • NumPy
  • Matplotlib
  • Pandas
  • SciPy
  • Astropy
  • Corrfunc (optional, for correlation functions)

These can be installed through pip:

bash pip install numpy matplotlib pandas scipy astropy

or conda:

bash conda install numpy matplotlib pandas scipy astropy

The repository can be cloned via

bash git clone https://github.com/cmlamman/spec-IA

Multiplet Alignment

gal_groups.py contains functions for identifying and measuring the alignment of galaxy multiplets. The alignment estimator is defined as the projected orienation of groups relative to a tracer sample, $\cos(2\Theta)$, as a function of projected separation $R$. A high-level example of this for a galaxy catalog can be found in basic_multiplet_alignment.ipynb. A quick version for simulation data can be round in basic_multiplet_alignment-sims.ipynb

The minimum to run these basic functions is a catalog with the columns RA, DEC (in degrees) and Z (redshift) or 3D comoving coordinates (in Mpc/h).

schematic

About

Tools for measuring Intrinsic Alignments in spectroscopic data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published