[neuroConstruct] neuroConstruct_API

astakhov astakhov at ncmir.ucsd.edu
Wed Dec 10 19:55:27 GMT 2008


Dear Padraig.
Thank your for comments. (I was using version 1.1.2)

I just updated it with 1.2.0 and looking this pythonnC/

 
It is great. I see that I can load project, change it and save as 
NeuroML. But what if my neurons was already saved in NeuroML. I do not 
need to add them manually in the script.

Can I add them to the project from NeuroML file. May be just load it 
some how to the existing project and then save the modified project ?

Does it make sense ? Do you have such Python script ?

Then it would be easy to use  Ex5_MultiSimGenerate.py to generate NEURON 
simmulation script for the new project.

Thanks again for your comments.

Best Regards,

*Vadim Astakhov
Data Integration Team Leader for
Biomedical Informatics Research Network
University of California San Diego *

 


> Hi,
>
> The best solution is to use the scripting interface (based on Jython, 
> a Java based implementation of Python). The latest release (see 
> previous mail) has some updated examples of this. The most appropriate 
> file is pythonnC/Ex5_MultiSimGenerate.py, which can be run with nC.bat 
> -python. This runs multiple simulations changing a single parameter 
> each time (though any changes can be made to the project between 
> runs). I can send on a more detailed API for the commands which can be 
> called in scripts (basically the same structure as the corresponding 
> Java methods). The source code will be put online in the next few 
> weeks when I get a new SVN server set up and figure out about licences.
>
> Regards,
> Padraig
>
>
>
> astakhov wrote:
>
>> Hello.
>>
>> I am using neuroConstruct GUI to generate Neuron script for the 
>> simmulation. It is a very nice tool.
>>
>> But  I should go through GUI dosen times when I do incremental 
>> modification of some paramiters.
>>
>> Is it possible to do "Export Network", NEURON ->"Generate code" and 
>> "Create hoc simmulation" from command line ?
>>
>> That would provide let us to automate the process of Neuron script 
>> generation and save a lot of time
>>
>> May be there is an API for neuroConstruct .jar (or source code) 
>> available ?
>>
>> I would very appreciate any advice.
>>
>> Best regards,
>>
>> Vadim Astakhov
>>
>> Data Integration Team Leader for
>>
>> Biomedical Informatics Research Network
>>
>>
>> University of California San Diego
>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mailinglists.ucl.ac.uk/pipermail/neuroconstruct/attachments/20081210/c7b37967/attachment.htm>


More information about the neuroConstruct mailing list