dron-tan / SpikeSimulationTool

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

Number of axons recruited/dismissed #8

Open dron-tan opened 3 years ago

dron-tan commented 3 years ago
chrisoyh commented 3 years ago

Default simulation start time = 1. The recruited categorizer finds the Spikes recruited spikes using the minimum start time ie. line 12 printReport.m find(report.recruited > min(report.recuited)) . Hence is all the axons are recruited after the start time and hence it only finds axons after the minimum recruited time. ie if 5/5 axons are recruited with start times of [3 3 4 2 5]. The minimum start time is 2 and hence naxon 4 is not reported as recruited since technically that is the first axon in the entire simulation. Anything before that is just noise or blank.

If you want to this can be fixed by just setting find(report.recruited > 1)) so that anything after the default start time is recruited.