Git Product home page Git Product logo

pylians's Introduction

Pylians

Pylians stands for Python libraries for the analysis of numerical simulations. They are a set of python libraries, written in python, cython and C, whose purposes is to facilitate the analysis of numerical simulations (both N-body and hydro). Among other things, they can be used to:

  • Compute density fields
  • Compute power spectra
  • Compute bispectra
  • Compute correlation functions
  • Identify voids
  • Populate halos with galaxies using an HOD
  • Apply HI+H2 corrections to the output of hydrodynamic simulations
  • Make 21cm maps
  • Compute DLAs column density distribution functions
  • Plot density fields and make movies

Pylians were the native or inhabitant of the Homeric town of Pylos.

Notice that Pylians only works with python2. For a python3 version see Pylians3.

From 2020 only Pylians3 will be supported/updated.

Requisites

  • numpy
  • scipy
  • h5py
  • pyfftw
  • mpi4py
  • cython
  • openmp

We recommend installing the first packages with anaconda.

Installation

cd library
python setup.py build

The compiled libraries and scripts are in build/lib.XXX, where XXX depends on your machine. E.g. build/lib.linux-x86_64-2.7 or build/lib.macosx-10.7-x86_64-2.7

Add that folder to your PYTHONPATH in ~/.bashrc

export PYTHONPATH=$PYTHONPATH:$HOME/Pylians/library/build/lib.linux-x86_64-2.7

Usage

The most updated documentation with examples can be found here.

Contact

For comments, problems, bugs... etc you can reach me at [email protected].

pylians's People

Contributors

franciscovillaescusa avatar neeravkaushal avatar

Watchers

Reaves 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.