Metadata-Version: 2.4
Name: setiastrosuitepro
Version: 2.1.2.post1
Summary: Seti Astro Suite Pro - Advanced astrophotography toolkit for image calibration, stacking, registration, photometry, and visualization
License: GPL-3.0
License-File: LICENSE
License-File: license.txt
Keywords: astrophotography,astronomy,image-processing,photometry
Author: Franklin Marek
Author-email: frank@setiastro.com
Requires-Python: >=3.10,<3.15
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
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 :: Astronomy
Requires-Dist: GaiaXPy (>=2.1.4,<3.0.0)
Requires-Dist: Pillow
Requires-Dist: PyOpenGL
Requires-Dist: PyQt6
Requires-Dist: astropy
Requires-Dist: astroquery
Requires-Dist: exifread
Requires-Dist: imagecodecs
Requires-Dist: imageio
Requires-Dist: jplephem
Requires-Dist: lightkurve
Requires-Dist: lz4
Requires-Dist: matplotlib
Requires-Dist: numba
Requires-Dist: numpy
Requires-Dist: nvidia-ml-py ; sys_platform != "darwin"
Requires-Dist: oktopus
Requires-Dist: onnx
Requires-Dist: onnxruntime (>=1.19.0) ; sys_platform != "linux" and sys_platform != "win32"
Requires-Dist: onnxruntime-directml (>=1.20.0) ; sys_platform == "win32"
Requires-Dist: onnxruntime-gpu (>=1.19.0,<1.25.0) ; sys_platform == "linux" and python_version == "3.10"
Requires-Dist: onnxruntime-gpu (>=1.25.0) ; sys_platform == "linux" and python_version >= "3.11"
Requires-Dist: opencv-python-headless
Requires-Dist: pandas
Requires-Dist: photutils
Requires-Dist: plotly
Requires-Dist: psd-tools
Requires-Dist: psutil
Requires-Dist: py-cpuinfo
Requires-Dist: pypdfium2
Requires-Dist: pyqtgraph
Requires-Dist: pytz
Requires-Dist: pywavelets
Requires-Dist: rawpy (>=0.26.0)
Requires-Dist: reproject
Requires-Dist: requests
Requires-Dist: scikit-image
Requires-Dist: scipy
Requires-Dist: sep
Requires-Dist: skyfield
Requires-Dist: tifffile
Requires-Dist: tzlocal
Requires-Dist: xisf
Requires-Dist: zstandard
Project-URL: Homepage, https://www.setiastro.com
Project-URL: Repository, https://github.com/setiastro/setiastrosuitepro
Description-Content-Type: text/markdown

<p align="center">
  <img src="src/setiastro/images/astrosuitepro.png" width="128" alt="Seti Astro Suite Pro logo">
</p>

<h1 align="center">Seti Astro Suite Pro</h1>

<p align="center">
  Astrophotography processing from calibration frames to the finished image.<br>
  Free and open source, for Windows, macOS and Linux.
</p>

<p align="center">
  <a href="https://github.com/setiastro/setiastrosuitepro/releases/latest"><img src="https://img.shields.io/github/v/release/setiastro/setiastrosuitepro?label=download" alt="Latest release"></a>
  <a href="https://pypi.org/project/setiastrosuitepro/"><img src="https://img.shields.io/pypi/v/setiastrosuitepro" alt="PyPI"></a>
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-blue" alt="License: GPL v3"></a>
</p>

<p align="center">
  <a href="https://www.setiastro.com">Website</a> ·
  <a href="https://github.com/setiastro/setiastrosuitepro/releases/latest">Download</a> ·
  <a href="https://github.com/setiastro/setiastrosuitepro/wiki">Wiki</a> ·
  <a href="https://github.com/setiastro/setiastrosuitepro/issues">Report a bug</a>
</p>

---

Seti Astro Suite Pro (SASpro) is created and maintained by [Franklin Marek](https://www.setiastro.com). It covers the whole processing chain in one application:
- **Stacking:** calibration, registration and integration;
- **Calibration:** gradient removal and colour calibration;
- **Processing:** stretching, detail and AI tools;
- **Analysis:** astrometry and photometry.

SASpro works in 32-bit floating point from start to finish, and opens FITS, XISF, TIFF and camera raw files directly.

## Install

| Platform | How |
|---|---|
| **Windows** | Download `setiastrosuitepro_windows.zip` from the [latest release](https://github.com/setiastro/setiastrosuitepro/releases/latest). |
| **macOS** (Apple Silicon and Intel, macOS 12 or later) | Download the signed DMG from the [latest release](https://github.com/setiastro/setiastrosuitepro/releases/latest), or use Homebrew:<br>`brew tap setiastro/setiastrosuitepro`<br>`brew install --cask saspro` |
| **Linux** | Download the archive from the [latest release](https://github.com/setiastro/setiastrosuitepro/releases/latest), or install with pipx:<br>`pipx install setiastrosuitepro` |
| **Any platform with Python 3.10–3.14** | `pip install setiastrosuitepro`, then run `setiastrosuitepro` |

**Updates:** SASpro checks for them itself (**Help → Check for Updates...**).

**GPU acceleration:** it's installed from inside the app, under **Welcome and Setup** or **Preferences → Install/Repair Hardware Acceleration…**. It covers:
- NVIDIA (CUDA);
- AMD (ROCm on Linux, DirectML on Windows);
- Intel Arc;
- Apple Silicon.

**N.I.N.A. users:** `SASproSolver.exe`, also on the release page, lets N.I.N.A. use SASpro's plate solver. See [setiastro.com/nina](https://www.setiastro.com/nina).

## What's inside

| Area | Tools |
|---|---|
| **Stacking** | Stacking Suite: calibration, registration, normalization, rejection, drizzle (including CFA drizzle), mosaics, and camera raws added directly. Also Quick Stack, Live Stacking, the Planetary Stacker for SER and AVI captures, Mosaic Master and Surface Mosaic. |
| **Colour calibration** | Spectrophotometric Flux Color Calibration (SPCC), Spectrophotometric Standard Star Calibration (SSSC), star-based White Balance, Background Neutralization, Linear Fit, SCNR, and a Filter / Sensor Curve Manager. |
| **Gradients** | ADBE, Survey Reference Gradient Correction (SRGC), GraXpert integration and Remove Pedestal. |
| **Stretching and tone** | Statistical Stretch, Star Stretch, Hyperbolic Stretch, Curves, Levels, Histogram, CLAHE, WaveScale HDR and WaveScale Dark Enhancer. |
| **Detail** | Convolution / Deconvolution, Texture and Clarity, Multiscale Decomposition, Frequency Separation and Morphological Operations. |
| **AI tools** | Cosmic Clarity (Sharpen, Denoise, Super Resolution, Dark Star, satellite trail removal and aberration correction), SyQon tools, and RC-Astro integration. |
| **Narrowband** | Narrowband Channel Extractor, Narrowband Normalization, Perfect Palette Picker, NB→RGB Stars, Continuum Subtraction and Narrowband Integration. |
| **Stars** | Remove Stars, Add Stars, Halo-B-Gon, Diffraction Spikes and AstroSpike. |
| **Astrometry** | Plate Solver (with a local Gaia library, including blind solving), Lunar Solver and Unwarp. |
| **Analysis** | Blink Comparator, PSF Viewer, Image Peeker, Dither Analysis, Magnitude / Surface Brightness, Object SNR, GLIMR isophote modelling, Variable Stars & Exoplanets, and Supernova / Asteroid Hunter. |
| **Sky and visualization** | What's In My Sky, What's In My Image, Finder Chart and Sky Chart, Seti Astro Atlas, 3D Projection (including the Moon on its real terrain) and Nebula Flythrough. |
| **Workspace** | Masks, layers, Pixel Math, View Bundles, Function Bundles, the Workflow Assistant, projects, undo history, checkpoints, command search and desktop shortcuts. |

**File formats:**
- **Open:** FITS (including compressed `.fz`), XISF, TIFF, PNG, JPEG, WebP, Photoshop (PSD and PSB), PDF, SyQon (`.syq`), and camera raws (CR2, CR3, NEF, ARW, DNG, RAF, ORF, RW2 and PEF).
- **Planetary captures:** the Planetary Stacker reads SER and AVI files.
- **Save:** FITS, XISF, TIFF, PNG, JPEG, WebP, and Photoshop Large Document (.psb).

**Languages:** English, Arabic, Chinese (Simplified), French, German, Hindi, Italian, Japanese, Portuguese, Russian, Spanish, Swahili and Ukrainian.

## Help

- **Built-in help:** tools have their own help pages, under **Help → Documentation...** or the Help button in a tool's window.
- **[Wiki](https://github.com/setiastro/setiastrosuitepro/wiki)** and **[setiastro.com](https://www.setiastro.com):** guides and tutorials.
- **Bug reports:** open an [issue](https://github.com/setiastro/setiastrosuitepro/issues).
  - **Attach:** the report from **Help → Generate Diagnostics Report...**, which covers your system, versions and GPU setup.
  - **Include:** the steps to reproduce the problem.
  - **The log** (`saspro.log`) is in:
    - **Windows:** `%APPDATA%\SetiAstroSuitePro\logs\`
    - **macOS:** `~/Library/Logs/SetiAstroSuitePro/`
    - **Linux:** `~/.local/share/SetiAstroSuitePro/logs/`
    - **When running from source:** `logs/`

## Running from source

```bash
git clone https://github.com/setiastro/setiastrosuitepro.git
cd setiastrosuitepro
python -m venv .venv
# Windows: .venv\Scripts\activate    macOS/Linux: source .venv/bin/activate
python -m pip install --upgrade pip
pip install -e .
setiastrosuitepro
```

**Python:** 3.10 to 3.14.

**Dependencies:** they live in `pyproject.toml` (Poetry). `requirements.txt` is generated from it with `python ops/export_requirements.py`.

### Project layout

| Path | What's there |
|---|---|
| `src/setiastro/saspro/` | The application: one module per tool, plus the subfolders below |
| `src/setiastro/saspro/gui/` | Main window, menus, toolbars and docks |
| `src/setiastro/saspro/widgets/` | Shared widgets and image-display helpers |
| `src/setiastro/saspro/imageops/` | Lower-level image algorithms |
| `src/setiastro/saspro/cosmicclarity_engines/` | Cosmic Clarity inference engines |
| `src/setiastro/saspro/docs/` | The built-in help pages |
| `src/setiastro/saspro/translations/` | Interface translations |
| `src/setiastro/data/`, `src/setiastro/images/` | Bundled catalogs, icons and images |
| `ops/` | Build and release tools, run from the repository root |

## Contributing

Pull requests are welcome. Please:
- **Branch:** open them against the **`dev`** branch. Releases are merged from `dev` into `main`.
- **Scope:** keep each pull request to one change, and say what it fixes or adds and how you tested it.

A few rules hold across the code base, and pull requests that break them can't be merged:

- **numpy 1.x must keep working.** Intel Macs are limited to numpy 1.x, so don't use APIs that only exist in numpy 2.
- **Use `opencv-python-headless`,** not the full OpenCV package. PyQt6 owns the interface.
- **Keep images in 32-bit float** from load to save, with no 8-bit steps in between. A mono image stays mono.
- **0.0 means "no data"** in stacking: alignment borders, removed satellite trails and empty pixels. Don't treat 0.0 as a real value there.
- **Pass user-facing text through `self.tr()`** so it can be translated.
- **Follow the Qt lifetime rules:**
  - worker `QThread`s are created with `parent=None`;
  - `WA_DeleteOnClose` is set where a dialog is opened, not inside the dialog;
  - a dialog that connects to main-window signals disconnects them when it closes.

## Contributors

Thank you to everyone who has contributed code, translations, installers and fixes. Contributors are listed by surname, or by GitHub name where none is public.

| Contributor | Contributions |
|---|---|
| [CameronReed-42](https://github.com/CameronReed-42) | GPU-accelerated Frequency Separation; live values on the WaveScale HDR sliders; RC-Astro on the discrete GPU of Windows laptops; faster live Layers compositing with a live preview window |
| [Steve Cohen](https://github.com/stevecoh1) | Batch Modify FITS Header in the menus; a Statistical Stretch window resizing fix |
| [Jean d'Hooghvorst](https://github.com/jeanjovhr) | Sky Chart: nebula names, Dobashi dark clouds, atlas PDFs, Caldwell, van den Bergh and Cederblad layers, and label editing |
| [Tim Dicke](https://github.com/dickett) | Windows and macOS installers; the macOS installation guide on the wiki; selectable icon packs and the Aurora pack; testing across platforms |
| [ffoegs-dev](https://github.com/ffoegs-dev) | AMD (ROCm) GPU use in the resource monitor |
| [gcog33](https://github.com/gcog33) | GraXpert path setting fix |
| [Brian E. Granger](https://github.com/ellisonbg) | Improved image zooming |
| [Krzysztof Jończyk](https://github.com/zelazowy) | Ranked command search and the native macOS Help search |
| [killerkalamari](https://github.com/killerkalamari) | README fixes |
| [Jérémie Klein](https://github.com/grm) | Lower memory use in project saving, image display, stacking and tool windows; Stacking Execution Monitor progress; mosaic sets in the Stacking Suite; workflow choice groups; Export FITS and Export Image steps; plate solving of View Bundles; Blink quality-flag fixes |
| [Mike Monson](https://github.com/NickNak86) | Fix for "Access denied" errors in the Windows updater |
| [Paul Picazo](https://github.com/ppicazo) | Star alignment fix for meridian-flipped frames |
| [Joaquin Rodriguez](https://github.com/jrhuerta) | The installable Python package and its Poetry setup; the Diagnostics Report; SiO3 dual-band filter detection; XISF master flats; macOS image codec support |
| [Sharon](https://github.com/sharon92) | Following the system light or dark theme |
| [Spec-Chum](https://github.com/spec-chum) | Faster GPU stacking transfers and rejection |
| [takku-dev](https://github.com/takku-dev) | Stacking Suite fixes: a hang on open with large folders, memory errors with thousands of frames, star-count frame weights, Skip Registration, and frames that failed registration |
| [Stephan Tamminga](https://github.com/stephantamminga) | Colour management |
| [Fabio Tempera](https://github.com/Ft2801) | Early groundwork (late 2025): restructuring of the original single-file application; first versions of AstroSpike, Texture and Clarity, the resource monitor and the statistics panel; the first interface translations |
| [Peter Willemsen](https://github.com/peterwilli) | The Diffuse Structure mask; a PyTorch loading fix for ROCm on Linux |
| [Andrew Witwicki](https://github.com/awitwicki) | Ukrainian translation |
| [Kai Yung](https://github.com/YungKC) | AMD ROCm detection on multi-GPU systems and consumer RDNA GPUs and APUs; lower VRAM use in Cosmetic Correction |

## Acknowledgments

**Methods used in SASpro:**
- **Narrowband Normalization** is a port of Bill Blanshan's and Mike Cranfield's technique, used with permission.
- **Generalised Hyperbolic Stretch** follows the published mathematics of Mike Cranfield and David Payne.
- **Perfect Palette Picker** includes the dynamic narrowband (Foraxx) palette described by thecoldestnights.

**Software:** SASpro is built on PyQt6, NumPy, SciPy, Numba, Astropy, OpenCV, SEP, PyTorch and many other open-source projects.

**Data:** SASpro uses:
- data from the European Space Agency's Gaia mission;
- NASA's LOLA terrain and the Clementine albedo map of the Moon;
- the IAU's lunar feature names;
- the star and deep-sky catalogues credited in the Sky Chart.

**The community:** thanks to the astrophotographers whose feedback shapes every release.

## License

SASpro is free software under the **GNU General Public License v3.0**. See [LICENSE](LICENSE).

The **Cosmic Clarity AI models** are proprietary and not covered by the GPL. They are distributed separately and licensed only for use within SASpro. Redistribution, reverse engineering and use outside SASpro are not permitted without written consent. See `COSMIC_CLARITY_LICENSE.txt`, which comes with the model files, and `license.txt`.

SASpro is free to use. If it's useful to you, you can [support its development](https://www.setiastro.com/checkout/donate?donatePageId=65ae7e7bac20370d8c04c1ab).

