From 741b8b4c025755c07992ca007e3f0eedd8483eb4 Mon Sep 17 00:00:00 2001 From: Brian Jackson Date: Mon, 16 May 2016 11:20:04 -0600 Subject: [PATCH] Fix HKL PC conversion --- Code/ReadCTFFile.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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