domany 0.4.2 © 2004-2006 by Turku PET Centre

Generates a set of commands for a set of PET studies, based on a command- line with wildcards * and ?, and the matching data files. File names must start with a valid study number (1-5 letters followed by 1-5 digits, e.g. 'uia7706'). Usage: domany [Options for domany] "<Command-line with wildcards>" The whole command must be put within quotation marks; in some systems double and/or single quotation marks can be used. Program searches for files that match the first argument containing wildcards * and ?, and then replaces with similar content the wildcards in the following arguments, and generates the command-line for all files. If an argument with wildcards should remain as such, put it inside quotes. The file names for result files can be given with string STUDYNR in place where the study number will be written by this program. Options: -o=<File name> Commands are written in specified file; by default to stdout. If file exists, new commands are appended to it. -v[ersion] -build Print build information and exit. -h[elp] Print this text and exit. -silent Work silently; only warnings and error messages are printed in stdout. For example, the following set of commands patlak pet\ut1234.dat plasma\ut1234ap.dat 10 60 ut1234.res patlak pet\ut1238.dat plasma\ut1238ap.dat 10 60 ut1238.res patlak pet\ut1239.dat plasma\ut1239ap.dat 10 60 ut1239.res patlak pet\ut1241.dat plasma\ut1241ap.dat 10 60 ut1241.res patlak pet\ut1242.dat plasma\ut1242ap.dat 10 60 ut1242.res patlak pet\ut1245.dat plasma\ut1245ap.dat 10 60 ut1245.res patlak pet\ut1246.dat plasma\ut1246ap.dat 10 60 ut1246.res patlak pet\ut1248.dat plasma\ut1248ap.dat 10 60 ut1248.res patlak pet\ut1248.dat plasma\ut1248ap.dat 10 60 ut1248.res could be created by entering the following command: domany "patlak pet\ut????.dat plasma\ut????ap.dat 10 60 STUDYNR.res" if these data files exist in the specified subdirectories. See also: execlong Keywords: tools, modelling, simulation

CC-GNU GPL Valid XHTML 1.0! Valid CSS!

Last updated 2006-08-03 16:04:53