dron-tan / SpikeSimulationTool

Single electrode extracellular recording simulator
Apache License 2.0
1 stars 0 forks source link

Generation of templates #35

Open dron-tan opened 3 years ago

dron-tan commented 3 years ago

Note: Will need to change HHsim name to something more practical like gen_templates after removing.

In the SST-dev branch, whilst testing the templatesApp.mIapp, eNa was set at the incorrect value (40), changed it to the correct value (50).

However, with this incorrect value, discovered that within the gen_trans function, it was unable to actually generate end_time and end_index because it didn't actually enter the if statement (where there are 3 peaks in a row with the same value).

Currently this gen_templates will work with the default values however, need to further test with other values.

dron-tan commented 3 years ago

I have essentially fixed this up by adding a +- value to the conditions. This value is 0.05, when testing fully, will have to play around to see how accurate we can get it.