GithubHelp home page GithubHelp logo

jravis / dla_script Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbird/dla_script

0.0 1.0 0.0 854 KB

A collection of scripts for analyzing DLAs, as used in arxiv:1209.2118

Python 90.97% Perl 0.33% C++ 8.29% Makefile 0.40%

dla_script's Introduction

This is a collection of python scripts for analyzing DLAs, 
as used to generate the plots in 1209.2118.
Depends on numpy, scipy, matplotlib and h5py.

Particle data (not included) is assumed to be HDF5 snapshot outputs of Gadget or Arepo.
SPH interpolation can be accelerated using scipy.weave, as the pure python version is unreasonably slow.

halohi.py contains functions for calculating various useful properties of DLAs.

dla_plots.py contains plotting functions

make_dla_plots.py contains a script for making the particular plots in the paper. 

cold_gas.py has the implementation of the self-shielding correction.

Because making the plots is significantly faster than doing the SPH interpolation, 
and will normally be done significantly more often, there is a facility for saving 
the computed column density grids to an hdf5 file and loading them again. 
make_a_grid.py performs the interpolation, and make_all_grids.pl submits jobs 
to do this to the IAS cluster.

There are also a few files to do Lyman-alpha forest analyses. 

dla_script's People

Contributors

sbird avatar rainwoodman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.