SpineML / SpineML_2_BRAHMS

Code generation scripts to run a SpineML neural model using BRAHMS on standard CPUs
http://spineml.github.io/simulators/BRAHMS/
4 stars 3 forks source link

Implement state variable and parameter reading from binary data #6

Closed sebjameswml closed 9 years ago

sebjameswml commented 10 years ago

Implement the other part of https://github.com/SpineML/SpineCreator/issues/22

sebjameswml commented 10 years ago

Ok, the code will need to be added in a few places - the connection list stuff gives an idea of what is required...

In each of the _NL.xsl files (WeightUpdate, PostSynapse and Neuron) the code needs to add in the name of the binary file and the expected number of elements (see below for xml example of format), with names that can be used to identify that the data is binary (suggested is

BINARYFILE_NAME, and BINARYFILE_N_ELEMENTS). Once this is done the sys.xml file will have what is required. Then the _CL.xsl files need to be amended, as these need to check if these names exist in the sys.xml file, and if so then drag in the filename and num elements and use these to bring in the data. TBH I'm now done with the SpineCreator side (apart from the experiment layer as that uses a streamreader not dom doc), so if you want me to implement this I can probably have it done by the end of today... Alex Code snip: ``` ```
sebjameswml commented 10 years ago

Much help from Alex and I understand the xsl code much better now. Commits 4d16be3 and b3d797c implement this feature.

sebjameswml commented 9 years ago

This is implemented.