Skip to main content

dl1 HDF5 data reader + processor

Project description

DOI Anaconda-Server Badge Latest Release Continuos Integration

A package of utilities for reading, and applying image processing to Cherenkov Telescope Array (CTA) R0/R1/DL0/DL1 data in a standardized format. Created primarily for testing machine learning image analysis techniques on IACT data.

Currently supports ctapipe v6.0.0 data format.

Previously named image-extractor (v0.1.0 - v0.6.0). Currently under development, intended for internal use only.

Installation

The following installation method (for Linux) is recommended:

Installing as a conda package

To install dl1-data-handler as a conda package, first install Anaconda by following the instructions here: https://www.anaconda.com/distribution/.

The following command will set up a conda virtual environment, add the necessary package channels, and install dl1-data-handler specified version and its dependencies:

DL1DH_VER=0.12.0
wget https://raw.githubusercontent.com/cta-observatory/dl1-data-handler/v$DL1DH_VER/environment.yml
conda env create -n [ENVIRONMENT_NAME] -f environment.yml
conda activate [ENVIRONMENT_NAME]
conda install -c ctlearn-project dl1_data_handler=$DL1DH_VER

This should automatically install all dependencies (NOTE: this may take some time, as by default MKL is included as a dependency of NumPy and it is very large).

Dependencies

The main dependencies are:

  • PyTables >= 3.8

  • NumPy >= 1.20.0

  • ctapipe == 0.21.2

Also see setup.py.

Usage

ImageMapper

The ImageMapper class transforms the hexagonal input pixels into a 2D Cartesian output image. The basic usage is demonstrated in the ImageMapper tutorial. It requires ctapipe-extra outside of the dl1-data-handler. See this publication for a detailed description: arXiv:1912.09898

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

dl1_data_handler-0.12.0.tar.gz (944.4 kB view details)

Uploaded Source

Built Distribution

dl1_data_handler-0.12.0-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file dl1_data_handler-0.12.0.tar.gz.

File metadata

  • Download URL: dl1_data_handler-0.12.0.tar.gz
  • Upload date:
  • Size: 944.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for dl1_data_handler-0.12.0.tar.gz
Algorithm Hash digest
SHA256 f26517317f884acdcda7cbaf7484c37db6bd820e0be8cb5da8b814dd84abcf52
MD5 7d51df6b30c05d77d12c65329f67f92f
BLAKE2b-256 ccd2f17847f69f1b59f2e65857ff7df4df4aa76582be7626bf49ca52d64fc721

See more details on using hashes here.

File details

Details for the file dl1_data_handler-0.12.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dl1_data_handler-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1211e2c72afec8e985dccc83a681df2faa538c09b76922feab99347cce5a2c6
MD5 4ea3dc6b989b836768bd49e9cf4dfc80
BLAKE2b-256 e9687dad5c113bb287def496733e8e9e225116ad8a41fb194ce1c4c2d43a1148

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page