Giter VIP home page Giter VIP logo

morpholopy's Introduction

MorpholoPy

Python package that calculates the following morphological parameters :

kappa_co (see e.g. https://arxiv.org/pdf/1704.06283.pdf), specific angular momentum and axial ratios (see e.g https://arxiv.org/pdf/1805.03210.pdf ) for stars and HI+H2 gas. It also calculates HI+H2 surface densities and makes particle projections of the ten most massive galaxies in the simulations.

Morphology outputs figures and tables in a html format.

Requirements

The morpholopy package requires:

  • python3.6 or above
  • see requirements.txt

Usage

To run the script in the single-run mode use

 python3 morpholopy.py -d run_directory \
                       -s snapshot_name \
                       -c catalogue_name \
                       -n name_of_the_run \
                       -g number_of_individual_galaxies_to_show \
                       -o path_to_output_directory \
                       -m minimal_stellar_mass_for_galaxies_to_be_analysed

To run the script in the comparison mode use

 python3 morpholopy.py -d directory_of_run1 directory_of_run2 \
                       -s snapshot_name_run1 snapshot_name_run2 \
                       -c catalogue_name_run1 catalogue_name_run2 \
                       -n name_of_the_run1 name_of_the_run2 \
                       -g number_of_individual_galaxies_to_show \
                       -o path_to_output_directory \
                       -m minimal_stellar_mass_for_galaxies_to_be_analysed

morpholopy's People

Contributors

correac avatar evgeniichaikin avatar jtrayford 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.