Batch processing for Coulomb Blockade Peak Detector v2

Added a new batch endpoint for running coulomb-blockade-peak-detector-v2 over multiple traces in a single request.

  • POST /models/batch and client.control.models.batch.run(...)
  • Accepts a .npy or .pt file containing a 2D array shaped (batch_size, trace_length)
  • Returns output.outputs ordered by batch index
1import numpy as np
2from conductorquantum import ConductorQuantum
3
4client = ConductorQuantum(
5 token="YOUR_TOKEN",
6)
7
8trace_a = ... # replace with actual trace data
9trace_b = ... # replace with actual trace data
10batch = np.stack([trace_a, trace_b])
11
12client.control.models.batch.run(
13 model="coulomb-blockade-peak-detector-v2",
14 data=batch,
15)