<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ccn.ucla.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Compress_files_using_SmallTime</id>
	<title>Compress files using SmallTime - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ccn.ucla.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Compress_files_using_SmallTime"/>
	<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Compress_files_using_SmallTime&amp;action=history"/>
	<updated>2026-05-06T08:11:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Compress_files_using_SmallTime&amp;diff=387&amp;oldid=prev</id>
		<title>Ccn admin: 2 revisions</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Compress_files_using_SmallTime&amp;diff=387&amp;oldid=prev"/>
		<updated>2014-01-16T03:13:08Z</updated>

		<summary type="html">&lt;p&gt;2 revisions&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:13, 16 January 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ccn admin</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Compress_files_using_SmallTime&amp;diff=386&amp;oldid=prev</id>
		<title>Mscohen: /* Compress Files using [http://www.brainmapping.org/SmallTime SmallTime] */</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Compress_files_using_SmallTime&amp;diff=386&amp;oldid=prev"/>
		<updated>2006-09-12T00:04:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Compress Files using &amp;#91;http://www.brainmapping.org/SmallTime SmallTime&amp;#93;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:04, 12 September 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| width=&amp;quot;90%&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;8&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| width=&amp;quot;90%&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;8&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This utility cuts the file &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sies &lt;/del&gt;of time seires files down by a factor of approximately two and operates extremely fast. The theory can be found at [http://www.brainmapping.org/SmallTime/ www.brainmapping.org/SmallTime] and is in press in &#039;&#039;Human Brain Mapping&#039;&#039;. This &quot;HowTo&quot; note explains its use.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This utility cuts the file &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sizes &lt;/ins&gt;of time seires files down by a factor of approximately two and operates extremely fast. The theory can be found at [http://www.brainmapping.org/SmallTime/ www.brainmapping.org/SmallTime] and is in press in &#039;&#039;Human Brain Mapping&#039;&#039;. This &quot;HowTo&quot; note explains its use.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SmallTime exists in two forms: as a command line tool under [http://airto.bmap.ucla.edu/BMCweb/HowTo/SmallTime.html#Anchor-unix-49575 unix] and as a standalone [http://airto.bmap.ucla.edu/BMCweb/HowTo/SmallTime.html#Anchor-Macintosh-47857 Macintosh] program. The files they create are mutually compatible.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SmallTime exists in two forms: as a command line tool under [http://airto.bmap.ucla.edu/BMCweb/HowTo/SmallTime.html#Anchor-unix-49575 unix] and as a standalone [http://airto.bmap.ucla.edu/BMCweb/HowTo/SmallTime.html#Anchor-Macintosh-47857 Macintosh] program. The files they create are mutually compatible.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mscohen</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Compress_files_using_SmallTime&amp;diff=385&amp;oldid=prev</id>
		<title>Mscohen at 00:03, 12 September 2006</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Compress_files_using_SmallTime&amp;diff=385&amp;oldid=prev"/>
		<updated>2006-09-12T00:03:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Compress Files using [http://www.brainmapping.org/SmallTime SmallTime]=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;quot;90%&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;8&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
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 [http://www.brainmapping.org/SmallTime/ www.brainmapping.org/SmallTime] and is in press in &amp;#039;&amp;#039;Human Brain Mapping&amp;#039;&amp;#039;. This &amp;quot;HowTo&amp;quot; note explains its use.&lt;br /&gt;
&lt;br /&gt;
SmallTime exists in two forms: as a command line tool under [http://airto.bmap.ucla.edu/BMCweb/HowTo/SmallTime.html#Anchor-unix-49575 unix] and as a standalone [http://airto.bmap.ucla.edu/BMCweb/HowTo/SmallTime.html#Anchor-Macintosh-47857 Macintosh] program. The files they create are mutually compatible.&lt;br /&gt;
&lt;br /&gt;
SmallTime is available as both source and executable at the [http://www.brainmapping.org/SmallTime/ Small Time web site].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&amp;lt;div align=&amp;quot;left&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==unix==&lt;br /&gt;
&lt;br /&gt;
===compressing files===&lt;br /&gt;
To compress a file called, e.g., &amp;#039;&amp;#039;filename&amp;#039;&amp;#039;, type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;courier&amp;quot;&amp;gt;SmallTime -c &amp;lt;/font&amp;gt;&amp;#039;&amp;#039;filename&amp;#039;&amp;#039;&lt;br /&gt;
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 [http://airto.bmap.ucla.edu/BMCweb/HowTo/FileFormats.html File Format HowTo].&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; The compressed file will be named as the input, followed by &amp;#039;.ST&amp;#039;. In the above example, the output file would be &amp;#039;&amp;#039;filename.ST.&amp;#039;&amp;#039; SmallTime will append the header to the compressed file, so this does not have to be saved separately.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===uncompressing files===&lt;br /&gt;
To ucompress a file called, e.g., &amp;#039;&amp;#039;filename.ST&amp;#039;&amp;#039;, type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font face=&amp;quot;courier&amp;quot;&amp;gt;SmallTime -u &amp;lt;/font&amp;gt;&amp;#039;&amp;#039;filename.ST&amp;#039;&amp;#039;&lt;br /&gt;
The resulting output will be the same as the original compressed file and will include a corresponding header, if appropriate.&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;options&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;:&amp;lt;/nowiki&amp;gt;===&lt;br /&gt;
{| border=&amp;quot;4&amp;quot; cellpadding=&amp;quot;3&amp;quot; bgcolor=&amp;quot;#ffffcc&amp;quot;&lt;br /&gt;
! bgcolor=&amp;quot;#ffff66&amp;quot; |&lt;br /&gt;
===Option===&lt;br /&gt;
! bgcolor=&amp;quot;#0099ff&amp;quot; |&lt;br /&gt;
===Meaning===&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#ffff66&amp;quot; | &amp;lt;font size=&amp;quot;+1&amp;quot; face=&amp;quot;courier&amp;quot;&amp;gt;-z&amp;lt;/font&amp;gt;&lt;br /&gt;
| Base compression on changes from the first image in the time series. By default, compression is basedon sequential changes in the images.&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#ffff66&amp;quot; | &amp;lt;font size=&amp;quot;+1&amp;quot; face=&amp;quot;courier&amp;quot;&amp;gt;-f&amp;lt;/font&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Do not compress names of APD images (otherwise, the long APD names will be shortened, according to the same rules as &amp;quot;[http://airto.bmap.ucla.edu/BMCweb/HowTo/FixAPDName.html FixAPDName]&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#ffff66&amp;quot; | &amp;lt;font size=&amp;quot;+1&amp;quot; face=&amp;quot;courier&amp;quot;&amp;gt;-p&amp;lt;/font&amp;gt;&lt;br /&gt;
| Preserve the file path with the file name. When files are uncompressed, they will be returned to their origiunal directories. Dangerous and not recommended.&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#ffff66&amp;quot; | &amp;lt;font size=&amp;quot;+1&amp;quot; face=&amp;quot;courier&amp;quot;&amp;gt;-d&amp;lt;/font&amp;gt;&lt;br /&gt;
| Delete the original file after compression.&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#ffff66&amp;quot; | &amp;lt;font size=&amp;quot;+1&amp;quot; face=&amp;quot;courier&amp;quot;&amp;gt;-P&amp;lt;/font&amp;gt;&lt;br /&gt;
| Create a processing record file with a name of the form &amp;quot;&amp;#039;&amp;#039;filename.&amp;#039;&amp;#039;&amp;lt;font face=&amp;quot;courier&amp;quot;&amp;gt;SmallTime.proc&amp;quot;&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#ffff66&amp;quot; | &amp;lt;font size=&amp;quot;+1&amp;quot; face=&amp;quot;courier&amp;quot;&amp;gt;-v&amp;lt;/font&amp;gt;&lt;br /&gt;
| Print somewhat tedious statistics concerning file compressions efficiency&lt;br /&gt;
|-&lt;br /&gt;
! bgcolor=&amp;quot;#ffff66&amp;quot; | &amp;lt;font size=&amp;quot;4&amp;quot; face=&amp;quot;courier&amp;quot;&amp;gt;-o&amp;lt;/font&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;followed by the selected name for the output file&amp;#039;&amp;#039;. Over-ride SmallTime&amp;#039;s naming convention and choose a name for the output file. Since SmallTime does not look at the name of the file for decompression, this can be any name you like. Files ending in &amp;#039;.ST&amp;#039; are only a convenience.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Macintosh==&lt;br /&gt;
&lt;br /&gt;
The Macintosh version of SmallTime can be found at this link: [http://www.brainmapping.org/SmallTime/ [[Image:SmallTimeLogo.gif]] &amp;lt;nowiki&amp;gt;[http://www.brainmapping.org/SmallTime/]&amp;lt;/nowiki&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
You may compress and decompress files by &amp;#039;dragging and dropping&amp;#039; them onto the program icon (if they are of recognized formats) or you may start SmallTime by double-clicking it and using the menus.&lt;br /&gt;
&lt;br /&gt;
After opening SmallTime, you must press return or enter to dismiss the startup screen.&lt;br /&gt;
&lt;br /&gt;
===compression===&lt;br /&gt;
&lt;br /&gt;
To compress a file, go to the &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; menu and select, &amp;quot;&amp;#039;&amp;#039;&amp;#039;Compress...&amp;#039;&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Image:SmallTimeFileMenu.gif]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
You will be presented with a standard Macintosh file selection dialog. Find the file you wish to compress and select &amp;quot;&amp;#039;&amp;#039;&amp;#039;Open&amp;#039;&amp;#039;&amp;#039;&amp;quot;. SmallTime will then ask you to confirm that you wish to save the file to its default name and location. Change these as you wish.&lt;br /&gt;
&lt;br /&gt;
===uncompression===&lt;br /&gt;
From the &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; menu, select &amp;quot;&amp;#039;&amp;#039;&amp;#039;Expand...&amp;#039;&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
You will be presented with a standard Macintosh file selection dialog. Find the file you wish to uncompress and select &amp;quot;&amp;#039;&amp;#039;&amp;#039;Open&amp;#039;&amp;#039;&amp;#039;&amp;quot;. SmallTime will then ask you to confirm that you wish to save the file (and its header) to its default name and location. Change these as you wish.&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;options&amp;#039;&amp;#039;===&lt;br /&gt;
Options in the Macintosh version are accessed through the &amp;#039;&amp;#039;&amp;#039;Preferences...&amp;#039;&amp;#039;&amp;#039; option in the &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; menu, which opens a dialog box as shown below:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Image:SmallTimePrefs.gif]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;The options are as described above for the unix version&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Sequential&amp;#039;&amp;#039;&amp;#039; vs. &amp;#039;&amp;#039;&amp;#039;Based on First Image&amp;#039;&amp;#039;&amp;#039; refers to which image in the time series is used as a reference for the compression process.&lt;br /&gt;
Checking &amp;#039;&amp;#039;&amp;#039;Delete original after compression&amp;#039;&amp;#039;&amp;#039; forces SmallTime to automatically delete the original file when compression is completed.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Delete compressed file after expansion&amp;#039;&amp;#039;&amp;#039; will cause SmallTime to remoce the compressed file after the expansion is completed.&lt;br /&gt;
The grayed out menu will someday allow you to use SmallTime for data format conversion as well. Stay tuned.&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Batch Options&amp;#039;&amp;#039;&amp;#039; control what SmallTime does when multiple files are dropped onto the program icon. If &amp;#039;&amp;#039;&amp;#039;Automatically name (with *.ST)&amp;#039;&amp;#039;&amp;#039; is selected, the compression process will proceed through all files without stopping. Otherwise, you will be asked to confirm the name for each file before it is saved.&lt;br /&gt;
The preferences are not stored across SmallTime sessions (they return to the defaults shown when you restart the program.&lt;br /&gt;
&lt;br /&gt;
===verifying===&lt;br /&gt;
The Macintosh version of SmallTime allows you to compare two files. This may be useful if your suddenly fantasize that SmallTime has damaged your original file (it hasn&amp;#039;t happened yet...). To compare two files, select &amp;quot;&amp;#039;&amp;#039;&amp;#039;Compare...&amp;#039;&amp;#039;&amp;#039;&amp;quot; from the &amp;#039;&amp;#039;&amp;#039;File&amp;#039;&amp;#039;&amp;#039; menu.&lt;/div&gt;</summary>
		<author><name>Mscohen</name></author>
	</entry>
</feed>