Would anyone mind sharing a minimalistic python script to make use of anatomist from interactive (ipython) session. I've tried to "tesselate" neuro.py to reduce it to the point sufficient to simply run a=Anatomist.anatomist() but gave up for now since probably many of you do use such simple scripts
Thank you in advance!
simlistic python script to start Anatomist interactively
-
- Posts: 10
- Joined: Tue Sep 07, 2004 6:01 pm
- Location: Psych. Dept., Rutgers-Newark, RUMBA-Labs
- Contact:
simlistic python script to start Anatomist interactively
--
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student Ph.D. @ CS Dept. NJIT, Master @ CS Dept. UNM
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student Ph.D. @ CS Dept. NJIT, Master @ CS Dept. UNM
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Hi,
you are talking about the API to control Anatomist from Brainvisa, right ?
The simplest way is to run brainvisa with the --shell commandline option: it will open BV in an interactive IPython shell. Then you can import Anatomist and run your a=Anatomist.anatomist() command.
All the Anatomist communication stuff in brainvisa is in the Anatomist.py source.
Alternatively, you can pass a python script to brainvisa using the -e option. Such a script can use the brainvisa API.
Denis
you are talking about the API to control Anatomist from Brainvisa, right ?
The simplest way is to run brainvisa with the --shell commandline option: it will open BV in an interactive IPython shell. Then you can import Anatomist and run your a=Anatomist.anatomist() command.
All the Anatomist communication stuff in brainvisa is in the Anatomist.py source.
Alternatively, you can pass a python script to brainvisa using the -e option. Such a script can use the brainvisa API.
Denis
-
- Posts: 10
- Joined: Tue Sep 07, 2004 6:01 pm
- Location: Psych. Dept., Rutgers-Newark, RUMBA-Labs
- Contact: