Homec4science

Coloc 2: Simplify and reduce Pearsons interface and calculations

Authored by Daniel James White <dan@chalkie.org.uk> on Nov 4 2010, 15:19.

Description

Coloc 2: Simplify and reduce Pearsons interface and calculations

The interface offers now only one method for classic and fast implementation.
TwinValueRangeCursors are now used in both implementations to iterate
over the image data. With them one can have one implementation regardless
if one wants thresholded data or not.

AutoThresholdRegression now uses that and an own TwinValueRangeCursor to
iterate over the images. Due to that interface chagne it uses now the
Pearsons implementation choosen in the provided object in the constructor.
It reuses the cursor all the time and resets the thresholds of the predicats.

Furthermore a bug has been fixed where the stored Pearson R value was over-
written. It was caused by the call to Pearsons calculation during the
Costes significance test.

Details

Committed
Tom Kazimiers <tom@voodoo-arts.net>Feb 20 2011, 22:33
Pushed
oburriMar 8 2018, 18:06
Parents
R6269:c5ad87759bf4: Coloc 2: Pearson gets now executed all the time
Branches
Unknown
Tags
Unknown

Event Timeline

Tom Kazimiers <tom@voodoo-arts.net> committed R6269:a1f49a080028: Coloc 2: Simplify and reduce Pearsons interface and calculations (authored by Daniel James White <dan@chalkie.org.uk>).Feb 20 2011, 22:33