question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Q: contour from data

See original GitHub issue

Hi,

I’m trying to plot the contour of an activation map.

I’m struggling to understand how I can convert my data array whose shape is n_vertices=20484 (10242 per hemisphere of fsaverage with oct=5) to an overlay array of shape 163842, (which seems to relate to brain._geo.curv?)

Any idea on how to do this?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
larsonercommented, Jun 9, 2016

(after morph you can use stc.lh_data and stc.rh_data or similar to get the left and right hemi data, which PySurfer will want)

0reactions
kingjrcommented, Jun 9, 2016

Works nicely, thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Create Contour Lines in QGIS - Geodose
Create Contours from Points · 1. Add the points into QGIS map canvas as in figure3. · 2. Open the Contour plugin by...
Read more >
contour — GMT 6.0.0_r20460 documentation
contour reads an ASCII [or binary] table and produces a raw contour plot by triangulation. ... In addition to contours, the area between...
Read more >
Contour - KX Insights
Contour plots are a way to show a three-dimensional surface on a two-dimensional plane. Set up. Add a data source. Define the X-...
Read more >
contour — GMT 6.1.1 documentation
Contour table data by direct triangulation ... -Jz|Zparameters ] [ -Lpen ] [ -N ] [ -Q[cut][+z] ] [ -S[p|t] ] [ -T[h|l][+a][+dgap[/length]][+l[labels]] ......
Read more >
Q: How can I create a DEM from contour lines?
You can use the contour lines as input to build a TIN, and then export the TIN to raster. ... The additional data,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found