[VoxBo] 1) prm to cub; 2) mask function

Joonkoo Park joonkoo at umich.edu
Fri Nov 17 15:46:42 EST 2006


Thanks Dan,

For those who face similar problems... now I also realized that the 
newer version of *vbstatmap* has a capability of masking a cub at the 
same time!


Quoting Daniel Y Kimberg <kimberg at mail.med.upenn.edu>:

> Joonkoo Park wrote:
>> *.prm* files contain 3D statistical map along with contrast
>> information. In order to select one of the many possible contrasts - (1
>> 0 0 -1) for 4 covariates - and save it as a *.cub* file, I now do the
>> following:
> ...
>> This get's quite burdensome if there are many subjects and contrasts.
>> Is there a command line function that does all this in one script? I
>> searched through VoxBo pipermail regarding this issue, and similar
>> question was brought up in 2002, but I couldn't find a nice solution
>> for this.
>
> I'm not 100% sure, but I believe the current version of vbstatmap
> (1.8.4) will work with older releases -- that is, you can download it
> and get the benefit of the new features without having to upgrade
> anything else.  The docs and download links are at:
>
> http://voxbo.org/wiki/index.php/Vbstatmap
>
> With a simple shell script you can iterate over subjects and contrasts
> automatically.
>
>> Another question. I want to save a .cub file with mask applied to
>> it. I can again go to vv in idl, then open an original .cub file,
>> then mask it, then save it as filtered cube. Is there an easier
>> command line function for this as well? I noticed vbmaskmunge
>> function has evolved in the newer release and this is perhaps the
>> right function. But my version of voxbo doesn't seem to support
>> vbmaskmunge. Is there another way to do this before upgrading to a
>> newer version?
>
> vbmaskmunge is indeed the best way to do this -- you could download
> just the newer version of vbmaskmunge.
>
> For both of these, if you're worried about breaking something in your
> current setup (vbstatmap is used in some jobtypes, I'm not sure if
> that was true in 1.6) give the file a new name.
>
> Of course I would strongly encourage you to upgrade to the 1.8 series.
> But in the meantime, you can still take advantage of some of the new
> functionality.
>
> dan
>
>
>




More information about the voxbo-general mailing list