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, start with:
conda install numpy scipy tensorflow netcdf4 numba
# then
pip install prose
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.0.1.tar.gz
.
File metadata
- Download URL: prose-2.0.1.tar.gz
- Upload date:
- Size: 104.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71a3bef2c577dcabec49b16aaeb7c043e0d6f821bd538e1b5a746452c90545e |
|
MD5 | cc8cad30bfd06b5ac4a483e97d7e4f1d |
|
BLAKE2b-256 | 9b0660d0fe55130d7d6bb6c04b07f39e876120d449287c563d6814bc71426ba0 |
Provenance
File details
Details for the file prose-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: prose-2.0.1-py3-none-any.whl
- Upload date:
- Size: 118.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde749536aee0ff352eac41ae999b65231239bbb69a79b95413100a476f334ea |
|
MD5 | a6e7b980b0d6bf5226c352aa30d535e1 |
|
BLAKE2b-256 | 316d388c43b89d83fd42bec69638213572f49644391e74a5c9f4da81c720ff26 |