sweep_serializers

sweep_serializers#

Serializers and deserializers for sweep related models.

Full path: iqm.station_control.client.serializers.sweep_serializers

Functions

deserialize_sweep_data(data)

Convert JSON serializable dictionary into SweepData.

deserialize_sweep_definition(...)

Convert sweep proto into SweepDefinition.

deserialize_sweep_results(sweep_results_str)

Convert binary string into SweepResults.

serialize_sweep_data(sweep_data)

Convert SweepData into JSON serializable dictionary.

serialize_sweep_definition(sweep_definition)

Convert SweepDefinition into sweep proto.

serialize_sweep_results(sweep_id, sweep_results)

Convert SweepResults into binary string.