Skip to main content

Add your description here

Project description

GalaxyBox

PyPI version Python 3.11+ License Tests

Features

  • Galaxy Merger Trees: Efficient tools for processing and analyzing galaxy merger trees
  • Data Management: Streamlined data loading and manipulation for large simulation datasets
  • Visualization: Specialized plotting tools for galaxy evolution and merger tree visualization
  • Mock Observables: Generate synthetic observations and lightcone catalogs
  • EMERGE Integration:Ssupport for EMERGE model data

Installation

Using uv (Recommended)

uv is the fastest Python package manager. Install GalaxyBox with:

uv add galaxybox

Or in a new project:

uv init my-project
cd my-project
uv add galaxybox

From PyPI

pip install galaxybox

From Source

git clone https://github.com/jaoleary/galaxybox.git
cd galaxybox
uv pip install .

Development Installation

For development and contributing, we use uv for dependency management:

git clone https://github.com/jaoleary/galaxybox.git
cd galaxybox
uv sync --group dev

Quick Start

import galaxybox as gb
from galaxybox.modules.trees.emerge import EmergeGalaxyTrees

# Load galaxy merger trees
trees = EmergeGalaxyTrees("/path/to/tree/data")

# Get galaxy catalog at z=0
galaxies = trees.list(z=0, min_mstar=9.0)

# Extract individual merger tree
tree = trees.tree(galaxy_id=12345)

Publications

GalaxyBox has been used in the following:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

galaxybox-2.0.3.tar.gz (193.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

galaxybox-2.0.3-py3-none-any.whl (51.2 kB view details)

Uploaded Python 3

File details

Details for the file galaxybox-2.0.3.tar.gz.

File metadata

  • Download URL: galaxybox-2.0.3.tar.gz
  • Upload date:
  • Size: 193.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for galaxybox-2.0.3.tar.gz
Algorithm Hash digest
SHA256 2b592e14d4cf1e8a8d9645b59ba8de6eaaa794fdd6dae05e86a7b67d757016f7
MD5 ee8614261ceacf98d32bb616ebf09037
BLAKE2b-256 ca6b8bde752f05c249205cf6d8a033b3ab54550e0dcaad24fd3966ead9efcd2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for galaxybox-2.0.3.tar.gz:

Publisher: build-publish.yaml on jaoleary/galaxybox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file galaxybox-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: galaxybox-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 51.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for galaxybox-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 541ca3a367c33e8296779dce436575ab283cec9d2360bd37acb6d6040b771a68
MD5 662c12bfa9cc209e27691949310e3e81
BLAKE2b-256 068908606af3a1ff81a9b2638a56a0b11786c034d9c45ebd2b21063887e7a785

See more details on using hashes here.

Provenance

The following attestation bundles were made for galaxybox-2.0.3-py3-none-any.whl:

Publisher: build-publish.yaml on jaoleary/galaxybox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page