expand_value_to_bins
Converts a one-layer value plane into a W×H×levels neuron bin area using cumulative thresholds, enabling downstream circuits to learn by neuron for depth-nearness or class-map tasks.
Instructions
Create a W x H x levels bin area driven by a one-layer value plane.
Use when downstream areas must learn by neuron, not by potential: "obstacle nearer
than X" from a Depth Map, or one neuron per class from a class map. The bins use a
firing threshold that rises along Z, so bin z fires when the value is at least
(z + 0.5) * value_max / levels: a cumulative (thermometer) code. For a class map use
levels = class_count; class c then fires bins 0..c. For one-hot bins add an
inhibitory mapping from each bin to the bin below.
Args:
src_area: Source value plane (base64), must be W x H x 1.
levels: Bin count (Z depth of the new area), 1..9999.
name: Name for the new area (function-based, e.g. Depth_Near_Bins).
brain_region_id: Functionally named parent circuit.
position: [x, y, z] anchor for the new area.
value_max: Largest value the plane carries (1.0 for class maps and depth planes).
Returns:
bins_area id, base_threshold, threshold_increment_z, and the coding note.
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>",
"levels": "<levels>",
"name": "<name>",
"brain_region_id": "<brain_region_id>",
"position": "<position>"
},
"name": "expand_value_to_bins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| levels | Yes | ||
| position | Yes | ||
| src_area | Yes | ||
| value_max | No | ||
| brain_region_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||