Reduction and analysis of FITS telescope observations
Project description
prose
A python framework to build FITS images pipelines.
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
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 prose-2.1.2.tar.gz
.
File metadata
- Download URL: prose-2.1.2.tar.gz
- Upload date:
- Size: 115.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d9b9ede445f1657d0d79b6657871d90846f827b87da4bbfd9638824ceaa729 |
|
MD5 | b99da6da5f0669b4bd404e633512a1c9 |
|
BLAKE2b-256 | 7864976cf031be101885b3e093ffd810a4efc7e7a7a54df3e6457984377a1055 |
Provenance
File details
Details for the file prose-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: prose-2.1.2-py3-none-any.whl
- Upload date:
- Size: 131.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e9d13fbf27088d6dd491802617ec4a8e18b3afdcfce0b4daf379df811b202f4 |
|
MD5 | 6b4de0ce6670b1de72819395c0729884 |
|
BLAKE2b-256 | 08c898887dfe0a74ba8fc6ae57d47e0470d2b79e155b4e870b484733d70de368 |