Summary of what happened:
- What I am doing: I am trying to customize the output of pycortex (or other) to obtain a different flat view of the brain. I would like to distribute the different lobes (frontal - parietal - etc) into separate areas, to make the graphic more readable and recognizable for lay persons. Any advice about this would be most welcome!
- Where I am stuck: I finally succeeded in installing pycortex on a Linux machine. (the trick was to create a virtual environment: I was having permission issues). I then launched the suggested demo
$ ipython
In [1]: import cortex
In [2]: cortex.webshow(cortex.Volume.random(“S1”, “fullhead”))
I get a response:
Started server on port 50029
That looks OK…
But I don’t have graphics on the linux machine…
I tried accessing the port from my Windows browser via http:my.IP.address:50029 , but I get a timeout.
Questions:
- What is the best way to view pycortex output in such a situation?
- Is there a way of generating images using a line command, that I can view on Windows?
Command used (and if a helper script was used, a link to the helper script or the command generated):
ipython
In [1]: import cortex
In [2]: cortex.webshow(cortex.Volume.random("S1", "fullhead"))
Version:
Environment (Docker, Singularity / Apptainer, custom installation):
Data formatted according to a validatable standard? Please provide the output of the validator:
PASTE VALIDATOR OUTPUT HERE
Relevant log outputs (up to 20 lines):
PASTE LOG OUTPUT HERE