export_touchstone
Exports S-parameters from RF COMSOL models to Touchstone files, creating the export feature and optionally running it immediately.
Instructions
Create (optionally run) a Touchstone (S-parameter) export feature.
Touchstone export is only meaningful for RF models with S-parameters
(ElectromagneticWaves/Electrical Circuit terminals). Creating
the feature works on any model; running it requires such a model.
Args:
tag: export feature tag.
path: output Touchstone path; tried with the filename properties of
the feature (filename / touchstonefilename).
plotgroup: optional plot group tag to bind.
properties: extra properties, e.g. {"touchstoneversion": "1.0"},
{"referenceimpedance": "50[ohm]"}, {"smatrix": "..."}.
run: run the export immediately (default True).
model: model name/tag (None = current model).
Returns:
{"tag", "type", "properties", "ran", "path", "size", "exists"}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_touchstone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| tag | No | touch1 | |
| path | No | ||
| model | No | ||
| plotgroup | No | ||
| properties | No |