Skip to content

Commit

Permalink
don't simultaneously inpaint when not redavg'd
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Aug 5, 2024
1 parent 64ccf0b commit 665c23d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions hera_notebook_templates/notebooks/lststack.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,17 @@
" bl_chunk_size = None"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "71ce6ca2-29ec-4b7a-a599-36992e8795fe",
"metadata": {},
"outputs": [],
"source": [
"if \"{blchunk}\" not in fname_format:\n",
" raise ValueError(\"The fname_format is missing a {blchunk} format option\")"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -877,7 +888,7 @@
},
"outputs": [],
"source": [
"if do_simultaneous_inpainting:\n",
"if do_simultaneous_inpainting and data_is_redundantly_averaged:\n",
" auto_inpaint_dpss_models = []\n",
"\n",
" for i, stack in enumerate(auto_stacks):\n",
Expand Down Expand Up @@ -1143,7 +1154,7 @@
"outputs": [],
"source": [
"%%time\n",
"if do_simultaneous_inpainting:\n",
"if do_simultaneous_inpainting and data_is_redundantly_averaged:\n",
" inpaint_dpss_models = []\n",
"\n",
" for i, (stack, auto_stack) in enumerate(zip(cross_stacks, auto_stacks)):\n",
Expand Down

0 comments on commit 665c23d

Please sign in to comment.