Skip to main content

Pipeline for reducing Goodman HTS data.

Project description

Goodman Photometry

Build Status 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.0.0.tar.gz (94.1 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.0.0-py3-none-any.whl (61.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goodman_photometry-1.0.0.tar.gz
  • Upload date:
  • Size: 94.1 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.0.0.tar.gz
Algorithm Hash digest
SHA256 5c3cb46ac22ef36c183072c6dba07735697f01d728cb298391cc147b6e23b875
MD5 886c3eae02cfd75353830ec11f3ce63f
BLAKE2b-256 7e6963876c1918ffe8a5907ddcca54bc8c83fa96907d9f016f32507fa89c4472

See more details on using hashes here.

Provenance

The following attestation bundles were made for goodman_photometry-1.0.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.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for goodman_photometry-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1947ce08a76ff424981426a74f1d57c8707f3540dcad5200a92d8d3cacf0618b
MD5 186343d088766e30506daedb678ddf08
BLAKE2b-256 e830bf1b3c72dcdba9319fe86490735713fd00c1dc4516269aad5b12cee563f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for goodman_photometry-1.0.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