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

Saving and loading snapshots . #652

Closed Hima-Mehta closed 8 years ago

Hima-Mehta commented 8 years ago

Hi , Is it possible to take a snapshot and reload it in another .ty file with few new sheets connecting to sheets of that snapshot ? Simply to ignore unnecessary running of partially working part every time ! PS : I have tried this already . does not give any syntax error ! so If that affects logically then It would help.

jbednar commented 8 years ago

Sure. A .ty file is just Python code (the special extension is just so that Windows will launch Topographica's Python on it rather than any other Python that might be installed), so you can do anything Python allows. E.g. you can write a new .ty file that starts out with load_snapshot("file.typ"), and then add whatever commands you like to add additional sheets, etc.

Hima-Mehta commented 8 years ago

Thank you .