Skip to main content

Pipeline for reducing Goodman HTS data.

Project description

Goodman Photometry

Build Status codecov PyPI Version License

Routines to perform automatic astrometry and photometry of Goodman imaging observations.

The codes were initially based on STDPipe (https://github.com/karpov-sv/stdpipe) and adapted for Goodman HST.

Features

  • Performs automatic astrometry to add celestial WCS to FITS files
  • Calculates photometric zero points using Gaia-DR2 catalog
  • Includes auxiliary functions for data processing
  • Provides both command-line and Python API interfaces

Installation

To install the package, run:

pip install goodman-photometry

Prerequisites

  • Python 3.10+
  • Required dependencies:
    • astropy
    • astroplan
    • ccdproc
    • cython
    • matplotlib
    • numpy
    • packaging
    • pandas
    • requests
    • scipy
    • statsmodels
    • astroquery
    • sip_tpv
    • setuptools

Usage

Command Line Interface

The package provides command-line scripts for processing observations:

#Process astrometry
redastrometry -i input.fits -o output.fits

# Process photometry
redphotometry -i input.fits -o output.fits

Python API

You can also use the package as a library in your Python code: from goodman_photometry import Astrometry, Photometry

Initialize astrometry processor

# The values of the parameters are set to the default values. So an empty call will work as well.
astrometry = Astrometry(
    catalog_name='gaiadr2',
    magnitude_threshold=17,
    scamp_flag=1,
    color_map='Blues_r',
    save_plots=False,
    save_scamp_plots=False,
    save_intermediary_files=False,
    debug=False
)

# Process the FITS file
astrometry('input.fits', 'output.fits')

# Initialize photometry processor, it will use the default values for the parameters.
photometry = Photometry()
photometry.process('input.fits', 'output.fits')

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -m "description"
  4. Push to the branch: git push origin feature-name
  5. Open a Pull Request

Please make sure to:

  • Include tests for new functionality
  • Update documentation
  • Follow PEP8 style guidelines

Contact Information

For questions, bug reports, or suggestions, please contact:

Project Links

License

This project is licensed under the BSD License. See the LICENSE file for details.

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

goodman_photometry-1.1.0.tar.gz (97.6 kB view details)

Uploaded Source

Built Distribution

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

goodman_photometry-1.1.0-py3-none-any.whl (64.0 kB view details)

Uploaded Python 3

File details

Details for the file goodman_photometry-1.1.0.tar.gz.

File metadata

  • Download URL: goodman_photometry-1.1.0.tar.gz
  • Upload date:
  • Size: 97.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for goodman_photometry-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1fa725d263a2c1f62ea95f4d0ad2c0d81a745f54fbb1851784e62dfc3b892f92
MD5 8b61d578bad0c1185e86803e868ebb56
BLAKE2b-256 64df64efdeef04f2d3ab26e6dbeabf0c4fcacdaa87d253644fd0f5d9623d4bc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for goodman_photometry-1.1.0.tar.gz:

Publisher: python-publish.yml on soar-telescope/goodman_photometry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file goodman_photometry-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for goodman_photometry-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99c968ce0fbaf41120639c7a84d04d5c5b8debcb8ecb9eb63ddf0a57d5fdc198
MD5 3770c31ee342ec0f868a9d9386357a17
BLAKE2b-256 a8fc465b29f5116867f999bfde6a1163d9e337c95f9c3b3b9cd617edb24981f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for goodman_photometry-1.1.0-py3-none-any.whl:

Publisher: python-publish.yml on soar-telescope/goodman_photometry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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