bug fix and docstring fix in determin_reflect
@@ -3949,6 +3949,8 @@ def determine_reflect(thru_m, reflect_m, line_m, reflect_approx=None,
raw measurement of a thru
line_m : :class:`~skrf.network.Network`
raw measurement of a matched transmissive standard
+ reflect_m: :class:`~skrf.network.Network`
+ raw measurement of a reflect standard
reflect_approx : :class:`~skrf.network.Network`
approximate One-port network for the reflect. if None, then
we assume its a flush short (gamma=-1)
@@ -4015,7 +4017,7 @@ def determine_reflect(thru_m, reflect_m, line_m, reflect_approx=None,
return [Network(frequency=thru_m.frequency, s = k) for k in out]
if reflect_approx is None:
- reflect_approx = reflect.copy()
+ reflect_approx = reflect_m.copy()
reflect_approx.s[:,0,0]=-1
