From e5343de2b8f214f362450b077301035ec9193c7c Mon Sep 17 00:00:00 2001 From: Martin Vonk Date: Tue, 6 Dec 2022 19:43:06 +0100 Subject: [PATCH] Update utils.py --- src/vs2dpy/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs2dpy/utils.py b/src/vs2dpy/utils.py index 011db7a..55a7374 100644 --- a/src/vs2dpy/utils.py +++ b/src/vs2dpy/utils.py @@ -162,8 +162,8 @@ def cosby( k10 = 0.600 k11 = 0.640 k12 = 1.260 - c = c / 100 - sp = sp / 100 + c = self.c / 100 + sp = self.sp / 100 b = k01 + k02 * c - k03 * sp theta_s = k04 - k05 * c - k06 * sp psi_s = 0.01 * 10 ** (k07 - k08 * c - k09 * sp)