Skip to content

bias_dets default is now specified in device config #951

@dpdutcher

Description

@dpdutcher

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions