[caret-users] metric user scale with fixed step size

Donna Dierker donna at brainvis.wustl.edu
Wed Nov 26 08:40:24 CST 2014

Hi Caspar,

If you converted from Freesurfer, rather than mapping independently in Caret, then this is puzzling.

I believe mris_convert can now convert directly to GIFTI (.gii) format, and I suspect this route might be more reliable than converting .w to .metric.  Have you tried this?  Probably easy and worth a shot.

As for the palete, your range needs to be compressed into the -1.0 to 1.0 range, or in your case 0 to 1.

On Nov 25, 2014, at 5:57 PM, Caspar M. Schwiedrzik <cschwiedrz at mail.rockefeller.edu> wrote:

> Hi Donna, 
> thanks for pointing out the palette file format. I have been playing around with this but am running into two strange issues. First, the I am getting a fairly weird display that differs markedly from the one I originally created in Freesurfer. For example, the maximal number appears much less frequently in Caret than in FS. I am not sure where that problem could arise (I am converting a w file into Caret format which for all other maps has worked just fine). Secondly, and this may or may not be related, the colorbar only displays one color, but all tickmarks. 
> Any ideas? 
> This is an excerpt from my palette file:
>   _br1 = #7f0000
>   _br2 = #ff3f00
>   _br3 = #efff0f
>   _br4 = #1fffdf
>   _br5 = #004fff
>   _br6 = #00008f
> ***PALETTES bluered [6+]
>  6.000000 -> _br1
>  5.000000 -> _br2
>  4.000000 -> _br3
>  3.000000 -> _br4
>  2.000000 -> _br5
>  1.000000 -> _br6
> Thanks, Caspar
> 2014-11-24 13:29 GMT-05:00 Caspar M. Schwiedrzik <cschwiedrz at rockefeller.edu>:
> Hi! 
> I am trying to display some metric data that has a fixed, meaningful step size. Specifically, my data ranges from 1 to 6 and I would like to have each step (1,2,3,4,5,6) assigned a specific color, and no intermediate steps (e.g., 1.5). Is that possible? 
> Thanks, Caspar
> _______________________________________________
> caret-users mailing list
> caret-users at brainvis.wustl.edu
> http://brainvis.wustl.edu/mailman/listinfo/caret-users

More information about the caret-users mailing list