Astronomical utilities for PANOPTES
Project description
PANOPTES Utilities
Utility functions for use within the Project PANOPTES ecosystem and for general astronomical processing.
This library defines a number of modules that contain useful functions as well as a few services.
Install
To install type:
pip install panoptes-utils
Full options for install:
pip install "panoptes-utils[config,docs,images,testing,social]"
See the full documentation at: https://panoptes-utils.readthedocs.io
Dependencies
There are a few system dependencies depending on what functionality you will be using.
In particular, the plate solving requires astrometry.net
and the appropriate index files.
Use the following on a debian-based system (e.g. Ubuntu) to easily install all dependencies:
apt-get update && apt-get install --no-install-recommends --yes \
libffi-dev libssl-dev \
astrometry.net astrometry-data-tycho2 \
dcraw exiftool libcfitsio-dev libcfitsio-bin \
libfreetype6-dev libpng-dev libjpeg-dev libffi-dev
Command Line
The panoptes-utils
command line tool is available for use with subcommands
corresponding to the modules in this library. Currently, the only implemented
subcommand is image
, which includes commands for converting cr2
files into
jpg
and/or fits
files as well as for plate-solving fits
images.
The panoptes-utils image watch <path>
command will watch the given path for
new files and convert them to jpg
and/or fits
files as they are added.
See panoptes-utils --help
and panoptes-utils image --help
for details.
Config Server
There is a simple key-value configuration server available as part of the module.
After installing with the config
option as above, type:
panoptes-config-server run --config-file <path-to-file.yaml>
Developing
panoptes-utils
uses pyscaffold
for project setup,
which then uses the standard tox
and pyproject.toml
tools to manage the project. Tests can
be run with tox
, e.g.
# Clean repository.
tox -e clean
# Run tests.
tox
# Build project.
tox -e build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file panoptes-utils-0.2.38.tar.gz
.
File metadata
- Download URL: panoptes-utils-0.2.38.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a734f51e9cbe0aef5e2f7b7d88a2074e595f6b99fb86eb173a3feecdb408dc9 |
|
MD5 | d105dec2ba996b4cb87dad4d7fe39888 |
|
BLAKE2b-256 | dd14ff0b7e98da4106228cd7a9f5e814d841c5391ca7e39ba4030cad4396b8a8 |
File details
Details for the file panoptes_utils-0.2.38-py2.py3-none-any.whl
.
File metadata
- Download URL: panoptes_utils-0.2.38-py2.py3-none-any.whl
- Upload date:
- Size: 69.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a2375c24fe9ae33c270d04bdb03754159cd17a5d9dd73eb4178eb38d3adadb |
|
MD5 | af326e54c888106c98d6ecbc7990d559 |
|
BLAKE2b-256 | 0f26fefb610f62e7270d928947f3f5778dd39252ec8f9328546a12ed00551185 |