ioam / topographica

A general-purpose neural simulator focusing on topographic maps.
topographica.org
BSD 3-Clause "New" or "Revised" License
53 stars 32 forks source link

Sequential patterns using pattern.selector #661

Closed Hima-Mehta closed 7 years ago

Hima-Mehta commented 7 years ago

Is it possible to present patterns(images) sequentially from list of generators using pattern.selector()? I am looking for direction preferences for a particular set of frames which were originally videos having objects moving in some direction.

jbednar commented 7 years ago

Anything like that is definitely possible, but I'm not sure precisely what you need. It sounds like a case where I would set Selector.index to numbergen.ScaledTime(factor=1.0), so that whenever the time increases by 1, the index goes up by 1.

But for computing direction preferences, I'd normally use FeatureMapper to coordinate all this, not a Selector.

Hima-Mehta commented 7 years ago

Okay, that was helpful! Thank you.