Skip to content

Output filenames for filters #8

@Basi1i0

Description

@Basi1i0

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.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions