|
@ocs_agent.param('rfrac', default=(0.3, 0.6)) |
As of the sodetlib PR merged today, the default value of rfrac is in the device config file and should not be specified here.
Moreover, an if/else statement is no longer needed in pysmurf_controller.bias_dets; the statement can simply be biases = bias_dets.bias_to_rfrac(S, cfg, rfrac=params['rfrac'], **params['kwargs'] and this will work regardless if rfrac is given as a tuple , float, or None.