This program will change the directory of the reslice target in the designated .warp file while leaving the actual file name unchanged. This utility is designed to allow you easily update .warp files in the event that you choose to move your original data to some new directory.


cd_warp .warp-file new-directory [foreign-path-separator AIR 5.0]

where the following definitions apply:
the name of the .warp file
the name of the directory that now contains the reslice file specified in the .warp file. (scan_warp can be used to identify the name of the reslice file specified in a given .warp file).
AIR 5.0 the path separator used to separate directories from files on a foreign computer platform that uses a different separator from the local platform. For example, PC's use a backslash '\' whereas Unix systems use a forward slash '/' to separate directories and files. Thus when moving .warp files from a PC to a UNIX system, a foreign path separator of '\' must be specified. As an additional complication, backslashes are escape characters on UNIX systems, so a double backslash must be used '\\' so that the first backslash escapes the second.


cd_warp mri.warp /data/experiment1/


See also:

Modified: December 16, 2001
© 2001   Roger P. Woods, M.D.(