Those filenames were used in many processed files
Bug 2 — movieEstimateHemoGFilt.m lines 132/134 — Wxy and Wsm saved to each other's files
% line 132 (BUG): saves Wxy to the Wsm/W0 output path
rw.h5saveMovie(fullpathWsm_out, reshape(Wxy, ...), specs_out);
% line 134 (BUG): saves Wsm to the Wxy output path
rw.h5saveMovie(fullpathWxy_out, reshape(Wsm, ...), specs_out);
Impact: The per-pixel local filter (Wxy) and spatially-smoothed filter (Wsm) are written to each other's files in the diagnostic folder. Any downstream code that loads _Wxy.h5 gets Wsm and vice versa.
Fix: Swap the two save calls:
rw.h5saveMovie(fullpathWxy_out, reshape(Wxy, ...), specs_out);
rw.h5saveMovie(fullpathWsm_out, reshape(Wsm, ...), specs_out);
Bug 3 — movieEstimateHemoGFiltTR.m lines 148/150 — same swap as Bug 2
% line 148 (BUG):
rw.h5saveMovie(fullpathWsm_out, reshape(Wxy, ...), specs_out);
% line 150 (BUG):
rw.h5saveMovie(fullpathWxy_out, reshape(Wsm, ...), specs_out);
Identical issue to Bug 2, in the time-resolved variant.
Those filenames were used in many processed files
Bug 2 —
movieEstimateHemoGFilt.mlines 132/134 — Wxy and Wsm saved to each other's filesImpact: The per-pixel local filter (
Wxy) and spatially-smoothed filter (Wsm) are written to each other's files in the diagnostic folder. Any downstream code that loads_Wxy.h5getsWsmand vice versa.Fix: Swap the two save calls:
Bug 3 —
movieEstimateHemoGFiltTR.mlines 148/150 — same swap as Bug 2Identical issue to Bug 2, in the time-resolved variant.