Skip to main content

Reduction and analysis of FITS telescope observations

Project description

prose

A python framework to build FITS images pipelines.

github license paper documentation

prose is a Python tool to build pipelines dedicated to astronomical images processing (all based on pip packages 📦). Beyond providing all the blocks to do so, it features default pipelines to perform common tasks such as automated calibration, reduction and photometry.

Example

Here is a quick example pipeline to characterize the point-spread-function (PSF) of an example image

from prose import Sequence, blocks
from prose.tutorials import example_image
import matplotlib.pyplot as plt

# getting the example image
image = example_image()

sequence = Sequence([
    blocks.SegmentedPeaks(),  # stars detection
    blocks.Cutouts(size=21),  # cutouts extraction
    blocks.MedianPSF(),       # PSF building
    blocks.Moffat2D(),        # PSF modeling
])

sequence.run([image])

For more details check Quickstart.

Default pipelines

from prose.pipeline import Calibration, AperturePhotometry

destination = "reduced_folder"

reduction = Calibration(images=[...], flats=[...])
reduction.run(destination)

photometry = AperturePhotometry(destination)
photometry.run()

Installation

prose is written for python 3 and can be installed from pypi with:

pip install prose

To install it through conda, once in your newly created environment, go with:

conda install numpy scipy tensorflow netcdf4 numba

# then 

pip install prose

Helping us

We are interested in seeing how you use prose, as well as helping creating blocks you need. Do not hesitate to reach us out! ☎️

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

prose-2.1.0.tar.gz (118.0 kB view details)

Uploaded Source

Built Distribution

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

prose-2.1.0-py3-none-any.whl (129.9 kB view details)

Uploaded Python 3

File details

Details for the file prose-2.1.0.tar.gz.

File metadata

  • Download URL: prose-2.1.0.tar.gz
  • Upload date:
  • Size: 118.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for prose-2.1.0.tar.gz
Algorithm Hash digest
SHA256 1e292f73b049d1ae9d1a8c9908829c297b22d8d30d83a27c7eb85c80f1c712e9
MD5 022df81e2061846c96dd706307a4caa3
BLAKE2b-256 7958579a739bfe932260c002e87129bc0bc4abd521d8360d4b4d6ec6c6eb19af

See more details on using hashes here.

File details

Details for the file prose-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: prose-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 129.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for prose-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5058a6d9b298642841a0b7ed94f1059b6482c557bfa11ba1b9e321e0d608635f
MD5 2a962fe19b978295c1ff944e82717903
BLAKE2b-256 a88ad53f0b4c339dc32b4b3aa30b38f81f1f7ec87aa45aa10fa3cbdf4183e1d8

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