Closed jcolquitt closed 6 years ago
Currently, there's no way to display only the curvature without sending in null data. This does sound like a good idea though, so I'll keep this issue open as a reminder.
As for displaying just the flatmap with curvature, you should be able to use this code to pop up the flatmap in matplotlib:
import cortex
curvs = cortex.DataView(cortex.surfs.getSurfInfo("S1"), cmap="gray")
cortex.quickshow(curvs)
You can specify the vmin/vmax in the DataView definition in order to change the contrast.
So I assume similarly there's no way to display only the sulcal depth with webshow? (related to my issue #60 )
sulcdepth = cortex.DataView(cortex.surfs.getSurfInfo("S1", "sulcaldepth"))
I can't seem to get a proper dataview or volume data as this vertexdata doesn't have a mask or xfmname
Getting any vertexdata to display in webGL is a separate open issue. It might be fixed soon..
On Feb 7, 2014, at 12:20, andrewolaughlin notifications@github.com wrote:
So I assume similarly there's no way to display only the sulcal depth with webshow? (related to my issue #60 )
sulcdepth = cortex.DataView(cortex.surfs.getSurfInfo("S1", "sulcaldepth")) I can't seem to get a proper dataview or volume data as this vertexdata doesn't have a mask or xfmname
— Reply to this email directly or view it on GitHub.
closing because displaying vertexdata now implemented. curvature can also be shown in webviewer by setting data opacity to 0
I see in web viewer there is a slider at the top that can be used to completely remove the data layer. Does the webshow function depend on having a dataview object to overlay or is there a way to have web viewer only display curvature data on the fiducial, inflated, and flat views.
so instead of this is there a way to bring up just curvature for the given subject without having to create a dataview object from random data or a functional volume?
Also when rendering ROI's, is there a way to bring up the flattened surface with curvature in greyscale without specifying a dataView object? Thanks.