Giter VIP home page Giter VIP logo

gtools's Introduction

gtools

Tools for GIZMO analysis.

This repository contains two Python packages: gtools and cpg.

Installation

Clone this repository. Then, cd into it.

From there,

$ cd packages/
$ pip install -e gtools
$ pip install -e cpg

gtools

The core of the gtools suite. Contains...

  • Reader: a class that reads the snapshots in a given directory and allows for faster, easier access to their data.
  • HaloFinder: a class which executes the AMIGA Halo Finder unbinding procedure in order to determine whether particles are bound to a halo.
  • wrangling: a module which provides methods for finding GIZMO snapshots, making new GIZMO-compatible HDf5 files, and moving/combining whole galaxies or snapshot files.
  • models: a subpackage that provides convenient methods for computing virial, NFW, and Hernquist parameters for halo modeling.

cpg

Connor's Paramfile Generator. It does what it says on the tin! Contains methods for making GIZMO and GalIC paramfiles (as well as corresponding SLURM batch scripts) from the command-line within a given directory, automatically filling out all of the relevant paths in the files as well as providing the opportunity to set a few key parameters (like GIZMO evolution time). (Note: the GalIC paramfile generator is not yet live.)

To make a GIZMO paramfile and SLURM batch script in the current directory, type...

$ python -m cpg.gizmo

To see all the available options, use...

$ python -m cpg.gizmo --help

gtools's People

Contributors

cmhainje avatar

Stargazers

 avatar

Watchers

 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.