Dear supporter,
I run neurostimulation in Sim4LifeLight V 5.0.1.4765 and then, I plot my results by means of following code:
#start of my code
def AnalyzeSimulation(sim):
import s4l_v1.analysis as analysis
import s4l_v1.analysis.neuron_evaluators
# Create extractor for a given simulation output file
results = sim.Results()
inputs = []
for sensor in results.keys():
if "PointSensor" in sensor:
sensor_extractor = results[sensor]
document.AllAlgorithms.Add(sensor_extractor)
sensor_extractor.Update()
inputs.append(sensor_extractor["v"])
plot_viewer = analysis.viewers.PlotViewer(inputs=inputs)
plot_viewer.Update()
document.AllAlgorithms.Add(plot_viewer)
AnalyzeSimulation(simNeuro)
#end of my code
I want to do some post processing on my plotted data, but unfortunately, I do not know how can I access data through python code.
Thanks for your help.
Fariba