[Swift-devel] mapping structures

Yong Zhao yongzh at cs.uchicago.edu
Mon Feb 26 11:54:43 CST 2007


there is an airsn_mapper that maps runs and volumes.

Yong.

On Mon, 26 Feb 2007, Ben Clifford wrote:

>
> I was thinking about some fmri stuff for a tutorial exercise and came up
> with this question:
>
> .img and .hdr files come in the input in pairs, like this:
>
> $ ls Raw/
> anatomy1.hdr  anatomy2.hdr  anatomy3.hdr  anatomy4.hdr  reference.hdr
> anatomy1.img  anatomy2.img  anatomy3.img  anatomy4.img  reference.img
>
> so from a data type perspective it makes sense to say something like:
>
> type inputimage {
>   file img;
>   file data;
> }
>
> but then do any of the existing mappers let me map into this structure? or
> do I have to write a custom mapper?
>
> (to torture syntax, express something like:
> inputimg ref;
>  ref.img <"reference.img">;
>  ref.hdr <"reference.hdr">;
> )
>
> I think I can do this with the CSV mapper, with the input file pairs
> specified as CSV rows; but this needs a CSV to be externally generated
> from information that is already expressed in the metadata in the filename
> so doesn't particularly help.
>
> --
>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>



More information about the Swift-devel mailing list