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.0.1.tar.gz (95.9 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.1-py3-none-any.whl (62.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goodman_photometry-1.0.1.tar.gz
  • Upload date:
  • Size: 95.9 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.1.tar.gz
Algorithm Hash digest
SHA256 e6a6c13e838fdf565d3e3e704dc0fc2f23be9fd67e1b927fd7d939b54d6530e1
MD5 b54eb06ef608d832579cceaa887b9c2c
BLAKE2b-256 9a65cd41991db0cb229912878b9822fca752a82f294059eb85d6c5e66eef0bbf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for goodman_photometry-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0595974448b41389965f917cfb4ca0b9b4e459a1e6711028328b0a4cc85a9a16
MD5 4aa60a74d09dba71e83b5fab76042f09
BLAKE2b-256 04c2cbbbb792a8f5460ce76ac5304d10a1480379bd98ebf4b1f6984e4dd14a6d

See more details on using hashes here.

Provenance

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