Hi Andrew,
This looks promising:
> it.wustl.edu 7% caret_command -surface-to-volume
> SURFACE TO VOLUME
> caret_command -surface-to-volume
> <input-coordinate-file-name>
> <input-topology-file-name>
> <input-metric-paint-or-shape-file-name>
> <input-metric-paint-or-shape-column>
> <output-volume-file-name>
> [-inner inner-boundary]
> [-outer outer-boundary]
> [-step intersection-step]
>
> Intersect a surface with a volume and assign the specified
> column's data of the metric, paint, or shape file to the
> volume.
>
> The output volume file must exist and it must be in the
> same stereotaxic space as the surface. A volume file may
> be created by using the "-volume-create" or
> "-volume-create-in-stereotaxic-space" commands.
>
> The default inner boundary, outer boundar, and step size
> are -1.5, 1.5, and 0.5 respectively.
>
> The metric, paint, or shape file column is either the
> number of the column, which starts at one, or the name of
> the column. If a name contains spaces, it must be
> enclosed in double quotes. Name has priority over number.
The caret_command utility has so many features, it's nearly impossible
to remember them all, so I do this:
caret_command -help-full > /tmp/caret_command.txt
Then, when I need a particular feature, I grep for keywords, e.g.:
grep -i volume /tmp/caret_command.txt | grep -i surface
Of course, you can also just browse the entire help output, but it is
nearly 6200 lines now.
Donna
On 01/29/2010 07:02 AM, Andrew Reid wrote:
> Hi,
>
> I guess my name has been dropped from the list of posters. Here is my
> question re. scripting:
>
> I have been able to use the Caret GUI to project a paint atlas from a
> fiducial surface to a volume (Attributes > Paint > Convert Paint
> Column to Paint Volume). However, given that I have a very large
> population of subjects I would like to repeat this process without
> having to run it through the GUI manually. Is there a possibility of
> running this procedure as a script?
>
> Cheers,
> Andrew
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Scripting a Caret operation?
> From:
> [email protected]
> Date:
> Fri, 29 Jan 2010 07:00:22 -0600
> To:
> [email protected]
>
> To:
> [email protected]
>
>
> You are not allowed to post to this mailing list, and your message has
> been automatically rejected. If you think that your messages are
> being rejected in error, contact the mailing list owner at
> [email protected].
>
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Scripting a Caret operation?
> From:
> Andrew Reid <[email protected]>
> Date:
> Fri, 29 Jan 2010 13:59:20 +0100
> To:
> [email protected]
>
> To:
> [email protected]
>
>
> Hi all,
>
> I have been able to use the Caret GUI to project a paint atlas from a
> fiducial surface to a volume (Attributes > Paint > Convert Paint
> Column to Paint Volume). However, given that I have a very large
> population of subjects I would like to repeat this process without
> having to run it through the GUI manually. Is there a possibility of
> running this procedure as a script?
>
> Cheers,
> Andrew
>
_______________________________________________
caret-users mailing list
[email protected]
http://brainvis.wustl.edu/mailman/listinfo/caret-users