Skip to content

Commit

Permalink
Merge pull request #52 from HealthyPear/rollback-grid_support
Browse files Browse the repository at this point in the history
Rollback for GRID support
  • Loading branch information
HealthyPear authored Jun 9, 2020
2 parents a328138 + ac7bd3c commit 8b35ee8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions protopipe/aux/example_config_files/grid/grid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ GRID:
# The following DL0 paths refer to directory structure shown at Lugano
# you will find it together with the rest of the files

# Better use absolute paths to be sure!

EnergyRegressor:
# This list is used to build an energy regressor, if output_type=DL1 and
# if estimate_energy is False
Expand Down
1 change: 1 addition & 0 deletions protopipe/aux/example_config_files/protopipe/analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ General:
# WARNING: for simulations containing multiple copies of the telescopes,
# only 'full_array' or custom list are supported options!
array: full_array
cam_id_list : ['LSTCam'] # List of camera IDs to be used

# Cleaning for reconstruction
ImageCleaning:
Expand Down
8 changes: 8 additions & 0 deletions protopipe/pipeline/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ def make_argparser():
help="give a specific list of files to run on",
)

parser.add_argument(
"--cam_ids",
type=str,
default=["LSTCam", "NectarCam"],
nargs="*",
help="give the specific list of camera types to run on",
)

parser.add_argument(
"--wave_dir",
type=str,
Expand Down
2 changes: 1 addition & 1 deletion protopipe/scripts/write_dl1.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def main():
)

parser.add_argument(
"--estimate_energy", action="store_true", help="Estimate energy"
"--estimate_energy", type=str2bool, default=False, help="Estimate energy"
)
parser.add_argument(
"--regressor_dir", type=str, default="./", help="regressors directory"
Expand Down

0 comments on commit 8b35ee8

Please sign in to comment.