Skip to content

Commit

Permalink
simplify parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdillon committed Jun 4, 2024
1 parent 94a7e22 commit 56614c8
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions hera_notebook_templates/notebooks/lststack.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,11 @@
"plot_every: int = 1\n",
"\n",
"# In-painting config\n",
"delay_filter_horizon: float = 1.0\n",
"delay_filter_standoff: float = 0.0 # ns\n",
"delay_filter_mindelay: float = 150.0 # ns\n",
"delay_filter_eigencutoff: float = 1e-12\n",
"inpaint_mindelay: float = 500.0 # ns\n",
"inpaint_cache_dir: str = \"\" # leave empty to NOT write cache to file. If a file, all LST-bins should use the same file so they can take advantage of it.\n",
"inpaint_horizon: float = 1.0\n",
"inpaint_standoff: float = 0.0 # ns\n",
"inpaint_eigencutoff: float = 1e-12\n",
"inpaint_mindelay: float = 500.0 # ns\n",
"inpaint_cache_dir: str = \"\" # leave empty to NOT write cache to file. If a file, all LST-bins should use the same file so they can take advantage of it.\n",
"inpaint_max_gap_factor: float = 2.0\n",
"inpaint_max_convolved_flag_frac: float = 0.667\n",
"\n",
Expand Down Expand Up @@ -1443,10 +1442,10 @@
" cache = _INPAINT_CACHE_,\n",
" filter_properties = {\n",
" \"min_dly\": inpaint_mindelay, \n",
" \"horizon\": delay_filter_horizon,\n",
" \"standoff\": delay_filter_standoff, \n",
" \"horizon\": inpaint_horizon,\n",
" \"standoff\": inpaint_standoff, \n",
" },\n",
" eigenval_cutoff=[delay_filter_eigencutoff], \n",
" eigenval_cutoff=[inpaint_eigencutoff], \n",
" )\n",
"\n",
" auto_inpaint_dpss_models.append(dpss_models)\n",
Expand Down Expand Up @@ -1657,10 +1656,10 @@
" cache = _INPAINT_CACHE_,\n",
" filter_properties = {\n",
" \"min_dly\": inpaint_mindelay, \n",
" \"horizon\": delay_filter_horizon,\n",
" \"standoff\": delay_filter_standoff, \n",
" \"horizon\": inpaint_horizon,\n",
" \"standoff\": inpaint_standoff, \n",
" },\n",
" eigenval_cutoff=[delay_filter_eigencutoff], \n",
" eigenval_cutoff=[inpaint_eigencutoff], \n",
" )\n",
" inpaint_dpss_models.append(dpss_models)\n",
" cross_lstavg[i]['data'] = _avg['data']\n",
Expand Down

0 comments on commit 56614c8

Please sign in to comment.