Compress Files using SmallTime

This utility cuts the file sies of time seires files down by a factor of approximately two and operates extremely fast. The theory can be found at www.brainmapping.org/SmallTime and is in press in Human Brain Mapping. This "HowTo" note explains its use.

SmallTime exists in two forms: as a command line tool under unix and as a standalone Macintosh program. The files they create are mutually compatible.

SmallTime is available as both source and executable at the Small Time web site.

unix

      SmallTime -c filename

    The file can be any of the standard types recognized at UCLA, but compression will only occur for a file having multiple time points, such as a bshort, bfloat, buchar, APD or Analyze4D file. For more on file types, see the File Format HowTo.

    The compressed file will be named as the input, followed by '.ST'. In the above example, the output file would be filename.ST. SmallTime will append the header to the compressed file, so this does not have to be saved separately.

      SmallTime -u filename.ST

    The resulting output will be the same as the original compressed file and will include a corresponding header, if appropriate.

Macintosh

The Macintosh version of SmallTime can be found at this link: [http://www.brainmapping.org/SmallTime/]

You may compress and decompress files by 'dragging and dropping' them onto the program icon (if they are of recognized formats) or you may start SmallTime by double-clicking it and using the menus.

After opening SmallTime, you must press return or enter to dismiss the startup screen.

Back to HowTo pages
This page is maintained by MarkCohen [updated 10.19.00]