Skip to main content

Analysis chain for the CTA MSTN NectarCAM prototype

Reason this release was yanked:

Broken source code layout

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.1.tar.gz (4.1 MB view hashes)

Uploaded Source

Built Distribution

nectarchain-0.1.1-py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 3

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