Skip to main content

Automated Chandra X-ray Data Pipeline and Merger

Project description

Chanmerge

Python Version License Topic

Chanmerge is a specialized Python library designed to automate the retrieval, reprocessing, and merging of Chandra X-ray Observatory data.


Scientific Workflow

The library automates a rigorous X-ray analysis chain to ensure data consistency and reproducibility:

  • Catalog Cross-Matching: Dynamically queries the chanmaster archival database using astroquery.heasarc to ensure all relevant spatial data within the user-defined search radius is captured.
  • Calibration Alignment: Standardizes the reprocessing of raw event files using the chandra_repro algorithm, ensuring every observation is synchronized with the latest CALDB (Calibration Database) updates.
  • Flux Synthesis: Automates the multi-step merge_obs process, including exposure map generation and aspect solution handling, to produce integrated flux images across specified energy bands.
  • Automated Workspace Management: Sanitizes file structures and handles directory-level organization, mitigating the risk of manual processing errors during large-scale archival studies.

Installation

Prerequisites

  • Python 3.12+
  • CIAO 4.16+ (Must be initialized in the environment)

Setup

pip install chanmerge

Quick Start

To begin your analysis, use the following Python command:

from chanmerge import auto_merge_obs

auto_merge_obs(
    ra="13:25:27.6", 
    dec="-43:01:09", 
    radius_arcmin=15.0
)

Author

Ahmet Sercan Kıyak
Boğaziçi University, Department of Physics


License

This project is licensed under the MIT License.

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

chanmerge-1.0.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

chanmerge-1.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chanmerge-1.0.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for chanmerge-1.0.0.tar.gz
Algorithm Hash digest
SHA256 da95e0d3c94988117d90b1ed523737c54be7e4ba8214730d0116f55f88acba86
MD5 24745c7358b275e39c0261aa79f22471
BLAKE2b-256 3f9b45fcfe085ab54c0453171924e4b0b010dfd2cda7aa94e78800df93ba566d

See more details on using hashes here.

File details

Details for the file chanmerge-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: chanmerge-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for chanmerge-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2602653c210361a791ef759105fc51606a313a2a53d622e9d2c0cf64fe09e050
MD5 fa9bd6393902fe9cc14006691491572f
BLAKE2b-256 983e5122e7731dd2ee01ee0ea450d152ffaacf6d79528bbe0dd55c2c4deded15

See more details on using hashes here.

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