watch_mapping_weights
Samples a mapping's synapse weights over time to reveal min, max, avg, and extreme values, showing whether plasticity is learning. Use it to monitor weight drift and diagnose stalled learning.
Instructions
Sample one mapping's synapse weights over time (series of min/max/avg and extremes).
window_s is an alias of duration_s (it wins when both are given). samples=1
or a window of 0 takes one sample and returns at once; samples=N takes N samples
interval_s apart. The result's summary is the last sample's count, min,
max, avg, count_at_zero and count_at_max_weight (the plastic rule's
max_weight, counted over every matched synapse; no cap without a plastic rule).
Every interval_s (at least 0.5 s) for up to 25 s, takes
diagnose_mapping_plasticity() statistics: matched synapse count, min, max,
avg, count_at_zero, count_at_cap (cap is the plastic rule's
max_weight, named in weight_cap_source) and the ids of the five largest and five
smallest synapses (from up to 200 matched synapses). avg_delta and
max_delta compare the last sample with the first. A flat series under
co-activity means learning is not happening; see
freeze_mapping_plasticity() and reset_mapping_weights().
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"src_area": "<src_area>",
"dst_area": "<dst_area>"
},
"name": "watch_mapping_weights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | No | ||
| dst_area | Yes | ||
| src_area | Yes | ||
| window_s | No | ||
| duration_s | No | ||
| interval_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||