Skip to content

Commit 9a7f8c0

Browse files
author
Michael Wester
authored
Merge pull request #49 from LidkeLab/test_drift
add SMD XY update in drift correction
2 parents b7a5133 + a7a12fe commit 9a7f8c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MATLAB/+smi_core/@DriftCorrection/driftCorrectKNNIntra.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@
223223
range = double(1:SMD.NFrames);
224224
SMD.DriftX(:, i) = polyval([PX', 0], range);
225225
SMD.DriftY(:, i) = polyval([PY', 0], range);
226+
SMD.X = XYC(:,1);
227+
SMD.Y = XYC(:,2);
226228

227229
if Ndims == 3
228230
PZ = P(2*PDegree + 1 : end);

0 commit comments

Comments
 (0)