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

Uploaded Python 3

File details

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

File metadata

  • Download URL: chanmerge-1.0.1.tar.gz
  • Upload date:
  • Size: 5.8 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.1.tar.gz
Algorithm Hash digest
SHA256 dcbaad5d4988a019aa429357749675169de7ff12153c4447b39ede2585c8df43
MD5 f7c185ec460fa19d55a8460adb807c70
BLAKE2b-256 7e1e097ee6f8d9e4e3dc4b1d1d5a552cc66e903dabe679bb9b8f7a8f09f997fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chanmerge-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8de911a896745fa7a9ecb2391d750da16c539f225373d0c55a96ffa3169cdd0
MD5 e3292433f6dd7c1cdcca4f4c300fc19c
BLAKE2b-256 498acb39e11f21832b113dc4e3043d581f8e64db61d9ddb13081b010dc0c5d4f

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