ivoflipse / Pawlabeling

Tool for processing and analyzing pressure measurements
Other
18 stars 1 forks source link

Make 2D and 3D versions of the calculations #29

Closed ivoflipse closed 10 years ago

ivoflipse commented 11 years ago

Currently all the calculations require 3D data (x, y, time), but if you want to calculate something for a specific slice (2D) and don't have the result for the entire array cached, there's no real option.

I currently work around it by slicing from frame:frame+1 (which has the shape of [:,:,1]), but that results a list instead of just the single value results

ivoflipse commented 10 years ago

Because I'm now calculating (and storing) all results beforehand, I don't really have a need for this yet, though obviously it shouldn't be hard to add. I'm 'declining' to change this for now