Skip to main content

Modular image processing pipelines for Astronomy

Project description

prose

Modular image processing pipelines for Astronomy

github license paper documentation

prose is a Python package to build image processing pipelines for Astronomy. Beyond featuring the blocks to build pipelines from scratch, it provides pre-implemented ones to perform common tasks such as automated calibration, reduction and photometry.

powered by astropy and photutils!

Example

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

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

# getting the example image
image = example_image()

sequence = Sequence(
    [
        blocks.PointSourceDetection(),  # stars detection
        blocks.Cutouts(shape=21),  # cutouts extraction
        blocks.MedianEPSF(),  # PSF building
        blocks.Moffat2D(),  # PSF modeling
    ]
)

sequence.run(image)

# plotting
image.show()  # detected stars

# effective PSF parameters
image.epsf.params

While being run on a single image, a Sequence is designed to be run on list of images (paths) and provides the architecture to build powerful pipelines. For more details check Quickstart and What is a pipeline?

Installation

latest

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

pip install prose

For the latest version

pip install 'prose @ git+https://github.com/lgrcia/prose'

Contributions

See our contributions guidelines

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-3.0.2.tar.gz (73.5 kB view details)

Uploaded Source

Built Distribution

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

prose-3.0.2-py3-none-any.whl (86.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prose-3.0.2.tar.gz
  • Upload date:
  • Size: 73.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.11 Linux/5.15.0-1037-azure

File hashes

Hashes for prose-3.0.2.tar.gz
Algorithm Hash digest
SHA256 a5b01fdfb20f5774b0c935f3191e18d8089de3315164915e7b43035c0860cedc
MD5 67d9cf86bd97b3603818ea1244ccf01a
BLAKE2b-256 3190373b9dbd194ed8192bead6cad5762cbfe9a606ec68913a31fff6db0f728b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: prose-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 86.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.11 Linux/5.15.0-1037-azure

File hashes

Hashes for prose-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3892665a5edc9507aa1eafe391737273ad66379913415987c9c371df7296b24b
MD5 65b42392e3b3379e4ce8da2f74fcb08d
BLAKE2b-256 5e8deed212a8aef8bcd14349988f2d829da777dd16f82ec3d2269c597d2ef23a

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