is_recruited

nrv.ui.is_recruited(results: axon_results) axon_results[source]

Evaluate if each fibre is recruited by a stimulation (see axon_results.is_recruited) and remove most of the axon_results keys to alliviate RAM usage.

Note

Only the following keys kept by the fuction
  • ID

  • L

  • V_mem_raster_position

  • V_mem_raster_x_position

  • V_mem_raster_time_index

  • V_mem_raster_time

  • myelinated

  • y

  • z

  • diameter

  • intra_stim_starts

  • tstop

  • intra_stim_positions

  • extracellular_electrode_x

  • recruited

Parameters:

results (axon_results) – results of the axon simulation.

Returns:

updated results.

Return type:

axon_results