Skip to main content

GalaxyPose

DOI

GalaxyPose is a Python toolkit for modeling galaxy trajectories (position/velocity) and orientations as continuous functions of time from discrete cosmological simulation snapshots.

中文版本

Features

  • Trajectory interpolation with periodic-box support (unwrap/wrap).
  • Orientation interpolation
    • from rotation matrices (smooth quaternion-based interpolation), or
    • from angular-momentum directions (disk-axis use cases).
  • Optional birth-frame alignment utilities via pynbody (galpos.decorate).
  • Optional helpers for IllustrisTNG (TNG simulation) catalogs via AnastrisTNG (galpos.decorate).

Installation

From source:

git clone https://github.com/GalaxySimAnalytics/GalaxyPose.git
cd GalaxyPose
pip install -e .

Optional extras:

pip install -e ".[plot]"      # matplotlib plotting helpers
pip install -e ".[decorate]"  # pynbody integration
pip install "AnastrisTNG @ git+https://github.com/wx-ys/AnastrisTNG" # IllustrisTNG helpers via AnastrisTNG

Use Cases

In cosmological hydrodynamic simulations, stellar formation properties (formation time, birth position, birth velocity) are often recorded in the simulation box frame. To compute quantities relative to a host galaxy at formation time, you need the host galaxy’s position, velocity, and (optionally) orientation at that same moment. GalaxyPose supports building these continuous models and aligning particle birth properties to the host-galaxy frame.

sfr_evolution

Citation / Acknowledging GalaxyPose

If you use GalaxyPose in research, please cite the Zenodo record:

BibTeX:

@software{Lu2026GalaxyPose,
  author       = {Lu, Shuai},
  title        = {GalaxyPose},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.18212505},
  url          = {https://doi.org/10.5281/zenodo.18212505},
}

You can also use the metadata in CITATION.cff.

License

MIT License. See LICENSE.

Metadata

Release files for galpos 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for galpos 1.0.1
File Size Uploaded Provenance Actions
galpos-1.0.1.tar.gz 45.4 kB Without provenance Details for galpos-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for galpos 1.0.1
File Interpreter ABI Platform Actions
galpos-1.0.1-py3-none-any.whl Python 3 none any Details for galpos-1.0.1-py3-none-any.whl

Total release size: 87.2 kB

Release files / galpos-1.0.1.tar.gz

Download URL galpos-1.0.1.tar.gz
Size 45.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a08fca5731634b45b4018744af70627757df33d7eedcdd78fe22c25bff0fe3b0
BLAKE2b-256 checksum
How to use checksums
2ffe63f0e4aac53a07f32e87e97dbb7be42d71cc0eb7e482b87367ab4bf1b3e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / galpos-1.0.1-py3-none-any.whl

Download URL galpos-1.0.1-py3-none-any.whl
Size 41.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1d1c36aa5b157b95e642791fb3e530d5d7c594763fc160974399323199a58a2
BLAKE2b-256 checksum
How to use checksums
82285912fba55bc37b5f294bab527de2a613f9b5b52f52aca0950a49b1a0a21e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for galpos 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page