You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
The documentation for the enclosed method, states that it, "...returns the column that a segment's presynaptic cell belongs to." What it does is return the column of the Cell that owns the segment. If I'm not mistaken, Segments don't have presynaptic cells; Synapses do. I believe there may be many Cells that synapse to a segment, and each of those synapses have "presynaptic" cells (source cells).
The documentation for the method should probably read: Returns the column of the Cell which owns the segment.
defcolumnForSegment(self, segment, cellsPerColumn):
""" Returns the column that a segment's presynapticCell belongs to @param segment (int) Segment index @param cellsPerColumn (int) Number of cells in a column in the tm @return (int) """returnself._segments[segment] /cellsPerColumn
As a side note, this really messed me up trying figure out how to derive a presynaptic cell from a segment, until I realized it's not possible. :-P
The text was updated successfully, but these errors were encountered:
The documentation for the enclosed method, states that it, "...returns the column that a segment's presynaptic cell belongs to." What it does is return the column of the
Cell
that owns the segment. If I'm not mistaken,Segments
don't have presynaptic cells;Synapses
do. I believe there may be many Cells that synapse to a segment, and each of those synapses have "presynaptic" cells (source cells).The documentation for the method should probably read:
Returns the column of the
Cell
which owns the segment.As a side note, this really messed me up trying figure out how to derive a presynaptic cell from a segment, until I realized it's not possible. :-P
The text was updated successfully, but these errors were encountered: