Using the Resonator Dip Finder
The Resonator Dip Finder detects resonator dips in 1D spectroscopy magnitude traces. It works with any input scale (dB, linear, or arbitrary units) through automatic normalization.
This model is useful during quantum device characterization when measuring resonator transmission to identify resonance frequencies. It accepts magnitude data from any scattering parameter measurement (e.g. S11, S21, S12, S22) and returns the indices of detected dips in the input data.
Installation
We recommend using pip, poetry, or uv to install the package.
Authentication
The SDK requires an API key for authentication. Sign in and create a new API key. Remember, your API key is your access secret - keep it safe with environment variables.
Using environment variables:
Or provide the API key directly:
Input Format
The detector expects a 1D numpy array of shape (n,) where n ≥ 10:
The model accepts magnitude data from any scattering parameter measurement (S11, S21, S12, S22, etc.). Input values must not contain NaN and must not be constant (all identical values).
Output Format
Usage Example
You can download an example file to follow along with the example:
Plotting the Results

Using Physical Units
To plot with real frequency values, map the indices back to your frequency axis:
Important Notes
- The model accepts any scattering parameter measurement (S11, S21, S12, S22, etc.) - it is not specific to any single scattering parameter.
- Works with any input scale: dB, linear, or arbitrary units.
- No fixed input size is required - any 1D array with 10 or more data points is accepted.
- Returns only dip indices, not frequencies. To convert indices to frequencies, map them back to your frequency axis.
- Input data must not contain NaN values and must not be constant (all identical values).