Command line#
atlas [files ...] [-c FILE] [-p NAME] [-m MODE] [--tile-columns N]
[--enable TOOL] [--disable TOOL] [--list-profiles] [-h]
Run atlas --help for the same list from the program itself.
Arguments#
filesZero or more FITS files, each opened into its own frame. Shell globs work:
atlas *.fits.
Options#
-c FILE,--config FILEA YAML configuration file. See Configuration.
-p NAME,--profile NAMEOne of the bundled profiles:
minimal,viewer,detector.-m MODE,--mode MODEDisplay mode,
singleortile, overriding the configuration.--tile-columns NColumns to use when tiling. Omit it to let atlas pick a roughly square grid.
--enable TOOLTurn a tool on. Repeatable. Valid names are
header,histogram,shm,statistics,tap_subtraction,zmq.--disable TOOLTurn a tool off. Repeatable.
--list-profilesPrint the bundled profile names and exit, without opening a window.
-h,--helpPrint usage and exit.
Exit codes#
Code |
Meaning |
|---|---|
|
Normal exit, including |
|
The configuration was rejected; the reason is printed to stderr |
A rejected configuration is caught before any widget is created, so atlas either starts with the features you asked for or does not start at all. It never opens a window with a feature silently missing.
Examples#
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 configuration
atlas --profile detector --disable zmq
atlas image.fits --enable histogram --enable statistics
Running from a checkout without installing:
PYTHONPATH=src python -m atlas.main --profile viewer image.fits