https://github.com/cta-observatory/ctapipe_io_hess

Ctapipe stage 1 handler for H.E.S.S. data

https://github.com/cta-observatory/ctapipe_io_hess

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Ctapipe stage 1 handler for H.E.S.S. data

Basic Info
  • Host: GitHub
  • Owner: cta-observatory
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Size: 23.4 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.md

ctapipe-io-hess

A ctapipe io plugin for reading HESS DST data in ROOT format.

Documentation: ctapipe-io-hess docs

Installation

You can install this package via pip install ctapipe-io-hess. That will also install ctapipe if not already installed, and ctapipe tools with then automatically use the plugin. Check that it is installed correctly by running:

``` sh $ ctapipe-info --plugins

*** ctapipe_io plugins ***

 ctapipe_io_hess -- 0.1.dev4+ge42f6c8.d20250806

```

This may take a few seconds the first time you run it as ctapipe contains modules that are compiled on-the-fly, but it should be faster after.

Developer quick start:

To create a development environment with the things you need to test this package:

sh $ git clone <URL> $ conda env create -f environment.yml $ conda activate ctapipe-io-hess $ pre-commit install $ pip install -e .[all] $ pytest

When committing changes, be aware that the pre-commit checks are quite picky and will reject your commit until you fix what it wants! Use pre-commit run --all to show all errors, or just pre-commit run to see the errors associated with your change.

Project Structure / Packaging

This project uses setuptools for packaging and defines all necessary options in the file pyproject.toml. setup.py andsetup.cfg are not needed.

We use the src/ based layout, as this avoids several issues with editable installs and confusion with what is imported (local directory or installed module). See setuptools/src-layout.

Editable installations

Editable installations in this setup rely on PEP 660 (see above), support was introduced in pip 21.3 (released 2021-10) and setuptools 64.0 (released 2022-08). The setuptools version is required in pyproject.toml.

To install in editable mode, use $ pip install -e .

you can add extras, e.g. for developing and building the docs, use $ pip install -e '.[dev,doc,test]'

or just $ pip install -e '.[all]'

Keep in mind that editable installations have limitations as to what changes can take effect automatically without rerunning pip install -e .. Python code changes to existing files take effect, but for example adding new entry-points, changes to the source code of compiled extensions etc. will require rerunning the installation.

See https://setuptools.pypa.io/en/latest/userguide/development_mode.html#limitations

Versioning

This template uses setuptools_scm to automatically generate the version from the last git tag. For local development, setuptools_scm will build a version development version. For releases, version information is included in the sdist and wheel files and setuptools_scm is not used when installing those. The setup is somewhat complex and was taken by astropy. It ensures that the setuptools scm version is only used in development setups, not in the releases packages.

Docs

Build the documentation in html format using:

$ make -C docs html

To view them, you can run:

$ python -m http.server -d docs/build/html

You can also install sphinx-autobuild and run

sphinx-autobuild docs docs/build/html to get a continuously running and updating preview of the docs while you edit them.

Docs are automatically deployed on main and tags to gitlab pages.

Owner

  • Name: Cherenkov Telescope Array Consortium
  • Login: cta-observatory
  • Kind: organization

open-source software for the CTA Consortium.

GitHub Events

Total
  • Issues event: 4
  • Delete event: 6
  • Issue comment event: 3
  • Member event: 3
  • Push event: 24
  • Pull request event: 18
  • Fork event: 1
  • Create event: 5
Last Year
  • Issues event: 4
  • Delete event: 6
  • Issue comment event: 3
  • Member event: 3
  • Push event: 24
  • Pull request event: 18
  • Fork event: 1
  • Create event: 5

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 4
  • Total pull requests: 10
  • Average time to close issues: N/A
  • Average time to close pull requests: about 12 hours
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.3
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 10
  • Average time to close issues: N/A
  • Average time to close pull requests: about 12 hours
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.3
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kosack (4)
Pull Request Authors
  • kosack (9)
  • kunwijik (3)
Top Labels
Issue Labels
Pull Request Labels