exa.common.sweep.database_serialization.encode_nd_sweeps

exa.common.sweep.database_serialization.encode_nd_sweeps#

encode_nd_sweeps(sweeps, **kwargs)#

Encode sweeps to a JSON string.

Parameters:
  • sweeps (list[tuple[Sweep, ...]]) – sweeps to be serialized.

  • kwargs – keyword arguments passed to json.dumps

Returns:

json as a string

Return type:

str