AbbyCui / CalciumImagingAnalysis

1 stars 2 forks source link

Why do all the outputs start at 2 #14

Open cawarwick opened 1 year ago

cawarwick commented 1 year ago

all of the smoothed/normalized csvs all start at time interval #2 rather than #1. I suspect within the Normalize function this is the culprit as it seems like it is overwriting the the first row rather than inserting. Consider fixing it, but if we do we'll need to test extensively because I suspect we've been compensating for this 1/2 mismatch in the rest of the code. e.g. in the plot/thresholding we may be referencing the time point 734 which should lie in the 734th row but it actually is in the 733rd row because all the time points start at 2.

image