JinghaoLu / MIN1PIPE

A MINiscope 1-photon-based Calcium Imaging Signal Extraction PIPEline.
GNU General Public License v3.0
56 stars 25 forks source link

[FIX] Update normalize.m #73

Open SelenaLG opened 2 months ago

SelenaLG commented 2 months ago

Change nanmin and nanmax to min and max (recommended by MATLAB)

JinghaoLu commented 2 months ago

Previous Matlab has nanmin to exclude NaN values in the array when calculating minimum. Latest Matlab uses min(array, [], 'omitnan') to do the same thing. Using min(array) does not do the same thing