Python files to analyse data from the EAGLE simulation.
Hello :) This folder contains Python code (2.7.9), that does the following:
- Create a 2D array of column densities from an EAGLE snapshot
- Plot the column density distribution functions of a 2D array of Column densities.
- Group cells in the 2D array (from 1) using a Friends of Friends Algorithm.
- Plot the auto-correlation of LLSs in a 2D array.
- Plot the auto and cross correlation of LLSs and galaxies.
- Open "CreateGrid.py" and change the parameters under the header "SET ME !!!".
- Run "CreateGrid.py". (will take a long time)
- Open "CorrelateGrid.py" and change the parameters under "SET ME !!!".
- Run "CorrelateGrid.py" Repeat for steps 3 and 4 for other files.
CreateGrid : Code to project an EAGLE snapshot into a 2D grid. CorrelateGrid : All correlation related code MiscellaneousFunctions : Ancillary functions PhysicalConstants : All relevant physical constants, like the speed of light, in cgs units SnapshotParameters : Class & Object for storing snapshot related information. FoF2 : Use a Friends of friends algorithm to produce groups of LLSs. Histogram : Produce plots of the column density distribution function and its first moment. Voigt : Simulate absorption by Hydrogen gas (Lyman series only) for an initially flat spectra.
Files are provided "as is". Author: Matt Law