dl1-data-handler


Namedl1-data-handler JSON
Version 0.12.0 PyPI version JSON
download
home_pagehttp://github.com/cta-observatory/dl1-data-handler
Summarydl1 HDF5 data reader + processor
upload_time2024-07-09 14:27:21
maintainerNone
docs_urlNone
authorDL1DH Team
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            DL1 Data Handler
================


.. image:: https://zenodo.org/badge/72042185.svg
   :target: https://zenodo.org/badge/latestdoi/72042185
   :alt: DOI


.. image:: https://anaconda.org/ctlearn-project/dl1_data_handler/badges/version.svg
   :target: https://anaconda.org/ctlearn-project/dl1_data_handler/
   :alt: Anaconda-Server Badge


.. image:: https://img.shields.io/pypi/v/dl1-data-handler
    :target: https://pypi.org/project/dl1-data-handler/
    :alt: Latest Release


.. image:: https://github.com/cta-observatory/dl1-data-handler/actions/workflows/python-package-conda.yml/badge.svg
    :target: https://github.com/cta-observatory/dl1-data-handler/actions/workflows/python-package-conda.yml
    :alt: Continuos Integration

A package of utilities for reading, and applying image processing to `Cherenkov Telescope Array (CTA) <https://www.ctao.org/>`_ 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:

.. code-block:: bash

   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 <https://github.com/cta-observatory/dl1-data-handler/blob/master/notebooks/test_image_mapper.ipynb>`_. It requires `ctapipe-extra <https://github.com/cta-observatory/ctapipe-extra>`_ outside of the dl1-data-handler. See this publication for a detailed description: `arXiv:1912.09898 <https://arxiv.org/abs/1912.09898>`_


Links
-----


* `Cherenkov Telescope Array (CTA) <https://www.ctao.org/>`_ - Homepage of the CTA Observatory 
* `CTLearn <https://github.com/ctlearn-project/ctlearn/>`_ and `GammaLearn <https://gitlab.lapp.in2p3.fr/GammaLearn/GammaLearn>`_ - Repository of code for studies on applying deep learning to IACT analysis tasks. Maintained by groups at Columbia University, Universidad Complutense de Madrid, Barnard College (CTLearn) and LAPP (GammaLearn).
* `ctapipe <https://cta-observatory.github.io/ctapipe/>`_ - Official documentation for the ctapipe analysis package (in development)


            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/cta-observatory/dl1-data-handler",
    "name": "dl1-data-handler",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "DL1DH Team",
    "author_email": "d.nieto@ucm.es",
    "download_url": "https://files.pythonhosted.org/packages/cc/d2/f17847f69f1b59f2e65857ff7df4df4aa76582be7626bf49ca52d64fc721/dl1_data_handler-0.12.0.tar.gz",
    "platform": null,
    "description": "DL1 Data Handler\n================\n\n\n.. image:: https://zenodo.org/badge/72042185.svg\n   :target: https://zenodo.org/badge/latestdoi/72042185\n   :alt: DOI\n\n\n.. image:: https://anaconda.org/ctlearn-project/dl1_data_handler/badges/version.svg\n   :target: https://anaconda.org/ctlearn-project/dl1_data_handler/\n   :alt: Anaconda-Server Badge\n\n\n.. image:: https://img.shields.io/pypi/v/dl1-data-handler\n    :target: https://pypi.org/project/dl1-data-handler/\n    :alt: Latest Release\n\n\n.. image:: https://github.com/cta-observatory/dl1-data-handler/actions/workflows/python-package-conda.yml/badge.svg\n    :target: https://github.com/cta-observatory/dl1-data-handler/actions/workflows/python-package-conda.yml\n    :alt: Continuos Integration\n\nA package of utilities for reading, and applying image processing to `Cherenkov Telescope Array (CTA) <https://www.ctao.org/>`_ R0/R1/DL0/DL1 data in a standardized format. Created primarily for testing machine learning image analysis techniques on IACT data.\n\nCurrently supports ctapipe v6.0.0 data format. \n\nPreviously named image-extractor (v0.1.0 - v0.6.0). Currently under development, intended for internal use only.\n\n\nInstallation\n------------\n\nThe following installation method (for Linux) is recommended:\n\nInstalling as a conda package\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nTo install dl1-data-handler as a conda package, first install Anaconda by following the instructions here: https://www.anaconda.com/distribution/.\n\nThe following command will set up a conda virtual environment, add the\nnecessary package channels, and install dl1-data-handler specified version and its dependencies:\n\n.. code-block:: bash\n\n   DL1DH_VER=0.12.0\n   wget https://raw.githubusercontent.com/cta-observatory/dl1-data-handler/v$DL1DH_VER/environment.yml\n   conda env create -n [ENVIRONMENT_NAME] -f environment.yml\n   conda activate [ENVIRONMENT_NAME]\n   conda install -c ctlearn-project dl1_data_handler=$DL1DH_VER\n\nThis 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).\n\n\nDependencies\n------------\n\nThe main dependencies are:\n\n\n* PyTables >= 3.8\n* NumPy >= 1.20.0\n* ctapipe == 0.21.2\n\nAlso see setup.py.\n\nUsage\n-----\n\nImageMapper\n^^^^^^^^^^^\n\nThe ImageMapper class transforms the hexagonal input pixels into a 2D Cartesian output image. The basic usage is demonstrated in the `ImageMapper tutorial <https://github.com/cta-observatory/dl1-data-handler/blob/master/notebooks/test_image_mapper.ipynb>`_. It requires `ctapipe-extra <https://github.com/cta-observatory/ctapipe-extra>`_ outside of the dl1-data-handler. See this publication for a detailed description: `arXiv:1912.09898 <https://arxiv.org/abs/1912.09898>`_\n\n\nLinks\n-----\n\n\n* `Cherenkov Telescope Array (CTA) <https://www.ctao.org/>`_ - Homepage of the CTA Observatory \n* `CTLearn <https://github.com/ctlearn-project/ctlearn/>`_ and `GammaLearn <https://gitlab.lapp.in2p3.fr/GammaLearn/GammaLearn>`_ - Repository of code for studies on applying deep learning to IACT analysis tasks. Maintained by groups at Columbia University, Universidad Complutense de Madrid, Barnard College (CTLearn) and LAPP (GammaLearn).\n* `ctapipe <https://cta-observatory.github.io/ctapipe/>`_ - Official documentation for the ctapipe analysis package (in development)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "dl1 HDF5 data reader + processor",
    "version": "0.12.0",
    "project_urls": {
        "Homepage": "http://github.com/cta-observatory/dl1-data-handler"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9687dad5c113bb287def496733e8e9e225116ad8a41fb194ce1c4c2d43a1148",
                "md5": "4ea3dc6b989b836768bd49e9cf4dfc80",
                "sha256": "c1211e2c72afec8e985dccc83a681df2faa538c09b76922feab99347cce5a2c6"
            },
            "downloads": -1,
            "filename": "dl1_data_handler-0.12.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4ea3dc6b989b836768bd49e9cf4dfc80",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 32629,
            "upload_time": "2024-07-09T14:27:19",
            "upload_time_iso_8601": "2024-07-09T14:27:19.619652Z",
            "url": "https://files.pythonhosted.org/packages/e9/68/7dad5c113bb287def496733e8e9e225116ad8a41fb194ce1c4c2d43a1148/dl1_data_handler-0.12.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ccd2f17847f69f1b59f2e65857ff7df4df4aa76582be7626bf49ca52d64fc721",
                "md5": "7d51df6b30c05d77d12c65329f67f92f",
                "sha256": "f26517317f884acdcda7cbaf7484c37db6bd820e0be8cb5da8b814dd84abcf52"
            },
            "downloads": -1,
            "filename": "dl1_data_handler-0.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7d51df6b30c05d77d12c65329f67f92f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 944435,
            "upload_time": "2024-07-09T14:27:21",
            "upload_time_iso_8601": "2024-07-09T14:27:21.033393Z",
            "url": "https://files.pythonhosted.org/packages/cc/d2/f17847f69f1b59f2e65857ff7df4df4aa76582be7626bf49ca52d64fc721/dl1_data_handler-0.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-09 14:27:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cta-observatory",
    "github_project": "dl1-data-handler",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "landscape": true,
    "lcname": "dl1-data-handler"
}
        
Elapsed time: 0.36908s