diff --git a/Code/ReadCTFFile.m b/Code/ReadCTFFile.m index a9f58ac..ee8891e 100644 --- a/Code/ReadCTFFile.m +++ b/Code/ReadCTFFile.m @@ -100,7 +100,7 @@ function ScanParamsData(FileStr, VarName) ScanParams.zstar = 0.1; else ScanParams.xstar = (ScanParams.PCX-(1-ScanParams.VHRatio)/2)/ScanParams.VHRatio; - ScanParams.ystar = ScanParams.PCY; + ScanParams.ystar = ScanParams.PCY/ScanParams.VHRatio; ScanParams.zstar = ScanParams.DD/ScanParams.VHRatio; end