sidpy.proc.mcp_server_bepsΒΆ
MCP server utilities for BEPS loop and SHO fitting.
This module wraps the existing SidpyFitterRefactor workflows in MCP-friendly
tools so an LLM client can fit nested-array BEPS loop data and SHO response
data without re-implementing the fitting logic.
The MCP runtime is optional. Importing this module does not require mcp,
but running the server does.
Functions
Flattened complex SHO response used by the SHO fitter tests. |
|
Calculate the polygon centroid for one unfolded loop. |
|
Create an MCP server exposing the BEPS loop and SHO fitting tools. |
|
Fit BEPS loop data where the last axis contains the loop trace. |
|
Fit SHO response data where the last axis contains the frequency sweep. |
|
Generate the initial BEPS loop parameter guess. |
|
Nine-parameter loop model used by the BEPS fitter tests. |
|
Run the MCP server over the default transport. |
|
Initial guess heuristic for SHO fitting. |