Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AstroPoP

Astropop's Github CI Status Astropop's Codecov Coverage Status Astropop's Documentation Status CODACY

The ASTROnomical POlarimetry and Photometry pipeline. Developed for work with IAGPOL and SPARC4 polarimeters at Observatório Pico dos Dias (Brazil), but suitable to be used in other image polarimeters around the world.

Features

This software is intended to provide a full pipeline to reduce raw polarimetry and photometry data taken with common CCD telescope cameras. It can do:

  • Create calibrate frames;

  • Calibrate images using bias/flat/dark frames;

  • Gain correction and in-processing image binnig;

  • Cosmic ray extraction (astroscrappy);

  • Align image sets;

  • Aperture and (planned) PSF photometry;

  • Calcite polarimeters;

    • Automatic pairs of stars identification;

  • Automatic photometry calibration using online catalogs.

Support and Community

We have a community of people using astropop to perform data reduction. Also, we use this community to offer support for astropop users. Join the community at astropop-users Google-Groups

Dependencies

Some of astropop dependencies (numpy, astropy, scipy, astroscrappy) need gcc to get build. Make sure gcc is installed properly in your system.

There is nothing that prevent astropop itself to run on Windows. However, due to problems that comes from dependencies, mainly numpy and astrometry.net, astropop is currently supported only on Linux and Mac.

Astropop requires Python 3.11 or newer.

Bellow we list all the necessary dependencies for the good working of the code. Note that this can be changed with the time.

  • astroalign;

  • astropy >= 6.1.4;

  • astroquery;

  • astroscrappy;

  • numpy >= 2.0;

  • photutils >= 3.0;

  • scikit-image;

  • scikit-learn;

  • scipy >= 1.13;

  • sep.

Installation

Astropop can be downloaded from gh/sparc4-dev/astropop. It follows the stadard python package install procedure. All requirements can be installed with pip or conda.

Anaconda Environment

We recomend to use a anaconda environment to use astropop. Having the anaconda installed, use the following command to install a new <environment name> with conda dependencies:

conda create -n <environment name> -c conda-forge python=3.14 astroalign astropy astroquery astroscrappy matplotlib numpy photutils pyyaml reproject scikit-image scikit-learn scipy sep

Once the environment is created, you can activate the environment and install the astropop with pip.

conda activate <environment name>

Stable Version

The stable version of astropop is available in PyPi and can be installed directly with pip command.

pip install astropop

Development Version

The development (unstable) version can be installed from the github code. With pip, can be done in any of the 3 ways:

pip install -U git+https://github.com/sparc4-dev/astropop

or

pip install -U https://github.com/sparc4-dev/astropop/archive/refs/heads/main.zip

or

git clone https://github.com/sparc4-dev/astropop
cd astropop
pip install -U .

Citing

ADS Reference Publications of the Astronomy Society of the Pacific arXiv preprint ASCL register

An article was published in Publications of the Astronomical Society of the Pacific, vol.131, n.996, pp.024501, which is the main reference to this work. If you do not have access to PASP, the preprint was uploaded to arXiv:1811.01408.

Also, for latex citation, you can use the following BibTex:

@article{Campagnolo_2018,
    doi = {10.1088/1538-3873/aaecc2},
        url = {https://doi.org/10.1088%2F1538-3873%2Faaecc2},
        year = 2018,
        month = {dec},
        publisher = {{IOP} Publishing},
        volume = {131},
        number = {996},
        pages = {024501},
        author = {Julio Cesar Neves Campagnolo},
        title = {{ASTROPOP}: the {ASTROnomical} {POlarimetry} and Photometry Pipeline},
        journal = {Publications of the Astronomical Society of the Pacific},
}

Documentation

Documentation (not complete yet) can be found at astropop.readthedocs.io

Metadata

Release files for astropop 0.9.5.dev106

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astropop 0.9.5.dev106
File Size Uploaded Provenance
astropop-0.9.5.dev106.tar.gz 1.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for astropop 0.9.5.dev106
File Interpreter ABI Platform
astropop-0.9.5.dev106-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / astropop-0.9.5.dev106.tar.gz

Download URL astropop-0.9.5.dev106.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
d8f78d2ee3e1783b4f6493a0577a1907c5aacb5999f3a944377a943834658008
BLAKE2b-256 checksum
How to use checksums
90c979f6cfb2373fe7e31807677d7c79c5dc4fb8443781616662abf6be7defcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / astropop-0.9.5.dev106-py3-none-any.whl

Download URL astropop-0.9.5.dev106-py3-none-any.whl
Size 124.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46cc1a806fdd29b98f96f5e52d7a2e56e8aa2c3f706eea1228c74e89fad0dacf
BLAKE2b-256 checksum
How to use checksums
31ee2b065aed5ca80cf1b0a404955ab68531ebb8a799c4bb18e27e358fffca0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for astropop 0.9.5.dev106

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page