Search found 7 matches

by astaylor
Fri Jul 21, 2017 3:16 pm
Forum: NetPyNE
Topic: Trouble with sim.loadSimData()
Replies: 1
Views: 8667

Trouble with sim.loadSimData()

Hi guys, I've been having trouble using loadSimData(filename) with a mat lab file. For example, sim.loadSimData("model_output.mat") is what I have exactly in my code now. The error I'm getting in terminal reads: File "analysis.py", line 363, in <module> sim.loadSimData('model_output.mat') File "/Use...
by astaylor
Mon Jul 10, 2017 12:33 pm
Forum: NetPyNE
Topic: Best Way to Modify Stimulation Source
Replies: 5
Views: 10009

Re: Best Way to Modify Stimulation Source

Hi, this solved my error. I seem to get the above error whenever I call sim.create() again. Changing the conditions and only simulating worked perfectly. Thank you for all the help once again!
by astaylor
Sun Jul 09, 2017 9:58 pm
Forum: NetPyNE
Topic: Best Way to Modify Stimulation Source
Replies: 5
Views: 10009

Re: Best Way to Modify Stimulation Source

I also tried doing this directly using the same format in the tutorials for initially setting variables of a stimulation source, but I still get the same error.
by astaylor
Sun Jul 09, 2017 9:57 pm
Forum: NetPyNE
Topic: Best Way to Modify Stimulation Source
Replies: 5
Views: 10009

Re: Best Way to Modify Stimulation Source

So would this be the proper format, assuming that interval_inter and target_inter_rate are float values? bg2inter_stim is a stimulation source. I am running the simulation then using: sim.net.modifyStims({'conds': {'label':'bg2inter_stim'}, 'interval' : interval_inter + 100*(inter_rate - target_inte...
by astaylor
Tue Jun 27, 2017 1:09 pm
Forum: NetPyNE
Topic: Best Way to Modify Stimulation Source
Replies: 5
Views: 10009

Best Way to Modify Stimulation Source

Hi guys, I was wondering what would be the best way to modify a stimulation source param after the simulation has already been run once (essentially to get the functionality of the modifyStims function). I noticed that modifyStims hasn't been implemented yet so is this because it is currently imposs...
by astaylor
Tue Jun 20, 2017 10:40 am
Forum: NetPyNE
Topic: Unable to save data as a MATLAB file
Replies: 2
Views: 8638

Re: Unable to save data as a MATLAB file

Thank you!
by astaylor
Fri Jun 16, 2017 3:45 pm
Forum: NetPyNE
Topic: Unable to save data as a MATLAB file
Replies: 2
Views: 8638

Unable to save data as a MATLAB file

Hello, I am trying to save output data to a MATLAB file, but I received the following error when I added the line of code: SimConfig.saveMat = True before running the simulation: Traceback (most recent call last): File "tut5.py", line 81, in <module> sim.createSimulateAnalyze(netParams, simConfig) F...