exa.common.api.proto_serialization.nd_sweep.unpack

Contents

exa.common.api.proto_serialization.nd_sweep.unpack#

unpack(proto)#

Convert protobuf representation into a NdSweep. Reverse operation of pack().

Note: All sweeps will be of type FixedSweep.

Parameters:

proto (iqm.data_definitions.common.v1.sweep_pb2.CartesianSweep) –

Return type:

list[tuple[Sweep, …]]