semvec/pypi-packages huggingface dataset:
galpos 1.0.1
A package for modeling galaxy poses and trajectories.
Requires Python: >=3.9

# GalaxyPose
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.18212506.svg)](https://doi.org/10.5281/zenodo.18212506)

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

[中文版本](./README_cn.md)

## 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:
```bash
git clone https://github.com/GalaxySimAnalytics/GalaxyPose.git
cd GalaxyPose
pip install -e .
```

Optional extras:
```bash
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](./examples/sfr_evolution.png)](./examples/sfr_evolution.png)


## Citation / Acknowledging GalaxyPose
If you use GalaxyPose in research, please cite the Zenodo record:

- DOI: https://doi.org/10.5281/zenodo.18212505

BibTeX:
```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`](./CITATION.cff).

## License
MIT License. See [`LICENSE`](./LICENSE).
poutils 0.24
Gettext related tools: spellcheck, line wrapping etc...
Keywords: poutils, gettext, powrap, pospell, pogrep, potodo, pomerge, padpo, pofuzzy-helper


poutils
=======

poutils is a metapackage to easily install usefull Python tools to use
with po files.


`powrap <https://pypi.org/project/powrap/>`_
--------------------------------------------

Script to fix indentation of given ``.po`` files.


`pospell <https://pypi.org/project/pospell/>`_
----------------------------------------------

Wrapper around hunspell to spell check ``.po`` files.


`pogrep <https://pypi.org/project/pogrep/>`_
--------------------------------------------

A side-by-side grep in ``.po`` files displaying `msgid` on the left
and `msgstr` on the right, usefull to find how a word has already been
translated.


`potodo <https://pypi.org/project/potodo/>`_
--------------------------------------------

A tool to find in which ``.po`` file work is needed (untranslated and
fuzzy are reported).

Can sync with github issues to tell which file have already an issue
opened, hint that the file may currently been translated by someone
else.


`pomerge <https://pypi.org/project/pomerge/>`_
----------------------------------------------

A "translation memory" CLI tool, usefull for example to backport
translation from a branch to another, or simply to replicate known
translations from a bunch of file to other files.


`padpo <https://pypi.org/project/padpo/>`_
------------------------------------------

Linter for gettext files (``*.po``) including Grammalecte,
non-breakable space checks, glossary checks etc ...


`sphinx-lint <https://pypi.org/project/sphinx-lint/>`_
------------------------------------------------------

A reasonably fast and accurate linter that focuses on finding errors that are not caught by sphinx-build.


`pofuzzy_helper <https://pypi.org/project/pofuzzy-helper/>`_
------------------------------------------------------------

Pofuzzy-helper shows diffs of ``.po`` file entries associated to a
``fuzzy`` flag.