Metadata-Version: 2.4
Name: perseo-core
Version: 1.0.0
Summary: Python Ecosystem for Remote Sensing & Earth Observation: generic, broadly used operations and structures for SAR processing.
Project-URL: Homepage, https://github.com/aresys-srl/perseo
Project-URL: Repository, https://github.com/aresys-srl/perseo
Project-URL: Documentation, https://aresys-srl.github.io/perseo
Author-email: "Aresys S.R.L." <info@aresys.it>
License: MIT License
        
        Copyright (C) Aresys S.r.l. <info@aresys.it>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE.txt
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: astropy[recommended]>=7.2.0
Requires-Dist: numpy>2
Requires-Dist: pyproj>=3.5
Requires-Dist: python-dateutil
Requires-Dist: rich>=13.0.0
Requires-Dist: scipy>1.15
Provides-Extra: dev
Requires-Dist: nox; extra == 'dev'
Requires-Dist: pylint; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocstrings-python; extra == 'docs'
Requires-Dist: zensical; extra == 'docs'
Provides-Extra: test
Requires-Dist: pytest-cov>7.0.0; extra == 'test'
Requires-Dist: pytest>8.0.0; extra == 'test'
Provides-Extra: type
Requires-Dist: mypy; extra == 'type'
Requires-Dist: scipy-stubs; extra == 'type'
Requires-Dist: types-python-dateutil; extra == 'type'
Description-Content-Type: text/markdown

# perseo-core

[![PyPI version](https://img.shields.io/pypi/v/perseo-core)](https://pypi.org/project/perseo-core/)
[![Python 3.11+](https://img.shields.io/badge/python-3.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue)](https://python.org)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE.txt)

**P**ython **E**cosystem for **R**emote **S**ensing & **E**arth **O**bservation (PERSEO) CORE package for generic and broadly
used operations and structures, serving all other PERSEO modules and projects depending on this framework.

## Features

### Geometry

The geometric engine of the PERSEO framework, built around the WGS84 ellipsoid with vectorized NumPy arrays of ECEF coordinates.

- **Angles**: squint, incidence, look angle computation
- **Coordinates**: XYZ ↔ LLH, UTM ↔ LLH, ECEF ↔ ECI conversions
- **Geocoding**: direct and inverse geocoding, monostatic and bistatic
- **Pointing**: reference frames, antenna reference frame, attitude
- **Navigation**: `CubicSplineTrajectory` for interpolated trajectory, velocity and acceleration

### Timing

High-precision time handling for SAR operations.

- `PreciseDateTime`, a picosecond precision timing
- Arithmetic operations for time differences with full precision
- Time conversion utilities

### Logging

Centralized logging built on the standard `logging` module and the Rich library.

- Custom log levels: `TRACE`, `FAIL`, `SUCCESS`
- TTY-aware console output with Rich colors and markup on terminals, plain text otherwise
- Rich tracebacks on unhandled exceptions
- Silent by default (`NullHandler`) until `initialize()` is called

## Installation

```bash
pip install perseo-core
```

Optional dependencies for development:

```bash
pip install perseo-core[dev,type,test,docs]
```

## License

This project is licensed under the MIT License. See the [LICENSE.txt](LICENSE.txt) file for details.

Copyright &copy; 2026-present Aresys S.r.L. <info@aresys.it>
