Provides the ability to stretch and combine astronomical images from multiple bands into (RGB) colour images.
Project description
prepipy
PREtty PIctures using PYthon
Overview
This package provides the ability to stretch and combine astronomical images from multiple bands into (RGB) colour images.
Images can be created in two main modes:
- JPEG image containing only the image in the pixel scale of the input, including coordinate information readable by e.g. Aladin.
- Matplotlib image containing one ore more RGB conmibations from different bands in a grid layout. World coordinate axes are plotted on the images if available in the original input files. An additional sup-header containing the source name can be included. This mode also supportes multiple different options, such as plotting grid lines on top of the image, marking the center point in the image, of marking additional points of interest within the image, specified by world coordinates. By default, these images are saved in the pdf format.
Basic Usage
JPEG mode
Current way to use from command line: run rgbcombo.py
with arguments as described in the help message.
Matplotlib mode
TBA
Input data
The input images are expected to fullfill the following criteria:
- FITS format images with the images data appearing in the primary HDU.
- Pixel scale and position matching across all input images. No additional resampling/reprojection is performed.
- WCS information is present in the FITS files.
Setting options
The package currently uses two YAML configuration files to specify various options. These are referred to as the (general) config
file and the bands
file containing meta-information about the bands used in the original data.
If these files are not placed in the working directory, the path to them needs to be specified using the -c
and -b
command line options.
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 prepipy-0.6.3.tar.gz
.
File metadata
- Download URL: prepipy-0.6.3.tar.gz
- Upload date:
- Size: 42.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.9.16 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12dea3ed9bafb103bfe7e6205fe17531cc7d6c345d5d55fa1c5716b4e9b9ec8a |
|
MD5 | 664594c6300db7bd6c8305481895fd40 |
|
BLAKE2b-256 | 8c0f7c0028435aa15b56755ba9abe609814339d7f6afdf30e9f58b0f9071d81f |
Provenance
File details
Details for the file prepipy-0.6.3-py3-none-any.whl
.
File metadata
- Download URL: prepipy-0.6.3-py3-none-any.whl
- Upload date:
- Size: 46.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.9.16 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae81596154738488040401d2d93fdc3eb350bb822dbded12f7b3ef26395829c9 |
|
MD5 | 5633e81aaf37c29e69533807b2a34520 |
|
BLAKE2b-256 | 4595f1e556acb59d3a17cee06aaeac4f202169ec06ce265319f34a3cd7f80a63 |