Skip to content

Commit

Permalink
adding conviqt-calibrate parser argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe Puglisi committed Jun 8, 2020
1 parent aa6aa20 commit 1c8ef3b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/toast/pipeline_tools/sky_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,22 @@ def add_conviqt_args(parser):
dest="conviqt_normalize_beam",
)
parser.set_defaults(conviqt_normalize_beam=False)

parser.add_argument(
"--conviqt-calibrate",
required=False,
action="store_true",
help="Normalize the beams",
dest="conviqt_calibrate",
)
parser.add_argument(
"--no-conviqt-calibrate",
required=False,
action="store_false",
help="Do not normalize the beams",
dest="conviqt_calibrate",
)
parser.set_defaults(conviqt_calibrate=True)
parser.add_argument(
"--conviqt-remove-monopole",
required=False,
Expand Down Expand Up @@ -278,7 +294,7 @@ def apply_conviqt(args, comm, data, cache_prefix="signal", verbose=True):
pol=True,
fwhm=args.conviqt_fwhm,
order=args.conviqt_order,
calibrate=True,
calibrate=args.conviqt_calibrate,
dxx=args.conviqt_dxx,
out=cache_prefix,
remove_monopole=args.conviqt_remove_monopole,
Expand Down Expand Up @@ -327,7 +343,7 @@ def apply_weighted_conviqt(args, comm, data, cache_prefix="signal", verbose=True
pol=True,
fwhm=args.conviqt_fwhm,
order=args.conviqt_order,
calibrate=True,
calibrate=args.conviqt_calibrate,
dxx=args.conviqt_dxx,
out=cache_prefix,
remove_monopole=args.conviqt_remove_monopole,
Expand Down

0 comments on commit 1c8ef3b

Please sign in to comment.