Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing console scripts for MAGIC-LST1 analysis #47

Merged
merged 8 commits into from
Apr 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion magicctapipe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from .version import __version__
from . import image
from . import irfs
from . import reco
from . import scripts
from . import utils

from .version import __version__

__all__ = [
"image",
Expand Down
6 changes: 6 additions & 0 deletions magicctapipe/scripts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from .lst1_magic import (
create_dl3_index_files,
create_irf,
dl1_stereo_to_dl2,
dl2_to_dl3,
event_coincidence,
mc_dl0_to_dl1,
stereo_reconstruction,
Expand All @@ -11,7 +14,10 @@
)

__all__ = [
'create_dl3_index_files',
'create_irf',
'dl1_stereo_to_dl2',
'dl2_to_dl3',
'event_coincidence',
'mc_dl0_to_dl1',
'stereo_reconstruction',
Expand Down
6 changes: 6 additions & 0 deletions magicctapipe/scripts/lst1_magic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from .create_dl3_index_files import create_dl3_index_files
from .lst1_magic_create_irf import create_irf
from .lst1_magic_dl1_stereo_to_dl2 import dl1_stereo_to_dl2
from .lst1_magic_dl2_to_dl3 import dl2_to_dl3
from .lst1_magic_event_coincidence import event_coincidence
from .lst1_magic_mc_dl0_to_dl1 import mc_dl0_to_dl1
from .lst1_magic_stereo_reco import stereo_reconstruction
Expand All @@ -11,7 +14,10 @@
from .merge_hdf_files import merge_hdf_files

__all__ = [
'create_dl3_index_files',
'create_irf',
'dl1_stereo_to_dl2',
'dl2_to_dl3',
'event_coincidence',
'mc_dl0_to_dl1',
'stereo_reconstruction',
Expand Down
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
#!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst

# import ah_bootstrap
from setuptools import setup, find_packages
import os
from setuptools import setup, find_packages

entry_points = {}
entry_points["console_scripts"] = [
"lst1_magic_dl1_to_dl2 = magicctapipe.scripts.lst1_magic.lst1_magic_dl1_to_dl2:main",
"create_dl3_index_files = magicctapipe.scripts.lst1_magic.create_dl3_index_files:main",
"lst1_magic_create_irf = magicctapipe.scripts.lst1_magic.lst1_magic_create_irf:main",
"lst1_magic_dl1_stereo_to_dl2 = magicctapipe.scripts.lst1_magic.lst1_magic_dl1_stereo_to_dl2:main",
"lst1_magic_dl2_to_dl3 = magicctapipe.scripts.lst1_magic.lst1_magic_dl2_to_dl3:main",
"lst1_magic_event_coincidence = magicctapipe.scripts.lst1_magic.lst1_magic_event_coincidence:main",
"lst1_magic_mc_dl0_to_dl1 = magicctapipe.scripts.lst1_magic.lst1_magic_mc_dl0_to_dl1:main",
"lst1_magic_stereo_reco = magicctapipe.scripts.lst1_magic.lst1_magic_stereo_reco:main",
"lst1_magic_train_rfs = magicctapipe.scripts.lst1_magic.lst1_magic_train_rfs:main",
"magic_data_cal_to_dl1 = magicctapipe.scripts.lst1_magic.magic_data_cal_to_dl1:main",
"magic_calib_to_dl1 = magicctapipe.scripts.lst1_magic.magic_calib_to_dl1:main",
"merge_hdf_files = magicctapipe.scripts.lst1_magic.merge_hdf_files:main",
]

Expand Down