Pipeline for reducing Goodman HTS data.
Project description
Goodman Photometry
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
- Fork the repository
- Create a feature branch: git checkout -b feature-name
- Commit your changes: git commit -m "description"
- Push to the branch: git push origin feature-name
- 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:
- Felipe Navarete - felipe.navarete@noirlab.edu
- Simón Torres - simon.torres@noirlab.edu
Project Links
- Homepage: https://github.com/soar-telescope/goodman_photometry
- Bug Reports: https://github.com/soar-telescope/goodman_photometry/issues
- Source Code: https://github.com/soar-telescope/goodman_photometry
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6a6c13e838fdf565d3e3e704dc0fc2f23be9fd67e1b927fd7d939b54d6530e1
|
|
| MD5 |
b54eb06ef608d832579cceaa887b9c2c
|
|
| BLAKE2b-256 |
9a65cd41991db0cb229912878b9822fca752a82f294059eb85d6c5e66eef0bbf
|
Provenance
The following attestation bundles were made for goodman_photometry-1.0.1.tar.gz:
Publisher:
python-publish.yml on soar-telescope/goodman_photometry
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goodman_photometry-1.0.1.tar.gz -
Subject digest:
e6a6c13e838fdf565d3e3e704dc0fc2f23be9fd67e1b927fd7d939b54d6530e1 - Sigstore transparency entry: 192032157
- Sigstore integration time:
-
Permalink:
soar-telescope/goodman_photometry@5910855772c414a2c745f6fba2412e0a2a6a8ad2 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/soar-telescope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5910855772c414a2c745f6fba2412e0a2a6a8ad2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file goodman_photometry-1.0.1-py3-none-any.whl.
File metadata
- Download URL: goodman_photometry-1.0.1-py3-none-any.whl
- Upload date:
- Size: 62.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0595974448b41389965f917cfb4ca0b9b4e459a1e6711028328b0a4cc85a9a16
|
|
| MD5 |
4aa60a74d09dba71e83b5fab76042f09
|
|
| BLAKE2b-256 |
04c2cbbbb792a8f5460ce76ac5304d10a1480379bd98ebf4b1f6984e4dd14a6d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goodman_photometry-1.0.1-py3-none-any.whl -
Subject digest:
0595974448b41389965f917cfb4ca0b9b4e459a1e6711028328b0a4cc85a9a16 - Sigstore transparency entry: 192032161
- Sigstore integration time:
-
Permalink:
soar-telescope/goodman_photometry@5910855772c414a2c745f6fba2412e0a2a6a8ad2 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/soar-telescope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5910855772c414a2c745f6fba2412e0a2a6a8ad2 -
Trigger Event:
push
-
Statement type: