Metadata-Version: 2.4
Name: tract7dt
Version: 0.1.2
Summary: 7DT image-specific Tractor photometry pipeline
Author: Danhyeuk Seol
License-Expression: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: pandas
Requires-Dist: astropy
Requires-Dist: photutils
Requires-Dist: sep
Requires-Dist: matplotlib
Requires-Dist: fitsio
Requires-Dist: emcee
Requires-Dist: PyYAML
Dynamic: license-file

# tract7dt

7DT image-specific Tractor photometry pipeline.
This distribution is licensed under MIT.

## Quick start

1) Install Tractor's prerequisites (see Tractor docs):

2) Install Tractor (from source or your preferred method).

3) Create a YAML config (see `tract7dt/data/sample_config.yaml`).

4) Run the full pipeline:

```bash
tract7dt run --config /path/to/config.yaml
```

## Commands

- `run`: full pipeline (load → ePSF → patches → patch inputs → patch runs → merge)
- `run-epsf`: build ePSF only
- `build-patches`: build patch definitions only
- `build-patch-inputs`: build patch inputs only
- `run-patches`: run Tractor on patch inputs
- `merge`: merge patch results into final catalog

## Notes

- The package preserves the reference behavior; changes are limited to packaging and path handling.
- Tractor and `astrometry.net` must be installed separately.
- Python prerequisites like `numpy` and `scipy` are included in dependencies; optional extras (eg `fitsio`, `emcee`) are included for safety.
- Input images are provided via a text file (one FITS path per line).
- Parameter mapping reference: `docs/CONFIG_MAPPING.md`.
