Skip to content

Commit

Permalink
add use-evd to config cli
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstanie committed Nov 13, 2024
1 parent 3f3d91e commit 28f8cfc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/dolphin/workflows/_cli_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def create_config(
mask_file: Optional[str] = None,
zero_where_masked: bool = False,
ministack_size: Optional[int] = 15,
use_evd: bool = False,
half_window_size: tuple[int, int] = (11, 5),
shp_method: ShpMethod = ShpMethod.GLRT,
baseline_lag: Optional[int] = None,
Expand Down Expand Up @@ -98,6 +99,7 @@ def create_config(
"ministack_size": ministack_size,
"half_window": {"x": half_window_size[0], "y": half_window_size[1]},
"shp_method": shp_method,
"use_evd": use_evd,
"baseline_lag": baseline_lag,
},
ps_options={
Expand Down Expand Up @@ -221,6 +223,11 @@ def get_parser(subparser=None, subcommand_name="run"):
default=15,
help="Strides/decimation factor (x, y) (in pixels) to use when determining",
)
pl_group.add_argument(
"--use-evd",
action="store_true",
help="Use EVD for phase linking instead of EMI/CPL",
)
# Half window size for the phase linking algorithm
pl_group.add_argument(
"-hw",
Expand Down

0 comments on commit 28f8cfc

Please sign in to comment.