Welcome to GalaxyChop’s documentation!


GalaxyChop CI Documentation Status PyPI https://github.com/leliel12/diseno_sci_sfw

GalaxyChop is a Python package that tackles the dynamical decomposition problem by using clustering techniques in phase space for stellar galactic components.

It runs in numerical N-body simulations populated with semi-analytical models and full hydrodynamical simulations, such as Illustris TNG and EAGLE.


Galaxies are self-gravitating complex stellar systems formed mainly by stars, dark matter, gas and dust. Star are assembled in different stellar components, such as the disk (thin and thick), the nucleus, the stellar halo and the bar. The components interact with each other and each of them follows its own temporal evolution. For this reason, the description of the formation and evolution of galaxies is strongly linked to the formation and evolution of each of these individual components and their assemble in the final galaxy.

Dynamical decomposition it is a fundamental tool to separate each galaxy component for further study. Numerous methods exist in the literature to perform this task, but there is no tool that allows us to use several of them, providing the possibility of an easy comparison.

Dynamic decomposition models implemented

And many more


You need Python 3.7, 3.8, 3.9 to run GalaxyChop.

Standard Installation

You could find GalaxyChop at PyPI. The standar instalation via pip:

$ pip install galaxychop

Development Install

Clone this repo and then inside the local directory execute

$ git clone https://github.com/vcristiani/galaxy-chop.git
$ cd galaxy-chop
$ pip install -e .



- Misc

Indices and tables