atlas is a Python GUI for viewing FITS images, in the spirit of SAOImage DS9.
It opens files into frames, shows them singly or tiled, and lets you read individual pixel counts straight off the image. Everything beyond the image itself is a tool you switch on, so a default launch stays a plain viewer rather than a wall of panels.
Requires Python 3.12 or higher.
pip install -e . # atlas and its runtime dependencies
pip install -e ".[zmq]" # also the optional ZMQ tool
pip install -e ".[dev]" # also pylint and pytest, for the CI checksDependencies are declared in pyproject.toml.
Installing puts an atlas command on your path:
atlas # defaults: single frame, header panel
atlas image.fits # open a file straight away
atlas *.fits --mode tile # every file in its own tile
atlas --profile minimal # image display and nothing else
atlas --config observing.yaml # your own configurationIt also runs straight from a checkout without installing:
PYTHONPATH=src python -m atlas.main --profile viewer image.fitsRun atlas --help for the full command line, and --list-profiles for the
bundled profiles.
| Frames | Each image in its own frame, shown singly or tiled |
| Scales | Linear or log, per frame rather than per window |
| Hover readout | Pixel index and raw count in the status bar, always on |
| Header panel | The current frame's FITS header, on by default |
| Statistics | Mean, median, standard deviation, min, max, pixel count |
| Histograms | Pixel-value distributions for every frame on screen |
| Live streams | Follow a detector over ImageStreamIO shared memory or ZMQ |
| Tap subtraction | COO detector signal and reset taps |
Everything except the header panel is opt-in, from a profile, a configuration
file, or --enable on the command line.
The documentation is published at
https://caltechopticalobservatories.github.io/atlas/, and its source lives
in docs/:
- Installation and Quickstart
- Frames and scales
- Inspecting pixels: hover readout, statistics, headers, histograms
- Live streams: shared memory and ZMQ
- Detector tools: tap subtraction
- Command line and Configuration reference
- Development
Build it with tox:
tox -e docs # writes docs/_build/html/index.html
tox -e serve # rebuilds on save at http://127.0.0.1:8000tox # the test suite and pylint, as CI runs them
tox -e tests
tox -e lintSee Development for the full set of environments and how to add a documentation page.
If you encounter any problems or have questions about this project, please open an issue on the GitHub Issues page. Your feedback helps us improve the project!