Skip to content

Commit

Permalink
small fixes for per-night inpainting
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Mar 2, 2025
1 parent c44dfa0 commit 54a8c6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hera_notebook_templates/notebooks/lststack.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@
"inpaint_standoff: float = 0.0 # ns\n",
"inpaint_eigencutoff: float = 1e-12\n",
"inpaint_mindelay: float = 500.0 # ns\n",
"inpaint_max_gap_factor: float = 1.5\n",
"inpaint_max_convolved_flag_frac: float = 0.667\n",
"inpaint_max_gap_factor: float = 1.0\n",
"inpaint_max_convolved_flag_frac: float = 0.4\n",
"inpaint_sample_cov_fraction: float = 0.0 # Default zero uses variance, one uses full sample covariance\n",
"inpaint_use_unbiased_estimator: bool = False # Default False slight over estimate of the covariance, but guaranteed to be non-negative\n",
"spws: str = \"50.1~62.2,63.3~73.5,74.6~85.4,108.0~116.1,117.3~124.4,125.3~136.2,138.3~148.2,150.1~159.2,159.3~169.9,171.9~181.1,181.4~196.4,198.5~208.4,212.3~220.6,224.4~231.1\"\n",
Expand Down Expand Up @@ -1798,9 +1798,9 @@
"source": [
"if make_plots and inpaint_method in ['simultaneous', 'per-night']:\n",
" biggest_inpaint_diffs = {}\n",
" n_biggest_diffs = 5\n",
" n_biggest_diffs = 1\n",
"\n",
" for band in inpaint_bands:\n",
" for band in spws:\n",
" biggest_inpaint_diffs[(band.start, band.stop)] = get_biggest_inpaint_differences(band, n=n_biggest_diffs)\n"
]
},
Expand Down

0 comments on commit 54a8c6f

Please sign in to comment.