diff --git a/qcodes/instrument_drivers/agilent/Agilent_E8257D.py b/qcodes/instrument_drivers/agilent/Agilent_E8257D.py index 168f4d037977..cc3528b78083 100644 --- a/qcodes/instrument_drivers/agilent/Agilent_E8257D.py +++ b/qcodes/instrument_drivers/agilent/Agilent_E8257D.py @@ -106,8 +106,8 @@ def __init__( unit="deg", get_cmd="PHASE?", set_cmd="PHASE" + " {:.8f}", - get_parser=np.rad2deg(), - set_parser=np.deg2rad(), + get_parser=np.rad2deg, + set_parser=np.deg2rad, vals=vals.Numbers(-180, 180), )