Skip to main content

Merge multiple FITS images into a single FITS RGB file.

Project description

DOI Testing Documentation Status Coverage Status

fits2rgb

A simple program for making coadded RGB FITS images for visualization.

Full documentation is available at https://fits2rgb.readthedocs.io/en/latest/index.html

Installation

Installing a Packaged Release

The simplest way to install fits2rgb is using pip and, since it is a good practice to not mess up the system-wide python environment, you should install this program in a virtual environment. If you don't have a virtual environment yet, you can create one with the command

python -m venv env_name

For example, to create a virtual environment called "astro", you can use the command

python -m venv astro

and you can activate it with

source astro/bin/activate

Then run

pip install fits2rgb

After the installation, to update redmost to the most recent release, use

pip install fits2rgb --upgrade

Installing from GitHub

If you like to use the bleeding-edge version from this repository, do

git clone 'https://github.com/mauritiusdadd/fits2rgb.git'
cd fits2rgb
pip install .

After the installation, to upgrade to most recent commit use

git pull
pip install . --upgrade

Then run pytest to check everything is ok.

Usage

To create a default configuration file, use the command

fits2rgb -d

this will create a file named fits2rgb.json that you can edit to specify how and which files you want to coadd. Then you can run the program by simply invoking it from the command line.

fits2rgb

You can also specify which configuration file to use, for example

fits2rgb -c fits2rgb.json

For more dtails, please refer to the documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fits2rgb-0.3.2.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fits2rgb-0.3.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file fits2rgb-0.3.2.tar.gz.

File metadata

  • Download URL: fits2rgb-0.3.2.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for fits2rgb-0.3.2.tar.gz
Algorithm Hash digest
SHA256 d0cd231047b80a13d34e81d1cf4a6aec26ed30e66114738617bb9291e0a53c27
MD5 e8098521750554ee05efe2db8d4fe757
BLAKE2b-256 a9a24e1af98992ced4f5001ff23cf1468b50e64e8e0b0c912d3b27f84dd36ecd

See more details on using hashes here.

File details

Details for the file fits2rgb-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: fits2rgb-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for fits2rgb-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 248211d5bfd8da215f2ae8388a56904b37207820344f514943bbf41dd4f018af
MD5 c6cd266469f4939b6f34cc33721c160a
BLAKE2b-256 4479edd603da07d8024705c0e413657c626fe99f9a2b87d04d0bbef504cf0e54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page