Skip to main content

Analysis chain for the CTA MSTN NectarCAM prototype

Project description

nectarchain Build Status

Repository for the high level analysis of the NectarCAM data. The analysis is heavily based on ctapipe, adding custom code for NectarCAM calibration.

Installation

git clone https://github.com/cta-observatory/nectarchain.git
cd nectarchain
# or conda
mamba env create --name nectarchain --file environment.yml
mamba activate nectarchain
pip install .

If you are a developer, better you follow the same conventions as ctapipe, as described in https://cta-observatory.github.io/ctapipe/getting_started/index.html#developing-a-new-feature-or-code-change, and pip-install nectarchain in development (aka editable) mode:

pip install -e .

To enable support for DIRAC within the same environment, do the following after the installation of nectarchain described above:

# or conda
mamba activate nectarchain 
mamba install -c conda-forge dirac-grid
conda env config vars set X509_CERT_DIR=${CONDA_PREFIX}/etc/grid-security/certificates X509_VOMS_DIR=${CONDA_PREFIX}/etc/grid-security/vomsdir X509_VOMSES=${CONDA_PREFIX}/etc/grid-security/vomses
# the following is needed for the environment variables, used for DIRAC configuration, to be available:
mamba deactivate
mamba activate nectarchain
pip install CTADIRAC
# optional:
pip install COMDIRAC
dirac-configure

nectarchain is currently pinned to ctapipe version 0.12.

Contributing

All contribution are welcome.

Guidelines are the same as ctapipe's ones See here how to make a pull request to contribute.

Report issue / Ask a question

Please use GitHub Issues.

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

nectarchain-0.1.2.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

nectarchain-0.1.2-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file nectarchain-0.1.2.tar.gz.

File metadata

  • Download URL: nectarchain-0.1.2.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for nectarchain-0.1.2.tar.gz
Algorithm Hash digest
SHA256 779dc9a95d37e1b2de3b0a93cfddf6853a89804e064d6122b83a68bcaac65a1c
MD5 c0196d3f7d989f125230a8ddfa6ab174
BLAKE2b-256 d7099414abca23194505a99f1ff3e088911f5171fe693ad6ad4c08ad791c34f5

See more details on using hashes here.

File details

Details for the file nectarchain-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nectarchain-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for nectarchain-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e1cff4e25c3b07f0c58921d0cd9b2e82e0e30407eade02a37acab4db252f913
MD5 2cac88904f004b856deb81202e3efb0e
BLAKE2b-256 ca76a8595a314ca9ed015ce52740d23cc0ceeb6db9ea8826384142218f0aca0f

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