bugfix: parallel model phase converted now to radians

This commit is contained in:
2022-10-25 11:09:17 +02:00
parent e90512b9d5
commit 9e7f405d06

View File

@ -2,7 +2,8 @@ import numpy as np
from scipy.optimize import fsolve
def parallel2gap(K, phi, undudict):
def parallel2gap(K, phi_in_degree, undudict):
phi = math.radians(phi_in_degree)
gLH = K2gap(K, undudict['K-value_LH'])
if phi >= 0.0:
gLV = K2gap(K, undudict['K-value_LV+'])