<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bone.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yingzhu</id>
	<title>bone.wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://bone.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yingzhu"/>
	<link rel="alternate" type="text/html" href="https://bone.wiki/index.php/Special:Contributions/Yingzhu"/>
	<updated>2026-10-29T04:04:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7156</id>
		<title>Scanco Administration</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7156"/>
		<updated>2021-06-23T14:45:15Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* USB Device Usage with Scanco Backup/Archive Software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS=&lt;br /&gt;
&lt;br /&gt;
==OpenVMS References==&lt;br /&gt;
*[[Media:OpenVMS Users Manual.PDF| OpenVMS User Manual]]&lt;br /&gt;
*[[Media:Vmsfaq.pdf| OpenVMS FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Unix related==&lt;br /&gt;
*[[Media:Vms-unix-commands.pdf| OpenVMS Commands with UNIX equivalents]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix filenames on VMS with multiple &#039;.&#039;===&lt;br /&gt;
&lt;br /&gt;
The directory names would have been cvs-1.11.21.dir on Linux.  However VMS doesn&#039;t allow more than 1 . in the name.  If you enter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set process/parse=extended&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in a terminal you&#039;ll be able to access these files.  You could consider renaming them i.e. cvs-1_11_21.dir.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix command line basics===&lt;br /&gt;
====Twelve Essential Commands====&lt;br /&gt;
&lt;br /&gt;
These are the commands which you have to know in order to be basically functional with a shell (command line).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;&lt;br /&gt;
| List directory contents.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -l&amp;lt;/tt&amp;gt; long listing with dates and permissions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -a&amp;lt;/tt&amp;gt; list all, including hidden files (hidden files start with a period)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Change directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt; change to previous directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ~&amp;lt;/tt&amp;gt; change to home directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ..&amp;lt;/tt&amp;gt; change to parent directory&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;pwd&amp;lt;/tt&amp;gt;	&lt;br /&gt;
| Print current (working) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cp&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Copy file(s).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cp -r somedir somedest&amp;lt;/tt&amp;gt; Copy recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mv&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Move (or rename) a file (or directory)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rm&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Delete (remove) a file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -r somedir&amp;lt;/tt&amp;gt; Delete recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -ri somedir&amp;lt;/tt&amp;gt; Delete recursively, but prompt before each removal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -rf somedir&amp;lt;/tt&amp;gt; Delete recursively, never prompt&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mkdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Create directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rmdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Remove (empty) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cat&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Print file contents (to console).&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;less&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Scroll through file contents, one page at a time. SPACEBAR to advance a page, B to go back a page, Q to quit, /pattern to search for pattern&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;man&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Get help on &amp;lt;tt&amp;gt;command&amp;lt;/tt&amp;gt;. (eg. &amp;lt;tt&amp;gt;man ls&amp;lt;/tt&amp;gt; for help on &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;).  You move around in man as you do with less: SPACEBAR is forward a page, and so on.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;exit&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Close shell (i.e. the terminal). If this is your login shell, you will log out.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File names with spaces====&lt;br /&gt;
&lt;br /&gt;
Spaces on the command line separate arguments. Therefore file names containing spaces require special treatment to avoid being interpreted as two separate files. There are a couple of methods. You can use quotes:&lt;br /&gt;
&lt;br /&gt;
 cp &amp;quot;file name with spaces&amp;quot; file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
You can also use the backslash, which indicates that any special significance is to be removed from the following character. Thus a space, instead of being the delimiter for arguments on a command line, is to be interpreted as a regular character.&lt;br /&gt;
&lt;br /&gt;
 cp file\ name\ with\ spaces file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Copying and pasting====&lt;br /&gt;
&lt;br /&gt;
Copying and pasting in a terminal is generally done with the middle mouse button.  Just mark the text you want to copy with the mouse, holding down the left mouse button in the usual way. Then move the cursor (which is different than the mouse pointer - move the cursor with arrow keys typically) to where you want to insert and click the middle mouse button (on a wheel mouse the middle button is the wheel).&lt;br /&gt;
&lt;br /&gt;
Tip: You can double-click to mark a whole work, or triple-click to mark a whole line. Remember - you haven&#039;t only marked it, you&#039;ve put it in the clipboard.&lt;br /&gt;
&lt;br /&gt;
Note: This applies to X11, for example on Linux.  If using OS-X, just use Option-C and Option-V as usual.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Recalling previous commands====&lt;br /&gt;
&lt;br /&gt;
You can scroll though your previous commands (command history) by using the UP and DOWN arrow keys.&lt;br /&gt;
&lt;br /&gt;
A more advanced trick is to use CTRL-R, which is particularly useful when you want to recall a command you used some time ago. Hit CTRL-R and then start typing some fragment of the command you&#039;re searching for. The prompt will automatically update to show you the most recent match to the fragment you&#039;ve typed so far. If you want the matching command previous to the one shown, hit CTRL-R again. Once you&#039;ve got the previous command you&#039;re looking for, hit ENTER to run it again, or start editing it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Be lazy: use TAB to minimize typing====&lt;br /&gt;
&lt;br /&gt;
Some commands and especially some file names can be pretty long. Don&#039;t want to type it all? Type the first few letters, then hit TAB. The shell will fill in the rest, as far as there is a unique completion (either command or filename). If there is not a unique completion to the end, you might have to type another character or two and then hit TAB again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Keyboard Shortcuts====&lt;br /&gt;
&lt;br /&gt;
Here are some common command line keyboard shortcuts.  Some of these are bash-specific shortcuts, so not all of them will work on all systems.&lt;br /&gt;
&lt;br /&gt;
Note: If you&#039;re using OS-X, a number of the editing shortcuts below work in ALL programs in OS-X.  (With the sad exception of Microsoft Office, which overrides the system-wide key bindings.)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Common editing key bindings&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-A&amp;lt;/tt&amp;gt; || Move to the end of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-E&amp;lt;/tt&amp;gt; || Move to the beginning of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-F&amp;lt;/tt&amp;gt; || Move forward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-B&amp;lt;/tt&amp;gt; || Move backward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-F&amp;lt;/tt&amp;gt; || Move forward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-B&amp;lt;/tt&amp;gt; || Move backward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || Delete one character forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-H&amp;lt;/tt&amp;gt; || Delete one character backward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-D&amp;lt;/tt&amp;gt; || Delete one word forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-W&amp;lt;/tt&amp;gt; || Delete one word backwards.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-K&amp;lt;/tt&amp;gt; || Delete (Kill) everything from the cursor forwards (to the end of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-U&amp;lt;/tt&amp;gt; || Delete everything from the cursor backwards (to the beginning of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-T&amp;lt;/tt&amp;gt; || Transpose two characters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-T&amp;lt;/tt&amp;gt; ||	Transpose two words.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ESC .&amp;lt;/tt&amp;gt; || Insert the last argument (word) from the previous command.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-X-X&amp;lt;/tt&amp;gt; || Move between end of line and current cursor position&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 2. Common control key bindings&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; || Terminate the current program, or sometimes cancel some operation.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-\&amp;lt;/tt&amp;gt; || Seriously kill the current program! Use only after &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; has failed.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || End-of-file. This is often used to signal the end of input, or to exit a program.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-G&amp;lt;/tt&amp;gt; || Cancel the current operation. An occasionally useful command to get yourself out of things.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-L&amp;lt;/tt&amp;gt; || Redraw the console. Mostly useful if some program running in the background spews a lot of stuff onto your terminal.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Q&amp;lt;/tt&amp;gt; || The only time you need this is if you accidently hit &amp;lt;tt&amp;gt;CTRL-S&amp;lt;/tt&amp;gt;. In that case the console is locked until you hit CTRL-Q to unlock it. Apparently once a long long time ago this was actually a useful feature.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; || Recall command containing characters. After hitting &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt;, type the fragment you want to search for. If it returns a command which isn&#039;t the one one want, hit &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; again to cycle through matches.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Z&amp;lt;/tt&amp;gt; || Suspend the current program and put it in the background. This is very useful once you figure out how it works. Refer to the section on putting jobs in the background.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Using scp to copy files between computers====&lt;br /&gt;
&lt;br /&gt;
scp is a secure copy command that works bewteen computers.  Typically any computer that supports ssh also supports scp.  You must have an actual user account on the target computer, so for example you typically won&#039;t be able to scp to mike.kin .&lt;br /&gt;
&lt;br /&gt;
scp works just like the cp command, with a few extra decorations:&lt;br /&gt;
&lt;br /&gt;
 scp eric@mighty-mac.kin.ucalgary.ca:Documents/important_file.txt .&lt;br /&gt;
&lt;br /&gt;
In this example the file I want to copy is on the computer mighty-mac.kin.ucalgary.ca, and I used eric@ to specify my user name.  You can leave off the user name if it is the same on both computers.  The period as the destination is just standard Unix short-hand for the current directory.  You can use the -r flag to copy whole directories.  For example:&lt;br /&gt;
&lt;br /&gt;
 scp -r calculations mighty-mac.kin.ucalgary.ca:Documents/Projects&lt;br /&gt;
&lt;br /&gt;
In this example calculations is a directory containing many files, and possibly subdirectories.  This example copies files to mighty-mac instead of from it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Running long calculations====&lt;br /&gt;
&lt;br /&gt;
Here are some useful tips for running long jobs.&lt;br /&gt;
&lt;br /&gt;
=====Getting the prompt back after starting a job=====&lt;br /&gt;
&lt;br /&gt;
Use &amp;amp; at the end of the command. This puts the job in the background. For example:&lt;br /&gt;
&lt;br /&gt;
 ./myjob someargs &amp;amp;&lt;br /&gt;
&lt;br /&gt;
To see all your background jobs (the ones started in the current shell), enter:&lt;br /&gt;
&lt;br /&gt;
 jobs&lt;br /&gt;
&lt;br /&gt;
To bring one of these to the foreground, use:&lt;br /&gt;
&lt;br /&gt;
 fg %n&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;n&amp;lt;/tt&amp;gt; is the job number (yes it needs a &amp;lt;tt&amp;gt;%&amp;lt;/tt&amp;gt; in front of it). To move it to the background again, hit CTRL-Z. This however doesn&#039;t just move the job to the background, it suspends it. To get it running again, use&lt;br /&gt;
&lt;br /&gt;
 bg %n&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Keeping a job running after you log out=====&lt;br /&gt;
&lt;br /&gt;
Use nohup. For example, suppose you want to run &amp;lt;tt&amp;gt;./myjob 20&amp;lt;/tt&amp;gt;. In this case, you could use:&lt;br /&gt;
&lt;br /&gt;
 nohup nice ./myjob 20 &amp;amp;&amp;gt; output &amp;amp;&lt;br /&gt;
&lt;br /&gt;
There are several things to note here:&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;tt&amp;gt;&amp;amp;&amp;lt;/tt&amp;gt; at the end of the command line is there so you get the command prompt back immediately (see the previous section).&lt;br /&gt;
* We have redirected the output to a file out_file with &amp;lt;tt&amp;gt;&amp;amp;&amp;gt; output&amp;lt;/tt&amp;gt;. If you don&#039;t do this, any output to STDIN (normally the console) will automatically go into a file called &amp;lt;tt&amp;gt;nohup.out&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* We&#039;ve niced the job to reduce it&#039;s execution priority. This is courteous if you&#039;re a multiuser system. &lt;br /&gt;
&lt;br /&gt;
If you want to see what&#039;s in nohup.out (or whatever you called it) at any time, you can do the usual&lt;br /&gt;
&lt;br /&gt;
 cat nohup.out&lt;br /&gt;
&lt;br /&gt;
Here&#039;s another potentially more useful command:&lt;br /&gt;
&lt;br /&gt;
 tail -f nohup.out&lt;br /&gt;
&lt;br /&gt;
tail shows you the last few lines of the files. In addition, the -f flag (&amp;quot;follow&amp;quot;) means that as lines get added to the file, they are displayed on the screen. This looks just like when you run the program without nohup, except when you hit CTRL-C, the program keeps on running in the background.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Finding out if any of your jobs are still running=====&lt;br /&gt;
&lt;br /&gt;
This command will show all jobs that belong to user &amp;quot;eric&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
Another useful command is &amp;quot;top&amp;quot;, which will show interactively which processes are using the most processor cycles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Terminating a job prematurely=====&lt;br /&gt;
&lt;br /&gt;
If you decide that you want to kill the job before it completes, this is the command:&lt;br /&gt;
&lt;br /&gt;
 kill PID&lt;br /&gt;
&lt;br /&gt;
where PID is the actual PID (a number) of the process.  You find the PID with &#039;top&#039; or &#039;ps -u eric&#039;  (replace eric by your user ID of course).&lt;br /&gt;
&lt;br /&gt;
Occasionally a process will decline to terminate when you request it to.  This is the more brutal, never-fails method to kill a job immediately:&lt;br /&gt;
&lt;br /&gt;
 kill -s KILL PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Suspending a long-running job and restarting it later=====&lt;br /&gt;
&lt;br /&gt;
First find the PID (process ID) with top or with ps. For example, I might list all jobs belonging to me with:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
To stop the job, send it a STOP signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s STOP PID&lt;br /&gt;
&lt;br /&gt;
(replace PID with the actual PID number). It is now no longer running, but it still occupies memory (although the memory it uses will probably be swapped out to disk). When you want to resume execution, give it a CONT signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s CONT PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Graphical Applications==&lt;br /&gt;
&lt;br /&gt;
===Calendar - Fix corruption===&lt;br /&gt;
&lt;br /&gt;
Sometimes the calendar file can be corrupted, which is annoying every time you log onto the system. &lt;br /&gt;
&lt;br /&gt;
When we login to a server through a workstation, there is a &amp;quot;File is not a Calendar Datafile.&amp;quot; information message pops up.&lt;br /&gt;
&lt;br /&gt;
This means that the calendar database got corrupted during an improper interruption such as a system crash due to a power outage.&lt;br /&gt;
&lt;br /&gt;
To fix this, you will need to login to the Server through the Workstation&lt;br /&gt;
&lt;br /&gt;
Once logged in:&lt;br /&gt;
 cd xdefaults&lt;br /&gt;
 dir *calendar*.dat  /date&lt;br /&gt;
&lt;br /&gt;
Delete the calendar file for the workstation, such as the following James workstation:&lt;br /&gt;
 del decw$calendar_sc3401.dat&lt;br /&gt;
&lt;br /&gt;
Once logged out and logged in again, you will be asked if you want to create a new calendar file. &lt;br /&gt;
Say &amp;quot;yes&amp;quot; there and a new calendar will open. &lt;br /&gt;
&lt;br /&gt;
In the calendar window menu &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;general&amp;quot; set the &amp;quot;start iconized&amp;quot; -&amp;gt; apply and &amp;quot;ok&amp;quot;, then &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;save settings&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
So next time you log in, the calendar window will be minimized in the right lower corner.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Session Manager - Create a customized button===&lt;br /&gt;
The session manager part to enable the double-click on the AIM file:&lt;br /&gt;
Session Manager, &#039;Options&#039;, &#039;Menu&#039;, enter new item&lt;br /&gt;
SAP&lt;br /&gt;
with command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@decw$user_defaults:sap$vue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then move that menu point into &#039;Applications&#039; menu.&lt;br /&gt;
Also:&lt;br /&gt;
&#039;Options&#039;, &#039;File types&#039;, Create &#039;AIM&#039; file type.&lt;br /&gt;
Move &#039;rename&#039;, &#039;copy&#039;, &#039;purge&#039; etc. into menu, Select &#039;SAP&#039;, click  on&lt;br /&gt;
&#039;Change double click&#039;, and also move SAP into menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===EVE Editor===&lt;br /&gt;
&lt;br /&gt;
====Launch EVE editor====&lt;br /&gt;
&lt;br /&gt;
On the command line&lt;br /&gt;
  $ edit/display=decwindows/tpu fname.txt&lt;br /&gt;
&lt;br /&gt;
Or to set it up permanently, edit &amp;lt;code&amp;gt;DISK1:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; to include &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Configure EVE editor====&lt;br /&gt;
&lt;br /&gt;
The following file, called &amp;lt;code&amp;gt;tpu.dat&amp;lt;/code&amp;gt;, should be installed in &amp;lt;code&amp;gt;disk1:[microct.xdefaults]:&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# DECTPU V3.1 1993-04-22 15:50 defaults&lt;br /&gt;
# CHANGED B.KOLLER 21-JUN-90&lt;br /&gt;
#&lt;br /&gt;
# Copyright (c) 1993 Digital Equipment Corporation.  All rights reserved.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# The following are all the resource names that DECTPU supports.&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Title:		DECTPU Copyright © Digital Equipment Corporation 1992.  All Rights Reserved.&lt;br /&gt;
Tpu.Tpu$MainWindow.ApplicationTitle:	DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.IconName:		DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.X:			610&lt;br /&gt;
Tpu.Tpu$MainWindow.Y:			0&lt;br /&gt;
#&lt;br /&gt;
# The following resource names are commented out so that users can specify&lt;br /&gt;
# *rows and *columns and have DECTPU obey those directives.  If DECTPU finds&lt;br /&gt;
# finds no resource names governing the number of rows and columns it should&lt;br /&gt;
# have, it uses 24 rows and 80 columns.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Columns:	80&lt;br /&gt;
Tpu.Tpu$MainWindow.Rows:	56&lt;br /&gt;
*EVE_MENU_BAR*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmScrollBar*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmDialogShell*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmMenuShell*background:	#ADADADADADAD&lt;br /&gt;
*background:			white&lt;br /&gt;
Tpu*condensedFont: OFF&lt;br /&gt;
Tpu*fontSetSelection: 0&lt;br /&gt;
&lt;br /&gt;
# 0 = big font&lt;br /&gt;
# 1 = little font&lt;br /&gt;
# 2 = GS font (German Standard)&lt;br /&gt;
# 3 = Fine font (used only for non-latin 1 fonts?)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====EVE editor Commands====&lt;br /&gt;
&lt;br /&gt;
* mark -&amp;gt; ctrl-space&lt;br /&gt;
* delete -&amp;gt; remove (delete)&lt;br /&gt;
* insert -&amp;gt; insert here (insert)&lt;br /&gt;
* learn -&amp;gt; ctrl-k (ctrl-r to stop)&lt;br /&gt;
* The right &#039;alt&#039; key on the PC accesses the menu for EVE.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| copy&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;Remove&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;Insert Here&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt; &amp;lt;code&amp;gt; &amp;lt;ctrl&amp;amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| cut&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;Remove&amp;amp;gt; &amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;delete&amp;amp;gt; &amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt; &amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;#&amp;amp;gt;&amp;amp;lt;(CTRL-Q)&amp;amp;gt; &amp;lt;/code&amp;gt; (the &amp;lt;code&amp;gt;CTRL-Q &amp;lt;/code&amp;gt; depends on the given key sequence).&lt;br /&gt;
|-&lt;br /&gt;
| find next&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter search string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| replace string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;S&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| margins&lt;br /&gt;
| Mouse click bottom of window type: &amp;lt;code&amp;gt;set right 999&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF4&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*To avoid having the EVE editor automatically create multiple lines from a long input sequence set the margins [FORMAT - SET MARGINS] to some high number eg. 500.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use Commands Remotely with XWin32====&lt;br /&gt;
&lt;br /&gt;
Default key settings:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| remove (cut) and append to previous paste buffer&lt;br /&gt;
| &amp;lt;code&amp;gt;9&amp;lt;/code&amp;gt; (nine on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt;&amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;-Q&amp;lt;/code&amp;gt; or given key sequence&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| go to end of line&lt;br /&gt;
| &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; (two on number pad) or &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;E&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;backspace&amp;amp;gt; or &amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;H&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of word&lt;br /&gt;
| &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; (one on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| delete line to left of cursor&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;U&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt; or .&amp;lt;/code&amp;gt; (on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select all text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;O&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off overstrike&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;A&amp;amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| save and exit&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Z&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter command&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may find it useful to define keys. For example, define keys to cut, copy and paste:&lt;br /&gt;
&lt;br /&gt;
*To Cut &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;X&amp;amp;gt;&amp;lt;/code&amp;gt;:    &lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/x cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Copy &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;C&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/c copy&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Paste &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;V&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/v paste&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use terminal based editor (EVE)====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ edit file.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you are using this from a remote terminal, you will need to initiate a vt100 terminal.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set term /vt100&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some useful commands:&lt;br /&gt;
:* ctrl-z -&amp;gt; exit with save&lt;br /&gt;
:* ctrl-y -&amp;gt; kill without saving&lt;br /&gt;
:* do-key, then type &#039;quit&#039; or &#039;exit&#039; (what is the do key on a remote terminal?)&lt;br /&gt;
:* PF2 -&amp;gt; shows special keypad functions&lt;br /&gt;
:* GoldKey -&amp;gt; PF1&lt;br /&gt;
&lt;br /&gt;
====Use EVE editor Remotely====&lt;br /&gt;
For remote sessions, once used $ EVE to start the text editor, press Ctrl-B to bring up a command line at the bottom of the screen.&lt;br /&gt;
&lt;br /&gt;
*Command: @eveconfig&lt;br /&gt;
&lt;br /&gt;
This will set backspace to delete normally.&lt;br /&gt;
*Ctrl-X cut&lt;br /&gt;
*Ctrl-C copy&lt;br /&gt;
*Ctrl-V paste&lt;br /&gt;
*Ctrl-S save file&lt;br /&gt;
*Ctrl-L learn command&lt;br /&gt;
*Ctrl-F find next&lt;br /&gt;
*Ctrl-Q quit&lt;br /&gt;
*Ctrl-O open&lt;br /&gt;
*Ctrl-space to select&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout Views===&lt;br /&gt;
====View scout views in two locations====&lt;br /&gt;
Go to scout view directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT side:&lt;br /&gt;
$ cd DISK1:[MICROCT.DATA.SCOUTS]&lt;br /&gt;
&lt;br /&gt;
VivaCT side:&lt;br /&gt;
$ cd ADISK1:[VIVACT.DATA.SCOUTS]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the program ximage&lt;br /&gt;
&amp;lt;pre&amp;gt;$ x asdf.SCV&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For XtremeCT users, 2 sets of scout views are saved. Scout views can be viewed from the main scouts directory (above) and in the data directory under specific patient and measurement numbers. For example using patient #: 2795 and meas#:9933: &lt;br /&gt;
 $ cd DISK2:[MICROCT.DATA.00002795.00009933]&lt;br /&gt;
 $ x C00008848.SCV&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reuse old scout views====&lt;br /&gt;
Reference SCV files are not overwritten. When you Save a new reference within the scout view Dialog, it writes a new version that is read by the measurement program.&lt;br /&gt;
&lt;br /&gt;
If you want to return to an old scout view reference, you will have to manipulate files manually.&lt;br /&gt;
&lt;br /&gt;
Typically all the scouts are accessible here:&lt;br /&gt;
  DISK1:[MICROCT.DATA.SCOUTS]0000PPPPSS.SCV&lt;br /&gt;
&lt;br /&gt;
PPPP being the patient number, and SS the Site Code number [i.e. 20,21,38,39 = RL, RR, TL, TR].&lt;br /&gt;
&lt;br /&gt;
Assuming you have only version;1 and ;2 what you can do is to rename/delete version;2, so that it is not read anymore by the measurement program.&lt;br /&gt;
Or copy version;1 as version;3, but this is rather messy.&lt;br /&gt;
&lt;br /&gt;
Note: Do not look in the measurement directories. There are copies of the SCV files, but those are not the one called by the measurement program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==File Operations==&lt;br /&gt;
&lt;br /&gt;
===Copy and Move===&lt;br /&gt;
====Copy files between accounts/users====&lt;br /&gt;
&lt;br /&gt;
As user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; you can copy files between accounts (e.g., microct and devel).  There is no need to set user/priv=bypass as this is set by default as user system.&lt;br /&gt;
&lt;br /&gt;
If you want to copy between two users (i.e. normal users, not calibration or system), then you can only write on the user directories for which you are logged in. So, if you want&lt;br /&gt;
to copy files from account xtremect2 to microct, you need to log into microct account and copy the file from xtremect2 to microct&lt;br /&gt;
&lt;br /&gt;
If you want to use the backup command for copying multiple subdirectories with &lt;br /&gt;
the three dots (e.g., &amp;lt;code&amp;gt;disk2:[microct.data.00000034...]&amp;lt;/code&amp;gt;) then you HAVE to put an &amp;lt;code&amp;gt;/owner=devel&amp;lt;/code&amp;gt; at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/log disk2:[microct.data.00000034...] -&lt;br /&gt;
        disk2:[devel.data.00000034...]/own=devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a directory on the same device====&lt;br /&gt;
&lt;br /&gt;
You can simply use the rename command to move a directory on the same device, but you need to set DELETE protection for the file owner for this to work&lt;br /&gt;
 $ set prot=o:rwed &amp;lt;dir&amp;gt;.dir&lt;br /&gt;
 $ ren &amp;lt;dir&amp;gt;.dir new:[parent.directory]&lt;br /&gt;
 $ set prot=o:rwe new:[parent.directory]&amp;lt;dir&amp;gt;.dir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a whole directory structure with BACKUP command====&lt;br /&gt;
&lt;br /&gt;
Sometimes we want to move entire directories. For example, moving a measurement directory from DISK2 to DISK6, or moving a project to another disk. &lt;br /&gt;
&lt;br /&gt;
Here is how to move a project:&lt;br /&gt;
  $ BACKUP DISK2:[MICROCT.PROJECTS...] DISK3:[MICROCT.PROJECTS...]/VERIFY&lt;br /&gt;
&lt;br /&gt;
Note the use of &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; in both places.&lt;br /&gt;
&lt;br /&gt;
If you move a data measurement, you could do it as follows:&lt;br /&gt;
  $ BACKUP DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
In both cases, you can add a &amp;lt;code&amp;gt;/DELETE&amp;lt;/code&amp;gt; command to so that it deletes after the move is completed and verified.&lt;br /&gt;
  $ BACKUP/VERIFY/DELETE DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can simply check that the move was successful, and then delete the original files:&lt;br /&gt;
  $ delete disk2:[microctt.projects...]*.*;*&lt;br /&gt;
  $ dl disk2:[microctt.projects...]*.dir     ! A for all; do until sub-dirs are gone&lt;br /&gt;
&lt;br /&gt;
Note that I&#039;ve misspelled &amp;quot;microctt&amp;quot; on purpose as these commands are VERY dangerous. You could wipe out a lot of data by accident. Be careful!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix corrupted VMS files when moved to or from a PC====&lt;br /&gt;
&lt;br /&gt;
We start by getting good file format/attributes from a good aim/isq/gobj, etc.&lt;br /&gt;
&lt;br /&gt;
  $ ana/rms/fdl/out=correct.fdl good.aim&lt;br /&gt;
&lt;br /&gt;
Then we edit the file correct.fdl, leaving only 5 lines:&lt;br /&gt;
  RECORD&lt;br /&gt;
        BLOCK_SPAN                        yes&lt;br /&gt;
        CARRIAGE_CONTROL                  none&lt;br /&gt;
        FORMAT                            fixed&lt;br /&gt;
        SIZE                              512&lt;br /&gt;
 &lt;br /&gt;
Now we have to set the file attributes of the affected aim (isq, gobi) file:&lt;br /&gt;
&lt;br /&gt;
  $ set file/attr=lrl=514 bad.aim    ! Yes, 514&lt;br /&gt;
  $ set file/attr=lrl=514 *.AIM        ! do a bunch at a time&lt;br /&gt;
&lt;br /&gt;
Finally we create a fixed file&lt;br /&gt;
&lt;br /&gt;
  $ convert/fdl=correct.fdl/trunc bad.aim converted.aim&lt;br /&gt;
&lt;br /&gt;
This process discards the superfluous 2 bytes, usually caused by transferring to/from a PC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Delete===&lt;br /&gt;
&lt;br /&gt;
====Delete older versions of files====&lt;br /&gt;
Use the PURGE command.[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ PURGE	                                        !Removes older versions of all files in the directory! CAREFUL!!!!&lt;br /&gt;
$ PURGE myfile.aim                              !Removes older versions of myfile.aim.&lt;br /&gt;
$ PURGE /KEEP=3                                 !Removes all but the three most recent versions of all files.&lt;br /&gt;
$ HELP PURGE	                                !More information on the PURGE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Undelete Files====&lt;br /&gt;
&lt;br /&gt;
The Disk/File Utility (DFU) will allow you to restore files that have been deleted, however, you will only be able to do so if the disk space hasn&#039;t been overwritten.  This means that unless all scanning and access to the disk is stopped, you likely only have a couple of hours at most to undelete the files. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the system user and start the disk file utility program, DFU. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dfu&lt;br /&gt;
DFU&amp;gt; undelete diskX: /file=myfile OR undelete filepath/filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, suppose we want to restore an RSQ (C0001234.RSQ) that was deleted from the BH data disk (disk2):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; undelete disk2:/file=C0001234.RSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If the file can be undeleted successfully (i.e., without corruption), then you will be asked if you wish to restore the file.  Type &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
When done restoring desired files, to get out of dfu: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; exit&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*The undelete function will lock access to the disk while it searches for a file and until you respond &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot; to restoring it.  This means that all programs and commands trying to access the disk (i.e., by other people using the system) will appear to freeze momentarily until the disk is unlocked.  &lt;br /&gt;
*If you search for a specific file, the lock period will be very short (maybe 15-30 seconds).  If you search for files in general (e.g., *.RSQ), the lock period will be longer (maybe 5 to 10 minutes).  &lt;br /&gt;
*You cannot search specific locations for files (i.e., a folder on a disk).  &lt;br /&gt;
*Files are restored to their original location on disk.&lt;br /&gt;
*More information on DFU can be found here: http://digiater.nl/dfu.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Delete a directory/file====&lt;br /&gt;
Use the DL command (this calls the script $ @SCOM:DL.COM), but first remove all files from the directory.&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  	                                        &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ DL subdir.dir;	                        !Deletes subdir.dir with confirmation.&lt;br /&gt;
$ DL disk:[dir.subdir...]*.dir                  !* for all; do until subdirs are gone.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the DELETE command, but first remove all files from the directory and set file protections to enable deletion of the directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROT=O:RWED [.subdir...]*.*;*        !Changes protections so you can delete the files.  O is short for OWNER and RWED refers to Read, Write, Edit, Delete.&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED subdir.dir         !Changes protections so you can delete the subdirectory subdir.dir.  &lt;br /&gt;
$ DEL subdir.dir;                               !Deletes the subdirectory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the file cannot be deleted to due a permission error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ purge 12_RAD_FX.AIM&lt;br /&gt;
%PURGE-W-FILNOTPUR, error deleting DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
-RMS-E-FLK, file currently locked by another user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set ho 0                                      ! log in as calibration&lt;br /&gt;
$ spb &lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that still doesn&#039;t work, then maybe you need to kill a process first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device  disk4 /file                      ! shows all the files currently involved in a process&lt;br /&gt;
$ set ho 0                                      ! log in as &#039;system&#039;&lt;br /&gt;
$ stop /id=2081F1EC&lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Authorizations===&lt;br /&gt;
&lt;br /&gt;
====Can not access a Projects directory====&lt;br /&gt;
In principal, all Scanco user accounts (even including the calibration ones) should have read and write access to the Projects directories. While it (denied reading or writing access to a Project folder) did happen for a reason (used different accounts to create a file or a subfolder within a Projects folder), you could let lab administrator know and carefully run the following command to overwrite the authority, or switch to microct or xtremct2 account to perform as a walkaround. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set file/prot=(g:rwe,o:rwe) disk4:[bonelab.projects.danielle...]*.*;*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To avoid this happening again, make use always using the same account consistently to create all files and subfolders within their Project folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Administrative Commands==&lt;br /&gt;
&lt;br /&gt;
===Query commands===&lt;br /&gt;
====Check licenses on VMS system====&lt;br /&gt;
&lt;br /&gt;
This can be used to see what educational licenses (and other licenses) are currently on the system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW LICENSE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply for an educational license go to http://www.openvmsedu.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check MAC address of VMS system====&lt;br /&gt;
You can check them using the command&lt;br /&gt;
  $ mcr lancp sh dev/char&lt;br /&gt;
For example, the result on percy.kin.ucalgary.ca gives&lt;br /&gt;
&lt;br /&gt;
  Device Characteristics EIA0:&lt;br /&gt;
                  Value  Characteristic&lt;br /&gt;
                  -----  --------------&lt;br /&gt;
                   1500  Device buffer size&lt;br /&gt;
                 Normal  Controller mode&lt;br /&gt;
               External  Internal loopback mode&lt;br /&gt;
      00-02-A5-20-29-99  Hardware LAN address&lt;br /&gt;
                         Multicast address list&lt;br /&gt;
                CSMA/CD  Communication medium&lt;br /&gt;
      FF-FF-FF-FF-FF-FF  Current LAN address&lt;br /&gt;
                    128  Minimum receive buffers&lt;br /&gt;
                    256  Maximum receive buffers&lt;br /&gt;
                    Yes  Full duplex enable&lt;br /&gt;
                    Yes  Full duplex operational&lt;br /&gt;
            TwistedPair  Line media type&lt;br /&gt;
                    100  Line speed (mbps)&lt;br /&gt;
    Disabled/No Failset  Logical LAN state&lt;br /&gt;
                      0  Failover priority&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update commands===&lt;br /&gt;
&lt;br /&gt;
====Change hosts====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr latcp show service *                      ! and if it shows you SCTHIN:&lt;br /&gt;
$ set host scthin                               ! or&lt;br /&gt;
$ set host scthin/lat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update OpenVMS Licenses====&lt;br /&gt;
This needs to be done on all the Calgary workstations, XtremeCT, vivaCT40/uCT35, and uCT100.&amp;lt;br&amp;gt;&lt;br /&gt;
Request licenses from HP:&lt;br /&gt;
*School Identification (for U of C): 855803-9502&lt;br /&gt;
*License type: OpenVMS VAX/Alpha (uCT100: OpenVMW Integrity) Layered Products?  (Or try others)&lt;br /&gt;
*Member of DSPP or AlicanceONE: No&lt;br /&gt;
*Do you use a VAX or Alpha Emulator: No&lt;br /&gt;
&lt;br /&gt;
On every workstation, you need to check which licenses are loaded and update those with a termination date.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show license&lt;br /&gt;
&lt;br /&gt;
Active licenses on node SCEVA3:&lt;br /&gt;
&lt;br /&gt;
------- Product ID --------    ---- Rating ----- -- Version --&lt;br /&gt;
Product            Producer    Units PCL   Activ Version Release    Termination&lt;br /&gt;
C                  DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CXX-V              DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
FORTRAN            DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
LSE                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
MMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
VMSCLUSTER         DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
OPENVMS-I64-FOE    HP              4  1     0      0.0  (none)      (none)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
*HP will provide you with a script file ([[media:Openvms_license_update_hp.docx |&#039;&#039;&#039;Example script from HP&#039;&#039;&#039; ]]) containing a large number of licenses. &lt;br /&gt;
*Modify the script to contain only the relevant licenses and load the licenses ([[Media:Openvms_license_update.docx |&#039;&#039;&#039;Example modified script&#039;&#039;&#039;]]).&lt;br /&gt;
*Login as user: system&lt;br /&gt;
*Re-check the licenses on the workstation to ensure that the termination date has been updated.&lt;br /&gt;
*The date after expiry, if cannot log in, then there is a problem with the VMS Cluster license, which was installed by Scanco. Contact Mark Blanchard (mblanchard@scanco.ch) about this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understanding how to set default parameters with OpenVMS====&lt;br /&gt;
&lt;br /&gt;
Here is how the files all hang together...&lt;br /&gt;
&lt;br /&gt;
LOGIN.COM is called automatically during login and calls&lt;br /&gt;
::MICROCT_SETUP.COM, which sets the scanner ID, data device, etc. This file calls&lt;br /&gt;
::::MICROCT_SETUP_COMMON.COM to create general settings. This file is located in DISK0:[MICROCT_COMMON] and calls&lt;br /&gt;
::::::MICROCT_FE.COM, if present, to setup the environment for Bert&#039;s FE program&lt;br /&gt;
::::::MICROCT_SETUP_SITE_SPECIFIC.COM to create local settings for all accounts (e.g. ICALC)&lt;br /&gt;
::::::MICROCT_SETUP_COMMON_*.COM, if present, typically to create application-specific settings for all accounts&lt;br /&gt;
::::::MICROCT_SETUP_GROUP_*.COM, if present, to create local settings for specific groups (e.g. group 3401)&lt;br /&gt;
::MICROCT_SETUP_USER.COM to create user-specific settings.&lt;br /&gt;
&lt;br /&gt;
Note that the $UM designation is the MAIN directory, and the location of the binary files. To see a list: &lt;br /&gt;
&lt;br /&gt;
  $ dir DISK0:[MICROCT_COMMON.MAIN]&lt;br /&gt;
&lt;br /&gt;
This is where you&#039;ll find IPL_SCANCO_FE.EXE, IPL_SCANCO_M.EXE, etc.&lt;br /&gt;
&lt;br /&gt;
Lots of stuff here:&lt;br /&gt;
&lt;br /&gt;
  Directory DISK0:[MICROCT_COMMON]&lt;br /&gt;
&lt;br /&gt;
  3309.DIR;1          DATABASE.DIR;1      DEMO.DIR;1          EVAL.DIR;1         &lt;br /&gt;
  MAIN.DIR;1          TEMPLATES.DIR;1     TIPS.DIR;1          UIL.DIR;1          &lt;br /&gt;
  UTIL.DIR;1          WWW.DIR;1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Edit Symbol====&lt;br /&gt;
&lt;br /&gt;
=====Edit SCANCO_SUBMIT_COMMAND=====&lt;br /&gt;
&lt;br /&gt;
*Check the current setting:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show sym *submit*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In directory &amp;lt;code&amp;gt;DISK2:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; add the following line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SCANCO_SUBMIT_COMMAND :== SUBMIT/NOPRINT/QUE=SYS$SLOW /NOTIFY/LOG=SYS$SCRATCH:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then end session and log in again.  Definition of the symbol in the &lt;br /&gt;
&amp;lt;code&amp;gt;MICRO_SETUP_USER.COM&amp;lt;/code&amp;gt; supersedes the standard setting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Edit AIX=====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Log in as user calibration (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user.&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
 $ set proc/priv=bypass&lt;br /&gt;
Or &lt;br /&gt;
 $ spb&lt;br /&gt;
Change to the MICROCT_COMMANDS directory.&lt;br /&gt;
 $ cdc &lt;br /&gt;
 $ sea *.com aix&lt;br /&gt;
 $ eve microct_setup_common.com&lt;br /&gt;
Edit the file which is called &amp;lt;code&amp;gt;MICROCT_SETUP_COMMON.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Another example&#039;&#039;: To make the backspace/insert keys work properly, edit the &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt; and insert the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set terminal/insert&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Anywhere suitable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Time====&lt;br /&gt;
=====Change system date and time=====&lt;br /&gt;
The OpenVMS system should adjust for daylight savings, however, this is currently incorrect for the alpha systems.  The alpha systems will need to be manually moved forward in March and moved back in April. To do this, you will need to login as system&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ show time&lt;br /&gt;
$ set time=dd-mmm-yyyy:hh:mm:ss/cluster   !/cluster to change the time on all computers at once&lt;br /&gt;
$ set time=01-APR-2012:18:00/cluster      !Example:  Set the system to April 1, 2012, 6 pm.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Set time zone=====&lt;br /&gt;
As user system:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:utc$time_setup&lt;br /&gt;
Choose &amp;quot;CANADA&amp;quot; from the menu.&lt;br /&gt;
Choose &amp;quot;MOUNTAIN&amp;quot; from the menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Disable Distributed Time Synchronization Service (DTSS)=====&lt;br /&gt;
DTSS will automatically adjust the clocks for daylight savings (i.e., 2am to 1am on the 2nd Sunday in March, 2am to 3am on the 1st Sunday in November).  As user system:&lt;br /&gt;
&lt;br /&gt;
 $ mcr ncl disable dtss&lt;br /&gt;
 $ mcr ncl delete dtss&lt;br /&gt;
 $ eve sys$startup:sylogicals.com&lt;br /&gt;
&lt;br /&gt;
Add line to disable DTSS&lt;br /&gt;
  $ DEFINE/SYSTEM/EXEC NET$DISABLE_DTSS TRUE&lt;br /&gt;
Save and exit.&lt;br /&gt;
Now re-set the time zone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Configure Network Time Protocol (NTP) server to synchronize clocks=====&lt;br /&gt;
*NTP must be configured for each node (computer).  Login as user system.&lt;br /&gt;
NTP can only synchronize the system clock if the error is less than 1000 seconds. &lt;br /&gt;
 &lt;br /&gt;
Synchronize the system clock to UofC&#039;s NTP server (ensures time is correct to within 1000s):&lt;br /&gt;
&lt;br /&gt;
 $ mcr sys$system:tcpip$ntpdate ntp.cpsc.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
Enable NTP:&lt;br /&gt;
&lt;br /&gt;
 $ cd sys$startup&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
   3 - Server components&lt;br /&gt;
   12 - NTP&lt;br /&gt;
   1 – Enable service on this node&lt;br /&gt;
   E – Exit menu&lt;br /&gt;
   E – Exit configuration procedure&lt;br /&gt;
   N – don’t start service&lt;br /&gt;
&lt;br /&gt;
Create the NTP configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ sys$sysroot:[tcpip$ntp]&lt;br /&gt;
 $ copy/log tcpip$ntp.template tcpip$ntp.conf&lt;br /&gt;
 $ eve tcpip$ntp.conf&lt;br /&gt;
&lt;br /&gt;
Comment out existing peer and server entries (# for comments).&lt;br /&gt;
Add entries for local servers.&lt;br /&gt;
        server ntp.cpsc.ucalgary.ca&lt;br /&gt;
        server ntp1.cpsc.ucalgary.ca&lt;br /&gt;
Save and exit.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Start NTP:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:tcpip$ntp_startup&lt;br /&gt;
&lt;br /&gt;
Check the log:&lt;br /&gt;
&lt;br /&gt;
 $ type/cont/int=1 sys$sysroot:[tcpip$ntp]tcpip$ntp_run.log&lt;br /&gt;
&lt;br /&gt;
Sample log file:&lt;br /&gt;
&lt;br /&gt;
 $ Set NoOn&lt;br /&gt;
 $ VERIFY = F$VERIFY(F$TRNLNM(&amp;quot;SYLOGIN_VERIFY&amp;quot;))&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: ntpd version = 4.1.0&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: precision = 976 usec&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: drift file &#039;SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT&#039; does not exist: no such file or directory&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: will attempt to create drift file &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Email====&lt;br /&gt;
=====Setup email server=====&lt;br /&gt;
The SMTP protocol is not enabled by default. If you use &amp;lt;code&amp;gt;tcpip$config&amp;lt;/code&amp;gt; you can switch on the mail server under Client Components. As system:&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
 $ @SYS$MANAGER:TCPIP$CONFIG&lt;br /&gt;
Or&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
 -&amp;gt; 2 (client components)&lt;br /&gt;
 -&amp;gt; 6 (SMTP)&lt;br /&gt;
 -&amp;gt; 2 (Enable &amp;amp; Start services)&lt;br /&gt;
&lt;br /&gt;
*Select option 2 (client components) from the menu.&lt;br /&gt;
*Select option 6 (SMTP) from the next menu to enable and start it.&lt;br /&gt;
&lt;br /&gt;
Since your smtp server is not registered anywhere, it can be that emails sent from this server will be filtered out as spam on the way to your mailbox. In that case you would need a so called MX record for your mail server. Contact UofC IT to resolve this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Send an email=====&lt;br /&gt;
Example:  Send an email without an attachment.&lt;br /&gt;
 $ mail sys$scratch:email_message.txt/subject=&amp;quot;email subject&amp;quot; &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example:  Send an email with an attachment.&lt;br /&gt;
 $ MIME :== $MIME.EXE&lt;br /&gt;
 $ MIME MIME&amp;gt; NEW /NOEDIT sys$scratch:file.txt&lt;br /&gt;
 MIME&amp;gt; ADD /TEXT thisattached.txt&lt;br /&gt;
 MIME&amp;gt; ADD /BINARY thatattached.zip&lt;br /&gt;
 MIME&amp;gt; ADD /MESSAGE this_is_written.txt&lt;br /&gt;
 MIME&amp;gt; SAVE&lt;br /&gt;
 MIME&amp;gt; EXIT&lt;br /&gt;
 $ MAIL /SUBJECT=&amp;quot;MIME-encoded Message&amp;quot; - sys$scratch:file.txt &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
 $&lt;br /&gt;
*MIME&amp;gt; ADD /TEXT *.txt does not work&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Action commands===&lt;br /&gt;
====Send a message to terminals====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ reply /all &amp;quot;Merry Christmas to Bone Imaging Lab!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  Reply received on SCEVA2 from user XTREMECT2 at _SCEVA2$FTA8473:   09:21:58 &lt;br /&gt;
  Merry Christmas to Bone Imaging Lab!&lt;br /&gt;
&lt;br /&gt;
  4 terminals have been notified on SCEVA2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SCSRV2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SC3309.&lt;br /&gt;
$&lt;br /&gt;
  3 terminals have been notified on SCEVA1.&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt; command====&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;, but only with mcr you can hand over &#039;in-line&#039; parameters to an .exe file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
does not work, but you  have to say&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But funnily if you define a symbol in &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;),&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ctheader :== $ut:ctheader.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with just neither run nor mcr, but the &#039;funny&#039; $ sign, then you can also hand over the ISQ name in-line.&lt;br /&gt;
&lt;br /&gt;
Small detail with big effect...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File Do All (fda) - apply a command to a set of files====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda ctheader dk0:[microct.data.0001234...]*.isq &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the header of all isq files of sample 1234 (the three dots ... means all subdirectories)&lt;br /&gt;
&lt;br /&gt;
Or: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data.0001234.00005678]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the processing log of all aim files of scan 5678&lt;br /&gt;
&lt;br /&gt;
Wildcard &amp;quot;*&amp;quot; means multiple characters, &amp;quot;%&amp;quot; is for ONE character: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data...]C%%%%%%%.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, 7 %&#039;s)&lt;br /&gt;
&lt;br /&gt;
to show the aim header of the gray-scale c0000135.aim (etc) files only, and NOT from the _seg.aims also.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning: CAUTION! &amp;lt;/b&amp;gt; Always test the wildcard expression first with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dir dk0:[xxx...]*.aim &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &#039;file do all&#039; fda command can even be combined with a pipe, or an /output qualifier: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix dk0:[microct...]*.aim | search sys$pipe &amp;quot;Slope&amp;quot; &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will show you all &amp;quot;Slopes&amp;quot; in a row. (but you may not see which slope belongs to which aim file anymore...)&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda/output=sys$scratch:all_headers.log aix dk0:[microct...]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will write all the output into the .log file - which you can then either edit, or &lt;br /&gt;
&amp;lt;code&amp;gt;$ search sys$scratch:all_headers.log &amp;quot;String&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or whatever you want. &lt;br /&gt;
&lt;br /&gt;
Another example with output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ pipe fda type *.log | search sys$pipe &amp;quot;BV/TV&amp;quot; /output=BVTV.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;fda&amp;quot; is our self-written script, so you may have to try-n-error a bit...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda command file_wildcard [Optional: further parameters]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the command consists of multiple words with spaces inbetween (e.g. mcr ut:xxx.exe), then enclose the command in double-quotes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda &amp;quot;mcr ut:uct_ext_header_display&amp;quot; dk0:[microct...]*.isq 8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grab more than one line using pipe and search command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix *.aim | search sys$pipe &amp;quot;dim&amp;quot;, &amp;quot;pos&amp;quot;, &amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The further parameters may not contain wildcards - so unfortunately, the fda can NOT be used to &#039;adaptively&#039; rename a whole bunch of files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Make commands available to all users with symbols or paths====&lt;br /&gt;
&lt;br /&gt;
DCL$PATH is one way to do that, WE don&#039;t use it...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def dcl$path disk1:[microct.main],disk1:[microct.util]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then, if you type&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ uct_t&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
it will first try to&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ @uct_t.com&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and then&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ r uct_t.exe&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
however, we usually define it by giving full path:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ progx :== $disk1:[microct.main]progx.exe&lt;br /&gt;
$ com_proc_x :== @disk1:[microct.main]procedure.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then, you can just type the shortcut (&#039;symbol&#039; in VMS language)&lt;br /&gt;
&lt;br /&gt;
We use the &#039;cd&#039; to set the default path, you may also use this in your command procedure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;proc.com&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd &#039;p1&#039;&lt;br /&gt;
$ dir *.*/size&lt;br /&gt;
&lt;br /&gt;
$ define COM disk1:[microct.commands]&lt;br /&gt;
$ p :== @COM:PROC.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
these both go into &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;, but see the Wiki entry above to confirm exactly where...&lt;br /&gt;
&lt;br /&gt;
then, you can just type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ p disk4:[microct.data.0000007.000009]*.ISQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Stopping disconnected sessions====&lt;br /&gt;
&lt;br /&gt;
As &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; user you can check if there are any disconnected sessions, with &amp;lt;code&amp;gt;$ show user/full&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sh user/full&lt;br /&gt;
      OpenVMS User Processes at  5-JUN-2021 03:14:06.45&lt;br /&gt;
    Total number of users = 2,  number of processes = 7&lt;br /&gt;
&lt;br /&gt;
 Username Process Name     PID     Terminal&lt;br /&gt;
 MICROCT  DECW$MWM       00000EA4  MBA6597: (disconnected)&lt;br /&gt;
 MICROCT  DECW$SESSION   00000EA2&lt;br /&gt;
 MICROCT  VUE$MICROCT_3  00000EA6  MBA6601: (disconnected)&lt;br /&gt;
 MICROCT  VUE$MICROCT_4  00000EA7  (subprocess of 00000EA2)&lt;br /&gt;
 MICROCT  VUE$MICROCT_5  0000289E  (subprocess of 00000EA2)&lt;br /&gt;
 MICROCT  _FTA24:        00012284  FTA24:&lt;br /&gt;
 SYSTEM   _FTA30:        000129DC  FTA30:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and kill any as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/id=00000EA4&lt;br /&gt;
$ stop/id=00000EA6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There may also be FTP connections that aren&#039;t closed properly. You can check for open FTP connection with this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sh sys/proc=tcpip$ftp*&lt;br /&gt;
OpenVMS V8.3-1H1  on node SC4209    5-JUN-2021 03:12:53.14   Uptime  73 13:39:10&lt;br /&gt;
  Pid    Process Name    State  Pri      I/O       CPU       Page flts  Pages&lt;br /&gt;
00000426 TCPIP$FTP_1     LEF      9   786428   0 00:00:12.51      1089    751  N&lt;br /&gt;
000129E0 TCPIP$FTPC00046 HIB      4      106   0 00:00:00.03       431    353  N&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and again kill any with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/id=000129E0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But &amp;lt;b&amp;gt;DO NOT&amp;lt;/b&amp;gt; kill the &amp;lt;code&amp;gt;TCPIP$FTP_1&amp;lt;/code&amp;gt;  as this is the actual FTP server process.&lt;br /&gt;
&lt;br /&gt;
Remember, in a cluster there will almost always be other open sessions which have their DECW$SM.LOG files locked. You don&#039;t need to delete them all!&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Calibration and QC=&lt;br /&gt;
&lt;br /&gt;
==System Updates==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT II&lt;br /&gt;
|&lt;br /&gt;
*22-OCT-2020:  Calibration Update&lt;br /&gt;
*01-OCT-2020:  Calibration Update&lt;br /&gt;
*31-JUL-2020:  Pixel Correction&lt;br /&gt;
*21-FEB-2019:  New X-ray source, Recalibration&lt;br /&gt;
*25-JAN-2018:  Calibration Update&lt;br /&gt;
*28-APR-2016:  Calibration Update&lt;br /&gt;
*07-APR-2015:  Calibration Update&lt;br /&gt;
*04-NOV-2014:  Calibration Update&lt;br /&gt;
*21-MAY-2014:  New Daily QC Phantom (Scanco concluded minimal differences from previous)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT I&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT80&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  Filter changer replaced, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT40&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*09-NOV-2010:  Recalibration (70KV energy only)&lt;br /&gt;
*01-NOV-2010:  New x-ray source, Pixel Correction, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µCT35&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*15-JUN-2011:  Recalibration&lt;br /&gt;
*21-MAR-2011:  Recalibration&lt;br /&gt;
*10-FEB-2011:  Recalibration&lt;br /&gt;
*26-NOV-2010:  Pixel Correction&lt;br /&gt;
*29-OCT-2010:  Recalibration &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Calibration and Conversion==&lt;br /&gt;
===Attenuation measured by µCT===&lt;br /&gt;
A micro-CT 3D image of an object is basically a 3D map of local x-ray absorption in the object. The reconstruction from multiple angular views provides information on how much x-ray absorption is happening within each cubic voxel element of the scanned volume.&lt;br /&gt;
&lt;br /&gt;
It is important to understand what is meant by “density” in a µCT image. The reconstructed grey-scale intensity of each image voxel does not relate directly to mass density alone, thus do not expect it to correspond with measurements of weight per volume, e.g. g.cm-3. The primary entity that is measured is x-ray absorption, defined as the x-ray linear attenuation coefficient in units of&lt;br /&gt;
1/distance, specifically, 1/cm. This is determined both by mass density and x-ray mass attenuation coefficient which is determined by the elemental composition of the material. The x-ray linear attenuation coefficients of typical material is shown blow.&lt;br /&gt;
&lt;br /&gt;
[[File:Mu_comparison.JPG|thumb|center|600px|X-ray linear attenuation coefficient µ of typical material (image curtesy of Dr. Ying Zhu)]]&lt;br /&gt;
&lt;br /&gt;
The images we obtain from the scanner are in a special scanner manufacturer format called AIM files. Each voxel in these images contains a scaled linear attenuation value (mu-value) to save disk space. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µ&lt;br /&gt;
| x-ray linear attenuation coefficient&lt;br /&gt;
| 1/cm&lt;br /&gt;
| µ &amp;gt; 0 &lt;br /&gt;
| A constant that describes the fraction of attenuated incident photons in a monoenergetic beam per unit thickness of a material&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| mu_value&lt;br /&gt;
| linear attenuation in Scanco images&lt;br /&gt;
| 1/cm&lt;br /&gt;
| -8～8 typically&lt;br /&gt;
| mu value represented in Scanco images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_Scanco&lt;br /&gt;
| pixel intensity value in Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| −32768～32767&lt;br /&gt;
| Original format of Scanco images in 16-bit signed&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_uint&lt;br /&gt;
| pixel intensity value in converted Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| 0～65535&lt;br /&gt;
| Converted format of Scanco images in 16-bit unsigned, using the same slope (unscaled) but an updated intercept&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = mu-value * scaling_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration by BMD===&lt;br /&gt;
When we know that the x-ray absorption of a material is dominated by one specific material, then we can relate the measured x-ray linear attenuation coefficient (mu_value) to the mass density of that material. The calibration of [[Scanco_User_Instructions#Descriptive_Statistics_.28Mean.2C_Median.2C_SD.29_of_Calibrated_Voxel_Values| &#039;&#039;&#039;Bone Mineral Density (BMD)&#039;&#039;&#039;]] is an example of this. We assume that the x-ray attenuation within mineralized tissues such as bone, dentine and enamel is dominated by, and can be approximated as, the x-ray attenuation of the mineral compound calcium hydroxyapatite (CaHA) which has the formula Ca5(PO4)3(OH). &lt;br /&gt;
&lt;br /&gt;
Then we obtain “phantoms” with two or more known mass concentrations of CaHA. By linking these mass concentrations of CaHA with measured mu_value in the micro-CT images, we can establish calibration linking the two quantities, allowing us to infer from the micro-CT measured linear attenuation coefficient (mu_value) in a mineralized tissue, to the density of CaHA in mg.cm-3. &lt;br /&gt;
&lt;br /&gt;
*The assumption of linear correlation between the two quantities is based on a well-applied beam hardening correction and the phantoms&#039; diameter matching with the size of bone within the sample.&lt;br /&gt;
&lt;br /&gt;
*This calibration system could be used to calibrate measurement of other substances apart from CaHA and bone, where x-ray absorption is known to be dominated by a certain substance and phantoms can be prepared with known concentrations of that substance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD &lt;br /&gt;
| Bone Mineral Density &lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| 0～3000 &lt;br /&gt;
| Volumetric density of calcium hydroxyapatite (CaHA) in a biological tissue in terms of mg/cm^3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD_value&lt;br /&gt;
| Bone Mineral Density in Scanco images&lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| -1500～3000 typically&lt;br /&gt;
| BMD value in Scanco images&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Conversion between Attenuation and Bone Density===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = mu-value * slope + intercept&lt;br /&gt;
&lt;br /&gt;
mu-value = (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
pixel_Scanco = scaling_factor * (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert mu_value of 1.7923 (1/cm) to BMD (mg HA/ccm):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = 1.7923 * 3.67162994e+02 + -2.06399002e+02 = 451.667 (mg HA/ccm)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert the lower threshold of 125 mg HA/ccm that is in the IPL script to pixel intensity in Scanco images:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = 4096 * (125 - -2.06399002e+02) / 3.67162994e+02 = 3697 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*You could get the scaling_factor, intercept and slope values from the AIM header of your scan by using aix -l command:&lt;br /&gt;
[[File:Aix.JPG|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Reference: [[Media:Jbmr.141.pdf|Bouxsein ML, Boyd SK, Christiansen BA, Guldberg RE, Jepsen KJ, Müller R, Guidelines for assessment of bone microstructure in rodents using micro-computed tomography. J Bone Miner Res. 25(7): 1468-86. 2010.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert CT numbers to mg HA/ccm / Houndsfield units (HU)===&lt;br /&gt;
&lt;br /&gt;
The two byte numbers (short) can be converted to mu values by first dividing by mu_scaling which is probably 4096 (uCT35, vivaCT40) or 8192 (XtremeCT). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Houndsfield units (HU)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the conversion formula from mu (lin.att. in 1/cm, our original, &#039;physical&#039; image numbers) to HU:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU(pixel) = -1000 + mu(pixel) * 1000/mu(water)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so the mu(water) is the &#039;constant&#039; that is needed for this conversion of any pixel value mu(pixel) to HU of that pixel.&lt;br /&gt;
&lt;br /&gt;
divide the 2-byte numbers in our dicom/aim/isq files by 4096 to get mu. (4096 --&amp;gt;  &#039;mu_scaling&#039; in our headers). E.g. you see&lt;br /&gt;
gray-scale number 8192 in our files --&amp;gt;  mu = 2 [1/cm].&lt;br /&gt;
&lt;br /&gt;
A reasonable result for the uCT35 is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU = (CT / 4096) * 1718.19 - 1000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and that means 1000/mu(water) = 1718.19 --&amp;gt; mu(water) = 0.58299 which is a reasonable number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;mg HA/ccm&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mg HA/ccm = (AIM/mu_scaling) * slope + intercept&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 295.494 - 189.695    ! vivaCT40&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 256.51 - 172.99         ! uCT35&lt;br /&gt;
mg HA/ccm = (AIM/8192) * 1402.549 - 340.953  ! XtremeCT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These numbers are available in the AIM header, or the ISQ header (&amp;lt;code&amp;gt;$ run ut:ctheader&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
To look up slope, intercept and mu_scaling, check either the AIM header&lt;br /&gt;
&amp;lt;pre&amp;gt;$ aix C1234567.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:uct_update_calibration&amp;lt;/pre&amp;gt;&lt;br /&gt;
and look at a record, and you&#039;ll find slope and intercept and mu-water.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vivaCT40&lt;br /&gt;
!---------------------------------------------------------------------- &lt;br /&gt;
Mu_Scaling                    4096 &lt;br /&gt;
Calibration Data              55 kVp, 200mg HA wedge, 4096 scaling &lt;br /&gt;
Calib. default unit type      2 (Density) &lt;br /&gt;
Density: unit                 mg HA/ccm &lt;br /&gt;
Density: slope                2.95493988e+02 &lt;br /&gt;
Density: intercept            -1.89695007e+02 &lt;br /&gt;
HU: mu water                  0.58200 &lt;br /&gt;
!----------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
Mu_Scaling                                       8192&lt;br /&gt;
Calibration Data              60kVp, BH: 200 mg HA/ccm, Scaling 8192            &lt;br /&gt;
Calib. default unit type      2 (Density)                                       &lt;br /&gt;
Density: unit                 mg HA/ccm                                         &lt;br /&gt;
Density: slope                         1.40254895e+03&lt;br /&gt;
Density: intercept                    -3.40953003e+02&lt;br /&gt;
HU: mu water                                  0.23900&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration FAQ===&lt;br /&gt;
====Change brightness scaling====&lt;br /&gt;
*Refer to [[Media:Mu-scaling.pdf|&#039;&#039;&#039;Change the brightness scaling&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan after pixel correction====&lt;br /&gt;
Contact Lab personnel with system-level priviledges to perform&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
                 !  Username: calib2339       (µCT35)          &lt;br /&gt;
                 !  Username: calib5019       (vivaCT40)           &lt;br /&gt;
$ spb            ! set priviledge bypass to write in other user accounts&lt;br /&gt;
$ run ut:pixel_corr_apply&lt;br /&gt;
&lt;br /&gt;
        PIXEL_CORR_APPLY Version 1.5&lt;br /&gt;
        Scanner ID from UCTD:UCT_SCANNER_2339.DAT : 2339       !2339 for µCT 35,  5019 for vivaCT 40&lt;br /&gt;
        Is this Scanner ID correct ? [?]:  y&lt;br /&gt;
        Give RSQ-Filename (leave empty to exit)  []: DISK4:[BONELAB.DATA.00005283.00011668]C0005128.RSQ&lt;br /&gt;
        ...&lt;br /&gt;
        ...&lt;br /&gt;
        Copy .RSQ to _CORRECTED.RSQ befor correction ? [?]:   y&lt;br /&gt;
&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update calibration in ISQ====&lt;br /&gt;
If DICOM files are converted to ISQ with IPL and then used for patient evaluation, the calibration data in the ISQ header needs to be present and correct. If this information is missing, utilizing upat_list to extract the values will say &#039;Error: Density calibration not valid&#039;. In order to add calibration data to an ISQ file, do the following as user calibration:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set proc/priv=bypass ! gain read/write access to the files&lt;br /&gt;
$mcr ut:uct_ext_header_add_calib ! provide ISQ file name and header type (I chose [2])&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to adjust the calibration of a file, without changing the system calibration data, copy the calibration database into a different directory, e.g. sys$scratch. Then, add a new calibration record to this temporary calibration database. This way your new, temporary values will not show up in the scan program.&lt;br /&gt;
&lt;br /&gt;
  $ copy uctd:uct_calibration_3401.dat sys$scratch:&lt;br /&gt;
&lt;br /&gt;
Define the following logical in a terminal MAKE SURE TO DO THIS!!!!&lt;br /&gt;
&lt;br /&gt;
  $ def UCT_CALIBRATION_DATABASE sys$scratch:uct_calibration_3401.dat&lt;br /&gt;
&lt;br /&gt;
Run uct_update_calibration and click trough the current calibration record (always enter).&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
  select current calibration record&lt;br /&gt;
  enter...&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
&lt;br /&gt;
Then select the last number (New Record), copy all values from above, change slope and intercept.&lt;br /&gt;
&lt;br /&gt;
Then use&lt;br /&gt;
&lt;br /&gt;
  $ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
&lt;br /&gt;
for ISQ and RSQ.&lt;br /&gt;
&lt;br /&gt;
At the end, close the terminal!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Quality Control (QC)==&lt;br /&gt;
===Scope===&lt;br /&gt;
*Only Authorized XCT and µCT Operators are permitted to perform QC scans, including both scan acquisition and analysis.    &lt;br /&gt;
*Authorization is a formal process. If you are not sure whether you have or should have authorization, speak to Dr. Boyd or Dr. Hallgrimsson or the MoJo Operations Manager. &lt;br /&gt;
*Authorized XCT and µCT Operators are responsible for ensuring a QC schedule is maintained.&lt;br /&gt;
*Only the manufacturer can calibrate the scanner!  QC only checks the calibration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
*Micro-CT systems cannot directly measure the density of a material, however, the density is linearly correlated to the x-ray absorption (assuming a proper beam-hardening correction is applied), which can be measured by micro-CT.  Density is therefore determined by measuring a reference material of known density (i.e., a phantom) to define a conversion function to relate x-ray absorption to density. Quality control of density and structural measurements for the micro-CT systems is achieved through weekly checks of phantom values to their reference values and recalibrating the system (i.e., defining a new conversion function) as necessary. &lt;br /&gt;
&lt;br /&gt;
*Performing QC is essential to the:&lt;br /&gt;
# Safety of our study participants and lab members&lt;br /&gt;
# Validity of our research data&lt;br /&gt;
&lt;br /&gt;
[[File:QC_phantom.jpg|thumb|center|600px|Scanco Medical quality control phantom (a) and its CT scans of the density QC1 (b) and the structural QC2 (c)]]&lt;br /&gt;
&lt;br /&gt;
*Reference:  Koller B, Laib A (2007) Calibration of micro-CT data for quantifying bone mineral and biomaterial density and microarchitecture. In: Advanced bioimaging technologies in assessment of the quality of bone and scaffold materials: techniques and applications. Springer, pp 79-84.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Density QC1===  &lt;br /&gt;
QC1 measures the density of 5 different rods of known hydroxyapatite (HA) densities within the QC phantom: approximately 0, 100, 200, 400, and 800 mg HA/cm3.  This tests 3 things:&lt;br /&gt;
&lt;br /&gt;
# That the scanner’s last calibration is still valid.  This is done by comparing daily QC values to an acceptable range.&lt;br /&gt;
# The presence of drifts and shifts in the calibration.  This is done by plotting daily QC results over time and using Shewart’s Controls to mathematically look for drifts and shifts.  (Shewart’s Controls replaces visual assessment.)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC1 is checked daily or 3 times a week on XtremeCT scanners whenever used and weekly on microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Structural QC2===  &lt;br /&gt;
QC2 measures the volume of 3 fine aluminum rods within the QC phantom (Al rod volume measurement).  This tests for:&lt;br /&gt;
&lt;br /&gt;
# Alignment of the gantry (or stability of architectural parameters)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC2 is checked weekly on both XtremeCT and microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC Scan Instructions===&lt;br /&gt;
*XtremeCT QC Scan Instructions: Boyd Drive:\02 - Operations\01 - Scanner QC, Specifications, &amp;amp; Maintenance\QC Workflows\QC 001.2 - XCT Quality Control.docx&lt;br /&gt;
*[[Media:Calibration-instructions-for-uct35.pdf |µCT35 QC Instructions]] or  [[Media:uCT35_Calibration.pdf|µCT35 QC another Instructions]]&lt;br /&gt;
*[[Media:Calibration-instructions-for-vivact40.pdf |VivaCT40 QC Instructions]] or [[Media:VivaCT40_Calibration.pdf| VivaCT40 QC another Instructions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out QC reports===&lt;br /&gt;
After running a QC1 or QC2 analysis, the results are output to: &lt;br /&gt;
*DISK4:[BONELAB.PROJECTS.QC] for XtremeCT QC results&lt;br /&gt;
*DISK3:[MICROCT.PROJECTS.CALIBRATION] for microCT QC results performed by BH lab&lt;br /&gt;
:*login with microct account &lt;br /&gt;
*DISK5:[BONELAB.PROJECTS.CALIBRATION] for microCT QC results performed by Bone Imaging lab&lt;br /&gt;
:*RESULTS_QC1_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC1_VIVACT.TXT;4 &lt;br /&gt;
:*RESULTS_QC2_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC2_VIVACT.TXT;2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As usual as [[Scanco_User_Instructions#Print_out_report_sheets|&#039;&#039;&#039;print out report sheets&#039;&#039;&#039;]], you use&lt;br /&gt;
  $ upat_list&lt;br /&gt;
When it asks for a template, you can select for a graphical report&lt;br /&gt;
  template = UU:UCT_EVAL_PHANTOM_SCANCO.PS&lt;br /&gt;
or for a text output&lt;br /&gt;
  template = UU:UCT_3D_LIST.TXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===System Stability and Precision===&lt;br /&gt;
System Stability and Precision here is based on the QC measurement, QC1 for density variations and QC2 for structure variations.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| System Stability and Precision&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| vivaCT40&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Long Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 1.6%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Short Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.9%&lt;br /&gt;
(Ref term: 4-MAR-2011 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 6-MAR-2011 to 8-APR-2011)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC FAQ===&lt;br /&gt;
====Determine calibration drift for microCT QC1====&lt;br /&gt;
The microCT QC1 analyses provide an estimate of the calibration drift by considering &#039;mean5&#039; values.  Use &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and make sure to use UU:UCT_3D_MEANS.TXT as the template.  Then give the measurement numbers of the QC1 measurements (or all of them and remove what&#039;s not needed later).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update QC1 contours====&lt;br /&gt;
If the QC contours don&#039;t line up on the phantom, then the contours need to be updated on the system.  Normally this should not happen unless the phantom has become loose - if this is the case, re-fix it.&lt;br /&gt;
&lt;br /&gt;
1. Login as user system.  Do not use the &amp;lt;code&amp;gt;$ set host 0 &amp;lt;/code&amp;gt; command since you will not be able to open windows for program.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Run the login script for the user that does the QC scans so that Scanco logicals point to that scan database.&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the XtremeCT cluster&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the vivaCT cluster&lt;br /&gt;
          $ @disk1:[microct]login.com       on the µCT100 cluster&lt;br /&gt;
&lt;br /&gt;
3. Run the evaluation program.&lt;br /&gt;
          $ uct_evaluation&lt;br /&gt;
4. Load the most recent QC scan and locate the contours. File--&amp;gt;Load Gobj... Filter:  &amp;lt;code&amp;gt;uctd:*.GOBJ&amp;lt;/code&amp;gt;. Locate the contours for the phantom: &amp;lt;code&amp;gt; UCT_PHANTOM_KP_HA_XXXX_Y.GOBJ  &amp;lt;/code&amp;gt; where XXXX corresponds with the scanner ID (XtremeCT 3309, vivaCT 5019, µCT35 2339, µCT100 6002) and Y corresponds with the rod number (1-5 and results mean1 - mean5. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Adjust the contours to centre on the rods.&lt;br /&gt;
    Load a contour.&lt;br /&gt;
    Move the contour on the first slice to be centred on the rod.&lt;br /&gt;
    Copy the contour.&lt;br /&gt;
    Delete the contours on slices 2 to the end.&lt;br /&gt;
    Paste the contour on the last slice.&lt;br /&gt;
    Morph between the two contours.&lt;br /&gt;
    Save the contours.  They should be saved to (A)DISK0:[000000.MICROCT_COMMON.DATABASE].&lt;br /&gt;
6. Perform a new QC scan as the standard (i.e., microct) user.  Check that the contours line up for the evaluation.  Evaluate and check the results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update Gobj for QC1 Analysis====&lt;br /&gt;
Refer to  [[Media:Fix_QC1_gobj.pdf| &#039;&#039;&#039;Fix QC1 Gobj&#039;&#039;&#039; ]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update XtremeCT QC1 calibration====&lt;br /&gt;
This procedure needs to be done for each beam hardening correction (e.g., QC1 with 200 mg HA/cm3, QC1 with 1200 mg HA/cm3) and for each scan energy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Perform 3 back-to-back QC1 scans, which ensures the x-ray tube is very warm.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Evaluate the last QC1 scan.&amp;lt;br&amp;gt;&lt;br /&gt;
3. After the evaluation is done, determine parameters for the new calibration&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_calib_phantom&lt;br /&gt;
UCT_CALIB_PHANTOM Version V1.0&lt;br /&gt;
 &lt;br /&gt;
Reading UCTD:UCT_CALIB_PHANTOM_KP_HA_3309.TXT&lt;br /&gt;
Phantom Type in file:              6&lt;br /&gt;
Phantom Number in file:          304&lt;br /&gt;
Voltage in file:                   0&lt;br /&gt;
No of Materials in file:           1&lt;br /&gt;
With each, no of  steps:           5&lt;br /&gt;
and mus:                    1.000000&lt;br /&gt;
No. of Cylinders:                  5&lt;br /&gt;
Measurement No. (0 to Stop)     [0]: 11404&lt;br /&gt;
 &lt;br /&gt;
Mus: 0.2382 0.3163 0.3823 0.5358 0.8112&lt;br /&gt;
*****************************************************&lt;br /&gt;
Calibration: Slope Intercept:      1398.628  -339.819&lt;br /&gt;
Enter in Calibration Records if wished.&lt;br /&gt;
*****************************************************&lt;br /&gt;
Measurement No. (0 to Stop)     [0]:&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD.TXT.&lt;br /&gt;
&lt;br /&gt;
5. Now update the calibration.  For most settings, you will use the default value by pressing return.  You need to choose the correct calibration record, the one that corresponds with the energy and beam hardening correction used in the QC1 scans you did.  Next, you need to update the slope, intercept, and mu water values to those determined in step 3 (copy and paste values to avoid typos).  The new values should be similar to the old ones.  Finally, if you have not made any mistakes, then save the record.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:uct_update_calibration&lt;br /&gt;
UCT_UPDATE_CALIBRATION V2.5&lt;br /&gt;
 &lt;br /&gt;
 IDX Calib/Rec. Description&lt;br /&gt;
  1      1/42   60kVp, BH: 200 mg HA/ccm, Scaling 8192&lt;br /&gt;
  2      2/43   60kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  3      3/0    New Record&lt;br /&gt;
Choose Calibration Record (IDX): [2]: 1&lt;br /&gt;
Valid Flag [1]:&lt;br /&gt;
Scanner-ID [3309]:&lt;br /&gt;
Energy [V] [59400]:&lt;br /&gt;
Intensity [µA] [0]:&lt;br /&gt;
Description [60kVp, BH: 200 mg HA/ccm, Scaling 8192]:&lt;br /&gt;
 &lt;br /&gt;
Antiring Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
Beamhardening Enable [1]:&lt;br /&gt;
Beamhardening Coeff file [MICROCT_COMMON:[DATABASE]UCT_BH_COEFF_60KV_0200HA_3309.TXT;5]:&lt;br /&gt;
Beamhardening Checksum [0]:&lt;br /&gt;
CCD_CORR: Read to mem: 500 bytes to correct 1 pixels (588 bytes allocated)&lt;br /&gt;
 &lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom) [2]:&lt;br /&gt;
µ Enable [1]:&lt;br /&gt;
µ-scaling [8192]:&lt;br /&gt;
 &lt;br /&gt;
Density Enable [1]:&lt;br /&gt;
Density units [mg HA/ccm]:&lt;br /&gt;
Density Slope [1402.549]: 1398.628&lt;br /&gt;
Density Intercept [-340.953]: -339.819&lt;br /&gt;
 &lt;br /&gt;
HU Enable [1]:&lt;br /&gt;
µ of water [0.239]: 0.2382&lt;br /&gt;
 &lt;br /&gt;
CUSTOM Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
HW Filter Code [0]:&lt;br /&gt;
HW Filter Description []:&lt;br /&gt;
 &lt;br /&gt;
Save Record ? [Y]: Y&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD_ENTERED.TXT.  Send both text files to support@scanco.ch for them to archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update microCT QC1 calibration====&lt;br /&gt;
Refer to [[Media:QC1_Calibration_Update.pdf|&#039;&#039;&#039;QC1 Calibration Update&#039;&#039;&#039;]] for instructions for the VivaCT40 and uCT35.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new calibration or BHC====&lt;br /&gt;
If the QC1 range was out of range but it was not possible to update the system calibration before scanning, you can update the scan with the new density calibration (i.e., slope and intercept).  It is also possible to change the beam hardening correction that is applied (e.g., from 200 mg HA/cm3 to 1200 mg HA/cm3).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Type of Update ||RSQ||ISQ||AIM&lt;br /&gt;
|-&lt;br /&gt;
|QC1 was out of range, need new slope and intercept &lt;br /&gt;
(e.g., after updating the system calibration)&lt;br /&gt;
|Yes||Yes||No, Create New&lt;br /&gt;
|-&lt;br /&gt;
|Change beam hardening correction type &lt;br /&gt;
(e.g., 200 mg HA/cm3 to 1200 mg HA/cm3)&lt;br /&gt;
|Yes||No, Reconstruct||No, Create New&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Use the UCT_EXT_HEADER_ADD_CALIB program to update an RSQ and, if appropriate, repeat for the ISQ.  &lt;br /&gt;
*Use default values for all prompts except those commented after !.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
 &lt;br /&gt;
UCT_EXT_HEADER_ADD_CALIB V 1.1&lt;br /&gt;
Raw-Data-File []:    !give the name of the RSQ/ISQ with full path if not in that directory&lt;br /&gt;
 &lt;br /&gt;
Reading Raw Data ...&lt;br /&gt;
 IDX Calib Description&lt;br /&gt;
  1      1 45 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  2      2 55 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  3      3 70 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  4      4 General, non-bone-density-calibrated scan, scale 4096&lt;br /&gt;
  5      5 45 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  6      6 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  7      7 70 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
 &lt;br /&gt;
Calibration Record No [0]: !specify the new calibration, e.g. 6&lt;br /&gt;
 &lt;br /&gt;
Calibration No.           6&lt;br /&gt;
Description 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
Scanner-ID        5019&lt;br /&gt;
Energy [V]       55000&lt;br /&gt;
Antiring Enable             0&lt;br /&gt;
Beamhardening Enable            1&lt;br /&gt;
Beamhardening Coeff file UCTD:UCT_BH_COEFF_55KV_1200HA_5019.TXT&lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom)           2&lt;br /&gt;
Same type already found. Setting old to invalid&lt;br /&gt;
SUCCESS: calib hext written&lt;br /&gt;
updating header...&lt;br /&gt;
SUCCESS: Header successfully updated.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Calib record indicates that BH-Corr is usually applied.&lt;br /&gt;
Info: There is a BH-Corr corr already in hext.&lt;br /&gt;
Add another BH-Corr from file again? (Y/N) [N]:  Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new QC1 calibration====&lt;br /&gt;
Refer to  [[Media:Update_Scan_with_new_QC1.pdf|&#039;&#039;&#039;Update Scan with new QC1&#039;&#039;&#039;]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: un-centered QC1 Gobj====&lt;br /&gt;
The contour for the QC1 scan is not centered on the on hydroxyapatite rod, which will result in erroneous low density values.  &lt;br /&gt;
&lt;br /&gt;
This can occur for a couple of reasons:&lt;br /&gt;
*The metal spindle has come loose on the phantom, in which case re-glue it and update the contours&lt;br /&gt;
*The slot on the phantom&#039;s spindle was not correctly aligned&lt;br /&gt;
*For the vivaCT 40, the sample bed was not pushed to the right before locking it in place&lt;br /&gt;
[[File:Phantom_not_pushed_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: rods in QC2 images====&lt;br /&gt;
The QC2 scan has aluminum rods AND hydroxyapatite rods.  This happens because the slot on the phantom&#039;s spindle was not correctly aligned and the phantom positioning is off slightly.  Adjust the phantom and re-scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Phantom_spindle_not_in_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
&lt;br /&gt;
==Scanner User Manual==&lt;br /&gt;
For XtremeCTs:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Scanco - Manual_XtremeCTII_2.5.pdf |XtremeCT II User&#039;s Guide V2.5]]&lt;br /&gt;
* [[Media:XtremeCT User Guide XCT I.pdf |XtremeCT I  User&#039;s Guide V6.4]]&lt;br /&gt;
&lt;br /&gt;
For microCTs:&lt;br /&gt;
* [[Media:Manual_vivaCT_80.pdf |VivaCT80 User&#039;s Guide V1.5]]&lt;br /&gt;
* [[Media:scanco-manual-vivact40.pdf |VivaCT40 User&#039;s Guide V4.05]]&lt;br /&gt;
* [[Media:Scanco-manual-uct35.pdf |MicroCT35 User&#039;s Guide V4.05]]&lt;br /&gt;
&lt;br /&gt;
==Scanco&#039;s FAQ==&lt;br /&gt;
Navigate to the manufacturer [http://www.scanco.ch/index.php?id=customer_login Scanco Medical FAQ].&lt;br /&gt;
&lt;br /&gt;
* Username:  users@scanco.ch&lt;br /&gt;
* Password:  basser5dorf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan==&lt;br /&gt;
===Scan SOP===&lt;br /&gt;
====Image Quality====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-image-quality.pdf|&#039;&#039;&#039;Image Quality: Resolution vs. Noise&#039;&#039;&#039;]] by Scanco Medical.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Control File Settings====&lt;br /&gt;
*Refer to [[Media:ControlFileSettingsUserMeeting2014Final.pdf|&#039;&#039;&#039;Optimize Control File Settings&#039;&#039;&#039;]] with regards to resolution, contrast and scan time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scan materials of different densities====&lt;br /&gt;
*Refer to [[Media:UM_HongKong_DifferentDensityMaterials.pdf|&#039;&#039;&#039;Scan materials of different densities&#039;&#039;&#039;]]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Scan for Soft and Adipose Tissue Separability====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-adipose-vs-soft-tissue.pdf|&#039;&#039;&#039;Scan Protocol Optimization for Soft and Adipose Tissue Separability&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Measure multiple samples in one scan====&lt;br /&gt;
&lt;br /&gt;
This quite often happens when you want to scan 6 rat bones, for example, but using our six-gun sample holder you scan them in one go.  But, you want to analyse them separately, so you have to import the ISQ multiple times as new MEASUREMENTS into each SAMPLE.&lt;br /&gt;
&lt;br /&gt;
There are two options: manual and auto.  &amp;lt;b&amp;gt;Read this entire HowTo before proceeding.  There is significant potential for mistakes!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:import_manual.com&lt;br /&gt;
&lt;br /&gt;
P1: Measurement Number to duplicate&lt;br /&gt;
P2: New Sample Number from Database&lt;br /&gt;
P3: New Start Letter of ISQ file&lt;br /&gt;
P4: Optional: Operator Number&lt;br /&gt;
P5: Optional: Controlfile Number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @com:import_manual.com 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will copy the ISQ from measurement 1234, import it into the database to sample 342, give some feedback lines with &#039;old&#039; and the new samplename, CHECK IT, and at the end it gives the feedback line on the terminal which you take with the mouse and drop to rename the data over to the new location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;IMPORTANT: BE VERY SURE NOT TO MIX UP MEASUREMENT AND SAMPLE NUMBER !!!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This distiction needs to be VERY clear in your mind! Of course, you can duplicate one scan and give it to the same samplenumber again (e.g. to evaluate different parts of the same sample, and each has its database&lt;br /&gt;
entry).&lt;br /&gt;
&lt;br /&gt;
Please build up some system so you see immediately that the right meas. goes to the right sample. E.g. all four bones in one scan have the same part in the name, distinct from other 4 bones. If there is any trace of a doubt later on that somebody MAY have messed up the samples in this duplication step, you&#039;ll most probably have to start from scratch again...&lt;br /&gt;
&lt;br /&gt;
Of course, I&#039;ll have to make you aware that Scanco declines all responsibility - this program is NOT in the normal user-friendly, quite fool-proof Scanco controlbox, but it&#039;s up to you to use it carefully, and not on Friday night when you&#039;re sleepy and mistakenly mix up sample and meas. numbers...&lt;br /&gt;
&lt;br /&gt;
The new startletter I built in so you always know which one was the &#039;original&#039; measurement (which has an RSQ), and which are the duplicated ones.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Backup&amp;lt;/b&amp;gt;&lt;br /&gt;
And the organization of how you know which duplicated scan is which part is&lt;br /&gt;
completely up to you - as well as how you want to handle the backup - our&lt;br /&gt;
software allows you to back-up each duplicated scan (but this might be an&lt;br /&gt;
overkill, since it&#039;s the same ISQ always) so you may choose to delete the&lt;br /&gt;
duplicated ISQ by hand in the session manager (only keep the &#039;original&#039; ISQ), and only backup the .gobj, .aim and _seg.aim etc. (but then you will need to know not to get scared if you retrieve a scan, and the ISQ is missing...) (Or you just &#039;move to trash&#039; the duplicated scans to nicely delete them with the backup program if you want to remove them completely (but you still have the 3D results in the evaluation database))&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Autosubmit&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please use the manual one for a while. Then, if you feel comfortable, use the autosubmit one (which also does the last command automatically, the renaming of the isq to the new location.) Because it goes into a batch que, you can quickly submit all duplications, and do not have to wait for the whole file-copying like in the manual one.&lt;br /&gt;
&lt;br /&gt;
One thing you should check there:&lt;br /&gt;
$ show que sys$fast/full&lt;br /&gt;
&lt;br /&gt;
This needs to be one single queue (/job_limit=1). In a clustered enviroment,&lt;br /&gt;
this might be a &#039;/generic=&#039; que that then gives the jobs to multiple queues in the cluster. This is NOT good. If this is the case, please edit the autosubmit script, and replace sys$fast in the following line at the end by ONE of the generic fast queues, e.g. SC4240_FAST or whatever the name is (preferrable the one computer where also the data disk DK0 is sitting:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$!&lt;br /&gt;
$      SUBMIT/NOPRINT/QUE=SYS$FAST/DELETE/NOTIFY/LOG=SYS$SCRATCH: &#039;COMMANDFILE&#039;&lt;br /&gt;
$!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Reason: if multiple uct_imports would run at exactly totally the very same time, both jobs might get the same new measurement number... bad...)&lt;br /&gt;
&lt;br /&gt;
I also suggest to add the following line to your login.com&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl*icate :== @com:import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you can just start it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And I also recommend to put into login.com:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ check_dup :== search sys$scratch:import*.log &amp;quot;&amp;quot;&amp;quot; name:&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, with all these double-quotes)&lt;br /&gt;
&lt;br /&gt;
Then use it to check the feedback that the right scans were given to the right samples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scan FAQ===&lt;br /&gt;
====Unlock a locked controlfile====&lt;br /&gt;
If you accidentally locked a controlfile, it is possible to unlock it so that it can again be modified.&lt;br /&gt;
&lt;br /&gt;
Login as the calibration user (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user, Set priviledges to bypass.&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
Set the controlfile database to the microct, or other, user where the controlfile is locked.  &lt;br /&gt;
*The file is usually located on (a)disk1:[username.database] and may be accessible using the uctd logical.  &lt;br /&gt;
*The database file contains the scanner ID (e.g., 3309 for the XtremeCT, note there&#039;s no SC before 3309).&lt;br /&gt;
 $ def uct_controlfiles_database adisk1:[microct.database]uct_controlfiles_3309.dat&lt;br /&gt;
 $ run ut:uct_upd_controlfiles&lt;br /&gt;
&lt;br /&gt;
Choose the controlfile.Use T and F to indicate true and false.&lt;br /&gt;
*YOU MUST SAY YES TO UPDATE CTRL-FILE! There is a bug so do this even if you make a mistake.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Selected operator is not an operator CODE: 24====&lt;br /&gt;
You must enter an operator name in the micro-CT control panel. &lt;br /&gt;
*You only need to enter the beginning part of your operator name (e.g., Bo for Bone Imaging Lab) or your operator number.  &lt;br /&gt;
*You can also press &amp;quot;Edit...&amp;quot; and then press the &amp;quot;Find...&amp;quot; and press &amp;quot;OK&amp;quot; to show a list of all the operators that have been registered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Error assigning IO-channel for UCT_ACQ_LINE, device already allocated to another user CODE: 2112====&lt;br /&gt;
Only one person can be given control of the scanner at any time.  Most likely the scanning program is already open.  Check the minimized icons on the desktop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: ROT (M1) end switch detected, Motor stopped CODE: 3031====&lt;br /&gt;
We&#039;re not sure why motor errors occur occasionally.  The solution is to exit the scanning program and turn off the scanner (the switch is on the side of the machine).  Wait 30 seconds.  Turn the scanner on again.  Re-start the scanning program.  Wait for the scanner to warm up (20 min).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Acquisition error, Buffer overrun CODE: 1005====&lt;br /&gt;
This error occurs if the computer hooked up to the scanner is overloaded and does not accept the stream of CT data quickly enough.  Check that no large calculations are running interactively (e.g., loading a large dataset into the 3D viewer while the scan is running).  If you happen to be there at the very exact second when the buffer overrun happens, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show user/node/full             !check how many users/processes there are&lt;br /&gt;
$ monitor system/int=1            !check the process that is using the most cpu and page file quota&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Advise lab personal of the problem. If nobody is around, put the output of the above commands into a text document, stop the queues for the computer, and repeat the scan.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sc5019_fast       !for the vivaCT 40&lt;br /&gt;
$ stop/que/next sc5019_slow       !for the vivaCT 40&lt;br /&gt;
&lt;br /&gt;
$ stop/que/next sceva2_fast       !for the µCT35&lt;br /&gt;
$ stop/que/next sceva2_slow       !for the µCT35&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When finished, restart the queues that you stopped by &amp;lt;code&amp;gt;$ start/que queue_name &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Shutter fail safety test timeout CODE: 2101====&lt;br /&gt;
This happens if the scanning program has accidentally be left on overnight and the shutter fail safe test cannot be performed. Ensure that uct_tomography is closed at the end of the day and the scanner computer is logged out at the end of the day to avoid this error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Input error detected, Z protection detected CODE: 4001====&lt;br /&gt;
This means the big plate that you can see through the gantry has moved or been touched, activating one of the Z protection switches. This can happen during positioning a patient for a tibia scan if the person&#039;s leg isn&#039;t pushed into the scanner straight. The cast can potentially touch the plates and cause this error.&lt;br /&gt;
&lt;br /&gt;
In the rare case where this error occurs spontaneously during or at the end of a scan, or during a precalibration, one of the switches may have become activated due to the position of the Z plate. To determine the position(s) this error is triggered, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0                                                                                                                                                                                            Username: calibration                                                                                                                                                                                        Password:&lt;br /&gt;
&lt;br /&gt;
$ sdl&lt;br /&gt;
$ spb&lt;br /&gt;
$ run um:ccd_2d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Scanco test programs will open. First click on the Reset Z button (upper left corner). Then move the Z slider all the way to the right and hit move. If the Z-protection error appears, record exactly which Z position triggers the error (should be a red number on the left hand side of the slider). When you are done with this test, hit Reset Z again, wait until the motor comes to a complete stop (max. 15 seconds), close the software and in the same terminal by &amp;lt;code&amp;gt;$ logout &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contact Scanco regarding this error and provide the details from running the ccd program. They will provide further instructions on how to proceed and fix the problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: CCD frame timeout, HOTLink reframing CODE: 1007====&lt;br /&gt;
Take a screenshot of the error message and email Scanco immediately. Message indicates that X-ray tube is arcing. Try and warm up the X-ray tube again, and notify Scanco if there is any abnormal activity and whether the tube was able to warm up.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Invalid Scanner ID CODE: 24====&lt;br /&gt;
You have logged in with the incorrect user name.  End the session and login with the correct user name (vivaCT 40: vivact or invivo;  µCT 35: microct or invitro).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Unable to create shared memory, global page table full CODE: 196====&lt;br /&gt;
The temporary fix is to reboot the system.  But before you restart, if you have system access, do the following and save the output to a text to send to Scanco.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
Username: system&lt;br /&gt;
Password:&lt;br /&gt;
&lt;br /&gt;
$ search sys$system:agen$feedback.dat gblpages&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;contig_gblpages&amp;quot;)&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;free_gblsects&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reconstruction==&lt;br /&gt;
&lt;br /&gt;
===Standard Reconstruction===&lt;br /&gt;
Scans are automatically submitted for reconstruction, so manual submission is usually only necessary if there was a problem during reconstruction (e.g., a power failure).&lt;br /&gt;
&lt;br /&gt;
*To reconstruct all slices from the RSQ, first delete or rename the old ISQ. &lt;br /&gt;
*To reconstruct a selection of slices, a valid ISQ must exist. There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&#039;&#039;&#039;General Usage for Interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
P1: RSQ Filename&lt;br /&gt;
P2: Slice number (A – all, start:finish)&lt;br /&gt;
P3: Log file of batch job&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;General Usage for Non-interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
  $ submit/noprint/que=sys$slow um:uct_reconstruction.com/params=(&amp;lt;b&amp;gt;DISK2:MICROCT.DATA.00000610.00002449]C000####.RSQ &amp;lt;/b&amp;gt;, a)&lt;br /&gt;
*Normally jobs are submitted to sys$slow queue instead of running them interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
Here are examples of how to reconstruct a single RSQ file: C0007655.RSQ, sample 4111 and measurement 9899. &amp;lt;br&amp;gt;&lt;br /&gt;
To reconstruct slices 101 to 201 and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com /log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, 100:200, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The command must be all on one line (or use hyphen), and it wants the 3 parameters: filename, slices, and log.file name&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
To reconstruct all slices, use “a” for all slices and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ delete C0007655.ISQ;*&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com/log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, a, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The .log filename is up to you, as long as it&#039;s the same at both places. &lt;br /&gt;
*Give full pathname for RSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct multiple files====&lt;br /&gt;
For multiple files, create a script and submit the job to the sys$slow queue. For example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ eve reco_all.com   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or open editor (command &#039;Edit&#039;), put the following lines in the file and save it as .e.g sys$scratch:reco_all.com:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009899]C0007655.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009900]C0007656.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009001]C0007657.rsq a&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit the text editor, then submit the job (e.g. to sys$slow):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow/log=sys$scratch:reco4111.log sys$scratch:reco_all.com&lt;br /&gt;
All the files will be reconstructed as a single job, with one log file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch reconstruction on XtremeCT2====&lt;br /&gt;
The reconstruction software available for the XT2 supports the /batch syntax that replaces reco_all.com. &lt;br /&gt;
You can split a manual reconstruction into several jobs using&lt;br /&gt;
&lt;br /&gt;
 $ uct_reconstruction DK0:[XTREMECT2.DATA.00001234.00005678]D0123456.RSQ a/batch=16&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update to uct_reconstruction V6.2-5, March 2019====&lt;br /&gt;
&lt;br /&gt;
As of March 2019, we should only use uct_reconstruction v6.2-5 on xtremect2. &lt;br /&gt;
For studies with baseline and follow-up scans overlapping this time, the old version (V6.2-2) can still be accessed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_old_recon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Changing reconstruction versions can lead to small systematic differences in the result parameters of a trabecular bone analysis. The old version should only be accessed by those who absolutely need to use it. (Scanco recommends re-reconstructing all measurements of a study with version 6.2-5 instead).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== Rotated Reconstruction (about z-axis)===&lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to measure the angle for the rotated reconstruction. &lt;br /&gt;
#*To start the program type &amp;lt;code&amp;gt;$ uct_evaluation &amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. &lt;br /&gt;
#*Load your sample and select the angle measurement button.  &lt;br /&gt;
#*Drag the ends and the intersection of the green lines to measure the desired rotation angle. &lt;br /&gt;
#:[[File:Angle meas.preview.jpg|600px]]&lt;br /&gt;
#Rotate and reconstruct&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:reco_all &amp;lt;/code&amp;gt; to reconstruct all slices.&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:uct_reconstruction_angle &amp;lt;/code&amp;gt; to reconstruct selected slices from an RSQ. &lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to check the sample after the rotated reconstruction:&lt;br /&gt;
#:[[File:Rotated_reconstruction.preview.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;General Usage&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
      P1: Angle in degrees&lt;br /&gt;
      P2: Sample number&lt;br /&gt;
      P3: Measurement number&lt;br /&gt;
&lt;br /&gt;
$ @com:uct_reconstruction_angle.com P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
      P1: RSQ Filename&lt;br /&gt;
      P2: Slice number (A – all, start:finish)&lt;br /&gt;
      P3: Log file of batch job&lt;br /&gt;
      P4: Delete log file (true/false)&lt;br /&gt;
      P5: Angle in degrees&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The angle of rotation uses the right-hand rule:  a counterclockwise rotation is positive and a clockwise rotation is negative.&lt;br /&gt;
*The angle of rotation uses a single decimal place.  &lt;br /&gt;
*By default the reconstruction jobs will be placed in the sceva3_slow queue.&lt;br /&gt;
*Both functions are executed from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
The following examples are for a 19.1 degree counterclockwise rotation of sample 6876, measurement 15417, C0005086.RSQ.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com 19.1 6876 15417&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Delete the ISQ file from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
*A valid ISQ must exist.&lt;br /&gt;
*There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&lt;br /&gt;
To reconstruct slices 36 to 41:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 sys$scratch:reco610.log true 19.1&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 &amp;quot;&amp;quot; &amp;quot;&amp;quot; 19.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*&amp;quot;&amp;quot; is used as a null input for optional parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Other Reconstruction===&lt;br /&gt;
&lt;br /&gt;
====Reconstruct at a new voxel size====&lt;br /&gt;
See a script in:&lt;br /&gt;
  DISK1:[XTREMECT2.EVAL]UPDATE_HEADER.COM&lt;br /&gt;
&lt;br /&gt;
This script includes the following type of information:&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000010.00000050]D0000068.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000011.00000054]D0000072.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
&lt;br /&gt;
This is what one would do in a terminal. The only requirement is that this &amp;lt;code&amp;gt;updh_voxelsize.exe&amp;lt;/code&amp;gt; cannot be executed as the normal user.&lt;br /&gt;
Prior to that, one has to log as calibration, and do:&lt;br /&gt;
  $ set proc/priv=bypass&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate RSQ==&lt;br /&gt;
&lt;br /&gt;
===View RSQ projections and flat field===&lt;br /&gt;
&lt;br /&gt;
It can be very useful to examine the projections that are contained in the RSQ file, as well as to see the flat field correction frames.&lt;br /&gt;
&lt;br /&gt;
In the session manager, double click the RSQ file and the program ximage will open. Or, type:&lt;br /&gt;
  $ sh sym x&lt;br /&gt;
    X == &amp;quot;$UM:XIMAGE.EXE&amp;quot;&lt;br /&gt;
  $ x D0000018.RSQ&lt;br /&gt;
Then switch to xz view and go to the second slice (in this order). Then you should see a frame of the none attenuated beam (nothing in the beam, or Scanco calls it the I0 frame). If it is a multi stack measurement then there will be several copys of this frame in this image.&lt;br /&gt;
&lt;br /&gt;
In an RSQ you have for each slice of the detector one dark current line and then the full intensity line followed form the radiographs taken under the different angles (sinogram). In the x direction is the detector line, in the y direction is the rotation angle (except dark and I0) and in the z direction is the z-direction of the scanner. If you switch the view to xz, then you can see the frames as acquired by the detector (or stacked frames all taken under the same rotation angle). Frame 1 is then the dark image and Frame 2 is the full intensity image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to AIM===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
ipl&amp;gt; rsq_to_aim in YP_IGFAMOTION_003_6.RSQ                                                                                             &lt;br /&gt;
  -pos                       [0 0 0] &amp;gt; &lt;br /&gt;
  -dim                       [-1 -1 -1] &amp;gt; &lt;br /&gt;
  -convert_to_pro            [false] &amp;gt; true&lt;br /&gt;
  -sinogram_not_frames       [true] &amp;gt; true&lt;br /&gt;
  -div_unsigned_by_2         [false] &amp;gt; true&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt; write&lt;br /&gt;
  -name                      [internal_name] &amp;gt; in&lt;br /&gt;
  -filename                  [default_file_name] &amp;gt; YP_IGFAMOTION_003_6_rsq.aim&lt;br /&gt;
  -compress_type             [bin] &amp;gt; none&lt;br /&gt;
  -version_020               [true] &amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to PSQ===&lt;br /&gt;
First, in the terminal turn on the &#039;advanced questions&#039; mode&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Second use the reconstruction EXE to convert RSQ to PSQ&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run UCT_RECONSTRUCTION.EXE&lt;br /&gt;
raw file: DISK3:[MICROCT.PROJECTS.YVES.LANDMARK.RAW]filename.RSQ&lt;br /&gt;
&lt;br /&gt;
Give slice number, or &#039;a&#039; for all&lt;br /&gt;
hit return a few times&lt;br /&gt;
&lt;br /&gt;
Write Projection [N]:   -&amp;gt; say y and it writes the PSQ and continues with reco&lt;br /&gt;
Say p if it shall just produce PSQ and NOT continue with reco!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Beam hardening correction can be turned off by doing&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UCT_RECONSTRUCTION_CALIBRATION TRUE&lt;br /&gt;
$ define uct_disable_bh_correction true&lt;br /&gt;
$ deass UCT_BEAMHARD_POWER&lt;br /&gt;
$ deass UCT_BEAMHARD_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then run &amp;lt;code&amp;gt;uct_reconstruction&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The RSQ contains the RAW projection data. The PSQ represents tilted parallel beam projections:&lt;br /&gt;
&lt;br /&gt;
[[Image:CB-Rebinned.gif]]&lt;br /&gt;
&lt;br /&gt;
The rebinning process reduces the number of projections from 836 (1 bright field, 1 dark field and 834 projections spaced at 0.24 deg/proj, spanning 200.16 deg) to 750 (spanning 180 deg) with a resolution of 0.24 deg. In addition to the geometric changes, intensities are adjusted ln(I/I0) and beam hardening correction is applied. After converting a PSQ to AIM with IPL, an image can be reconstructed with Matlab&#039;s iradon(), note that only the central slice will be geometrically &#039;correct&#039;, but differences in other slices are small (Circumference of calibration phantom differs less than 1%). in the final reconstruction these effects are accounted for reducing the number of z-slices from 124 (acquired) to 110 in the reconstructed image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Measure RSQ motion artifact===&lt;br /&gt;
Based on RSQ data, in-plane translation and rotation, and longitudinal translation can be determined. &lt;br /&gt;
&lt;br /&gt;
The RSQ is first converted to a tilted parallel-beam sinogram. Motion is measured using the bonelab_measuremotion command in the Calgary extension of IPL installed on percy. Copy the motion scripts available in &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]&amp;lt;/code&amp;gt; to your COM directory. Here is how they work:&lt;br /&gt;
&lt;br /&gt;
* RSQ_TO_PSQ.COM;1 - (optional) convert RSQ to PSQ, PSQ gets created in the same directory as RSQ. Usage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ @rsq_to_psq.com DK0:[BRUNO.DATA.00000162.00009479]C0008921.RSQ&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* IPL_MEASUREMOTION.COM;2 - Takes a PSQ and measures motion using Calgary IPL on percy&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! example of how to submit a motion measurement&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST /LOG=SYS$SCRATCH: -&lt;br /&gt;
  DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM -&lt;br /&gt;
  /PARAM=(DISK3:[MICROCT.PROJECTS.DEVEL.RECO_TEST.RAW]PHANTOM_NOMOTION.PSQ) -&lt;br /&gt;
   /LOG=DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]MEASUREMOTION.LOG&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results are save in &amp;lt;code&amp;gt;MEASUREMOTION.LOG&amp;lt;/code&amp;gt; and the following section contains all information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/bonelab_measure_motion&lt;br /&gt;
  -input                     org&lt;br /&gt;
Motion:&lt;br /&gt;
Translation = 2.135364&lt;br /&gt;
Rotation = 0.024216&lt;br /&gt;
Index = 3.694660&lt;br /&gt;
Translation weight = 0.943156&lt;br /&gt;
Rotation weight = 69.403737&lt;br /&gt;
Z_motion = 2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below with search.&lt;br /&gt;
Translation,Rotation,Index,Trans_weight,Rot_weight,Z_motion&lt;br /&gt;
2.135364,0.024216,3.694660,0.943156,69.403737,2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below for DB entry (Index*100).&lt;br /&gt;
db_motion_index=369.466034&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In-plane translation is &#039;&#039;&#039;Translation&#039;&#039;&#039;, in-plane rotation is &#039;&#039;&#039;Rotation&#039;&#039;&#039; and longitudinal translation is &#039;&#039;&#039;Z_motion&#039;&#039;&#039;. &#039;&#039;&#039;Index&#039;&#039;&#039; is the total in-plane motion as used in the IEEE ISBI 2009 paper by linear combination using the weights, not used any more, now we use in-plane translation only. &#039;&#039;&#039;db_motion_index&#039;&#039;&#039; is the motion index value multiplied by 100 and that could be written to the patient database. Multiplication by 100 is necessary since the motion field in the database is integer only.&lt;br /&gt;
&lt;br /&gt;
For more background on the algorithm look at &#039;&#039;Pauchard Y., et al, Measuring patient motion in HR-pQCT, IEEE ISBI 2009&#039;&#039;, and &#039;&#039;Pauchard Y., et.al., Automated quantification of three-dimensional subject motion to monitor image quality in high-resolution peripheral quantitative computed tomography, Phys Med Biol. vol. 56, pp 6523-6543, 2011&#039;&#039;. &#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The IPL implementation has not been validated against the Matlab implementation used in these publications. Motion Values can be different. Values can be automatically extracted as described below.&lt;br /&gt;
&lt;br /&gt;
* RSQ_MEASUREMOTION.COM;10 - The full deal: creates PSQ and measures motion all in the same directory as the RSQ.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
@DISK3:[MICROCT.PROJECTS.RESCAN.COM]RSQ_MEASUREMOTION.COM DISK3:[MICROCT.PROJECTS.RESCAN.RAW]M0003508.RSQ;1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to adjust the line:&lt;br /&gt;
&amp;lt;code&amp;gt;$ SCRIPTFILE := DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
to the location of your &amp;lt;code&amp;gt;IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The results are stored in the same directory as the RSQ in &amp;lt;RSQname&amp;gt;MOTION.LOG and can be extracted into motion_all.txt by running the search command:&lt;br /&gt;
&amp;lt;pre&amp;gt;search/output=motion_all.txt/window(0,1)/match=OR *motion.log &amp;quot;Translation,&amp;quot;,&amp;quot;Patient Name &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update RSQ&#039;s Center Information===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
username: calibration&lt;br /&gt;
password:&lt;br /&gt;
$ spb      or     $ set proc/priv=bypass  &lt;br /&gt;
$ run [.util]updh_center&lt;br /&gt;
Raw-Data-File:        enter location of raw data (with directory if necessary)&lt;br /&gt;
Center X:  [15430]:   enter new center value (e.g. 15415)&lt;br /&gt;
Press return for all other options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Determine RSQ&#039;s Centre Calibration Values===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true   ! Note: do not mistype... or the calibration program will not run&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the SAME terminal: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_reconstruction dk0:[microct.data.00004026.00004576]c0001344.rsq&lt;br /&gt;
Slice-Nr. [0...919] (Neg. to stop): 100&lt;br /&gt;
Center [207]: here enter a new number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hit return a few more times to use default values for other options.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT check these values, that they do not change:&lt;br /&gt;
Maximal possible Scan-Distance (mm) = 125.9520 &lt;br /&gt;
Cropped adjusted Scan-Distance (mm) = 125.9520 &lt;br /&gt;
See that it does not change, e.g. drop to 124 mm or such...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then do that again, $ uct_reconstruction ....rsq 100 (for the first time, for each file/scan). &lt;br /&gt;
&lt;br /&gt;
Double click on ISQ. slide to slice 101 (!) (100+1, since terminal zero based) compare with image in e.g. slice 100 or 99 (disregard funny half image shift...) &lt;br /&gt;
&lt;br /&gt;
Should already look nicer. &lt;br /&gt;
&lt;br /&gt;
Then try out with e.g. center 230 or so, with e.g. slice 101 (thus slice 102 in Ximage). (now, only one run is necessary) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
compare against image with center e.g. 200. &lt;br /&gt;
continue at libitum until you find the best center, the crispest image.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Usually the centre is determined to within about 3 to 5 points (which is 0.3 to 0.5 pixels), so e.g. test 225 and 230, and maybe 228. &lt;br /&gt;
&lt;br /&gt;
Write down your favourite. &lt;br /&gt;
&lt;br /&gt;
If you cannot decide: let Andres know which ISQ slice was reco-ed with which center (in &#039;Ximage&#039; slice numbers), and I can check - but since remote Ximage is SOOO slow, thanks for only pointing out a few options, I cannot check 20 settings...&lt;br /&gt;
&lt;br /&gt;
Then continue with next diameter scan (the first time for each scan, reco twice again) &lt;br /&gt;
&lt;br /&gt;
The different diameter centers should be a steady function, so all the new center values should be increasing as diameter decreases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Modify RSQ&#039;s BHC for in-air scans===&lt;br /&gt;
This is necessary because the beam-hardening correction factor assumes scans were done in soft tissue.  It is necessary to choose calibrations of 1200 or 700, instead of the default 200.&lt;br /&gt;
&lt;br /&gt;
Currently, the XtremeCT has options for 200 (standard) or 1200 calibration (in air). &lt;br /&gt;
&lt;br /&gt;
To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration; modification of MICROCT user data&lt;br /&gt;
$ run ut:UCT_EXT_HEADER_ADD_CALIB.EXE&lt;br /&gt;
&amp;gt; Raw-Data-File []: DISK2:[MICROCT.DATA.00000401.00001495]C0001404.RSQ&lt;br /&gt;
&amp;gt; ...&lt;br /&gt;
&amp;gt; Add another BH-Corr from file again? (Y/N) [N]:    ! Enter yes (UCTD:UCT_BH_COEFF_60KV_1200HA_3309.TXT)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, &amp;lt;b&amp;gt;delete&amp;lt;/b&amp;gt; the old ISQ.  It must be deleted or else the header information will not be changed.  Finally, reconstruct the new ISQ and analyze...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate ISQ==&lt;br /&gt;
&lt;br /&gt;
===Read an ISQ header===&lt;br /&gt;
You can either read using the standard tool&lt;br /&gt;
&lt;br /&gt;
  $ ctheader C0014141.ISQ&lt;br /&gt;
  $ sh sym ctheader&lt;br /&gt;
    CTHEADER == &amp;quot;$UT:CTHEADER.EXE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Or, use the extended header tool to show the calibration data&lt;br /&gt;
&lt;br /&gt;
  $ run ut:uct_ext_header_display.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import ISQ===&lt;br /&gt;
When you import, please note that the sample number AND measurement number are updated, so meas 10907 is now 10908.&lt;br /&gt;
&lt;br /&gt;
Suppose you have a sample 3000, meas 10000, C0001234.isq, and want to import this into sample 3001, this is what I would do:&lt;br /&gt;
&lt;br /&gt;
To make a copy of the scan (i.e., keep it in sample 3000 and make another copy in 3001)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd *3000*10000&lt;br /&gt;
$ copy C0001234.isq D0001234.isq,  also copy any other files you want imported (RSQ, GOBJs, etc)&lt;br /&gt;
$ import&lt;br /&gt;
&lt;br /&gt;
UCT_IMPORT V1.2&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
ISQ-file []: D0001234.ISQ&lt;br /&gt;
&lt;br /&gt;
Sample number [0]: 3001&lt;br /&gt;
&lt;br /&gt;
Change File Header name [Y]: Y&lt;br /&gt;
&lt;br /&gt;
Optional: Operator Measurement [0]: 1     (1 = bonelab)&lt;br /&gt;
&lt;br /&gt;
Site   20 Radius L&lt;br /&gt;
&lt;br /&gt;
Optional: Controlfile Nr. [0]:                (change if desired)&lt;br /&gt;
&lt;br /&gt;
Execute Rename Command [Y]: Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
===Ring Artifact===&lt;br /&gt;
*Refer to [[Media:Microct_ring_correction.pdf|&#039;&#039;&#039;MicroCT Ring Correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Partial Volume Effect===&lt;br /&gt;
*Refer to [[Media:Partial_Volume_Effect.pdf|&#039;&#039;&#039;Partial Volume Effect&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Beam Hardening Correction (BHC)===&lt;br /&gt;
&lt;br /&gt;
====Use the right BHC====&lt;br /&gt;
*Refer to [[Media:Beam_hardening_correction.pdf|&#039;&#039;&#039;Use the right beam hardening correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understand Scanco BHC====&lt;br /&gt;
If you see lines like &#039;CCD_CORR: Expand BH-corr to1536&#039; etc. etc.: &lt;br /&gt;
&lt;br /&gt;
then we do a polynomial correction: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uctd:*bh_coeff*.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and you see a file with the scanner ID. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--&amp;gt; $ type uctd:UCT_BH_COEFF_60KV_0200HA_3309.TXT&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
! Function 9 is Addpolynom&lt;br /&gt;
Function:           9 A&lt;br /&gt;
0:  3  0.00000000 -0.38599902  0.30870225 -0.06162301&lt;br /&gt;
--&amp;gt; 0: for all pixels. 3 --&amp;gt; 3rd degree polynom, with factors: &lt;br /&gt;
x^0 = 0&lt;br /&gt;
x^1 = -0.38...&lt;br /&gt;
x^2 = 0.308...&lt;br /&gt;
x^3 = -0.061...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This polynom is added to the PROJECTION value (not the raw counts). &lt;br /&gt;
&lt;br /&gt;
the BH-corr is doing a &#039;linearization&#039;, e.g. see&lt;br /&gt;
&lt;br /&gt;
http://iospress.metapress.com/content/twcxb9jfk8knhpq2/&lt;br /&gt;
&lt;br /&gt;
for more info. &lt;br /&gt;
&lt;br /&gt;
The values in the middle of the scan are amplified more - not just because of their position, but because the object is thicker there, thus the projection values are higher, thus the correction term is higher.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE&amp;lt;/b&amp;gt; : Linearisation, as used by Scanco, will compensate &#039;soft-tissue&#039; beam hardening (inside of water phantom appears &amp;lt;b&amp;gt;LESS&amp;lt;/b&amp;gt; dense). Bone related beam hardening, e.g. soft tissue near skull appearing &amp;lt;b&amp;gt;MORE&amp;lt;/b&amp;gt; dense, will &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; generally be compensated. See Kak and Slaney &#039;Principles of computerized tomogprahic imaging&#039; and Joseph and Spital J Comp Assist Tomo 1978 vol 2 for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
&lt;br /&gt;
==Analysis Topics==&lt;br /&gt;
&lt;br /&gt;
===Cortical thickness analysis in standard evaluation===&lt;br /&gt;
&lt;br /&gt;
!!Note - with ipl v5.42 this should be changed to &amp;lt;code&amp;gt;/dt_cortical_thickness&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the IPL command &amp;lt;code&amp;gt;/dt_cortex_obj_param&amp;lt;/code&amp;gt; to measure cortical thickness using direct methods.&lt;br /&gt;
&lt;br /&gt;
When extracting the results from the database using &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt;, specify the &amp;lt;code&amp;gt;UCT_3D_LIST_W_CTH.TXT&amp;lt;/code&amp;gt; template in directory &amp;lt;code&amp;gt;DISK0:[MICROCT_COMMMON.UIL]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
UCT_LIST.EXE Version V5.1&lt;br /&gt;
Template-File [UCT_3D_LIST_SHEET]: DISK0:[MICROCT_COMMON.UIL]UCT_3D_LIST_W_CTH.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
UCT_3D_LIST_W_CTH.TXT is now the default template as of March 2009.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical porosity and finite element analysis on XtremeCT===&lt;br /&gt;
&lt;br /&gt;
* This procedure is broken down into 3 separate components&lt;br /&gt;
* All Scripts mentioned be copied directly from DISK3:[MICROCT.PROJECTS.KYLE.SCRIPTS]&lt;br /&gt;
* Files should be copied from data to projects prior to running analysis (see bonelab procedures.doc on sodor) &lt;br /&gt;
&lt;br /&gt;
1. Autocontour the image &amp;lt;br&amp;gt;&lt;br /&gt;
2. Calculate and extract cortical measurements &amp;lt;br&amp;gt;&lt;br /&gt;
3. Create FE files and run FE &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Autocontour====&lt;br /&gt;
* The main autocontour script is located in the ue: directory, this should NOT be modified!&lt;br /&gt;
* The procedure is executed using a &amp;quot;hijack&amp;quot; script [[Media:HIJACK_AUTOCONTOUR.TXT|&#039;&#039;&#039;HIJACK_AUTOCONTOUR.TXT&#039;&#039;&#039;]], but the filename must be changed to .COM or found in the directory mentioned above.&lt;br /&gt;
* Files should already have a _SEG.AIM created and should be in the same directory as the raw .AIM file.&lt;br /&gt;
&lt;br /&gt;
* You then create a SUBMIT.COM script as you would for other files. For example:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:HIJACK_AUTOCONTOUR.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
* This command will then create various files for examination and further analysis. These include:&lt;br /&gt;
** FILENAME_COMBI.AIM - shows cortical, trabecular, and pores all in different colors&lt;br /&gt;
** FILENAME_COMBIPO.AIM - shows only the cortex with porosity as different color&lt;br /&gt;
** FILENAME_CRTXFILL.AIM - gives sold mask of cortex, porosity filled (can be used to calculate Ct.Th)&lt;br /&gt;
** FILENAME_CRTXPO.AIM - shows only the pores&lt;br /&gt;
** FILENAME_TRAB.GOBJ - gobj of trabecular region&lt;br /&gt;
** FILENAME_CRTX.GOBJ - gobj of cortical region&lt;br /&gt;
** FILENAME_AUTO2.GOBJ - gobj of whole bone region&lt;br /&gt;
&lt;br /&gt;
* Further technical details and references can be found in the following publications:&lt;br /&gt;
** Buie, H., Campbell, G., Klinck, R., MacNeil, J., &amp;amp; Boyd, S. (2007). Automatic segmentation of cortical and trabecular compartments based on a dual threshold technique for in vivo micro-CT bone analysis. Bone, 41(4), 505-515. &lt;br /&gt;
** K.K. Nishiyama, Macdonald, H., Buie, H., Hanley, D., &amp;amp; Boyd, S. (2010). Postmenopausal Women With Osteopenia Have Higher Cortical Porosity and Thinner Cortices at the Distal Radius and Tibia Than Women With Normal aBMD: An In Vivo HR-pQCT Study. Journal of Bone and Mineral Research, 25(4), 882-890.&lt;br /&gt;
&lt;br /&gt;
====Evaluate Cortex====&lt;br /&gt;
&lt;br /&gt;
*This Step 2 method of doing the cortical analysis is no longer used now that we have the IPL_UPAT_CALGARY_EVAL_XT1.COM or XT2.COM version. The problem with this approach is that it is a Frankenstein of the standard analysis and the advanced analysis. The cortical bone assessment is correct, but the trabecular compartment from the standard analysis is not a perfect match. Instead, we should be using the GOBJs described in IPL_UPAT_CALGARY_EVAL_XT1.COM so that we have a perfect mix. &lt;br /&gt;
  &lt;br /&gt;
Nevertheless, we keep this information here for now for posterity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*After the autocontour is computed we used to call IPL_EVAL_CORTEX.COM that will calculate the cortical parameters:&lt;br /&gt;
**Cortical porosity (%)&lt;br /&gt;
**Direct cortical thickness (mm)&lt;br /&gt;
**Cortical density (mg HA/ccm)&lt;br /&gt;
&lt;br /&gt;
This WAS called as the following:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_EVAL_CORTEX.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME.AIM&#039;&#039;&#039; -&lt;br /&gt;
        /LOG=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.LOG]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;_EVAL_CRTX.LOG&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The results of this script are outputed into individual log files for each file being evaluated.&lt;br /&gt;
* To extract these results into one file use:&lt;br /&gt;
 $ search/output=output_results_filename.txt *EVAL_CRTX.LOG &amp;quot;!% ov/tv&amp;quot;,&amp;quot;!&amp;gt; C.Th&amp;quot;,&amp;quot;!% mean_unit&amp;quot;&lt;br /&gt;
*A learn command in the eve editor can be used to extract the specific results desired:&lt;br /&gt;
**!% ov/tv is the amount of bone in the cortex (ie. 1- ov/tv =  cortical porosity)&lt;br /&gt;
**!&amp;gt; C.Th is the direct cortical thickness in mm&lt;br /&gt;
**!% mean_unit is the cortical density in mg HA/ccm&lt;br /&gt;
&lt;br /&gt;
====Create and run FE models====&lt;br /&gt;
&lt;br /&gt;
*The most current common FE model to run is a homogeneous model where all elements have the same material properties and the cortex and trabecular regions are labeled separately in order to determine the percentage of load carried by each region.&lt;br /&gt;
*The other option is to create a model where the material properties are scaled based on the density values and scripts for this can be found in the COM directory.&lt;br /&gt;
&lt;br /&gt;
*The script IPL_FEM_HOMOGEMOUS_LS.COM will use files created by the autocontour and appropriately label the cortex and trabecular regions as well as remove any disconnected pieces of bone.&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_FEM_HOMOGENOUS_LS.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
*Files will now be created with the suffix _HOM_LS.AIM and can be moved to Mighty-Mac or Mavis for FE analysis.  You will require user accounts for these computers and can contact Eric or Steve. If using FTP be sure to transfer the files in binary mode (further documentation on this can be found in this Wiki)&lt;br /&gt;
&lt;br /&gt;
*[[Media:2009-10-15_FEM_Tutorial.pdf|&#039;&#039;&#039;FEM tutorial main steps&#039;&#039;&#039;]] to submit the FE files with a detailed manual is recommended for first time users.&lt;br /&gt;
*This is now out of date, but is kept here because it still contains useful information about preparing AIM files and post-processing.  &lt;br /&gt;
*For running the FE itself, please refer to the current manual at [[FAIM Finite Element Solver]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical midshaft analysis with moment of inertia calculation===&lt;br /&gt;
&lt;br /&gt;
This explains what happens when you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ midshaft       ! or&lt;br /&gt;
$ eval_midshaft &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw a rough contour around your slices: open the Contouring Sub-window, double-click on the big image, and it automatically finds the best contour. Then click on &#039;Selection&#039; &#039;Forwards&#039;, then &#039;Iterate Forwards&#039;.&lt;br /&gt;
&lt;br /&gt;
Then &#039;cancel&#039; the contouring sub-window, and start the 3D evaluation.  Make sure you have already set the correct threshold, sigma, support in file&lt;br /&gt;
&amp;lt;pre&amp;gt;DISK2:[MICROCT.EVAL]IPL_FIXED_BATCH_MIDSHAFT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should find a job called UCT_EVALUATION_MIDSHAFT and a SYS$SCRATCH:*_MIDSHAFT_*.LOG&lt;br /&gt;
&lt;br /&gt;
The IPL_FIXED_BATCH_MIDSHAFT.COM by default does not calculate the direct measurement results because you must have many more than 20 slices for these to be valid.  You can uncomment these parts of the file if you contoured the whole stack (i.e., stack thickness is &amp;gt;&amp;gt; than cortex thickness).&lt;br /&gt;
&lt;br /&gt;
TILDE: Note that you will see lots of tildes (~) on the result sheets. This is to tell you that, if the measurements were trabecular bone, those values would only be approximate. But now for the cortex, they are actually correct! (see below for more explanation about this) I would now use the tildes to check the &#039;excel&#039; table that the operator has taken the correct script for the trab. or cort. evaluations for the respective measurements!&lt;br /&gt;
&lt;br /&gt;
So what&#039;s the advantage of all this?  Now, also VOX-TV is correct!  So VOX-TV is the whole area, VOX-BV the doughnut, so TV - BV is the marrow area!  And still, TRI-Tb.Th is the cortical thickness (TRI-TV is NOT correct, because the .gobj feature was turned off).&lt;br /&gt;
&lt;br /&gt;
I say &#039;area&#039; above: depending on how many slices one individual scan has,&lt;br /&gt;
VOX-BV (and VOX-TV) might be different for different scans, so you will HAVE to&lt;br /&gt;
convert the volumes to area again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
volume equals area times height&lt;br /&gt;
--&amp;gt; Bone Area = VOX-BV / height = BV / (dim.z * el_size_mm.z)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and same for Total area, of course :-)&lt;br /&gt;
&lt;br /&gt;
POROSITY: If you want porosity of the bone itself draw two contours: one around, counter-clockwise, on on the inside, clock-wise (thus a &#039;negative&#039;, excluding contour). Now, TV will be just that ring area, BV will be the bone within that ring area, and BV/TV will be 1 - porosity, thus BV/TV 94% means 6% porosity.&lt;br /&gt;
&lt;br /&gt;
METAPHYSIS: Application of this script to metaphysis scan (with trab. in middle):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ midshaft&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw one contour around the cortex, and in the same slices, a NEGATIVE contour on&lt;br /&gt;
the inside (CW contour) to exclude the trabecular bone. You may potentially work with the BP (break-point) system to be able to morph the negative contours, even though there is already an &#039;outer&#039; contour around the bone in every slice.&lt;br /&gt;
&lt;br /&gt;
Start 3D eval, read out the data-base with &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: You CANNOT give the .gobj a special name such as c0001234_cortex.gobj if you are using the automatic evaluation button on UCT_EVALUATION.  Only after the eval (or midshaft eval) has finished, you may copy it to a more meaningful name, but all of the evaluations are just taking the STANDARD gobj name!&lt;br /&gt;
&lt;br /&gt;
Afterwards (after renaming or copying the _seg.aim to _cortex.aim, and .gobj to _cortex.gobj), you may want to start the very normal eval with normal (inner) contours to evaluate the trabecular compartement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Remember: the values in our 3D result database then are OVERWRITTEN.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a large study, I would recommend to run the $ midshaft for ALL&lt;br /&gt;
samples, &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; to e.g. &amp;lt;code&amp;gt;sys$scratch:mystudy_cortex.txt&amp;lt;/code&amp;gt;, &lt;br /&gt;
rename/copy gobj and seg for all, and THEN run the trabecular evaluation for all samples.  &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and you have two nice complete excel sheets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE ON PLATE MODEL: More explanations of why the plate model is correct&lt;br /&gt;
&lt;br /&gt;
Assume a ring (cortex).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Area = thickness * &#039;middle line&#039;.&lt;br /&gt;
&#039;middle line&#039; = average of outer and inner circumference&lt;br /&gt;
--&amp;gt; &#039;middle line&#039; = 0.5 * &#039;bone surface&#039;&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; thickness = bone volume * 2 / bone surface.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And this is nothing else but the &#039;plate model&#039; formula for Tb.Th!&lt;br /&gt;
&lt;br /&gt;
NORMAL TRABECULAR EVALUATION?  And why not just run the &#039;normal trabecular eval&#039;?  Because in the &#039;normal&#039; TRI calculation, we are EXCLUDING all surfaces that are created artificially by a gobj line that cuts through a trabecula.&lt;br /&gt;
&lt;br /&gt;
However, for the midshaft, this means the whole outer (or even inner, if also&lt;br /&gt;
inner contour is there) is SUPPRESSED, because it is touching the gobj line. So&lt;br /&gt;
this is where that midshaft script comes in: it turns off that suppression.&lt;br /&gt;
&lt;br /&gt;
MORE EXPLANATIONS: Why the direct DT-Tb.Th* is NOT correct for a scan with&lt;br /&gt;
just 12 slices.&lt;br /&gt;
&lt;br /&gt;
If we fill the structure with spheres, those spheres should be bounded by the&lt;br /&gt;
width of the cortex, not just by the fact that we only have 12 slices (and even more so, we are always doing &#039;aim box&#039; suppression with the spheres) if a sphere touches the boundary of the aim box, it is suppressed!&lt;br /&gt;
&lt;br /&gt;
So this is quite crucial for Tb.Sp and Tb.N. To get meaningful Tb.Sp, you would&lt;br /&gt;
need a LOT of slices. Also, then, you cannot have the inner contour - otherwise&lt;br /&gt;
the negative inner contour will delete the Tb.Sp. spheres.&lt;br /&gt;
&lt;br /&gt;
If you have enough slices, you may opt to turn the &amp;lt;code&amp;gt;/dt_object&amp;lt;/code&amp;gt; on again in the&lt;br /&gt;
midshaft script (second half). Then DT-Tb.Th* and TRI-Tb.Th just have a slightly different behaviour if there are little pores within the cortex:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TRI: the little pore just adds a little BS, thus the influence is not that big.&lt;br /&gt;
DT: the little pore cuts the thickness sphere in half, thus at that location, the thickness is halved.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MEAN1 and MEAN2: The script is also calculating Mean1 and Mean2 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Mean1: &#039;apparent&#039; density, average over whole TV&lt;br /&gt;
Mean2: &#039;tissue&#039; density: average over what was segmented as bone only.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These mean values will be in mg HA/ccm if you have the calibration option for bone density installed (and activated for those scans).  Remember: the bone has to have some soft-tissue (or equivalent) on the inside, and preferably also on the outside then.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Joint Thickness Measurements===&lt;br /&gt;
*Sample script to search histogram files for results: [[Media:Summarize_Joint_Th_Measurements.pdf|Summarize Joint Th Measurements]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Joint Space Width (JSW) analysis===&lt;br /&gt;
The scripts published in [https://doi.org/10.21037/qims.2019.12.11 Stok et al. 2020], and released by Scanco, are available for XCT1 and XCT2.&lt;br /&gt;
&lt;br /&gt;
On XCT2 they have been installed as Tasks #112 to #116.&lt;br /&gt;
&lt;br /&gt;
Instructions to run this analysis are available here [[Media:ESD_Joint_Space_Width_v2.3.pdf]].&lt;br /&gt;
&lt;br /&gt;
The full citation for this work is: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Stok KS, Burghardt AJ, Boutroy S, Peters MPH, Manske SL, Stadelmann V, Vilayphiou N, van den Bergh JP, Geusens P, Li X, Marotte H, van Rietbergen B, Boyd SK, Barnabe C; SPECTRA Collaboration. Consensus approach for 3D joint space width of metacarpophalangeal joints of rheumatoid arthritis patients using high-resolution peripheral quantitative computed tomography. Quant Imaging Med Surg. 2020 Feb;10(2):314-325. doi: 10.21037/qims.2019.12.11. PMID: 32190559; PMCID: PMC7063288.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==UCT_EVALUATION==&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION SOP===&lt;br /&gt;
====Start 3D evaluation from terminal for XtremeCT II====&lt;br /&gt;
&lt;br /&gt;
Logged into the terminal as &amp;quot;xtremect2&amp;quot; you can see the evaluation scripts in &amp;lt;code&amp;gt;IDISK1:[XTREMECT2.EVAL]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The morphological evaluation: Control file #25. It basically runs auto contouring (#23) and then the morphological analysis.&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_EVALUATION_V6_XT2_DT61.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_CORT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TRAB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TOTAL.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_CORT_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TRAB_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TOTAL_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Contouring scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK.COM&amp;lt;/code&amp;gt;: Creates automatically the standard GOBJ. Control file #22.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPL_AUTOK_CTTB.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT, TRAB and PORE.GOBJ (previously CRTXPO). Control file #23.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK_CTTB_CORR.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT and PORE.GOBJ, after manual correction on the TRAB.GOBJ. Control file #24.&lt;br /&gt;
&lt;br /&gt;
Laplace- Hamming scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH61_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH82_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results will be generated in the &amp;lt;code&amp;gt;IDISK2:[XTREMECT2.RESULTS]&amp;lt;/code&amp;gt; directory, in the same way as they are generated for the cortical analysis on XtremeCT I, i.e. using the uct database and appended text files.&lt;br /&gt;
&lt;br /&gt;
Laplace Hamming evaluations will generate results in the upat_list database. The direct measurements will be stored in the uct_list database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Symbols for XtremeCT II vs XtremeCT I====&lt;br /&gt;
&amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; account you get&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[MICROCT.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.3309.]&amp;quot;&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;code&amp;gt;xtremect2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[XTREMECT2.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So 3309 has its own directory where the software versions for the two scanners are different, e.g.&lt;br /&gt;
&lt;br /&gt;
  xtremect: DISK0:[MICROCT_COMMON.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
  microct: DISK0:[MICROCT_COMMON.3309.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
&lt;br /&gt;
We have defined some symbols for the different ipl versions:&lt;br /&gt;
&lt;br /&gt;
  IPL&lt;br /&gt;
  IPLREG&lt;br /&gt;
  IPLFE&lt;br /&gt;
  IPL_BATCH&lt;br /&gt;
  IPLREG_BATCH&lt;br /&gt;
  IPLFE_BATCH&lt;br /&gt;
&lt;br /&gt;
In the scripts you can directly use these symbols instead of ipl_scanco_prog (old style).&lt;br /&gt;
&lt;br /&gt;
IPL and IPL_BATCH are different for the two scanners because the newest version is not officially released for XT1.&lt;br /&gt;
IPL of the microct account (XT1) cannot read data of the xtremect2 account (XT2). The other way around it works.&lt;br /&gt;
&lt;br /&gt;
IPLREG and IPLREG_BATCH point to &amp;lt;code&amp;gt;$DISK1:[XTREMECT2.MAIN]IPL_SCANCO_REGIS_V107.EXE&amp;lt;/code&amp;gt; for both accounts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Start 3D evaluation from terminal for microCTs====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;Do not change &amp;lt;code&amp;gt;uct_evaulation_v4.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ipl_fixed_batch_v4.com&amp;lt;/code&amp;gt; in .eval, but only work on your own file (i.e., eval_steve).&lt;br /&gt;
&lt;br /&gt;
First, an explanation of how the normal evaluation runs by hitting the &#039;Start 3d&#039; button.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_v4.com/para=(xxx,yyy,zzz,…)&amp;lt;/pre&amp;gt;&lt;br /&gt;
There are 8 parameters:&lt;br /&gt;
*P1: number of print outs of our results sheet&lt;br /&gt;
*P2: the ISQ filename&lt;br /&gt;
*P3-5: start x (pos x), y, z&lt;br /&gt;
*P6-8: dim x, y, z&lt;br /&gt;
The parameters p3-p8 come from the white bounding box. The problem is that when you start from the terminal you do not have these. This problem can be overcome by using the &amp;lt;code&amp;gt;isq_to_aim_gobjbox.exe&amp;lt;/code&amp;gt; and then give the relevant parameters. You can &lt;br /&gt;
&amp;lt;code&amp;gt;$ run um: isq_to_aim_gobjbox.exe &amp;lt;/code&amp;gt;&lt;br /&gt;
to see what it&#039;s asking for.&lt;br /&gt;
By using gobjbox you do not need p3-p8. Therefore you can start the evaluation by giving:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_special_josh.com –&lt;br /&gt;
/para=(1,dk0:[microct.data.0000275.0000245]c0000332.ISQ)&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You can make &amp;lt;code&amp;gt;uct_evaluation_special_josh.com&amp;lt;/code&amp;gt; such that there is no need for P1 (change p2 to p1 in the script, etc).&lt;br /&gt;
*Alternatively to using the gobjbox you could use the normal isq_to_aim, but hard code the dim and pos.&lt;br /&gt;
*Then call whatever IPL files you want to call. Look into &amp;lt;code&amp;gt;fixed_batch_v4&amp;lt;/code&amp;gt; to see how we turn on the database always on the first line of every IPL part, and how we calculate parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Temporarily change evaluation for UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
In a terminal window, we need to redefine the logical that determines which&lt;br /&gt;
3D evaluation is associated with the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool.&lt;br /&gt;
&lt;br /&gt;
For example, typing &amp;lt;code&amp;gt;VOI&amp;lt;/code&amp;gt; runs the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool&lt;br /&gt;
by executing &amp;lt;code&amp;gt;UE:UCT_EVALUATION_VOI.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show logical UCT_EVALUATION&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then you can redefine this to point to another evaluation script.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ define UCT_EVALUATION UE:UCT_EVALUATION_CUTOUT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is only redefined in the particular terminal you are using, and it&lt;br /&gt;
will reset to its default in a new terminal.  It will also not work if you&lt;br /&gt;
try to submit the job to a queue.  It only works interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Assign special evaluation to UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: This is for advanced users ONLY.  Do not attempt this without contacting Steve!&lt;br /&gt;
&lt;br /&gt;
This will show how to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt;:&lt;br /&gt;
It is easy to set up multiple .COM files for the 3D evalulation tool, one such set-up is already prepared on your computer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eval_special&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will do something similar to &amp;lt;code&amp;gt;$ voi&amp;lt;/code&amp;gt; where the normal contour program opens, but if you start the 3D eval, the special script &amp;lt;code&amp;gt;um:uct_evaluation_special.com&amp;lt;/code&amp;gt; is called (associated with eval_special), which then in turn calls &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt;, where you can specify your own set of thresholds, etc.&lt;br /&gt;
&lt;br /&gt;
So it is a daisy chain of files which we will need to follow to set up a special &amp;lt;code&amp;gt;xxx_kyle.com&amp;lt;/code&amp;gt; script, and where ever we encounter &amp;lt;code&amp;gt;_special.com&amp;lt;/code&amp;gt;, we copy and change it to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; you will need to do the following:&lt;br /&gt;
&lt;br /&gt;
*1. Edit &amp;lt;code&amp;gt;disk1:[microct]microct_setup_user.com&amp;lt;/code&amp;gt; (double-click on file), please be careful here, it&#039;s very important! (and I hope you have done your &#039;weekly full backup&#039; regularly, so you could always retrieve a good version of login.com...)&lt;br /&gt;
&lt;br /&gt;
*2. Then, towards to bottom and duplicate the line&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_special :== @com:eval_var.com um:uct_evaluation_special.com&amp;lt;/code&amp;gt;&lt;br /&gt;
and change duplicate to&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_kyle    :== @com:eval_var.com um:uct_evaluation_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make this command &amp;lt;code&amp;gt;eval_kyle&amp;lt;/code&amp;gt; available after you login freshly. Save and Exit.&lt;br /&gt;
&lt;br /&gt;
*3. Then go to &amp;lt;code&amp;gt;disk1:[microct.eval]&amp;lt;/code&amp;gt; and copy the file &amp;lt;code&amp;gt;uct_evaluation_special.com&amp;lt;/code&amp;gt; to the name &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt; (&#039;Commands&#039;, &#039;Copy ...&#039;, BUT CLICK ON THE THREE DOTS and give new output name. &lt;br /&gt;
If you do not see the &amp;lt;code&amp;gt;eval_special:&amp;lt;/code&amp;gt; go to terminal, &amp;lt;code&amp;gt;$ dir ue:*special*.com&amp;lt;/code&amp;gt; and take it from the &amp;lt;code&amp;gt;microct_common&amp;lt;/code&amp;gt; directory)&lt;br /&gt;
&lt;br /&gt;
*4. Edit the &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt; file: at the top, change &amp;lt;code&amp;gt;ipl_......_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*5. Copy &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*6. Edit &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; to your liking. If you want &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; to not perform the full evaluation, but only something akin to &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt;, then, in the steps above, copy &amp;lt;code&amp;gt;uct_eval_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;ipl_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; (thus you take the &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; script as template for the &amp;lt;code&amp;gt;_kyle&amp;lt;/code&amp;gt; script).&lt;br /&gt;
&lt;br /&gt;
*7. Then open a new terminal (&#039;applications&#039;, &#039;decterm&#039;), &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; should work now!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;: When you start the 3D eval, then&lt;br /&gt;
&amp;lt;code&amp;gt;$ que&amp;lt;/code&amp;gt;&lt;br /&gt;
will show you your batch job with your name on it now!&lt;br /&gt;
&lt;br /&gt;
And now a few more explanations how the whole thing works: in all eval programs, hitting &#039;Start 3d&#039; just submits the logical &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$ show log uct_evaluation&amp;lt;/code&amp;gt; shows you that by default, this points to &amp;lt;code&amp;gt;ue:uct_evaluation_v4.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Those little &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;eval_steve&amp;lt;/code&amp;gt; scripts then just temporarily redefine this logical so that a different script is submitted when you &amp;lt;code&amp;gt;&#039;start 3d eval&#039;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
About the &#039;&#039;&#039;corelut eval&#039;&#039;&#039;: Then we start a whole different eval program: the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt;. So, if you set up a &amp;lt;code&amp;gt;eval_steve_c&amp;lt;/code&amp;gt; (or whatever you want to call it): Produce a &amp;lt;code&amp;gt;eval_var_c.com&amp;lt;/code&amp;gt; in the directory commands (maybe copy from microct_common to [microct.commands]), and there, on the last line, instead of starting&lt;br /&gt;
&amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
(the normal program), replace by&lt;br /&gt;
&amp;lt;code&amp;gt;$ evalc&amp;lt;/code&amp;gt;&lt;br /&gt;
which starts the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt; - and because the &amp;lt;code&amp;gt;eval_var.com&amp;lt;/code&amp;gt; has over-ridden the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; logical just before, then you are starting different script upon starting 3d eval.&lt;br /&gt;
NB: we have a logical AND a symbol called &amp;lt;code&amp;gt;uct_evalution&amp;lt;/code&amp;gt;. Sorry for confusion. Symbol &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; starts normal &amp;lt;code&amp;gt;eval&amp;lt;/code&amp;gt; program, so this is what you replace by symbol &amp;lt;code&amp;gt;evalc&amp;lt;/code&amp;gt; now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION FAQ===&lt;br /&gt;
====Warning: Not all required GOBJ files found, Continue anyway?====&lt;br /&gt;
This occurs when the chosen evaluation script is looking for a contour file, but can&#039;t find it.  &lt;br /&gt;
*To see what contours the script is looking for go to &amp;quot;File&amp;quot; then &amp;quot;Save GOBJ As...&amp;quot;.  You can now see the list of required gobj files.  &lt;br /&gt;
*For some scripts, it may not be necessary to supply a gobj and you can continue with the evaluation without it.  For example, the &amp;quot;3D Segmentation of VOI, 1 solid object&amp;quot; applies the contour to isolate the region of interest, however, this may not be necessary if the object of interest can be extracted from thresholding.&lt;br /&gt;
[[File:Save_gobj_as.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Attempt to access non-existent record CODE: 36====&lt;br /&gt;
The scan is most likely still in the process of being reconstructed.  Try to access the scan again in a few hours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Insufficient logical unit numbers CODE: 1409716====&lt;br /&gt;
Exit the evaluation program and restart it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Process quota exceeded====&lt;br /&gt;
&lt;br /&gt;
[[Image:Process_quota_error.JPG|300px]]&lt;br /&gt;
&lt;br /&gt;
When running UCT_EVALUATION from a dec terminal, an error when starting an evaluation may occur if there are to many dec terminals opened. &lt;br /&gt;
*The easy fix for this is to open the terminals from the applications menu in the [[Scanco_User_Instructions#Session_Manager|&#039;&#039;&#039;session manager&#039;&#039;&#039;]] instead of using the dec command. &lt;br /&gt;
*Alternatively you can set up a new login script and add &amp;lt;code&amp;gt;/DETACH&amp;lt;/code&amp;gt; to the dec definition &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEC == &amp;quot;CREATE/TERMINAL=DECTERM/DETACH&amp;quot;. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example script can be found here @DISK5:[BONELAB.PROJECTS.BUIE]SETUP.COM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Bug: UCT_EVALUATION v6 in customizing EVAL scripts====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_k_v6&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new evaluation tool v6 should be used in place of the older v5.  Please see the Documents section of this wiki for a manual on its use.&lt;br /&gt;
&lt;br /&gt;
Known bugs:&lt;br /&gt;
&lt;br /&gt;
When you are producing your own EVAL scripts, and want to call your own ipl file&lt;br /&gt;
or such:&lt;br /&gt;
&lt;br /&gt;
The &#039;EVAL:&#039; keyword in the scripts has the filenames of the&lt;br /&gt;
uct_evaluation_v6.com, then the ipl_v6_xxxx.com, then additional filenames (such&lt;br /&gt;
as the _prs.com to print and the 3dresults_append.com)&lt;br /&gt;
&lt;br /&gt;
Now, if you are in BASIC mode in the modify window, and you change any of the 3&lt;br /&gt;
filename fields, the last of the additional filenames is &#039;dropped&#039;... ooops...&lt;br /&gt;
&lt;br /&gt;
So please go to Advanced mode and check the long &#039;EVAL:&#039; keyword that all wished&lt;br /&gt;
files are still in the list, otherwise add the last again (most of the time,&lt;br /&gt;
that&#039;s the useful _3dresult_append.com script...)&lt;br /&gt;
&lt;br /&gt;
Will correct that of course in the next version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Left mouse button====&lt;br /&gt;
When the left mouse button doesn&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.  &lt;br /&gt;
*For remote sessions, turn of the Num Lock key (this will also allow you to use Ctrl-C and Ctrl-V to copy and paste contours).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Remove and insert keys====&lt;br /&gt;
&lt;br /&gt;
The remove and insert buttons on the keyboard don&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation FAQ==&lt;br /&gt;
&lt;br /&gt;
===Customize your evaluation script===&lt;br /&gt;
The basic procedure is to create your customized evaluation script is:&lt;br /&gt;
#Clear the database of existing results&lt;br /&gt;
#Do your evaluation&lt;br /&gt;
#Extract the results&lt;br /&gt;
#Paste results into excel template.  &lt;br /&gt;
You could repeat as necessary to evaluate a measurement multiple times and write out the results to a file.  &lt;br /&gt;
*You must submit all jobs to a single queue!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Start ipl and clear the database of existing results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/db_clear_eval&lt;br /&gt;
-input        &amp;quot;IPL_AIM&lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Insert your IPL evaluation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Extract the results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;$@com:extract_results.com P1 P2&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P1 is the aim file (including path) and P2 is the result file (including path)&lt;br /&gt;
&lt;br /&gt;
Example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@com:extract_results.com   DISK5:[BONELAB.PROJECTS.BUIE]MYAIM.AIM   DISK5:[BONELAB.PROJECTS.BUIE]MYRESULTS.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P2 should be the same for all samples in your project so that results are compiled into a single file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4) Paste results into excel template.&#039;&#039;&#039;&lt;br /&gt;
*Refer to the  [[Media:Extract_Results_Template.xlsx |&#039;&#039;&#039;Excel Extract Results Template&#039;&#039;&#039;]]. &lt;br /&gt;
*Open your results text file and copy and paste the contents into cell A2.  There&#039;s no need to use paste special since the sheet is protected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create your own IPL script===&lt;br /&gt;
&lt;br /&gt;
To make a script that would submit a job to the queue with the command as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you need to create your own IPL file would be translated to the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit /noprint /que=sys$slow ue:IPL_VOI_JOSH_M.COM &lt;br /&gt;
  - /log=sys$scratch:test.log /para=(&#039;aim_file&#039;,&#039;gobj_file&#039;,&#039;seg_file&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The IPL file would look something like this…&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$   if p1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$ 	THEN &lt;br /&gt;
$	write sys$output &amp;quot;Give DK0:[xxx]C0001234_SEG.aim on the line.&amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Or: &amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Type $ scanco_submit_command um:ipl_eval_autostart/para=(dk0:[xxx]c00123_seg.aim) &amp;quot;&lt;br /&gt;
$ 	exit&lt;br /&gt;
$   endif&lt;br /&gt;
$&lt;br /&gt;
$ gobj_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.GOBJ&amp;quot;&lt;br /&gt;
$ aim_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.AIM&amp;quot;&lt;br /&gt;
$&lt;br /&gt;
$!&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some more handy IPL sequences are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then you just need to give meas. number as P1 (and maybe slice range as p2),&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR, some nice starts are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P3 .EQS. &amp;quot;&amp;quot;&lt;br /&gt;
$    THEN&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to duplicate&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: New Sample Number from Database&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: New Start Letter of ISQ file&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P4: Optional: Operator Number&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P5: Optional: Controlfile Number&amp;quot;&lt;br /&gt;
$      EXIT&lt;br /&gt;
$    ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where you say which parameters HAVE to be there (up to p3), and which ones are optional.&lt;br /&gt;
&lt;br /&gt;
All together, the script may look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$    THEN &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to reco&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: Optional: Slice number N or Range M:N. Auto:All&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: Optional: Queue. Auto: sys$slow&amp;quot; &lt;br /&gt;
$      EXIT &lt;br /&gt;
$    ENDIF &lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A &lt;br /&gt;
$ if p3 .eqs. &amp;quot;&amp;quot; then p3 := SYS$SLOW &lt;br /&gt;
$ slices  = p2 &lt;br /&gt;
$ quename = p3 &lt;br /&gt;
$ INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1) &lt;br /&gt;
$ INPUT = INPUT - F$PARSE(INPUT,,,&amp;quot;VERSION&amp;quot;) &lt;br /&gt;
$ logfile = &amp;quot;sys$scratch:RECO_&amp;quot; + f$PARSE(input,,,&amp;quot;NAME&amp;quot;) + &amp;quot;.LOG&amp;quot; &lt;br /&gt;
$ submit/noprint/queue=&#039;quename&#039; uct_reconstruction_file - &lt;br /&gt;
    /para=(&#039;input&#039;,&#039;slices&#039;,&#039;logfile&#039;) &lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that &amp;lt;code&amp;gt;uct_reconstruction_file&amp;lt;/code&amp;gt; is a logical that points to &amp;lt;code&amp;gt;um:uct_reconstruction.com&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Logicals are preferred in scripts to make them more universal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Run Scanco cut and match function (on Percy)===&lt;br /&gt;
&lt;br /&gt;
;At DATA DISK: &lt;br /&gt;
Run&amp;lt;code&amp;gt;$ upat_list&amp;lt;/code&amp;gt;&lt;br /&gt;
*mode 1, list mode.&lt;br /&gt;
*Select patients and site, etc.&lt;br /&gt;
*Select the appropriate template file, e.g. &amp;lt;code&amp;gt;UE:UPAT_TEMPL_CUTMATCH_AUTO_PATTB_CT.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
*Output to a file, then run that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;At PROJECT DISK: &lt;br /&gt;
If you have moved the files to the project directory and renamed them, you can generate a script from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM&lt;br /&gt;
-P1 = filename with device and directory&lt;br /&gt;
-P2 = site (RR, RL, TR, TL)&lt;br /&gt;
-P3 = output filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, if we run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The script will search &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]&amp;lt;/code&amp;gt; for files in the form &amp;lt;code&amp;gt;G*RR*.AIM&amp;lt;/code&amp;gt; with the same&lt;br /&gt;
length as &amp;lt;code&amp;gt;GRACE_01_00MTH_RR&amp;lt;/code&amp;gt;, then check sample numbers to determine if the file is a follow-up scan.&lt;br /&gt;
*Upat_list is called to obtain position and dimension data for matching slices.  &lt;br /&gt;
*The output file &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/code&amp;gt; is created to submit and run the cut and match.  &lt;br /&gt;
&lt;br /&gt;
Before running, open the file and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For multiple files, do something like the following.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_02_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Open MYFILE.COM and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The script assumes all follow-ups are provided.  &lt;br /&gt;
*If follow-up scans are missing, it will be necessary to modify the output file so that the position and dimension data matches the files or update the &amp;lt;code&amp;gt;SEARCH_PROJECTS_CUTMATCH.COM&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==IPL FAQ==&lt;br /&gt;
===Submit a job to the queue===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint /que=sys$slow ipl_voi_josh_m.com /log=sys$scratch:test.log&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Rotate with turn3d / turn2d===&lt;br /&gt;
&lt;br /&gt;
The turn3d function can be used to perform a single rotation about any axis in 3d.  The turnaxis_angle input is the angle between the x, y, and z axes and the line about which the rotation will be performed.  The turnangle input is the amount to be rotated about the specified line.  To use this function to perform three sequential rotations about the image&#039;s original x, y, and z axes requires compensation for the previous rotations.&lt;br /&gt;
&lt;br /&gt;
To rotate an image from the axial view in the z plane to the sagittal view in the z plane: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ipl&lt;br /&gt;
/turn3d&lt;br /&gt;
  -input &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;   in&lt;br /&gt;
  -output &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;     out&lt;br /&gt;
  -turnaxis_angles     90 0 90&lt;br /&gt;
  -turnangle           90&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No interpolation is necessary as this is &amp;quot;pure reformatting&amp;quot; (turning +-90 or 180 degrees around x,y or z axis)&lt;br /&gt;
&lt;br /&gt;
For knee images, to put the femur above the tibia, you further add the step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/turn2d&lt;br /&gt;
  -input                      out&lt;br /&gt;
  -output                     happyFemur&lt;br /&gt;
  -turnangle                  270&lt;br /&gt;
  -turnpoint_global_not_local true&lt;br /&gt;
  -turnpoint                  -1 -1&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refer to [[Media:turn3d.pdf |&#039;&#039;&#039;turn3d.pdf&#039;&#039;&#039;]] for further instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Noise removal by component labeling===&lt;br /&gt;
*Refer to [[Media:ComponentLabeling.pdf|&#039;&#039;&#039;Noise removal by using component labeling&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create MSQ image and view===&lt;br /&gt;
&lt;br /&gt;
This is based on marching cubes.  See &amp;lt;code&amp;gt;IPL_UPAT_EVAL.COM&amp;lt;/code&amp;gt; for an example as per below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/read seg C0000214_SEG.AIM&lt;br /&gt;
&lt;br /&gt;
/sup_divide                               ! careful of the order of inputs here&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -suppos_pixels_local       -1 -1 -1&lt;br /&gt;
  -supdim_numbers            1 2 1&lt;br /&gt;
  -subdim_pixels             -1 -1 -1&lt;br /&gt;
  -testoff_pixels            0 0 0&lt;br /&gt;
&lt;br /&gt;
/sub_pick&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -output                    segsub&lt;br /&gt;
  -subpos_numbers            0 1 0&lt;br /&gt;
&lt;br /&gt;
/tri&lt;br /&gt;
  -input                     segsub&lt;br /&gt;
  -output                    tri&lt;br /&gt;
  -gobj_filename             none&lt;br /&gt;
  -peel_iter                 0&lt;br /&gt;
  -ip_sigma                  0.8&lt;br /&gt;
  -ip_support                1&lt;br /&gt;
  -ip_threshold              40&lt;br /&gt;
  -nr_ave_iter               2&lt;br /&gt;
  -size_image                512 512&lt;br /&gt;
  -scale_image               0.800000&lt;br /&gt;
  -edges                     false&lt;br /&gt;
  -nr_views                  1             ! Important&lt;br /&gt;
&lt;br /&gt;
/msq_from_aim&lt;br /&gt;
  -aim_name                  tri&lt;br /&gt;
  -msq_filename              C0000123_3D.MSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, use &amp;lt;code&amp;gt;UCT_3D&amp;lt;/code&amp;gt; to view it.  If you click on &amp;quot;animations&amp;quot; it will give you the option to read the MSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===db_scanco_activate associate evaluation database===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;/db_scanco_activate&amp;lt;/code&amp;gt; is used in the IPL files, the correct association with the evaluation database is through the Index Patient and Index Measurement in the AIM header.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Index Patient                                    3095&lt;br /&gt;
Index Measurement                                5962&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using IPL&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
$ read in xxx.aim&lt;br /&gt;
$ examine in log&lt;br /&gt;
$ db true           {activates database}&lt;br /&gt;
$ dt_object         {at end &amp;quot;writing results to database for measurement 1234&amp;quot;}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===dicom_to_aim bug in IPL v5.03===&lt;br /&gt;
&lt;br /&gt;
In IPL, use the /dicom_to_aim function.  There is a bug in pre IPL v5.03 which requires that a small AIM be read in before doing the DCM conversion.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; read in tmp.aim&lt;br /&gt;
ipl&amp;gt; dicom_to_aim&lt;br /&gt;
  -aim_name                  [in] &amp;gt; &lt;br /&gt;
  -dicom_filename            [default_file_name] &amp;gt; 4F65038B3986.DCM&lt;br /&gt;
  -multifile                 [false] &amp;gt; true&lt;br /&gt;
ipl&amp;gt; write in MYFILE.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand &amp;quot;New&amp;quot; DT functions in IPL v5.42===&lt;br /&gt;
&lt;br /&gt;
This applies to:&lt;br /&gt;
&amp;lt;pre&amp;gt;/distance_map              /dt_ow_thickness           /dt_number                &lt;br /&gt;
/dt_thickness              /dt_spacing                /dt_cortical_thickness&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
XT1 (old dt) and XT2 (new dt) use 0.5 for assign_epsilon and 0.9 for&lt;br /&gt;
ridge_epsilon.&lt;br /&gt;
&lt;br /&gt;
µCT uses 1.8 for assign_epsilon and 0.9 for ridge_epsilon (old dt).&lt;br /&gt;
&lt;br /&gt;
Therefore I recommend to take 0.9 and 1.8 also for the new dt functions&lt;br /&gt;
for µCT/vivaCT measurements.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;suppress_boundary&amp;lt;/code&amp;gt; feature is new and works as follows:&lt;br /&gt;
&lt;br /&gt;
0: The ridges and spheres are calculated on the full seg AIM, also&lt;br /&gt;
outside the gobj. At the end the gobj is applied.&lt;br /&gt;
&lt;br /&gt;
1: The ridges that are on the AIM boundary are not used for the&lt;br /&gt;
calculation of the maximal spheres.&lt;br /&gt;
&lt;br /&gt;
2: The ridges are calculated on the full seg aim but then the gobj is&lt;br /&gt;
applied to the ridges. This means that at the end there are only spheres&lt;br /&gt;
that have the center inside the structure (gobj). The maximal sphere&lt;br /&gt;
filling algorithm still accounts for the structure outside the gobj, but&lt;br /&gt;
only uses center points inside the gobj.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dt_thickness&amp;lt;/code&amp;gt; for example can be used in two different ways in a script:&lt;br /&gt;
&lt;br /&gt;
1) cut out aim - apply threshold - apply gobj - dt_thickness&lt;br /&gt;
This way the suppress_boundary options do influence the results&lt;br /&gt;
because there are no ridges outside the gobj anyway.&lt;br /&gt;
&lt;br /&gt;
2) cut out aim - apply threshold - dt_thickness (with corresponding gobj)&lt;br /&gt;
This calculates the dt on the full aim first and applies then the&lt;br /&gt;
gobj and suppress options.&lt;br /&gt;
&lt;br /&gt;
If you examine for example trabecular bone only on a small area bounded&lt;br /&gt;
by a gobj then the most accurate way to calculate the dt is to cut out a&lt;br /&gt;
much larger area (still containing trabecular bone) and use way 2) above&lt;br /&gt;
with suppress_boundary 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Develop new IPL commands in C===&lt;br /&gt;
*Refer to [[Media:IPL programming.doc|&#039;&#039;&#039;A short manual on how to develop new IPL commands in C&#039;&#039;&#039;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
&lt;br /&gt;
===UPAT_LIST command===&lt;br /&gt;
&lt;br /&gt;
*Refer to Scanco specification document on using the [[Media:Specification_upat_print_list_V2.0.pdf | &#039;&#039;&#039;Upat_print_list V2.0&#039;&#039;&#039;]] on XCT2.&lt;br /&gt;
*Refer to [[Media:Using_upat.docx |&#039;&#039;&#039;Using upat_list Additional Notes&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
upat_list (version 1.9 on XCT1) is identical to 2.0 except:&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using group codes&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using evaluation types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all of the available parameters for generating results using upat_list command:  &lt;br /&gt;
  $ upat_list -h&lt;br /&gt;
&lt;br /&gt;
  Program: upat_print_list V1.9&lt;br /&gt;
  Use the following modes to run upat_print_list:&lt;br /&gt;
    upat_print_list -list  for export to spreadsheet, default mode&lt;br /&gt;
    upat_print_list -print for PostScript output&lt;br /&gt;
    upat_print_list -show  for text output&lt;br /&gt;
    upat_print_list -advanced to access advanced options interactively&lt;br /&gt;
  Standard Command-Line Arguments:&lt;br /&gt;
    -b=&amp;lt;pat_nr&amp;gt;      First patient, default = 1&lt;br /&gt;
    -e=&amp;lt;pat_nr&amp;gt;      Last patient&lt;br /&gt;
                     In list &amp;amp; show modes, default = last patient in database&lt;br /&gt;
                     In print mode, default = first patient&lt;br /&gt;
    -s=&amp;lt;site_code&amp;gt;   Site code&lt;br /&gt;
                     In list &amp;amp; show modes, RL RR R* TL TR T* CU *, default = *&lt;br /&gt;
                     In print mode, RL RR TL TR CU, default = RL&lt;br /&gt;
    -mb=&amp;lt;date&amp;gt;       Begin of measurement period, default = 1st measurement date&lt;br /&gt;
    -me=&amp;lt;date&amp;gt;       End of measurement period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -f=&amp;lt;#_followups&amp;gt; Maximum number of follow-ups to match, default = 19&lt;br /&gt;
    -t=&amp;lt;file_name&amp;gt;   Name of template file&lt;br /&gt;
                     In list mode,  default = UPAT_LIST_SHEET&lt;br /&gt;
                     In print mode, default = UPAT_EVAL_SHEETxx&lt;br /&gt;
                     In show mode,  default = UPAT_SINGLE&lt;br /&gt;
    -o=&amp;lt;file_name&amp;gt;   Name of output file (in SYS$SCRATCH by default)&lt;br /&gt;
                     In list &amp;amp; print modes, stored in SYS$SCRATCH&lt;br /&gt;
                     In show mode, written to SYS$OUTPUT&lt;br /&gt;
    -c=&amp;lt;number&amp;gt;      Number of Print copies if in print mode. default = 1&lt;br /&gt;
    -v=&amp;lt;level&amp;gt;       Verbosity from 0 (silent) to 2 (verbose), default = 1&lt;br /&gt;
    -h               Print this help and exit&lt;br /&gt;
  Advanced Command-Line Arguments:&lt;br /&gt;
    -et=&amp;lt;eval_type&amp;gt;  Type code of evaluation, default = 2&lt;br /&gt;
    -eb=&amp;lt;date&amp;gt;       Begin of evaluation period, default = 1st measurement date&lt;br /&gt;
    -ee=&amp;lt;date&amp;gt;       End of evaluation period, default = current date&lt;br /&gt;
    -tb=&amp;lt;date&amp;gt;       Begin of matching period, default = 1st measurement date&lt;br /&gt;
    -te=&amp;lt;date&amp;gt;       End of matching period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -sk=&amp;lt;#_to_skip&amp;gt;  Number of measurements to skip, default = 0&lt;br /&gt;
    -m=&amp;lt;meas_list&amp;gt;   Numbered List of measurements to take, e.g. 0,1,2,5,8&lt;br /&gt;
    -nomatch         Do not match follow up measurement, just take all slices&lt;br /&gt;
    -sb              Begin of Slice Range in % to be evaluated&lt;br /&gt;
    -se              End of Slice Range in % to be evaluated&lt;br /&gt;
    -q               Only take evaluations with quality better than (and including) this.&lt;br /&gt;
                     If positive number: all scans of better quality (incl. this) as well as all non-graded scans are taken.&lt;br /&gt;
                     If negative number: non-graded scans are NOT taken.&lt;br /&gt;
    -qs              Only take Structural evaluations with quality better than (and including) this.&lt;br /&gt;
                     Thus: between -qd and -q: only Density results are printed.&lt;br /&gt;
                     Parameter is disregarded if -qs &amp;gt;= -q.&lt;br /&gt;
    -ut=&amp;lt;unit_type&amp;gt;  0-&amp;gt;default unit, 1-&amp;gt;linatt, 2-&amp;gt;mg HA/ccm, 3-&amp;gt;HU, default = 0&lt;br /&gt;
    -cd=&amp;lt;density&amp;gt;    Value of compact density to use, default = 1200.000000&lt;br /&gt;
  If no command line arguments are specified, upat_print_list runs interactively.&lt;br /&gt;
&lt;br /&gt;
Note that using &amp;quot;TB&amp;quot; and &amp;quot;TE&amp;quot;, you can pull out exact measurements in the specified date range, while using &amp;quot;MB&amp;quot; and &amp;quot;ME&amp;quot;,  all you get is the latest measurement no matter what date range provided.&lt;br /&gt;
&lt;br /&gt;
For results of all time points for a single site and sample # without matching to Baseline, use: &lt;br /&gt;
I.e. the common region will be 100% for all measurements.&lt;br /&gt;
  $ upat_list -nomatch&lt;br /&gt;
&lt;br /&gt;
From these options, you can write out your own command (vs. using prompts) to give you the specifics you are looking for.  &lt;br /&gt;
&lt;br /&gt;
By specifying the CAMOS template of “UPAT_EVAL_CAMOS.PS”, you will get the “Camos” report style.  For example:&lt;br /&gt;
  $ upat_list -nomatch -b=1000 -e=1000 -s=TL -tb=01-MAY-2000 -te=01-AUG-2018 -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_1000_tl_camos.ps&lt;br /&gt;
&lt;br /&gt;
Note that there are actually many kinds of report templates.  These can be found via:&lt;br /&gt;
  $ dir UU:*.PS&lt;br /&gt;
&lt;br /&gt;
“SCUSA” is a short form for Scanco USA templates.  I.e. templates that fit on an 8.5” X 11” page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract followup data without slice matching===&lt;br /&gt;
Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -advanced&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Choose &#039;disable slice matching:&#039; -&amp;gt; y.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract patient results on a slice-by-slice basis===&lt;br /&gt;
&lt;br /&gt;
There is an executable that was specially installed by Andres.  Run it as user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN ut:UPAT_EXPORT_MEASUREMENT.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose from &amp;quot;Style: 0 = default, 1 = raw&amp;quot;. Default gives standard patient parameters.&lt;br /&gt;
&lt;br /&gt;
This gives you the .txt file in scratch containing the morphological parameters determined for each slice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_LIST Extract results===&lt;br /&gt;
&lt;br /&gt;
Assuming you&#039;ve used the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to initialize your evaluations (either manually or through the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool) then you can get all of your results stored into a text file that can be easily imported in Excel.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list&amp;lt;/pre&amp;gt;&lt;br /&gt;
The output text file will be stored in &amp;lt;code&amp;gt;sys$scratch&amp;lt;/code&amp;gt; and you can ftp this to a PC so that it can be imported into excel and further analysis can be performed. &lt;br /&gt;
&lt;br /&gt;
Importing into Excel requires setting a deliminator based on the space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Customizing&amp;lt;/b&amp;gt; the &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt; output.&lt;br /&gt;
&lt;br /&gt;
The default list template is set by the logical &amp;lt;code&amp;gt;UCT_3D_LIST_SHEET&amp;lt;/code&amp;gt; which is normally&lt;br /&gt;
set to point to &amp;lt;code&amp;gt;UU:UCT_3D_LIST.TXT&amp;lt;/code&amp;gt;.  See the templates by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir uu:*.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Almost all the available keywords are in &amp;lt;code&amp;gt;UCT_3D_LIST.TXT&amp;lt;/code&amp;gt; enclosed&lt;br /&gt;
by \\ and //.&lt;br /&gt;
&lt;br /&gt;
Only when you use the &#039;show directly on screen mode&#039;: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list 1234&amp;lt;/pre&amp;gt;&lt;br /&gt;
then you need to do this to override the default output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def/user uct_3d_single_sheet  my-template_file.txt&lt;br /&gt;
$ uct_list 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some example format files are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UCT_3D_LIST.TXT&lt;br /&gt;
UCT_3D_SINGLE.TXT&lt;br /&gt;
UCT_3D_LIST_W_CRH.TXT&lt;br /&gt;
UCT_3D_MEANS.TXT       --&amp;gt; Use this to get the 5 mean values (i.e., calibration)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A summary of all the available keywords is available in &amp;lt;code&amp;gt;UU:UCT_3D_SINGLE_SHEET.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Name             :\\UCTMEASFILENAME//&lt;br /&gt;
Sample-Name      :\\SAMPLENAME//&lt;br /&gt;
Sample-Nr        :\\SAMPLENUMBER//&lt;br /&gt;
Meas-Nr          :\\UCTMEASNR//&lt;br /&gt;
Date of Birth    :\\SAMPLEDOB//&lt;br /&gt;
Sample-Remarks	 :\\SAMPLEREM//&lt;br /&gt;
Meas-Remarks     :\\UCTMEASREM//&lt;br /&gt;
Meas-NrofSlices  :\\UCTMEASNUMSLI//&lt;br /&gt;
Direct: -------------------------------------------------------------------&lt;br /&gt;
TV        : \\VOX_TV//&lt;br /&gt;
BV        : \\VOX_BV//&lt;br /&gt;
BV/TV     : \\VOX_BV_TV// &lt;br /&gt;
Conn.Dens.: \\UCT_CONN//&lt;br /&gt;
SMI       : \\MC_SMI//&lt;br /&gt;
Tb.N*     : \\DT_N//&lt;br /&gt;
Tb.Th*    : \\DT_TH//&lt;br /&gt;
Tb.Sp*    : \\DT_SP//&lt;br /&gt;
Tb.1/N.SD*: \\DT_N_SD//&lt;br /&gt;
Tb.Th.SD* : \\DT_TH_SD//&lt;br /&gt;
Tb.Sp.SD* : \\DT_SP_SD//&lt;br /&gt;
Lin.Att.1 : \\UCT_MU0// +-\\UCT_MU0_SD//&lt;br /&gt;
Lin.Att.2 : \\UCT_MU1// +-\\UCT_MU1_SD//&lt;br /&gt;
Lin.Att.3 : \\UCT_MU2// +-\\UCT_MU2_SD//&lt;br /&gt;
Lin.Att.4 : \\UCT_MU3// +-\\UCT_MU3_SD//&lt;br /&gt;
Lin.Att.5 : \\UCT_MU4// +-\\UCT_MU4_SD//&lt;br /&gt;
TRI (Plate Model): --------------------------------------------------------&lt;br /&gt;
TV        : \\MC_TV//&lt;br /&gt;
BV        : \\MC_BV//&lt;br /&gt;
BS        : \\MC_BS//&lt;br /&gt;
BV/TV     : \\MC_BV_TV//&lt;br /&gt;
BS/BV     : \\MC_BS_BV//&lt;br /&gt;
Tb.Th     : \\MC_TH//&lt;br /&gt;
Tb.Sp     : \\MC_SP//&lt;br /&gt;
Tb.N      : \\MC_N//&lt;br /&gt;
Anisotropy:  --------------------------------------------------------------&lt;br /&gt;
|H1|      : \\MC_H1//  H1x: \\MC_H1X//  H1y: \\MC_H1Y//  H1z: \\MC_H1Z//&lt;br /&gt;
|H2|      : \\MC_H2//  H2x: \\MC_H2X//  H2y: \\MC_H2Y//  H2z: \\MC_H2Z//&lt;br /&gt;
|H3|      : \\MC_H3//  H3x: \\MC_H3X//  H3y: \\MC_H3Y//  H3z: \\MC_H3Z//&lt;br /&gt;
DA        : \\MC_DA//&lt;br /&gt;
Dim X	  : \\VOX_DX//&lt;br /&gt;
Dim Y	  : \\VOX_DY//&lt;br /&gt;
Dim Z	  : \\VOX_DZ//&lt;br /&gt;
Pos X	  : \\VOX_PX//&lt;br /&gt;
Pos Y	  : \\VOX_PY//&lt;br /&gt;
Pos Z	  : \\VOX_PZ//&lt;br /&gt;
El-Siz X  : \\VOX_ELSX//&lt;br /&gt;
El-Siz Y  : \\VOX_ELSY//&lt;br /&gt;
El-Siz Z  : \\VOX_ELSZ//  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tabulate LOG results from 3D evaluations===&lt;br /&gt;
&lt;br /&gt;
Only use this if you have not used the standard &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool to generate your 3D evaluations (in which case see the HowTo related to the 3D database).&lt;br /&gt;
You can tabulate the LOG files:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or whatever you want to search for can be stored in a text file&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search/output=sys$scratch:ov.txt xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
To search more than one log file, and get the output into one single file:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ fda/output=xxx.txt search *.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The fda means &#039;file do all&#039; and is a script made by Scanco to do one command (search) on a wildcard of files (*.log). Then put all the ov.txt, tv.txt, name.txt etc. files into excel.&lt;br /&gt;
Josh has made a .com file that does a similar job as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Compile evaluation LOGs into one file===&lt;br /&gt;
&lt;br /&gt;
Call the &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; with the same construction&lt;br /&gt;
as &amp;lt;code&amp;gt;$ eval_special&amp;lt;/code&amp;gt;.  If you need help with this, see the HowTo on this&lt;br /&gt;
Wiki site (HowTo: Assign special 3D evaluation to the UCT_EVALUATION tool).&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; file to call a specific ipl &lt;br /&gt;
script as you wish.&lt;br /&gt;
&lt;br /&gt;
When you run the evaluation, you will have three new files created:&lt;br /&gt;
&lt;br /&gt;
:*Two files in the measurement directory (on DK0!) (one with each eval 3D results in its own file, and one &amp;lt;code&amp;gt;APPENDED_ALL.TXT&amp;lt;/code&amp;gt; file)&lt;br /&gt;
:*Then in sys$scratch, you will have one &amp;lt;code&amp;gt;SYS$SCRATCH:UCT_LIST_ALL_3D_RESULTS.LOG&amp;lt;/code&amp;gt; file with ALL 3D evaluations of all measurements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; You may need to edit the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to specify a single queue (i.e., /que=sceval$fast)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
&lt;br /&gt;
===Examine patient databases===&lt;br /&gt;
This is for advanced users only!&lt;br /&gt;
&lt;br /&gt;
There are two patient databases that get updated every time an evaluation is performed.  Below is the name of the database, and the method used to check database values:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_EVAL_DATABASE&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! as microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_SLICE_DATABASE&lt;br /&gt;
$ set host 0  ! login as user calibration&lt;br /&gt;
$ @disk1:[microct]login.com&lt;br /&gt;
$ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UPAT_GET_DB_INFO.EXE  ! enter &#039;1&#039; to list records&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the slice database every evaluation is recorded, but only one is currently active at a time.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Manipulate scan sequence===&lt;br /&gt;
&lt;br /&gt;
Upat_list reports the baseline scan and then the percentage change of follow-up scans from the baseline scan. The order of scans in upat_list is determined from the measurement number (not the measurement date). In the case you need to manipulate the baseline and follow-up sequence, you will need to: &lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;  Use this with caution, and as little as possible!! even if the operation is reversible. Database manipulation is sensitive after all.&lt;br /&gt;
&lt;br /&gt;
1. Log in as the &amp;quot;calibration&amp;quot; user (beware which calibration account to use for the different scanners).&lt;br /&gt;
&lt;br /&gt;
How to proceed in the terminal:&lt;br /&gt;
 $ SPB&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM    or  $ @DISK1:[XTREMECT2]LOGIN.COM    !! don&#039;t miss that line, otherwise you would modify the CALIBRATION databases&lt;br /&gt;
&lt;br /&gt;
2. Use the following command to modify the measurement number:&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_SAMPLE_FIRST.EXE          !! To redefine the very first measurement in the sequence&lt;br /&gt;
&lt;br /&gt;
:* I do mean &amp;quot;First&amp;quot; measurement in the sequence, and not &amp;quot;baseline&amp;quot; measurement. You may have 2 baseline scans, one for radius and one for the tibia, but only one of them is the very &amp;quot;first in the sequence&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_PREV_NEXT.EXE        !! To redefine the follow-up sequence beyond the first measure&lt;br /&gt;
&lt;br /&gt;
:* The PREV_NEXT utility is a bit tricky to use, as for each measurement you will have to define its &amp;quot;chronological&amp;quot; previous and its next. It is not related to any anatomical site: one might think for example of defining the Radius follow-up sequence for example. It is not the case. The PREV_NEXT sequence will alternate between different anatomical sites, that is how it should be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Add placeholders for missing follow-up scans===&lt;br /&gt;
If there is NO scan at a certain time point in a series (i.e. patient did not show up), the program ut:upat_create_meas_placehoder.exe and upat_create_eval_placeholder can insert fake records, so the slice matching and timepoints/visits are still all in order.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The attached file describes how to create an manage placeholders in the case of missing follow-up visits in longitudinal studies. [[Media:SOP_Create_Placeholders_draft.pdf|&#039;&#039;&#039;SOP Create Placeholders&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a database measurement===&lt;br /&gt;
&lt;br /&gt;
It is not possible to delete an evaluation from the database, but it can be disabled.&lt;br /&gt;
&lt;br /&gt;
NOTE: QC results are stored in the UCT database, and there is no tool to disable a UCT database result.&lt;br /&gt;
&lt;br /&gt;
Log in as the normal user (e.g. XTREMECT2). Then in a terminal you may use this simple utility program:&lt;br /&gt;
  $ RUN UT:UPAT_CORRECT_VALID_FLAG&lt;br /&gt;
&lt;br /&gt;
See below a typical prompt to deactivate an entry:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_CORRECT_VALID_FLAG V2.0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 1&lt;br /&gt;
Evaluation type [2]: 5&lt;br /&gt;
Group code [0]: 0&lt;br /&gt;
&lt;br /&gt;
Found evaluation 57 for patient 4: ID003&lt;br /&gt;
&lt;br /&gt;
Value for valid flag (0=invalid, 1=valid) [1]: 0&lt;br /&gt;
Value for placeholder flag (0=write results, 1=placeholder) [0]: 0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can always re-activate the entry, by switching the valid flag from 0 to 1. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or, to make a scan invalid, you can also login as calibration user.&lt;br /&gt;
&lt;br /&gt;
Point to microct user&lt;br /&gt;
&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM&lt;br /&gt;
&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
&lt;br /&gt;
 $ SPB&lt;br /&gt;
&lt;br /&gt;
Run Correction File&lt;br /&gt;
 $ run DISK1:[CALIBRATION.UTIL]UPAT_CORRECT_VALID_FLAG.EXE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a uct_list database measurement===&lt;br /&gt;
You cannot really disable data in the UCT_LIST output. What you can do using IPL is to clear the complete result entry for a given measurement, for example:&lt;br /&gt;
&lt;br /&gt;
  $ ipl&lt;br /&gt;
  /read&lt;br /&gt;
    -name                      in&lt;br /&gt;
    -filename                  default_file_name&lt;br /&gt;
  /db_scanco_activate&lt;br /&gt;
    -write                     true&lt;br /&gt;
  /db_clear_eval&lt;br /&gt;
    -input                     in&lt;br /&gt;
&lt;br /&gt;
Then UCT_LIST might still report the &amp;quot;disabled&amp;quot; measurement, leaving only the few first meta-data columns non empty. The rest would be cleared.&lt;br /&gt;
&lt;br /&gt;
I must bring your attention to the fact that this sequence is used a lot on XtremeCT I scripts, for the cortical porosity for example.&lt;br /&gt;
This means that on XT-I, the UCT_LIST content is highly unstable, as it was used back then while UPAT_LIST was not able to handle those results.&lt;br /&gt;
In the future, when new applications come they may delete/overwrite the UCT_LIST entry for a measurement. &lt;br /&gt;
That is the rationale for using the TXT output in the RESULTS directory, that at least keeps track of past analyses. &lt;br /&gt;
As long as you have a single application on XT-II going through UCT_LIST, calling results on demand with it is fine. Later it might come complicated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Troubleshoot UPAT database===&lt;br /&gt;
&lt;br /&gt;
If there is an error (&#039;inconsistent key change or duplicate key!&#039;) in the log file during &#039;upat_filldb&#039;, this is likely caused by too many servers doing UPAT evaluations:&lt;br /&gt;
&lt;br /&gt;
Basically, the UPAT database can not be accessed by 2 evaluation jobs &amp;quot;at the same time&amp;quot;, and works on a &amp;quot;1st arrived 1st served&amp;quot; basis. It is actually one reason to have only 1 evaluation at a time running on a single workstation (the usual setup).&lt;br /&gt;
In your case (and in mine as well), when you have several workstations clustered together, you can technically run several evaluation jobs at the same time which will eventually access the very same database. &lt;br /&gt;
So what happens is that a 1st job executes the /upat_fill_db, and accesses the database for a short amount of time.&lt;br /&gt;
During this time, any unfortunate evaluation job trying to access the database will end up in the exact same error as you reported, as their access to the database is restricted. Even though the time window is short, this kind of thing is unavoidable in setup such as ours, and when lots of evaluation are started at the same time.&lt;br /&gt;
Here you have no other choice than restarting the evaluation job, in order to update the database (or ultimately you could write a small script just to run the /upat_fill_db command, but I do not think it makes sense).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Redirect to a temporary database===&lt;br /&gt;
&lt;br /&gt;
We need to temporarily redefine the logicals UPAT_EVAL_DATABASE and UPAT_SLICE_DATABASE.  Normally, the definition is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_EVAL_DATABASE = UCTD:UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
UPAT_SLICE_DATABASE = UCTD:UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Typically, we submit our jobs to the queue with an IPL script, so within the script we&#039;ll have to redefine the name of the database by adding lines such as&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
so that the results from the IPL evaluation are redirected to this temporary database.&lt;br /&gt;
&lt;br /&gt;
Then, we need to extract the results from the database.  These results are provided on a slice by slice basis (at least with the UPAT data).  As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; in a terminal window, we will again need to redefine the database and then run the program that translates the results to a text file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! give the measurement number and output file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or extract the results from the temporary database with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&lt;br /&gt;
$ def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT  ! only necessary if data came from another system&lt;br /&gt;
$ def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT                            ! only necessary if data came from another system&lt;br /&gt;
&lt;br /&gt;
$ upat_list  ! choose option [3]show, give the patient number and output file, e.g. sys$scratch:myvalues.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an example IPL script that redirects to a temporary database, see Percy:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DISK1:[MICROCT.COMMANDS]IPL_UPAT_EVAL_AIMINPUT.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import from a foreign database===&lt;br /&gt;
IF MEASUREMENTS COME FROM A TOTALLY DIFFERENT DATABASE (such as Toronto&#039;s XCT):&lt;br /&gt;
&lt;br /&gt;
You will need to redefine the logicals UCT_MEASUREMENT_DATABASE and UCT_SAMPLE_DATABASE&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it is quite possible that you won&#039;t have a copy of the foreign MEASUREMENT and SAMPLE databases. If this is the case, then you &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; import the ISQ files into our own database. Then, by setting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define UCT_EVALUATION_DATABASE SYS$SCRATCH:TEMP_EVALUATIONS_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
you could redirect the results to a temporary database (but normally, if you already imported the data, why not use our own database now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Duplicate as new import to database===&lt;br /&gt;
&lt;br /&gt;
You will need to copy ISQ and GOBJ files to a new designated location. This is done when a screening study is completed to look for potential subjects and then a main longitudinal study is completed under a different study name.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1. Make a new patient/subject ID &amp;lt;br&amp;gt;&lt;br /&gt;
2. Make a copy of the ISQ. For example: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK2:[microct.DATA.00002584.00008992]*.isq - &lt;br /&gt;
       DISK2:[microct.DATA.00002696.00009345]*.isq  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
3. Import ISQ into new patient/subject ID number by typing:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ import&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
4. Follow the prompts for the ISQ file names, changing of control file # etc. &amp;lt;br&amp;gt;&lt;br /&gt;
5. Check the data directory to see if ISQ and GOBJ files have been copied properly &amp;lt;br&amp;gt; &lt;br /&gt;
2. In uct_evaluation, open new .ISQ and copied .GOBJ and re-run the evaluation to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
3. Copy Scout Views so scanning program will load baseline scout view for followup scans &amp;lt;br&amp;gt; In DISK1:[MICROCT.DATA.SCOUTS], you&#039;ll see two series of scout views: one series with the PATIENT # followed by 020 or 021 or 038 or 039, the site code (radius or tibia, left or right respectively)&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the old patient scouts to the new patient #s&lt;br /&gt;
For example (using the same old and new #s as above): &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK1:[MICROCT.DATA.SCOUTS]00002584021.SCV -&lt;br /&gt;
       DISK1:[MICROCT.DATA.SCOUTS]00002696021.SCV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover a disappeared due to import===&lt;br /&gt;
If you need duplicate a measurement in both the original and new directories, but you forgot copying the measurement before importing as a new. The original measurement will be automatically removed from the original directory.  This can be fixed!  You will need to copy the measurement back and then fix the header information, as the header will no longer match the original directory.&lt;br /&gt;
&lt;br /&gt;
1. Manually copy all of the associated files for the measurement from the new directory to the original directory:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$copy DISK2:[xtremect2.data.00001234.00001234]*.*;* DISK2:[xtremect2.data.00004321.00004321] /log&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
2. Change the header information of the measurement files to those of the original directory.  To do this, you will need special software.  The use of this software is RESTRICTED.  Users must seek special permission to use the software from Steve, Ying, or Anne BEFORE using.  Once you have permission, the software can be found here: DISK1:[MICROCT.COMMANDS.FORBIDDEN].&lt;br /&gt;
&lt;br /&gt;
3. Run the software:&amp;lt;pre&amp;gt; &lt;br /&gt;
$r [software]&lt;br /&gt;
 &amp;lt;/pre&amp;gt; &lt;br /&gt;
4. The software will ask for: &lt;br /&gt;
a) the ISQ file&lt;br /&gt;
b) the new sample # you would like to give it (i.e. the original directory sample #)&lt;br /&gt;
c) the new measurement # you would like to give it (i.e. the original directory measurement #)&lt;br /&gt;
c) the new sample name you would like to give it (i.e. the original Study ID)&lt;br /&gt;
&lt;br /&gt;
You can view the header information for a file by using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ctheader [ISQ file]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong Study_ID/Sample_No===&lt;br /&gt;
&lt;br /&gt;
Situation: One study participate was assigned in followup scans multiple Study_ID or multiple Sample_No under the same Study_ID. &lt;br /&gt;
Action:    To correct this mistake and update the database correctly, you get to &lt;br /&gt;
&lt;br /&gt;
1. Return/Restore the RSQ from tape to measurement disk using Move (not Copy) in uct_backup program, otherwise the new location won&#039;t have its RAW backup record and thus have no idea where its RSQ was located.&lt;br /&gt;
&lt;br /&gt;
2. When there is no original ISQ in the measurement disk, you will have to reconstruct a new ISQ from this RSQ. If there is an original ISQ there, then skip this step.&lt;br /&gt;
&lt;br /&gt;
3. Import ISQ into a new designated location (correct Study_ID and Sample_No with new Measurement_No). &lt;br /&gt;
    $ import&lt;br /&gt;
Follow the prompts for the ISQ file names, changing of control file # or site # if needed. This action will import RSQ, Gobj and all the files in the folder to the new location.&lt;br /&gt;
&lt;br /&gt;
A reminder is that without an ISQ ready by importing a RSQ only will produce wrong slice no. and site location in the database as shown in the uct_backup. &lt;br /&gt;
&lt;br /&gt;
4. If the ISQ is newly reconstructed (original ISQ could skip this step), the database will show the new reconstruction date &amp;amp; time (not the original scan date &amp;amp; time) as the scan records in the uct_backup. To correct this, &lt;br /&gt;
&lt;br /&gt;
    $run ut:uct_correct_meas_measdate&lt;br /&gt;
&lt;br /&gt;
1) To see the original scan date &amp;amp; time: run this command and follow the prompt and input the original measurement No. as the Index, but don&#039;t change this by copying and pasting it back in Messdatum/Zeit.&lt;br /&gt;
&lt;br /&gt;
2) To set the new scan date &amp;amp; time: run this command again and input the new measurement No. as the Index, copy &amp;amp; paste the original scan date &amp;amp; time got from 1) in Messdatum/Zeit. &lt;br /&gt;
&lt;br /&gt;
This way will update the database as shown in the uct_backup with the original scan date &amp;amp; time with newly reconstructed ISQ in the correct Study_ID and Sample_No.&lt;br /&gt;
&lt;br /&gt;
5. Backup/Move the RSQ at the new location to tape, so that the new record will have full information of both RAW and IMA. &lt;br /&gt;
&lt;br /&gt;
6. Even though ISQ, RSQ, GOBJ and all other files have been moved over to the new location, you will still need to re-run the evaluation (in uct_evaluation, open ISQ and GOBJ) to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong account used for scanning===&lt;br /&gt;
&lt;br /&gt;
Xtremect2 (on disk2) and xt2recalib (on disk6) accounts share the same databases. However, the definition of DK0 is account specific, ie. the scans are stored on different disks. So when scanning under Xtremect2 account instead of Xt2recalib account, to correct the wrong measurement location you will need to:&lt;br /&gt;
&lt;br /&gt;
#Create the patient directory on disk6:[xtremect2.data], if needed;&lt;br /&gt;
#Create the same measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Create a save set of the measurement folder on disk2:[xtremect2.data] with the isq, rsq, rad and scv files included;&lt;br /&gt;
#Unzip the save set in the measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Delete the measurement directory on disk2:[xtremect2.data] using delete command in the terminal. Caution: Do NOT use the backup program.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; This procedure is specific to this situation between Xtremect2 and Xt2recalib accounts, Microct and Xt1recalib accounts, and vice versa, but not applicable between any other accounts!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update database after RSQ/ISQ restoration===&lt;br /&gt;
&lt;br /&gt;
If you are restoring RSQ or ISQ files from tape (or other source) it might be preferable to do your analysis without resetting the database info.  &lt;br /&gt;
&lt;br /&gt;
The database is specific to the user.  So, we have to modify the database for &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;, and be careful not to modify the &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; (or other users) database.  However, we still need to have permissions from &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; in order to do the modification.&lt;br /&gt;
&lt;br /&gt;
When we restore an ISQ or RSQ to disk, the database needs to be updated to ensure it finds it.  We have to change the database back to say it&#039;s on disk.  To do this we need to log in as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
login as calibXXXX  where XXXX is the scanner id (5019 for VivaCT or 2339 for uCT35) or calib3309 or calib3401 (for the XtremeCT and XtremeCTII system, respectively).&lt;br /&gt;
password from Steve&lt;br /&gt;
&lt;br /&gt;
$ @ADISK1:[BONELAB]microct_setup_XXXX.com    ! XXXX=scanner id, sets the logicals to point to bonelab data for SB group&lt;br /&gt;
or&lt;br /&gt;
$ @ADISK1:[VIVACT]LOGIN.COM  ! sets the logicals to point to microct data for BH group&lt;br /&gt;
or&lt;br /&gt;
$ @DISK1:[MICROCT]LOGIN.COM ! sets the logicals to point to microct data on the XtremeCT system&lt;br /&gt;
or&lt;br /&gt;
$ @IDISK1:[XTREMECT2]MICROCT_SETUP.COM ! sets the logicals to point to xtremect2 data on the XtremeCT2 system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set proc/priv=bypass      or     $ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_DIR     ! make sure to include the full path to the executable as shown here. &lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_DIR.EXE     ! on xtremect2 system, use this program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Only change those items which have to be changed (e.g. just hit RETURN for RAW fields if you only want to change the IMA location.  Also, when specifying the directories, use DK0, not DISK2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:UCT_CORRECT_DIR.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Measurement Nr.:         1234&lt;br /&gt;
MeasNr.                  1234 &lt;br /&gt;
PatientNr:               268&lt;br /&gt;
RAW: RAW004&lt;br /&gt;
TP0:00001234_RAW&lt;br /&gt;
IMA: IMA002&lt;br /&gt;
TP0:00001234_IMA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW-Label: [ RAW004 ]&lt;br /&gt;
&lt;br /&gt;
RAW-Dir  : [ TP0:00001234_RAW ]&lt;br /&gt;
&lt;br /&gt;
IMA-Label: [ IMA002 ]   DISK&lt;br /&gt;
IMA-Dir  : [ TP0:00001234_IMA ]  DK0:[microct.data.00000456.00001234]&lt;br /&gt;
&lt;br /&gt;
Measurement Nr.:            0&lt;br /&gt;
End of program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The IMA-label does not matter on disk - but we have to write something to get rid of the IMA002, so &#039;DISK&#039; makes sense.&lt;br /&gt;
&lt;br /&gt;
Using the standard backup/archiving program, you can archive (MOVE TO) that IMA again to a tape, but use a DIFFERENT TAPE than where the first instance of this scan is on.&lt;br /&gt;
&lt;br /&gt;
Background: Tapes just write file after file, without any directory structure or hierarchy, so the program will always find the first instance (the old dataset) if you try to read it again from that tape.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; One other option is to change the permissions of UCT_CORRECT_DIR.EXE so that user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; can use it directly.  To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration&lt;br /&gt;
$ set prot=g:re ut:uct_correct_dir.exe&lt;br /&gt;
$ run disk1:[calibration.util]uct_correct_dir  ! as user microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Other FAQ==&lt;br /&gt;
&lt;br /&gt;
===View Sample info===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will show you sample-name and date-of-birth of sample-number 1234&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info -m 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will give you some (stupid) info about meas 1234&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you use this function all the time, put the following into &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_info  :== $um:uct_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then the usage info will even be correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===List measurements for data and backup location===&lt;br /&gt;
&lt;br /&gt;
*To generate a list of measurements that are registered in the database, to determine where backups are stored, or if the data is still on disk:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;$ write_info&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Ask you for a range of measurement numbers or sample names.&lt;br /&gt;
*Create a &amp;lt;code&amp;gt; sys$scratch:info.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Anonymize patient name and DOB===&lt;br /&gt;
&lt;br /&gt;
Here is the link to [[Media:SOP_Anonymize_patient_name_dob.pdf | Scanco&#039;s SOP]] to change a long list of patient&#039;s name and/or DOB to de-identify the data. &lt;br /&gt;
&lt;br /&gt;
This does not affect the headers of past RSQ, ISQ or AIM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix a wrong scan site code===&lt;br /&gt;
&lt;br /&gt;
This is done if accidentally scanned using the wrong control file. &lt;br /&gt;
For example scan site RR is scanned mistakenly under RL, or TL scanned by mistake using the control file for TR ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To see our site codes, e.g. 20 = RL, 21 = RR etc using &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show log *eval*&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Scenario 1: &lt;br /&gt;
&lt;br /&gt;
If the correction commands (uct_correct_meas_site and updh_site) are already in your account (which is the case for the xtremect2 and xt2recalib accounts on the XtremeCT cluster)&lt;br /&gt;
&lt;br /&gt;
 $ cd util&lt;br /&gt;
 $ dir *site* &lt;br /&gt;
&lt;br /&gt;
and you see two programs (uct_correct_meas_site and updh_site). Set priviledge to bypass first&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
 $ run uct_correct_meas_site&lt;br /&gt;
&lt;br /&gt;
and enter the meas. number to be corrected and then enter in the correct site code (20 = RL, 21 = RR, 38 = TL, 39 = TR). &lt;br /&gt;
*This modifies the database, so the correct site is displayed in the eval program. &lt;br /&gt;
*Enter meas. number 0 to exit program.&lt;br /&gt;
&lt;br /&gt;
Then we must also correct the ISQ and RSQ files (has to be restored from tape if not on disk):&lt;br /&gt;
&lt;br /&gt;
 $ run updh_site      !&#039;updh&#039; = update header&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enter the &amp;lt;b&amp;gt;full (i.e. pathname included)&amp;lt;/b&amp;gt; ISQ or RSQ filename. For DISK6 data should use DISK6:[xtremect2.data....]. &lt;br /&gt;
*Then enter the correct site number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Scenario 2: &lt;br /&gt;
 &lt;br /&gt;
Normally the correction commands (uct_correct_meas_site and updh_site ect.) are only provided in a calibration account to prevent from misusage. We have to login as user calibration to make the change.  &lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 $ username: [enter calibration account, e.g. calib3401]&lt;br /&gt;
   &lt;br /&gt;
Then we use the same steps in &amp;lt;b&amp;gt;Scenario 1&amp;lt;/b&amp;gt; to change the site code in both database and ISQ and RSQ files. &lt;br /&gt;
*Make sure to &amp;lt;code&amp;gt;logout&amp;lt;/code&amp;gt; from user calibration afterwards.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix for results fail to print/list/show after evaluation===&lt;br /&gt;
&lt;br /&gt;
There are a number of reasons the results may not print:&lt;br /&gt;
&lt;br /&gt;
====Incorrect first measurement number====&lt;br /&gt;
When sample information (such as patient name, DOB, remark) is changed DURING scanning, this can over write the 1st Scan measurement number, resulting in the evaluation sheet not being printed, and data not shown when running upat_list. For example, this happens when:&lt;br /&gt;
&lt;br /&gt;
1) open sample program, enter name, hit save, leave program open&lt;br /&gt;
&lt;br /&gt;
2) start scan (which would write correct record with 1st meas. in sample database)&lt;br /&gt;
&lt;br /&gt;
3) in sample program: then only enter DOB, and hit &#039;save&#039; again in the sample program --&amp;gt; it &#039;overwrites&#039; the 1st meas. with an empty string again.&lt;br /&gt;
&lt;br /&gt;
If you want to enter DOB after the scan has started, you HAVE to &#039;Find...&#039; and re-load that patient first (so it correctly loads the 1st meas. entry also). It is best to just not use the sample management program whilst scanning is taking place. &lt;br /&gt;
&lt;br /&gt;
However, if you do encounter this problem, use the following to fix (shown using patient 668 as an example. 1st scan measurement number was 2672):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 calibration&lt;br /&gt;
 xxxxx&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
 $ @[microct]microct_setup&lt;br /&gt;
 $ run [calibration.util]uct_correct_first&lt;br /&gt;
 $ r UCT_CORRECT_FIRST&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.: 668&lt;br /&gt;
 SampleNr.:          668&lt;br /&gt;
 First:            0&lt;br /&gt;
&lt;br /&gt;
 2672&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and continue with next non-working patient, give patient number 0 to exit.&lt;br /&gt;
&lt;br /&gt;
 $ logout&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Evaluation completed with results not written to database====&lt;br /&gt;
If the first measurement number and DOB are correct... check the .log file of the evaluation... However, if there is no upat*.log file available for that scan, use:&lt;br /&gt;
&lt;br /&gt;
upat_list -v=2 and you will see (for eg sample 594):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Found sample 594, CAMOS_0018&lt;br /&gt;
Found measurement 2536 made 19-MAR-2007 12:52:58.48&lt;br /&gt;
Measurement site RL found in list at index 0&lt;br /&gt;
Measurement 2536 within measurement period&lt;br /&gt;
ERROR finding evaluation for measurement 2536&lt;br /&gt;
&lt;br /&gt;
No valid evaluation found for measurement 2536&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So it seems the 3D upat eval never wrote anything to the database for that scan. In this case, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @ue:ipl_upat_eval_again_quick.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and let it run for the missing data. &lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039; it will only need the aim files and gobj files that you still have in your &#039;models&#039; directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Incorrect sequence of measurement numbers====&lt;br /&gt;
Finally, if none of these options work... check the order of measurement numbers: especially if an import has occured, first check the first measurement number is correct (as above). Then run sys$Scratch:uct_correct_prev_next.exe and correct the order of the measurements: The database keeps a &#039;daisy&#039; chain of meas. numbers, each meas. knows which one was the previous meas and the next meas.&lt;br /&gt;
&lt;br /&gt;
0 means: no prev. meas (or no next meas) So corrected the order for you like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ r UCT_CORRECT_prev_next&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop) [0]: 2821&lt;br /&gt;
MeasNo.:         2821 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]:   &amp;lt;-- leave 0&lt;br /&gt;
Next     [0]: 2828  &amp;lt;-- give next meas number&lt;br /&gt;
Measurement No. (0 to stop) [2828]:&lt;br /&gt;
MeasNo.:         2828 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]: 2821  &amp;lt;-- give prev. meas number&lt;br /&gt;
Next     [0]:  &amp;lt;-- leave 0 for very last meas.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Please note: the series of meas. numbers per patient is NOT separate per meas. site, thus radius and tibia meas. are linking to each other. &#039;&#039;&#039;Do not mess up!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Lab’s Data Responsibility==&lt;br /&gt;
*Weekly &lt;br /&gt;
#Clean up sys$scratch directory and only keep last week&#039;s data.&lt;br /&gt;
#Archive RSQ to corresponding tapes.&lt;br /&gt;
#*RSQ from temporary tests and non-project (not a formally established project) will NOT be archived unless specifically notified to lab personal.&lt;br /&gt;
#Database backup to disks.&lt;br /&gt;
*Monthly&lt;br /&gt;
#Database backup to corresponding tapes.&lt;br /&gt;
#Archive QC RSQ to corresponding tapes.&lt;br /&gt;
#Delete QC IMA and only keep last week&#039;s data.&lt;br /&gt;
*6-monthly&lt;br /&gt;
#System backup to corresponding tapes when prompted.&lt;br /&gt;
*Yearly&lt;br /&gt;
#Data Disk clean up when usage is over 90%.&lt;br /&gt;
#*Temporary tests and non-project RSQ and IMA data will be deleted during check up.  &lt;br /&gt;
#Project Disk clean up when usage is over 90%.&lt;br /&gt;
#Winston backups clean up.  &lt;br /&gt;
*Whenever requested&lt;br /&gt;
#Projects backup to Winston server and restoration.&lt;br /&gt;
#Projects archive to HOG server and restoration.&lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; STRONGLY URGE TO DO THE WEEKLY and MONHTLY BACKUP. Two users DID experience disk crashes before, and without the weekly backup, you may still have all scans on the data disk, but without the databases you cannot tell which scans belong the which sample.&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_management.pdf|&#039;&#039;&#039;XtremeCT Micro-CT Management SOP&#039;&#039;&#039;]] or [[Media:Microct_management.docx|&#039;&#039;&#039;its Word format&#039;&#039;&#039;]] for references.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==HP Server and Disk Array==&lt;br /&gt;
===HP References===&lt;br /&gt;
*[[Media:Hp-quick-specs-msa30.pdf|&#039;&#039;&#039;MSA30 Disk Array Quick Specs&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2620-sceva2-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2620 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2660-sceva3-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2660 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===HP FAQ===&lt;br /&gt;
====Change disk description for $ disks====&lt;br /&gt;
Login as the system user and change to the system commands directory.&lt;br /&gt;
&lt;br /&gt;
 $ cd scom&lt;br /&gt;
 $ eve show_disks.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Tape==&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; While the tape is running and writing to it, DO NOT LOG OUT, DO NOT INTERRUPT THE PROGRAM! This would make that tape unusable from this point on - you could still read from that tape up to this point, but could not add more scans to this tape.&lt;br /&gt;
&lt;br /&gt;
===Tape Label Convention===&lt;br /&gt;
Tape labels are 6 characters in length.  For the Bone Imaging Lab projects, the first three letters indicate if the tape is for raw (RAW) or image (IMA) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW040 = RAW date, tape #040&lt;br /&gt;
IMA001 = IMAGE data, tape #001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, the first two characters may be set to a PI&#039;s initials, the third character indicates if the tape is for raw (R) or image (I) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SBR040 = Steve Boyd RAW, tape #040 &amp;lt;br&amp;gt;&lt;br /&gt;
SBI001 = Steve Boyd IMA, tape #001 &amp;lt;br&amp;gt;&lt;br /&gt;
BHR006 = Benedikt Hallgrimsson RAW, tape #006 &amp;lt;br&amp;gt;&lt;br /&gt;
BHI017 = Benedikt Hallgrimsson IMA, tape #017 &amp;lt;br&amp;gt;&lt;br /&gt;
FJR012 = Frank Jirik RAW, tape #012 &amp;lt;br&amp;gt;&lt;br /&gt;
FJI003 = Frank Jirik IMA, tape #003 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CaMos raw data is backed up with the following naming:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CAMOS1 = CaMos RAW, tape #1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When a tape becomes full, start (initialize) a new tape, increasing the tape number by one so that each tape label is unique.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Initialize a New Tape===&lt;br /&gt;
Put a new tape into the tape drive, then press &amp;quot;Initialize&amp;quot;, this will format (erase) everything on the tape.  When prompted for a label for the tape, follow the [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]].  The tape can now be mounted for use.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic02.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Full Tape===&lt;br /&gt;
A tape automatically ejects during a backup procedure if it becomes full.  &lt;br /&gt;
*Remove the tape and write protect it (orange indicator will be displayed).  &lt;br /&gt;
*Exit the disk-utility program. &lt;br /&gt;
:*Hit &amp;lt;code&amp;gt;ctrl/c&amp;lt;/code&amp;gt; to interrupt the program if needed. &lt;br /&gt;
*Start a new instance of the program.  &lt;br /&gt;
*[[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;Initialize a New Tape&#039;&#039;&#039;]].  &lt;br /&gt;
*Backup any remaining files.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic03.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape Drive Setup on XCT cluster===&lt;br /&gt;
Both the old and new tape drives are connected to SC3309 (XCT1) and powered on. You do not need to power off one to use another.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
New tape in new drive &amp;lt;--&amp;gt; microct, xtremect2, xt2recalib, calib3401, calib3309&lt;br /&gt;
&lt;br /&gt;
:*The &#039;new&#039; Ultrium 3000 tape drive is for the new tapes and the default tape drive for all other accounts (microct, xtremect2, xt2recalib, calib3309, calib3401). &lt;br /&gt;
:*Use the following command to use the old SDLT tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sdlt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Old tape in old drive &amp;lt;--&amp;gt;  xt1recalib  &lt;br /&gt;
&lt;br /&gt;
:*The &#039;old&#039; SDLT tape drive is for the old tapes. You have to log into the default xt1recalib account to recognize this tape drive. &lt;br /&gt;
:*Restoring from old tapes in xt1recalib account will restore your data to DISK6:[MICROCT.DATA]. &lt;br /&gt;
:*By default, xt1recalib account can only see old tape drive, not the new tape drive.&lt;br /&gt;
:*Use the following command to use the new tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sas&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*With either of the above commands, you must not &amp;quot;submit&amp;quot; the tape usage jobs to the queue (i.e., cannot run a batch backup from a script), but only run them interactively in the &lt;br /&gt;
software. Any job in the queue will use the default tape drive again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract from Tape===&lt;br /&gt;
&lt;br /&gt;
====Scripts to Extract from Tape====&lt;br /&gt;
Generally, all files on the tape can be extracted, or only specific files.&lt;br /&gt;
To extract all files on a tape, for example, a tape received from a collaborator, insert the tape into the drive and do the following:&lt;br /&gt;
  $ cd ur&lt;br /&gt;
  $ create/dir [.collaborator]&lt;br /&gt;
  $ create/dir [.collaborator.com]&lt;br /&gt;
  $ create/dir [.collaborator.log]&lt;br /&gt;
  $ create/dir [.collaborator.models]&lt;br /&gt;
  $ cd ur collaborator models&lt;br /&gt;
  $ backup/log tp0:*.sav []/by=parent  ! be sure you are the user (i.e. &#039;microct&#039; or &#039;xtremect2&#039;) that has permission&lt;br /&gt;
  $ backup/log tp0:*.sav DISK4:[BONELAB.PROJECTS.FRAMINGHAM.MODELS...]/by=parent ! The &amp;quot;...&amp;quot; keeps the directory structure. The /by=parent ensures owner of the files is same as parent directory&lt;br /&gt;
&lt;br /&gt;
This will save all the files on the tape to the current directory. Alternatively, if you only want a certain file extracted from the tape, such as an RSQ file, do essentially the same as per above, except with a different final command:&lt;br /&gt;
  $ backup/log tp0:*.sav/select=*.rsq []/by=parent&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/by=parent&amp;lt;/code&amp;gt; part of the command is a qualified for the file owner, and it makes the files that are copied the same owner as the parent directory (nothing to do with how directories are structured). The &amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt; generates sub-directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A custom script is required when extracting data from tape from another micro-CT system or to extract the data to a central location (e.g., a user&#039;s directory).  &lt;br /&gt;
*The script is then submitted to the backup queue of the workstation the tape drive is connected to (i.e., SCEVA3_BACKUP)&lt;br /&gt;
*Some example scripts are provided below.&lt;br /&gt;
&lt;br /&gt;
*Extract image data for three scans to a custom folder, maintaining the sample and measurement directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for three scans to a custom folder without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for all scans on tape to a custom folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:*_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract raw data for three scans to a custom folder, without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape FAQ===&lt;br /&gt;
====Error: Can&#039;t mount tape, Medium offline====&lt;br /&gt;
This can happen if a tape is interrupted during use (e.g., due to a power failure or system restart while the tape drive is in operation).&lt;br /&gt;
&lt;br /&gt;
#Use the manual eject button to remove the tape from the drive.&lt;br /&gt;
#Turn off the tape drive, the switch is on the back of the drive.&lt;br /&gt;
#Shutdown the whole micro-CT system.&lt;br /&gt;
#Turn on the tape drive.&lt;br /&gt;
#Startup the micro-CT system, starting with the server.&lt;br /&gt;
#Try to mount the same tape again.&lt;br /&gt;
&lt;br /&gt;
If the above does not work then either the tape or the tape drive is damaged.  To determine if it is the drive, take a brand new tape and try to initialize it.  Do not use a tape with data on it in the drive unless you are certain the drive is okay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: positioning====&lt;br /&gt;
This can have two reasons usually:&lt;br /&gt;
&lt;br /&gt;
#The tape is just faulty. Try with a fresh tape.&lt;br /&gt;
#A previous tape write operation was interrupted (e.g., a user did an &#039;End Session&#039;, the power went out, or the eject button was pressed on the tape drive, which killed the backup program). In this case the drive did not write the very important &#039;End of Tape&#039; marker, and now, the tape drive cannot find the current place where it can start adding new data. &lt;br /&gt;
*Solution: either take a fresh tape, or if there were only a few scans are on the &#039;bad&#039; tape, &#039;Move to Hard Disk&#039; of ALL the scans on that tape, check that the scans have been retrieved well, then initialize that tape again (which will erase everything on the tape!) and archive those scans again. &lt;br /&gt;
*IMPORTANT: never interrupt the tape drive while it is running!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: parity====&lt;br /&gt;
Either tape or the tape drive is faulty. Take a fresh tape (potentially from a new batch of tapes), and see if the error persists. &lt;br /&gt;
*If yes: have the tape drive repaired. &lt;br /&gt;
*Further things to check: for DLT and SDLT tape drives: is the terminator (&#039;dead end&#039;) connected on the second SCSI port in the back of the tape drive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: non-responsive tape drive====&lt;br /&gt;
This can occur if the user ejects the tape with the little button (and not with the recommended &amp;quot;dismount&amp;quot; button in the uct_backup program).  This can also occur if a tape is mounted immediately after one is dismounted.  You get the same error for both cases, &amp;quot;medium offline&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
:*Check all that all cables are connected.&lt;br /&gt;
&lt;br /&gt;
:*Check that the number on the back of the drive says &amp;quot;5&amp;quot; (use +/- to adjust if necessary)&lt;br /&gt;
&lt;br /&gt;
:*Check that the top connector has a cable connecting to the computer and the bottom one has a terminator.&lt;br /&gt;
&lt;br /&gt;
:*Try turning the tape drive on and off again.&lt;br /&gt;
&lt;br /&gt;
:*Log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; (you will need a password from Steve):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto/sele=mk&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it&#039;s online again, then great.  If not, then the last resort is to reboot the entire system.  If this doesn&#039;t work, then shut down the system (see user manual for proper steps) and eject the tape.  You may need to turn the computer back on before it will eject.  The tape drive should be turned on first (no tape), then the server, and any other computers.  Check that the drive is online ($ show device mk).  If it is, then test the drive by initializing, mounting and dismounting a brand new tape.  If the drive is not online, do not insert any tapes or they will likely get stuck.  Log in as system and re-try the command lines shown above.&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a stubborn tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: stubborn tape drive====&lt;br /&gt;
If the drive cannot be mounted, or it is not visible with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then something went wrong.  For example, the server computer was booted while the tape was turned off. It then does not load the driver.&lt;br /&gt;
&lt;br /&gt;
You can &#039;force load&#039; it - but this will disconnect the scanner for a moment, so only do it while no scan is running:&lt;br /&gt;
&lt;br /&gt;
as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;, on sc3309:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto&lt;br /&gt;
&lt;br /&gt;
$ show dev tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you should see it now (otherwise turn on the tape drive, and do again)&lt;br /&gt;
&lt;br /&gt;
Then you&#039;ll also have to make it available to all users:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a non-responsive tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====SDLT320 Tape and Tape Drive FAQ====&lt;br /&gt;
Please refer to [[Media:Hp-faq-sdlt320-tape-drive-and-sdlt-tapes.pdf|&#039;&#039;&#039;SDLT320 Tape and Tape Drive FAQ&#039;&#039;&#039;]] for details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==USB Drive==&lt;br /&gt;
&lt;br /&gt;
===Use a USB drive===&lt;br /&gt;
Connect USB to VMS system and format. &lt;br /&gt;
&lt;br /&gt;
Transfer files from the terminal after plugging in the USB device&lt;br /&gt;
  $ show device dna&lt;br /&gt;
Usually the device is dna1 or dna2&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ create/dir dna2:[microct]&lt;br /&gt;
  $ copy dk0:[microct]&lt;br /&gt;
or&lt;br /&gt;
  $ backup/log dk0:[&lt;br /&gt;
and then&lt;br /&gt;
  $ dismount dna2&lt;br /&gt;
&lt;br /&gt;
Transfer files back again&lt;br /&gt;
&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ dir dna2:[microct]&lt;br /&gt;
  $ copy dna2:[microct]myfile.txt disk1:[microct.data.00000702.00001234]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===USB Device Usage with Scanco Backup/Archive Software===&lt;br /&gt;
&lt;br /&gt;
For illustrated help on USB device usage on Itanium systems, please refer to [[Media:Scanco_TD387_USB_Device_Usage.pdf ‎ | &#039;&#039;&#039;Scanco_TD387_USB_Device_Usage.pdf ‎&#039;&#039;&#039; ]]&lt;br /&gt;
 &lt;br /&gt;
====Initialize procedure====&lt;br /&gt;
If an external USB device is to be used to archive measurement data, the USB device must be initialized by Open-&lt;br /&gt;
VMS. The data will not be accessible from any other operating system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium rx2660.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1.1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Initialize&amp;lt;” button in the “USB Device” section to initialize the USB device.&lt;br /&gt;
&lt;br /&gt;
- Confirm the Warning message. Note: All data currently on the device will be erased!&lt;br /&gt;
&lt;br /&gt;
- Enter a six-character label&lt;br /&gt;
&lt;br /&gt;
The USB device will be initialized and mounted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Archive procedure====&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Mount” button in the “USB Device” section to mount the USB device.&lt;br /&gt;
&lt;br /&gt;
The device label of the mounted USB device will be shown in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be archived.&lt;br /&gt;
&lt;br /&gt;
- Select “Move To:” and “USB/VMS” and click “Start&amp;lt;” to archive the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
After the move procedure, the new current location of the measurement data will be shown next to the files path.&lt;br /&gt;
&lt;br /&gt;
- “Dismount” the USB device when done with archiving.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Manual file copy procedure====&lt;br /&gt;
An OpenVMS formatted USB device can also be mounted and used for file storage using commands in a DECterm.&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- List available devices. The last shown device is usually the attached USB device; dna12 in this example.&lt;br /&gt;
    $ show device dna&lt;br /&gt;
&lt;br /&gt;
- Mount the USB device using the correct device name&lt;br /&gt;
    $ mount /over=id dna12&lt;br /&gt;
&lt;br /&gt;
- Create a root directory. Ignore any messages if the directory already exists.&lt;br /&gt;
    $ create /dir dna12:[microct]&lt;br /&gt;
&lt;br /&gt;
- Copy any wished files to the USB device&lt;br /&gt;
    $ copy {source files} dna12:[microct] /log&lt;br /&gt;
&lt;br /&gt;
- Dismount the USB device&lt;br /&gt;
    $ dismount dna12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Exporting Files / FAT file system====&lt;br /&gt;
If an external USB device is to be used to export measurement data to a Windows or MAC OS, the USB device must be formatted as FAT file system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Do not “Initialize&amp;lt;” or “Mount” the USB device !&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be copied to the USB device, may be even sub-select the wished file type&lt;br /&gt;
(TIF files in the example below).&lt;br /&gt;
&lt;br /&gt;
- Select “Copy To:” and “USB/FAT” and click “Start&amp;lt;” to copy the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
Once the USB device is connected to Windows or MAC OS, it will show a ZIP file named like the copied measurement&lt;br /&gt;
number. This ZIP file contains the same directory structure like the data disk on OpenVMS: &lt;br /&gt;
&lt;br /&gt;
data\sample number\measurement number&lt;br /&gt;
&lt;br /&gt;
In the lowest sub-directory are the copied files, as selected in the backup/archive software (TIF files in this example).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Problems with connected USB devices===&lt;br /&gt;
&lt;br /&gt;
Sometimes USB configurations can be problematic, in which case log in as &amp;quot;system&amp;quot; on the server and run&lt;br /&gt;
&lt;br /&gt;
  $ dir/date SYS$SYSROOT:[SYSEXE]USB$UCM_DEVICES.DAT&lt;br /&gt;
&lt;br /&gt;
to see whether a file was created recently. If one has, delete that file and reboot the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==CDROM==&lt;br /&gt;
===Mount a CDROM===&lt;br /&gt;
&lt;br /&gt;
Device could be &amp;lt;code&amp;gt;dqa0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dqb0&amp;lt;/code&amp;gt;.  I&#039;m not sure which works:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/override=id dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dismount dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Saveset and Zip files==&lt;br /&gt;
&lt;br /&gt;
===Saveset===&lt;br /&gt;
&lt;br /&gt;
====Saveset Naming Convention====&lt;br /&gt;
The Scanco backup program stores raw (RAW) and image (IMA) data as save sets (SAV).  &lt;br /&gt;
*RAW save sets contain RSQ files and IMA savesets contain all other file types.  &lt;br /&gt;
*The saveset filename is composed of the 8-digit measurement number plus &amp;quot;_RAW.SAV&amp;quot; for raw data and &amp;quot;_IMA.SAV&amp;quot; for image data.  &lt;br /&gt;
*For example, the data for a scan with measurement number 1234 would be stored as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00001234_RAW.SAV  ?  RSQ&lt;br /&gt;
00001234_IMA.SAV  ?  all other files, ISQ, AIM, GOBJ, TXT, SCV, etc.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Create and Unpack Saveset====&lt;br /&gt;
Savesets are OpenVMS backup files, similar to a zip.  Use the backup command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG disk3:[microct.projects.buie...] disk3:[microct.projects]buie2012.sav/sav	&lt;br /&gt;
                !Creates a saveset file of disk3:[microct.projects.buie].  &lt;br /&gt;
                !The ... after the folder indicates to include all subfolders and files.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie]&lt;br /&gt;
                !Unpacks the whole saveset to disk3:[microct.projects.buie]&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie...]	&lt;br /&gt;
                !The ... at the end of the output location indicates to unpack the saveset and maintain the original directory structure.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=*.aim disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of only aim file types.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=[microct.data...] disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of the folder data and all subfolders and files.&lt;br /&gt;
$ HELP BACKUP   !More information on the backup command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====View Saveset Contents====&lt;br /&gt;
To view contents of a saveset (SAV) on disk:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/list upat_print_list_nomatch.sav/sav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the savesets (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view contents of a saveset (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list tp0:*.*  ! OR, backup/list tp0:*.SAV&lt;br /&gt;
or&lt;br /&gt;
$ backup/list=results.txt tp0:*.*  ! save output in results.txt&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An idea to get the results of the backup/list into a text file: Run the procedure in a submitted script and save the resulting log file with all the output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Extract a single file from SaveSet====&lt;br /&gt;
&lt;br /&gt;
In a large SaveSet, sometimes we only want one file extracted, not the whole archive extracted. This can be done with&lt;br /&gt;
&lt;br /&gt;
  $ backup /log /select=myfile.txt mysaveset.sav /sav disk1:[microct.scratch]&lt;br /&gt;
&lt;br /&gt;
or []  as destination will put the file in the current directory.&lt;br /&gt;
&lt;br /&gt;
This can take a while as it looks through all the saveset. Once it logs that the file has been restored, you may interrupt with F6. Else it goes on looking through the rest of the saveset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Saveset from microCT to XtremeCT====&lt;br /&gt;
&lt;br /&gt;
You can create a SAV set of your project on the VivaCT and transfer it to the Xtreme system, or vice-versa.&lt;br /&gt;
First, create the SAV set using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
$ BACKUP/LOG DISK3:[MICROCT.PROJECTS.SB.MYPROJECT...]*.*;* -&lt;br /&gt;
     SYS$SCRATCH:MYPROJECT.SAV/SAV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This creates the MYPROJECT.SAV file in the scratch directory.  Now zip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; MYPROJECT.ZIP MYPROJECT.SAV  (NOTE: must use quotes and a capital V!!!!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
FTP the .ZIP file to SODOR ( in binary mode!!!), and then FTP it off onto your destination system (Viva or Xtreme).  See the appropriate HowTo for FTP instructions.  Once you&#039;ve FTP&#039;d it, unzip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip MYPROJECT.ZIP&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, unpack the contents of the .SAV file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG MYPROJECT.SAV/SAV DISK3:[MICROCT.PROJECTS.MYPROJECT] &amp;lt;--- or whatever destination directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NOTE:  transferring a .SAV directly from VMS to VMS should work, but not via any third operating system (like SODOR) - so zipping is always the safe way to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Zip===&lt;br /&gt;
&lt;br /&gt;
====Zip and Unzip files====&lt;br /&gt;
Use the zip program to add files to a zip archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ZIP myzip.zip myfile.txt;1	                !Adds myfile.txt to myzip.zip.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip myfile.txt;1	        !Adds myfile.txt;1 to myzip.zip.  The &amp;quot;-V&amp;quot; maintains the OpenVMS version number.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip [.subdir...]*.*;*	        !Adds all files within subdir to myzip.zip, maintaining their version number.&lt;br /&gt;
$ ZIP	                                        !Displays the help for the zip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the unzip program to unzip an archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UNZIP &amp;quot;-V&amp;quot; myzip.zip		                !Extracts myzip.zip, maintaining the OpenVMS structure.&lt;br /&gt;
$ UNZIP		                                !Displays the help for the unzip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Zip between Scanco systems====&lt;br /&gt;
&lt;br /&gt;
Files must be zipped before transfer by e-mail or ftp because important attributes will be lost in the transfer otherwise.&lt;br /&gt;
&lt;br /&gt;
To transfer files from system A to B, do the following.&lt;br /&gt;
&lt;br /&gt;
On system A:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_SAMPLES_TORONTOXT.DAT  ! for each filename&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will add both files to the same zip file.&lt;br /&gt;
&lt;br /&gt;
Note: &amp;quot;-V&amp;quot; is very important, it must be capital V!&lt;br /&gt;
&lt;br /&gt;
Transfer the file by e-mail, or by ftp.&lt;br /&gt;
&lt;br /&gt;
On system B:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip -j for_calgary.zip  ! to unzip on your end them (-j to &#039;junk&#039; the original file path)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Unpack Zip sent by Scanco====&lt;br /&gt;
In the .zip file, you&#039;ll find a .sav file. Unzip the .zip just by saying&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ unzip xxxx.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxxx.sav/sav disk3:[steve.devel.temp]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will unpack everything into &amp;lt;code&amp;gt;disk3:[steve.devel.temp]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/list xxxx.sav/sav&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you see what&#039;s in the .sav.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxx.sav/sav/sel=[andres.uct.ipl_for_cust...] disk3:[steve.devel.cipl...]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will create the same diretory tree in steve.devel.cipl as it was when I &lt;br /&gt;
packed it into the .sav.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Backup and Archive==&lt;br /&gt;
&lt;br /&gt;
===UI Procedures===&lt;br /&gt;
&lt;br /&gt;
====µCT Disk-Utility====&lt;br /&gt;
The µCT Disk-Utility Program is used to archive and restore scan data. To start the program type &amp;lt;code&amp;gt;$ uct_backup&amp;lt;/code&amp;gt; in a DEC terminal, or use the disk button.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup.jpg|40px]]&lt;br /&gt;
*The backup captures both the programs and databases.&lt;br /&gt;
*A little helper terminal comes up and gives feedback of every file backed up.&lt;br /&gt;
[[File:Uct_backup_pic01.jpg|600px]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two possible ways to use &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt;:&lt;br /&gt;
:* COPY TO -&amp;gt; this does not update the database.&lt;br /&gt;
:* MOVE TO -&amp;gt; this updates the database.&lt;br /&gt;
&lt;br /&gt;
Scenario 1: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Use UCT_BACKUP to &#039;move&#039; the remainder (AIM/GOBJ) to &#039;tape&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*At operation 3, the measurement directory will be deleted from the measurement disk.  &lt;br /&gt;
*The directory will automatically be restored if you restore your data from tape.&lt;br /&gt;
&lt;br /&gt;
Scenario 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Move all the GOBJ/AIM/etc to a project directory.&lt;br /&gt;
4. Generate a .SAV file and put on the IMA tape.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You will have to delete the measurement directories (using UCT_BACKUP if you like). &lt;br /&gt;
*The disadvantage of this scenario is that the image data cannot be restored using UCT_BACKUP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Raw Data Backup====&lt;br /&gt;
*Ideally 1-2 week after scanning.&lt;br /&gt;
*RSQ files are backed up onto RAW tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  Put the most recent RAW tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
*Show &amp;quot;Current (with RAW)&amp;quot;, use the file filter (Measurement:     ) to search for your files (e.g., CAMOS) and press enter or press &amp;quot;Update List&amp;quot;.  &lt;br /&gt;
*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
*Highlight RAW, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.  &lt;br /&gt;
*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape. &lt;br /&gt;
*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
*If you select multiple files, be sure they all need to be backed up, otherwise you will get an error.&lt;br /&gt;
:[[File:Uct_backup_pic04.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Image Data Backup====&lt;br /&gt;
*Ideally 1-2 months after scanning, after contouring, onsite analysis and copied image data to project disk.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Delete ISQ After Evaluation&#039;&#039;&#039; &lt;br /&gt;
#*ISQ files are normally deleted after completing your evaluation since they are very large files and can be reconstructed from the RSQ file. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type the beginning of your sample name (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;.&lt;br /&gt;
#*Select all the files for which you have completed the evaluation (there will be a + sign next to any scan that has been evaluated).  #*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Trash&amp;quot;.  &lt;br /&gt;
#*[[File:Important.JPG|20px]] After you choose the trash symbol, you will now be given the option to select specific file types, choose &amp;quot;Select&amp;quot; and &amp;quot;ISQ&amp;quot;.  Press &amp;quot;Start...&amp;quot;.&lt;br /&gt;
#*Only choose one file type to delete at a time. The wildcard (*) indicate all files other than &amp;quot;ISQ&amp;quot; and &amp;quot;AIM&amp;quot; files.&lt;br /&gt;
#:[[File:Uct_backup_pic05.jpg|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Backup IMAGE Data&#039;&#039;&#039; &lt;br /&gt;
#*AIM, GOBJ and other evaluation files are backed up onto IMA tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  &lt;br /&gt;
#*Put the most recent IMA tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type in the beginning of your sample names (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;. &lt;br /&gt;
#*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
#*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.   &lt;br /&gt;
#*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape.  &lt;br /&gt;
#*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
#:[[File:Uct_backup_pic06.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use &#039;Script...&#039; button====&lt;br /&gt;
Usually, you will start the move/copy by clicking on &amp;lt;code&amp;gt;&#039;Start...&#039;&amp;lt;/code&amp;gt; button. The &amp;lt;code&amp;gt;&#039;Script...&#039;&amp;lt;/code&amp;gt; button is for advanced users.&lt;br /&gt;
&lt;br /&gt;
*Use of the &#039;Script...&#039; button will generate a script &amp;lt;code&amp;gt;sys$scratch:archive.com&amp;lt;/code&amp;gt;, that you may submit it in batch mode later (e.g. over night) by typing: &amp;lt;pre&amp;gt;$ scanco_submit_command sys$scratch:archive.com/after=23:59&amp;lt;/pre&amp;gt;&lt;br /&gt;
*In a multi-computer cluster setup, you may want to specify the exact queue name of the computer that has the tape hooked up by giving e.g. &amp;lt;code&amp;gt;/que=sceval_fast&amp;lt;/code&amp;gt;.&lt;br /&gt;
*Insert a tape, but do NOT mount the tape in the normal program. If necessary: if it&#039;s a new tape, [[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;initialize&#039;&#039;&#039;]] it as usual. &lt;br /&gt;
*The batch job will be started one minute before midnight in the example above. &amp;lt;code&amp;gt;$ show entry&amp;lt;/code&amp;gt; will show you that it is holding until then.&lt;br /&gt;
*See &amp;lt;code&amp;gt;$ help submit /after&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ help dcl_tips date_time example&amp;lt;/code&amp;gt; for more help on this.&lt;br /&gt;
*Sample script file (archive.com) restoring the RSQs of measurements 6452 and 6580:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
COPY&lt;br /&gt;
DISK&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6452)&lt;br /&gt;
MEAS&lt;br /&gt;
6452&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6580)&lt;br /&gt;
MEAS&lt;br /&gt;
6580&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Database Backup====&lt;br /&gt;
&lt;br /&gt;
The database (DB) backup should be performed for each user on the system. It should not be performed as user &#039;calibration&#039; or some derivative. In the case of the XtremeCT2 and XtremeCT cluster, both the &#039;microct&#039; and &#039;xtremect2&#039; user accounts must be used to backup their respective DB. &lt;br /&gt;
&lt;br /&gt;
By performing the DB backup, the warning dialog that appears when logging into the system should go away.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Operating System (OS) Backup====&lt;br /&gt;
If the following error-message appears on the screen then you can click OK to continue your work. &lt;br /&gt;
&lt;br /&gt;
     MESSAGE: No recent OS Backup found!&lt;br /&gt;
     Please perform OS backup (DISK0) in privileged account!&lt;br /&gt;
     %RMS-W-FNF file not found.&lt;br /&gt;
     CODE: 268534416&lt;br /&gt;
     Facility RTL&lt;br /&gt;
&lt;br /&gt;
This message means that no operating system (OS) backup has been performed within the last 6 months. Please perform an OS backup as soon as possible by following the steps below:&lt;br /&gt;
&lt;br /&gt;
1. Make sure there are no scans in progress and that the que is halted from all activity.&lt;br /&gt;
&lt;br /&gt;
2. Log in to the calibration account: Since we have two scanners on the same system, login as either &amp;quot;calib3401&amp;quot; or &amp;quot;calib3309&amp;quot;, depending if you need to backup the XtremeCT2 or XtremeCT, respectively. For microCT clusters, (best to do this on SCEVA3) using the username calib5019 and the password (ask Steve for this).&lt;br /&gt;
&lt;br /&gt;
3. Type in the DECterm window:&lt;br /&gt;
          $ set proc/priv=bypass&lt;br /&gt;
Or Set priviledge to bypass by &amp;lt;code&amp;gt;$ spb&amp;lt;/code&amp;gt;&lt;br /&gt;
          $ r um:uct_b     Or $ uct_backup&lt;br /&gt;
&lt;br /&gt;
4. You will now see 2 additional buttons on the bottom left that is not seen when logged in as microct user. Push either the button &amp;quot;OS Backup to Disk DK0&amp;quot; or mount the specific OS backup tape and push the &amp;quot;OS Backup to Tape&amp;quot; button.&lt;br /&gt;
* A system backup to tape and to DK0 should both be performed. &lt;br /&gt;
&lt;br /&gt;
5. Check the command line &amp;amp; queue to ensure that the backup is being carried out. If you submit the job as &#039;batch mode&#039; the backup is submitted to SYS$BACKUP queue and allows you to close the backup program and &#039;end session&#039; without interrupting a running backup. Check with &#039;show queue&#039; to see the backup job on the queue.&lt;br /&gt;
&lt;br /&gt;
6. Exit the Backup Program and log out of the calibration account.&lt;br /&gt;
&lt;br /&gt;
After a successful OS backup the message above will not appear for the next six months.&lt;br /&gt;
&lt;br /&gt;
Alternatively a system backup can be completed using the command line, without using the uct_backup program. The instructions from Scanco can be found here. The advantage to this method is that you will be able to name the specific backup save set.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Using Scripts for Backup/Archive===&lt;br /&gt;
&lt;br /&gt;
====Project Backup/Archive====&lt;br /&gt;
*Refer to [[Media:Microct_project_backup.pdf|&#039;&#039;&#039;Project Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_project_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Backup Project=====&lt;br /&gt;
Regularly backup projects on a monthly basis using command &amp;lt;code&amp;gt;$ @com:BACKUP_PROJECT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
*The script is submitted to the queue and upon completion the log is emailed to the user.&lt;br /&gt;
*a SAVset (an OpenVMS file type similar to a zip file), a project info file and a file list are created in DISK5:[BONELAB.PROJECTS.BACKUP] for the microCTs and DISK4:[BONELAB.PROJECTS.ARCHIVE.ARCHIVE] for the XtremeCTs.&lt;br /&gt;
*The saveset along with two TXT files created will be automatically SFTP to Winston:\\Backups\backup\&lt;br /&gt;
*After the transfer, the saveset file on disk are deleted, leaving only two TXT files on the project disk.&lt;br /&gt;
*Only keep the two most recent backups for each project, A or B version name appended on the project name:&lt;br /&gt;
:*Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
:*Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
*The user MUST verify that the backup completed successfully.&lt;br /&gt;
*SAVsets greater than 250 GB cannot be transferred by automatic SFTP, use interactive/manual SFTP instead to transfer to Winston. &lt;br /&gt;
*If you are backing up a very large project, please check the server disk space before starting the backup. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:BACKUP_PROJECT.COM&lt;br /&gt;
===========================================================&lt;br /&gt;
BACKUP PROJECT TOOL V1.2 (XtremeCT)&lt;br /&gt;
 P1:LOCATION        DISK4:[BONELAB.PROJECTS.DUNCAN]&lt;br /&gt;
 P2:TYPE            1=MOUSE,2=RAT,3=HUMAN,4=OTHER&lt;br /&gt;
 P3:PROJECT         CAMOS&lt;br /&gt;
 P4:PERSON          Ying Zhu&lt;br /&gt;
 P5:DESCRIPTION     A monthly backup&lt;br /&gt;
 P6:EMAIL           me@ucalgary.ca&lt;br /&gt;
 P7:SFTP            y,n&lt;br /&gt;
 P8:START           y,n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Restore Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_RESTORE.COM script which will automatically generate a script to restore a user&#039;s project.  &lt;br /&gt;
*The saveset file has to be moved to Winston:\\Backups\archive folder to be restored.&lt;br /&gt;
*The user will be asked if they wish to restore to the original location, or to a new location.&lt;br /&gt;
*The script is submitted to the queue and the log from the restore job is emailed to the user. &lt;br /&gt;
*The user MUST verify that the job completed successfully.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_RESTORE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Delete Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_DELETE.COM script which will automatically generate a script to delete all the files and subdirectories of a specified path.&lt;br /&gt;
*The command script is opened so that the user can check the files to be removed to go ahead.&lt;br /&gt;
*You will need to manually delete the root project directory after it&#039;s empty.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_DELETE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Known Bugs in Project Tools=====&lt;br /&gt;
*Long file name won&#039;t work (28 letters work but not 32 letters).&lt;br /&gt;
*if the user specifies too long a file name, the Project Backup Scripts will fail with the following error:&lt;br /&gt;
     RMS-E-CRE, ACP file create failed&lt;br /&gt;
     SYSTEM-W-BADFILENAME, bad file name syntax&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Archive Project Saveset to Tape=====&lt;br /&gt;
Projects should be stored safely onto a backup tape once complete.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Summary&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps summarize the process:&lt;br /&gt;
:* Archive the project directory to the tape (detailed instructions below).&lt;br /&gt;
:* Change tape to &amp;quot;read only&amp;quot; to protect contents&lt;br /&gt;
:* Check tape saveset to ensure proper backup&lt;br /&gt;
:* Write name of tape on the project LOG sheet&lt;br /&gt;
:* Copy project LOG sheet and bring to Bone Imaging Laboratory &amp;quot;completed&amp;quot; project book&lt;br /&gt;
:* Bring copy of tape to the Bone Imaging Laboratory for safe keeping&lt;br /&gt;
:* &amp;lt;b&amp;gt;Delete&amp;lt;/b&amp;gt; the contents of the project from the disk&lt;br /&gt;
&lt;br /&gt;
In the project, there should be the regular set of directories including DOC, COM, MODELS, LOG.  Once the project is stored to tape, ensure that the log sheet for that project include a note stating which tape it was backed up to.  Take a photocopy of the log sheet and add it to our Bone Imaging Laboratory project book for COMPLETED projects.&lt;br /&gt;
&lt;br /&gt;
In the following example, a project titled BERN is backed up onto tape.  Ideally, the name of the SAV file on tape is the same as the project (i.e., BERN).  Note that &amp;lt;b&amp;gt;SAV files must have names with no more than 13 characters (including the .SAV)!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example backs the BERN project/directory onto tape IMA001.  For large projects and/or critical projects, it is advisable to dedicate an entire tape.  The three dots (...) indicate that ALL subfolders of DK0:[MICROCT.PROJECTS.BERN] will be included.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
&lt;br /&gt;
$ backup/log dk0:[microct.projects.bern...]*.*;* tp0:proj_bern.sav -  ! writes a saveset to tape&lt;br /&gt;
        /block=65534 /label=IMA001 -&lt;br /&gt;
        /media_format=nocompaction     ! NEVER use the /rewind option here&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.sav/select=*.isq DISK4:[BONELAB.PROJECTS.TBONE.ISQ_FROM_TAPE...]/by=parent  ! extracts all ISQ files from the tape&lt;br /&gt;
&lt;br /&gt;
$ dismount tp0:  &lt;br /&gt;
$ dismount tp0: /nounload ! same as previous command, but does not eject the tape (i.e. if you want to read the tape once more)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the &amp;lt;code&amp;gt;/rewind&amp;lt;/code&amp;gt; option should never be used for backup as it instructs the tape drive to rewind after backup is complete causing a major risk of over writing.&lt;br /&gt;
&lt;br /&gt;
Sometimes it might be handy to exclude certain files.  For example, to exclude RSQ files: &amp;lt;code&amp;gt;/excl=*.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A good reference for backup commands and ideas are available in the &amp;lt;code&amp;gt;UM:UCT_MOVE_FILES.COM&amp;lt;/code&amp;gt; script which is used by the &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt; program.  See also the &amp;lt;code&amp;gt;help backup&amp;lt;/code&amp;gt; instructions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help backup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the contents of a tape to ensure you&#039;ve successfully stored your project use the following commands (further details in &amp;quot;HowTo: View save set (SAV) contents&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
To just view if the saveset is on tape (but not its contents):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: you can also save the saveset list in a text file using the /output qualifier.&lt;br /&gt;
&lt;br /&gt;
To view the files within a saveset on tape, and save the results in a file called &amp;lt;code&amp;gt;results.txt&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list=results.txt tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete a set of directories, use the &amp;lt;code&amp;gt;dl&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ur BERN&lt;br /&gt;
$ del *.*;*   ! Deletes ALL files in a directory&lt;br /&gt;
$ dl *.dir;*  ! Will only delete empty directories (not nested directories)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Extract Project Saveset from Tape=====&lt;br /&gt;
To restore a project, you have two choices:&lt;br /&gt;
*1. Login as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then go to the projects directory. From there:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ spb (bypass priv)&lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind [*...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This puts all the files back in their original directory structure.&lt;br /&gt;
&lt;br /&gt;
*2. As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
 &lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind/select=[microct.projects.davison...]&lt;br /&gt;
     disk2:[microct.projects.davison...]&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.*/rewind disk3:[microct.projects.vitamink.models]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure to write the &amp;lt;b&amp;gt;same&amp;lt;/b&amp;gt; path in the /select as the output (except for the &lt;br /&gt;
actual disk2 portion).  Alternatively, you could unpack it into a slightly different root&lt;br /&gt;
directory (i.e., TMP) by changing the output path.&lt;br /&gt;
&lt;br /&gt;
The three dots infers to use the same paths in the saveset as the file structure put onto disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scripts to Backup RAW and IMA====&lt;br /&gt;
A script can be output from the backup tool to backup and restore data using the backup program.  &lt;br /&gt;
*When restoring data using this method, choose the COPY to DISK option. The data will be restored to its original location on the data disk.  &lt;br /&gt;
*You must manually submit the script to the backup queue.  &lt;br /&gt;
*The command procedures are written to SYS$SCRATCH:ARCHIVE.COM.  &lt;br /&gt;
*Here is the sample script for backing up RAW data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Here is the sample script for backing up IMA data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
IMA&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Usage information====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:DISK_MOUNTIES.COM	                !Give data disk usage information on an account.&lt;br /&gt;
$ eve sys$scratch:disk_mounties_output_summary.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template file for summarizing the disk mounties results: [[Media:BoneLab_Data_Disc_Usage.xlsx|&#039;&#039;&#039;BoneLab_Data_Disc_Usage.xlsx&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To look at the RSQs in the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir/siz dk0:[microct.data...]*.rsq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
the three dots means all subdirectories.&lt;br /&gt;
&lt;br /&gt;
Other useful commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.isq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
shows you header.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fda command file-wildcard&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
does a &#039;file do all&#039; of the command on all the given wildcard filenames.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe xxxx | search sys$pipe &amp;quot;patient&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
is the pipe command in VMS.&lt;br /&gt;
&lt;br /&gt;
So all three combined:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe fda ctheader dk0:[microct.data...]*.rsq | search sys$pipe &amp;quot;patient name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or any other field you want to search for! &lt;br /&gt;
&lt;br /&gt;
If you have a more complex program to run (e.g. with an argument), use the double quotes as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pipe fda &amp;quot;aix -l&amp;quot; *.AIM | search sys$pipe &amp;quot;Patient Name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other ideas&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ write_info&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives you a file &amp;lt;code&amp;gt;sys$scratch:info.txt&amp;lt;/code&amp;gt; with info in it (leave defaults to get all samples ever scanned, otherwise &#039;zoom&#039; in on some samples.)&lt;br /&gt;
&lt;br /&gt;
Check out the &amp;lt;code&amp;gt;search&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help search&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and &amp;lt;code&amp;gt;/match=and&amp;lt;/code&amp;gt;&lt;br /&gt;
or &amp;lt;code&amp;gt;/match=or&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Backup====&lt;br /&gt;
In the commands directory (com) is a BACKUPDISK script which will automatically generate scripts to backup all the directories on the projects disk.  &lt;br /&gt;
*As the backup requires significant amounts of space, please check the server disk space before starting the backup. &lt;br /&gt;
*Each directory is saved as a separate save set (an OpenVMS file type similar to a zip file) on Winston://Bonelab/Backup/.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUPDISK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_disk_backup.pdf|&#039;&#039;&#039;Disk Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_disk_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Process, Printer and System=&lt;br /&gt;
&lt;br /&gt;
==Processes and Jobs==&lt;br /&gt;
&lt;br /&gt;
===Manage jobs in the queue===&lt;br /&gt;
Use the DELETE/ENTRY and SET ENTRY commands to manage a batch job.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SH QUE                                        !Get process info&lt;br /&gt;
$ SH QUE /all/by_job_status=executing           !Get all executing process info&lt;br /&gt;
$ SHOW ENTRY 1131 /full                         !Get full process info of entry 1131&lt;br /&gt;
$ SE 1311                                       !Get full process info of entry 1131&lt;br /&gt;
&lt;br /&gt;
$ DELETE /ENTRY=251                             !Deletes batch job number 251.&lt;br /&gt;
&lt;br /&gt;
$ SET ENTRY 251/PRIORITY=50                     !Changes the priority of batch job number 251. &lt;br /&gt;
                                                !Default priority is 100 for all jobs, max is 200.&lt;br /&gt;
$ SET ENTRY 251/REQUEUE=SCEVAL_FAST             !Moves to queue sceval_fast. &lt;br /&gt;
                                                !The job cannot be executing to do this, has to be in pending status.&lt;br /&gt;
$ SET ENTRY 251/AFTER=TOMORROW                  !Holds entry 251 until the following day (midnight).&lt;br /&gt;
&lt;br /&gt;
$ HELP SET ENTRY                                !More information on the SET ENTRY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Control processors # on multi-processor machines===&lt;br /&gt;
&lt;br /&gt;
For example, on the itanium there are two processors.  By default, only one takes reconstruction jobs.  The other is left for so that evaluations can take place without competing for the CPU. &lt;br /&gt;
&lt;br /&gt;
But if a bottleneck is the reconstruction, it can be switched as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set que sceva2_slow/job=2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so that it will do two reconstruction jobs simultaneously.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create a new queue===&lt;br /&gt;
This may be useful to separate jobs for a project.  The following will create a queue called BUIE$FAST, which will submit jobs to SCEVAL_FAST and SC3309_FAST.&lt;br /&gt;
&lt;br /&gt;
 $ initialize/queue/GENERIC=(SCEVAL_FAST,SC3309_FAST)/OWNER=[SYSTEM] -&lt;br /&gt;
   /PROTECTION=(S:M,O:D,G:R,W:S)/BATCH/START BUIE$FAST&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Clear out all entries in a queue===&lt;br /&gt;
First create a dummy queue, then merge (i.e., move) all the entries from the queue to be cleared into it, then delete the dummy queue.&lt;br /&gt;
&lt;br /&gt;
Example:  Clear out the printer queue.&lt;br /&gt;
 $ stop/reset printer1&lt;br /&gt;
 $ initialize/que dummy&lt;br /&gt;
 $ assign/merge dummy printer1&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
 &lt;br /&gt;
Example:  Clear out a batch queue, e.g., sys$fast.&lt;br /&gt;
 $ initialize/que/batch dummy&lt;br /&gt;
 $ assign/merge dummy sys$fast&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart queues===&lt;br /&gt;
There are three methods.  First the nice method.&lt;br /&gt;
&lt;br /&gt;
1. As for the printer queue, a normal user can stop and start other queues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/reset sceval_slow&lt;br /&gt;
$ start sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This kills the current process running.  If you want to let the current process complete before stopping the queue, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use the web browser Mozilla.&lt;br /&gt;
&lt;br /&gt;
:*Open mozilla&lt;br /&gt;
:*&#039;batch queues&#039;&lt;br /&gt;
&lt;br /&gt;
:*Resize the window so it occupies the right half of the screen&lt;br /&gt;
&lt;br /&gt;
:*Click on &#039;delete job&#039; once with the MIDDLE mouse button, this will open a new window on the right half of the screen. Ensure the two windows do not overlap, if they do resize the window which contains the batch queues list. Once window locations are correct MIDDLE click on the rest of the jobs which you wish to delete (click on &#039;Delete Job&#039; in the batch queue list). The reason for locating the widows is because each successive click on &#039;Delete Job&#039; will open a new window and you don&#039;t want it to cover the batch queues list.&lt;br /&gt;
&lt;br /&gt;
:*Then Exit from mozilla, this will delete all the open windows, it may take a bit if you are deleting lots.&lt;br /&gt;
&lt;br /&gt;
3. Now the harsh method.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Completely remove the queue and re-generate, as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset sc3309_slow&lt;br /&gt;
$ delete/queue sc3309_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you must restart the queue.  To learn how to do this refer to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eve sys$startup:dcps_hpljet_ip.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Kill hunging processes===&lt;br /&gt;
&lt;br /&gt;
Sometimes jobs need to be stopped manually, such as when FTP or TCPIP is hung. This is done as follows:&lt;br /&gt;
&lt;br /&gt;
Checked processes with  &lt;br /&gt;
  $ show sys&lt;br /&gt;
where the FTP jobs are running. Doing it as &amp;lt;b&amp;gt;system&amp;lt;/b&amp;gt; with these commands would show all the FTP jobs on all nodes:&lt;br /&gt;
  $ mcr sysman&lt;br /&gt;
  SYSMAN&amp;gt; set env /cluster&lt;br /&gt;
  SYSMAN&amp;gt; do pipe sh sys|sear sys$pipe ftpc&lt;br /&gt;
It showed that they all were running on SCEVA1 only. So I logged in there and using the IDs given at the list from above&#039;s command:&lt;br /&gt;
  $ stop/id=29804056&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Check CPU usage and kill a process===&lt;br /&gt;
Determine what process is using all the CPU (e.g., SYMBIONT, a print process) using the monitor command, then use the show system command to determin the Pid, which can be used to stop the process.&lt;br /&gt;
&lt;br /&gt;
The print (SYMBIONT) process is known to consume excessive CPU when the clocks are advanced for daylight savings on the alpha systems.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor process/topcpu&lt;br /&gt;
$ show system&lt;br /&gt;
OpenVMS V7.3-2 on node SCEVAL 6-APR-2009 12:42:22.82 Uptime 124 23:16:08&lt;br /&gt;
Pid      Process Name     State  Pri  I/O         CPU         Page flts Pages&lt;br /&gt;
20C00081 SWAPPER          HIB    16   0      0 01:07:05.63     0         0&lt;br /&gt;
20C00087 CLUSTER_SERVER   HIB    14   2218   0 00:00:00.54    63        77&lt;br /&gt;
20C00088 CONFIGURE        HIB    10   23     0 00:00:00.02    54        20&lt;br /&gt;
20C00089 LANACP           HIBO   13   -- swapped out --                 32&lt;br /&gt;
20C0008B FASTPATH_SERVER  HIB    10   9      0 00:00:00.01    79        94&lt;br /&gt;
20C0008C IPCACP           HIB    10   10     0 00:00:00.02    37        28&lt;br /&gt;
$ show process/all/id=Pid&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ stop/id=Pid&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Process Name = BATCH_122  means entry 122 in the queue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Printer==&lt;br /&gt;
&lt;br /&gt;
===Set up TCPIP printer queue on a VMS workstation===&lt;br /&gt;
  $ stop/que/res hpljet&lt;br /&gt;
  $ tcpip set nohost hpljet&lt;br /&gt;
  $ tcpip set host &amp;quot;hpljet&amp;quot; /address= xxx.xxx.xxx.xxx&lt;br /&gt;
  $ start hpljet&lt;br /&gt;
&lt;br /&gt;
Note that many HP printers will not work with OpenVMS. Checking for compatibility is important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart the printer queue===&lt;br /&gt;
&lt;br /&gt;
How to fix the printer queue when hung, not working or giving an error.&lt;br /&gt;
A full printer queue can seriously affect system performance.  &lt;br /&gt;
Be sure that the queue is cleaned up from time to time.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to first find out the real name of your printer queue. &lt;br /&gt;
* Replace &amp;quot;hpljet&amp;quot; and &amp;quot;...dcps_hpljet...&amp;quot; by your own queue (i.e., PRINTER1 for XtremeCT) name below. &lt;br /&gt;
* First approach, as normal user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset hpljet&lt;br /&gt;
$ start/queue hpljet&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to release a job&lt;br /&gt;
  $ set entry/release 123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==System==&lt;br /&gt;
&lt;br /&gt;
===Monitor System===&lt;br /&gt;
====Monitor system usage====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor/interval=1 processes/topcpu&lt;br /&gt;
$ monitor/interval=1 system&lt;br /&gt;
$ show error&lt;br /&gt;
$ show system&lt;br /&gt;
$ @SCOM:SHOW_DISKS.COM (or simply $ DISKS)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;show error&amp;lt;/code&amp;gt; may indicate errors.  One or two errors is OK.&lt;br /&gt;
&lt;br /&gt;
To see what processes are running (specific to the machine, not cluster wide).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device disk2/file&lt;br /&gt;
$ show user /full&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of OpenVMS system====&lt;br /&gt;
&lt;br /&gt;
If when rebooting a VMS system there is a failure, sometimes a message can be repeated many times. The way to stop this repeating message is to press &amp;lt;code&amp;gt;ctrl-C&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ctrl-P&amp;lt;/code&amp;gt; to get to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
&lt;br /&gt;
Then show some of the device information, either specifically&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device py*&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device dy*&lt;br /&gt;
&lt;br /&gt;
or in general&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
&lt;br /&gt;
which might show more than needed. The output of&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show bootdef_dev&lt;br /&gt;
&lt;br /&gt;
can also be useful.&lt;br /&gt;
&lt;br /&gt;
Once settings are all good, you can reboot the system with&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set bootbios pyb0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disk status====&lt;br /&gt;
Login as the system user on the workstation connected to the disk array that you want to check.&lt;br /&gt;
&lt;br /&gt;
 $ run sys$system:msa$util.exe&lt;br /&gt;
 MSA&amp;gt; set controller&lt;br /&gt;
&lt;br /&gt;
Show the raid volumes (e.g., to check if it failed or is recovering).&lt;br /&gt;
 MSA&amp;gt; show unit&lt;br /&gt;
&lt;br /&gt;
Locate disks associated with a raid volume (e.g., unit0).&lt;br /&gt;
 MSA&amp;gt; locate unit0&lt;br /&gt;
&lt;br /&gt;
Accept a failed unit (e.g., unit0) - only for itanium workstations, which use a newer version of OpenVMS.&lt;br /&gt;
 MSA&amp;gt; accept unit0&lt;br /&gt;
&lt;br /&gt;
Show disk information.&lt;br /&gt;
 MSA&amp;gt; show disks&lt;br /&gt;
&lt;br /&gt;
Get information on MSA utility functions.&lt;br /&gt;
 MSA&amp;gt; help&lt;br /&gt;
&lt;br /&gt;
Exit the MSA utility.&lt;br /&gt;
 MSA&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of disk array====&lt;br /&gt;
To look at the disks in an MSA30 tower:&lt;br /&gt;
There are several options to check the status of the disks. One is, if it is installed, to use the command-line utility&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr msa$util&amp;lt;/pre&amp;gt;&lt;br /&gt;
as &amp;quot;system&amp;quot;. Enter&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
MSA&amp;gt; set controller&lt;br /&gt;
MSA&amp;gt; show unit&lt;br /&gt;
MSA&amp;gt; show disks&lt;br /&gt;
MSA&amp;gt; exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another is to start the WBEM web interface, which shows the status of the hardware graphically.&lt;br /&gt;
&lt;br /&gt;
It is possible to fix a disk array that hasn&#039;t booted by doing the following:&lt;br /&gt;
&lt;br /&gt;
  At the login prompt, type &#039;shutdown&#039;. This will get you to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
There should be a RAID card, for example on Percy, named &amp;lt;code&amp;gt;pya0&amp;lt;/code&amp;gt;. Try:&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action halt&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; run bios pya0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action restart&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disks status in enclosure====&lt;br /&gt;
&lt;br /&gt;
Periodically connect to http://10.148.64.254/ (user name: manage, password same as system password) and check if there are any errors or warnings, like failed disks. You can easily see which disk has failed in the graphical view of &amp;quot;Physical&amp;quot; -&amp;gt; &amp;quot;Enclosure X&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Consider not all web browsers allow connection to this rather old web server. Firefox and Mozilla on the workstations do work fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover System===&lt;br /&gt;
====Consistently needs warm-up scanner - Shutter-failsave-Job====&lt;br /&gt;
&lt;br /&gt;
If the scanner is consistently needing to warm-up on consecutive days, and was not powered off, this is likely due to the Shutter-failsave-Job disappearing from the 3309-Batch queue (for XT1). The job must be re-submitted. &lt;br /&gt;
&lt;br /&gt;
The executing file is located in the CALIB3309 ($ um:submit_shutter_test.com) and the command to submit the job is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/after=&amp;quot;tomorrow&amp;quot;/noprint/que=uct_measurement_queue um:submit_shutter_test.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check the status by typing: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show que *3309_batch*/all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This job tends to disappear now and then, perhaps because of an abrupt shutdown of the workstation or maybe when stop/pause/re-start the queue. Contact Scanco if this does not resolve.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk not mounted/unavailable, directory not found, volume not enabled====&lt;br /&gt;
Disk is not mounted or is unavailable.  Error opening ...., directory not found, volume is not software enabled.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
%DIRECT-E-OPENIN, error opening DISK4:[MICROCT.PROJECTS]*.*;* as input&lt;br /&gt;
-RMS-E-DNF, directory not found&lt;br /&gt;
-SYSTEM-F-VOLINV, volume is not software enabled&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen if communication is broken between workstations, causing the disk mount to time out.  Check if this is by showing the devices, then dismount and remount the disk.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev&lt;br /&gt;
&lt;br /&gt;
Device                  Device           Error    Volume         Free  Trans Mnt&lt;br /&gt;
 Name                   Status           Count     Label         Space Count Cnt&lt;br /&gt;
SC3309$DKA100:          Online               0&lt;br /&gt;
SC3309$DKD0:            Mounted              0  ALPHASYS        3.18GB   642   2&lt;br /&gt;
SC3309$DKD1:            Mounted              0  AUSER_01       42.84GB     4   2&lt;br /&gt;
SC3309$DKD2:            Mounted              0  ADATA_01      173.00GB     4   2&lt;br /&gt;
SC3309$DKD3:            Mounted              0  ADATA_02A     215.80GB     1   2&lt;br /&gt;
SC3309$DKD4:            Mounted              0  ADATA_02B     215.85GB     1   2&lt;br /&gt;
SC3309$DKD5:            Mounted              0  ADATA_02C     215.81GB     1   2&lt;br /&gt;
SC3309$DQA0:            Online               0&lt;br /&gt;
SC3309$DQA1:            Offline              1&lt;br /&gt;
SC3309$DQB0:            Offline              1&lt;br /&gt;
SC3309$DQB1:            Offline              1&lt;br /&gt;
SCEVAL$DKA0:            Online               0&lt;br /&gt;
SCEVAL$DKA1500:         Mounted              0  (remote mount)                 1&lt;br /&gt;
SCEVAL$DKC0: MntVerifyTimeout 0 ADATA_03A 541.62GB 1 2 &lt;br /&gt;
SCEVAL$DKC1: MntVerifyTimeout 0 ADATA_03B 541.38GB 1 2 &lt;br /&gt;
SCEVAL$DKC2: MntVerifyTimeout 0 ADATA_03C 541.60GB 1 2 &lt;br /&gt;
SCEVAL$DQA0:            Online               0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set host 0&lt;br /&gt;
system&lt;br /&gt;
&lt;br /&gt;
$ dismount SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC0: ADATA_03A&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03A mounted on _SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC1: ADATA_03B&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03B mounted on _SCEVAL$DKC1:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC2: ADATA_03C&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03C mounted on _SCEVAL$DKC2:&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this does not restore the disk, then shutdown the computer.  At the blue screen...&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; init&amp;lt;/code&amp;gt;&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; run bios pya0&amp;lt;/code&amp;gt;&lt;br /&gt;
Press F2 at the prompt to accept potential data loss.&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Press power button to turn off.&lt;br /&gt;
Press power button to turn on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Kill hanging program====&lt;br /&gt;
&lt;br /&gt;
If a program is hunging, it may not be necessary to shut down the system and restart. For example, if the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
program is hung, do the following&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev/full microct_scsi&lt;br /&gt;
&lt;br /&gt;
$ stop/id=&amp;lt;Owner process ID&amp;gt; (Replace the &amp;lt;&amp;gt; with the actual ID)&lt;br /&gt;
&lt;br /&gt;
for example: &lt;br /&gt;
&lt;br /&gt;
$ stop/id=2280091C &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reset the display/GUI====&lt;br /&gt;
These commands will terminate the current login session and may restore a frozen or messed up screen.  You will need to remotely access the problem workstation either from another micro-ct workstation or using a personal computer.&lt;br /&gt;
&lt;br /&gt;
Use the set host command to connect to the problem workstation (e.g., thomas) using the node name (e.g., sc3309) or the IP address (e.g., thomas.kin.ucalgary.ca). &lt;br /&gt;
&lt;br /&gt;
$ set host sc3309&lt;br /&gt;
login:  system&lt;br /&gt;
password: &lt;br /&gt;
&lt;br /&gt;
Issue the reset display command.&lt;br /&gt;
$ @sys$startup:decw$startup restart&lt;br /&gt;
&lt;br /&gt;
At the prompt, type &amp;quot;y&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart screen server====&lt;br /&gt;
&lt;br /&gt;
If the monitor fails to show the login prompt and displays a blank gray screen...telnet to the computer from another computer (e.g. a PC or so) and login as user system. Run the restart command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set host gordon.ucalgary.ca.    [or other computer name]&lt;br /&gt;
$username: system&lt;br /&gt;
$password: [system password]&lt;br /&gt;
$@sys$startup:decw$startup restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
confirm (answer &amp;quot;yes&amp;quot; at the prompt) and logout.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$y&lt;br /&gt;
$logout&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will kill all programs on your screen, but it will leave all batch jobs running, so if you do a BATCH measurement, this will survive! (but interactive scan will be killed).&lt;br /&gt;
&lt;br /&gt;
If you are restarting a monitor connected to a KVM box, unplug and re-plug in the box.&lt;br /&gt;
&lt;br /&gt;
This command also helps when the mouse/keyboard freezes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart Alpha stations====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Do not do this unless absolutely necessary.&lt;br /&gt;
&lt;br /&gt;
For shutdown&lt;br /&gt;
&lt;br /&gt;
At the login screen, type &amp;quot;shutdown&amp;quot;/no password and hit enter. &lt;br /&gt;
Then, you can turn the computer off at the prompt.&lt;br /&gt;
&lt;br /&gt;
Then, you may turn the disk array off (unplug it as there is no power switch).&lt;br /&gt;
&lt;br /&gt;
After you move the computer, power on the disk array and then the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow/non-responsive computer====&lt;br /&gt;
&lt;br /&gt;
This is usually caused by people logging in via SSH multiple times.  The solution involves resetting the SSH/TCPIP daemon.&lt;br /&gt;
&lt;br /&gt;
:*If you are local at the computer:&lt;br /&gt;
&lt;br /&gt;
You will need to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;.  ONLY EXPERIENCED USERS SHOULD EVER LOG IN AS SYSTEM!&lt;br /&gt;
&lt;br /&gt;
The system will be extremely slow (it will take 5 minutes just to get a log in prompt).  This is expected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_shutdown    ! shutdown SSH&lt;br /&gt;
$&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_startup     ! restart SSH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can reboot the system to reset the SSH.  This is not an appropriate solution and it is solving the problem by hitting it with a jack hammer.  Sometimes it is the only choice though.&lt;br /&gt;
&lt;br /&gt;
:*If you are remotely logged in:&lt;br /&gt;
&lt;br /&gt;
You will have to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; and run a script called STOP_START_TCPIP.COM.  &lt;br /&gt;
&lt;br /&gt;
This works essentially the same as for the above method, except that since it would be impossible to restart SSH remotely once it is shut down, two separate scripts are called and submitted on SCEVAL_FAST (make sure the queue isn&#039;t clogged) separated by a 1 minute delay. The first script called is STOP_TCPIP.COM and the second is START_TCPIP.COM.&lt;br /&gt;
&lt;br /&gt;
To execute this process, you must log in as system, go to the SYS$SCRATCH directory, and interactively execute the script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @STOP_START_TCPIP.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Shutdown a workstation remotely====&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard power off.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Remote shutdown from another micro-ct workstation&#039;&#039;&#039;.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 user:  system&lt;br /&gt;
 password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
 $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
 SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
 SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
*You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2. Remote shutdown from a personal computer&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
 &lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
 $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming). &lt;br /&gt;
 &lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
 $ shutdown&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow computers - Change RAID battery for Itanium computers====&lt;br /&gt;
&lt;br /&gt;
If computers become sluggish, particularly when saving data after a scan, have Scanco check the batteries in the RAID drive. The batteries in SCEVA3 were changed 2014-11-10. There are two batteries. Order the HP brand (should look like the ones in the image).&lt;br /&gt;
*Instructions to open the Itanium work station and access the PCI card: [[Media:HP_rx2660_PCI_card.pdf |&#039;&#039;&#039;Change PCI card&#039;&#039;&#039;]].&lt;br /&gt;
*Instructions to change the batteries after accessing the PCI card: [[Media:HP_SA6402_Batteries.pdf |&#039;&#039;&#039;Change batteries&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Frozen computer - &amp;quot;bootstrap failure&amp;quot; on boot up==== &lt;br /&gt;
The micro-CT computer is frozen or there is a &amp;quot;bootstrap failure&amp;quot; on boot up, This happens to the client computers (those connected to the scanners) when there is interruption in the network.  The only option is to restart the computer.&lt;br /&gt;
&lt;br /&gt;
====Crash of XtremeCT II workstation computer====&lt;br /&gt;
&lt;br /&gt;
For a non-responsive monitor and/or a mouse and/or a keyboard of the XtremeCT II workstation (sometimes caused by a lost of connection to server, or an internet outage):&lt;br /&gt;
&lt;br /&gt;
:*1. The first thing to do is to check system logs for any indication of the cause of the issue, if you have the &amp;quot;Administrator&amp;quot; user privilege.&lt;br /&gt;
:*2. The next thing to do is to soft-reboot by remote-login and using command line to reboot the workstation, if you have the &amp;quot;system&amp;quot; user privilege.&lt;br /&gt;
:*3. If no success, try hard-reboot by pressing the power button as indicated below.&lt;br /&gt;
:*4. If no success, try hard-reboot by unplugging both power cords as indicated below.&lt;br /&gt;
:*5. If still no success, contact Scanco immediately.&lt;br /&gt;
:*6. The last thing to do is to record the issue and any possible reasons.&lt;br /&gt;
&lt;br /&gt;
1.  Checking system logs:&lt;br /&gt;
 &lt;br /&gt;
:*1) Remotely log into the iLO (the management console of the workstation) using SSH as user &amp;quot;Administrator&amp;quot; with the system password. &lt;br /&gt;
Both user/pw are case sensitive. For XtremeCT II workstation (James) it is SSH to 10.148.64.231. For others, consult the network diagram. &lt;br /&gt;
&lt;br /&gt;
A trick: This connection only succeeds through a MAC or PC (via putty) direct login, not through an OpenVMS or Scanco system.&lt;br /&gt;
   $ ssh -l Administrator 10.148.64.231&lt;br /&gt;
:*2) Then you get to a   MP&amp;gt;   prompt here:&lt;br /&gt;
&lt;br /&gt;
   MP MAIN MENU:&lt;br /&gt;
         CO: Console&lt;br /&gt;
        VFP: Virtual Front Panel&lt;br /&gt;
         CM: Command Menu&lt;br /&gt;
         CL: Console Log&lt;br /&gt;
         SL: Show Event Logs&lt;br /&gt;
         HE: Main Help Menu&lt;br /&gt;
          X: Exit Connection&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*3) Type in &#039;SL&#039; to show event logs, then you could choose &#039;E&#039; for system event:&lt;br /&gt;
&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt; SL&lt;br /&gt;
     Event Log Viewer Menu:&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
   F - Forward Progress     20000      100 %        13 Sep 2018 11:17:43&lt;br /&gt;
   I - iLO Event              500      100 %        18 Sep 2018 07:46:42&lt;br /&gt;
   C - Clear SEL and FPL&lt;br /&gt;
   L - Live Events&lt;br /&gt;
&lt;br /&gt;
   Enter menu item or [Ctrl-B] to Quit: E&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
     Event Log Navigation Help:&lt;br /&gt;
   +       View next block     (forward in time,  e.g. from 3 to 4)&lt;br /&gt;
   -       View previous block (backward in time, e.g. from 3 to 2)&lt;br /&gt;
   &amp;lt;CR&amp;gt;    Continue to the next or previous block&lt;br /&gt;
   D       Dump the entire log&lt;br /&gt;
   F       First entry&lt;br /&gt;
   L       Last entry&lt;br /&gt;
   J       Jump to entry number&lt;br /&gt;
   H       View mode configuration - Hex&lt;br /&gt;
   K       View mode configuration - Keyword&lt;br /&gt;
   T       View mode configuration - Text&lt;br /&gt;
   A       Alert Level Filter options&lt;br /&gt;
   U       Alert Level Unfiltered&lt;br /&gt;
   ?       Display this Help menu&lt;br /&gt;
   Q       Quit and return to the Event Log Viewer Menu&lt;br /&gt;
   Ctrl-B  Exit command, and return to the MP Main Menu&lt;br /&gt;
&lt;br /&gt;
:*4) From here you can use -  and  +  to go through the log history back and forth. Not all logs do make a lot of sense though, as they are mainly meant for HPE engineers. &lt;br /&gt;
:*5) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*6) Use  MP&amp;gt; co   to get to the console, where you see at what stage the booting process is, in case it does not boot properly.&lt;br /&gt;
:*7) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*8) Use  MP&amp;gt; x   to end the connection.&lt;br /&gt;
&lt;br /&gt;
2. Soft-reboot by remote login:&lt;br /&gt;
&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard-reboot.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
:*2.A) Remote shutdown from another micro-ct workstation.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
   $ set host 0&lt;br /&gt;
   user:  system&lt;br /&gt;
   password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
   $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
   SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
   SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
:*2.B) Remote shutdown from a personal computer.&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
&lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
   $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming).  &lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
   $ shutdown&lt;br /&gt;
&lt;br /&gt;
3. Hard-reboot by power button:&lt;br /&gt;
&lt;br /&gt;
:*1) Hold the power button until it turns yellow.&lt;br /&gt;
:*2) Wait a minutes or two, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly. &lt;br /&gt;
  &lt;br /&gt;
4. Hard-reboot by unplugging both power cords:&lt;br /&gt;
&lt;br /&gt;
:*1) Hard-reboot by unplugging both the power cords. This will reset the console and controllers.&lt;br /&gt;
:*2) Wait for 5~10 minutes, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
==For Scanco support==&lt;br /&gt;
===Send a terminal to a remote computer===&lt;br /&gt;
&lt;br /&gt;
To send a terminal from XCT clusters to Scanco for maintenance, you need to know the ip address for the terminal location.&lt;br /&gt;
Such as For Mark Blanchard:&lt;br /&gt;
&lt;br /&gt;
  $ set display/create/transport=tcpip/node=193.72.60.24&lt;br /&gt;
  $ create/terminal/detach&lt;br /&gt;
&lt;br /&gt;
The cursor will disappear for a minute or so, and reappear with the $ prompt indicating sent already.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Access VMS filesystem==&lt;br /&gt;
===Access XtremeCT VMS filesystem on a Mac===&lt;br /&gt;
&lt;br /&gt;
In finder, select Go --&amp;gt; Connect to Server &lt;br /&gt;
&lt;br /&gt;
This opens up a window that allows you to enter a server address. Enter the following information: &lt;br /&gt;
&amp;lt;pre&amp;gt;smb://136.159.130.28&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click connect. If the internet connection is working, you will then be prompted to enter in login info:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select the volumes you want to mount.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View XtremeCT VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station (i.e., .130) enter the following IP address for Thomas (SC3309):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.130.28\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.130.28\UCT_DATA1&lt;br /&gt;
or&lt;br /&gt;
\\136.159.130.28\UCT_DATA2&lt;br /&gt;
&lt;br /&gt;
User name: xtremect@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View VivaCT40/uCT35 VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: vct_40&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station enter the following IP address for SCEVAL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.74.140\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.74.140\SB_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\SB_PROJ&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_PROJ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
User name: vct_40@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Map a Network Drive to the VMS filesystem from Windows===&lt;br /&gt;
&lt;br /&gt;
To do this you must be on the same network as the OpenVMS system. For main campus and the XtremeCT, you will map the drive to Thomas (136.159.130.28), the workstation connected to the scanner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on My Computer and choose Map Network Drive... &lt;br /&gt;
&lt;br /&gt;
Folder:  \\136.159.130.28\uct_data1     !FOR THE PROJECTS DISK&lt;br /&gt;
&lt;br /&gt;
         and/or &lt;br /&gt;
&lt;br /&gt;
         \\136.159.130.28\uct_data2     !FOR THE DATA DISK&lt;br /&gt;
&lt;br /&gt;
User name: microct\xtremect&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note:  You must use the numerical IP address and not the host name (i.e. thomas.kin.ucalgary.ca).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Setup remote access FAQ==&lt;br /&gt;
===Access data remotely===&lt;br /&gt;
Refer to [[Media:Scanco-faq-accessing-data-remotely.pdf|&#039;&#039;&#039;Scanco tutorial on accessing your data remotely&#039;&#039;&#039;]] for&lt;br /&gt;
&lt;br /&gt;
*A quick refresher course on accessing files&lt;br /&gt;
**Web browser&lt;br /&gt;
**File sharing&lt;br /&gt;
**File transfer protocol (FTP)&lt;br /&gt;
*Network file system NFS&lt;br /&gt;
*Running Scanco programs remotely&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use Hummingbird Exceed for remote access===&lt;br /&gt;
&lt;br /&gt;
*Screen definition&lt;br /&gt;
:Server visual = PseudoColor&lt;br /&gt;
:Window mode = multiple&lt;br /&gt;
&lt;br /&gt;
*Keyboard input&lt;br /&gt;
:Primary = decemus&lt;br /&gt;
:Alternate = us&lt;br /&gt;
&lt;br /&gt;
*EVE commands&lt;br /&gt;
:select = &amp;quot;end&amp;quot;&lt;br /&gt;
:cut = &amp;quot;delete&amp;quot;&lt;br /&gt;
:paste = &amp;quot;insert&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:move forward a word = CTRL + right_arrow&lt;br /&gt;
:move to start of document = CTRL + up_arrow&lt;br /&gt;
:move to end of document = CTRL + down_arrow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use XWin32 for remote access===&lt;br /&gt;
&lt;br /&gt;
Run XWin32.  Run Putty and connect to sceval.ucalgary.ca.  Use the terminal normally to run programs, which should open with XWin32.  &lt;br /&gt;
&lt;br /&gt;
Additional terminal windows can be opened with &amp;lt;code&amp;gt;$ dec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you try to connect from somewhere other than the university, you will probably get the following error when trying to open a window:&lt;br /&gt;
&lt;br /&gt;
   Xlib: connection to &amp;quot;sceval.ucalgary.ca:10.0&amp;quot; refused by server&lt;br /&gt;
   Xlib: Can not connect to a host on a restricted network&lt;br /&gt;
   X Toolkit Error: Cannot Open Display&lt;br /&gt;
   %DWT-F-DWTABORT, xtoolkit fatal error&lt;br /&gt;
&lt;br /&gt;
Type the following at the command prompt to direct the display:&lt;br /&gt;
&lt;br /&gt;
   $ set display/create/transport=tcpip/node=Your_IP_Address/server=0&lt;br /&gt;
&lt;br /&gt;
You can find your IP address from:   http://www.ip-adress.com/&lt;br /&gt;
&lt;br /&gt;
If you&#039;re running XWin32 from off campus and behind a router, forward ports 6000 - 6010 TCP and 177 UDP to your computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Set up Putty with gold-key access===&lt;br /&gt;
&lt;br /&gt;
Refer [http://bone.wiki/index.php?title=Scanco_User_Instructions#PuTTY_and_Xming &#039;&#039;&#039;PuTTY and Xming&#039;&#039;&#039;] to download putty.&lt;br /&gt;
&lt;br /&gt;
Set &#039;keyboard&#039; to Vt400, and &#039;initial state of numeric keyapad&#039; to &#039;Application&#039;, and now the &#039;NumLock&#039; key is the gold key (like PF1), and the editor can repeat stuff.&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set term/vt100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to enable the editor in the terminal.&lt;br /&gt;
&lt;br /&gt;
And duplication of a line is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
- (which would be PF4) to erase a line, &lt;br /&gt;
then twice &amp;quot;numlock, then -&amp;quot;  (gold-PF4 is &#039;restore line&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===SSH tricks===&lt;br /&gt;
====RSA and DSA Authentication====&lt;br /&gt;
&lt;br /&gt;
The main advantage of setting up RSA authentication is that you will no longer have to type your password each time you access a host with ssh.  There are some technical reasons why RSA and DSA access is more secure than password access.&lt;br /&gt;
&lt;br /&gt;
These instructions work on both Linux and OS-X.  &lt;br /&gt;
&lt;br /&gt;
# Create your public/private key pair on your local computer&lt;br /&gt;
#* At the command prompt type: ssh-keygen -t rsa&lt;br /&gt;
#* You will be asked to create a passphrase.&lt;br /&gt;
#* This will create the files .ssh/id_rsa and .ssh/id_rsa.pub .  Once you have these files, you never have to repeat this step.&lt;br /&gt;
# Copy your public key contents into the .ssh/authorized_keys2 file on the remote server&lt;br /&gt;
#* You can email yourself the file .ssh/id_rsa.pub from the local computer.&lt;br /&gt;
#* Alternatively, you could do this: ssh username@remoteserver.com &#039;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys2&#039; &amp;lt; /Users/Youruser/.ssh/id_rsa.pub&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTES ABOUT KEYS&amp;lt;/u&amp;gt;&lt;br /&gt;
Remember, the &amp;quot;authorized_keys&amp;quot; file is a concatenation of public (id_rsa.pub) keys, &lt;br /&gt;
and the &amp;quot;id_rsa&amp;quot; is the private key.  &lt;br /&gt;
Every user on every computer should only have ONE &amp;quot;id_rsa&amp;quot; file, &lt;br /&gt;
but can have multiple &amp;quot;id_rsa.pub&amp;quot; files concatenated into&lt;br /&gt;
their &amp;quot;authorized_keys&amp;quot; file.&lt;br /&gt;
&lt;br /&gt;
=====SSH Agent=====&lt;br /&gt;
&lt;br /&gt;
SSH-Agent is a tool to store your passphrase so you don&#039;t have type it every time.&lt;br /&gt;
&lt;br /&gt;
On OS-X, it is integrated into the system Keychain - you will be asked once if it should remember your passphrase, and after that you don&#039;t have to worry about it.&lt;br /&gt;
&lt;br /&gt;
Most Linux systems also have ssh-agent configured to start with every session. You may however have to do this once:&lt;br /&gt;
 ssh-add ~/.ssh/ida_rsa&lt;br /&gt;
&lt;br /&gt;
====SSH Tunneling====&lt;br /&gt;
&lt;br /&gt;
This is an alternative to VPN through kinesiology.  It may come in handy if for some reason VPN is not working.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re outside the university system and want to access, for example, svn on mike.kin, which is normally blocked by the university firewall, you can do that with ssh tunneling.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
 ssh eric@mighty-mac.kin.ucalgary.ca -L 2000:mike.kin.ucalgary.ca:443 -N&lt;br /&gt;
&lt;br /&gt;
Here is what is going on:&lt;br /&gt;
* I want to access port 443 (which is https) on mike.kin.ucalgary.ca.&lt;br /&gt;
* I have an account on mighty-mac, so I&#039;m using that server to create an ssh tunnel inside the university firewall.  I could use any machine I had an account on inside the university system, even mike.kin.ucalgary.ca, the one I&#039;m trying to get to (in fact, that would be best, but for purposes of demonstration I&#039;m using a different machine).&lt;br /&gt;
* I&#039;m mapping the local port 2000 to port 443 on mike.  Anything I send to localhost:2000 will by sent by ssh or the ssh tunnel to mighty-mac, which will then send it on to port 443 on mike.&lt;br /&gt;
* 2000 is a random 4-digit port number.  If by some fluke you happen to choose one that is in use, ssh will complain and you will have to try another port number.&lt;br /&gt;
&lt;br /&gt;
Now I can fire up my browser and point it to&lt;br /&gt;
&lt;br /&gt;
 https://localhost:200/trac/&lt;br /&gt;
&lt;br /&gt;
And what I get is the trac site on mike.&lt;br /&gt;
&lt;br /&gt;
If I want to get the code, I can do this:&lt;br /&gt;
&lt;br /&gt;
 svn checkout https://localhost:2000/svn/numerics88/trunk trunk_tunnel&lt;br /&gt;
&lt;br /&gt;
(&amp;quot;trunk_tunnel&amp;quot; is just the directory name where it will end up.  It can be named anything, but this will remind me that it only works when the tunnel is up.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Physical connections==&lt;br /&gt;
===Connect to VMS station with a serial port cable===&lt;br /&gt;
&lt;br /&gt;
To do this, you will need to connect from a PC using a PC-to-PC (NULL modem) serial cable, 9600 baud. Install PuTTY and connect with the &#039;serial&#039; option. You will need to know the COM port that is used by the PC to connect the serial cable. You can do this by checking on the PC the [Hardware][Device] settings.&lt;br /&gt;
&lt;br /&gt;
Typical login is &amp;quot;Admin&amp;quot; and password is usually same as the &#039;system&#039; password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Export VMS display to SUN or LINUX terminal===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# - temple&lt;br /&gt;
$ - sceval&lt;br /&gt;
# xhost +temple.ucalgary.ca&lt;br /&gt;
# ssh -X microct@sceval.ucalgary.ca&lt;br /&gt;
$ set display /create /transport=tcpip /node=temple.ucalgary.ca&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Do not use &amp;lt;code&amp;gt;xhost+&amp;lt;/code&amp;gt;.  Always specific exactly which computer is being&lt;br /&gt;
allowed X access.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Dose=&lt;br /&gt;
&lt;br /&gt;
==Dose Calculations==&lt;br /&gt;
&lt;br /&gt;
===XtremeCT radiation dose===&lt;br /&gt;
Some notes about radiation dose to help decide acceptable scanning protocols.  These comments are based on scanning an adult (not children having significant red marrow at the scan region).&lt;br /&gt;
&lt;br /&gt;
:*The annual dose limit for the hand for an occupational user is 500 mSv (as per the ICRP), and with the x-ray energy of our XtremeCT that translates to 500 mGy local dose per year. For non-occupational subjects, the limit is generally 10x lower (i.e., our volunteers should not have more than 50 mGy local dose per year).&lt;br /&gt;
:*Our scanner delivers a local dose of about 5.3 mGy per scan.  However, if we have adjacent scans, there is some overlap due to the penumbra of the x-ray beam which results in about double the local dose (a conservative guess would be 10 mGy) for a ~1mm overlap region. Averaging over the whole scanned regions (overlap and non-overlap regions) we can say that the average delivered local dose is about 7-8 mGy. The local dose is not additive.  If we&#039;re very conservative, and we take 10 mGy as the local dose, then we could theoretically scan a person 5 times before exceeding the 50 mGy limit based on a tenth of the occupational limit (500 mGy).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===vivaCT CTDI dose===&lt;br /&gt;
====Dose calculation====&lt;br /&gt;
&lt;br /&gt;
Assuming the following settings on the vivaCT for &amp;quot;high mode&amp;quot;, we will calculate the CTDI dose.&lt;br /&gt;
&lt;br /&gt;
 2000 projections (360 degrees)&lt;br /&gt;
 0.109 mA&lt;br /&gt;
 200 ms IT&lt;br /&gt;
&lt;br /&gt;
I calculate the time current value as:&lt;br /&gt;
&lt;br /&gt;
 0.109 mA * (0.200 + 0.012) S * 2000 proj= 46.22 mAs&lt;br /&gt;
&lt;br /&gt;
The 0.012 is the integration time between projections.&lt;br /&gt;
&lt;br /&gt;
Taking the proportion of the 68 mAs at 55 kV resulting in 720 mGy (see the document on example&lt;br /&gt;
dose calculation on this Wiki site), we have:&lt;br /&gt;
&lt;br /&gt;
 46.22 / 68 * 720 = 490 mGy&lt;br /&gt;
&lt;br /&gt;
Since CTDI in air is approximately two times the weighted CTDI, and since our setup is more like in air, we get:&lt;br /&gt;
&lt;br /&gt;
 2 * 490 = 980 mGy per scan.&lt;br /&gt;
&lt;br /&gt;
It&#039;s always a good idea to look at the time-current product in the control file to get an approximate estimate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Dose chart and example====&lt;br /&gt;
*Refer to [[Media:VivaCT dose information-fyi.pdf|&#039;&#039;&#039;VivaCT CTDI Dose Calculation Example&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
We have measured the following CT dose indices (CTDI). &lt;br /&gt;
:*CTDIw:   Weighted CTDI (chart below)&lt;br /&gt;
:*CTDIair: CTDI in air (2 times CTDIw - calculate from chart below).&lt;br /&gt;
&lt;br /&gt;
The detector was placed in the center of a 35 mm PMMA cylinder which was placed in the center of rotation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 70kV  300ms 85uA  Field of view 38.9mm 1000 Proj./180°:   CTDI = 260 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 220 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 190 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 30.7mm 1000 Proj./180°:   CTDI = 420 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 350 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 305 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 21.5mm 1000 Proj./180°:   CTDI = 850 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 720 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 620 mGy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 high res = 1000 Proj./180°&lt;br /&gt;
 medium  = 500 Proj./180°&lt;br /&gt;
 standard  = 250 Proj./180°&lt;br /&gt;
&lt;br /&gt;
The CTDI scales linear with the integration time (s), with the current (uA) and number of projections. If you have different settings there, it is easy to calculate the CTDI.&lt;br /&gt;
&lt;br /&gt;
CTDI Definition:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Integral from +50mm to -50mm of D(z)/NxT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*where D(z) is the dose profile along a line z which is perpendicular to the tomographic plane&lt;br /&gt;
:*N is the number of tomographic sections produced in a single rotation&lt;br /&gt;
:*T is the nominal tomographic section thickness&lt;br /&gt;
&lt;br /&gt;
Example: How to estimate how much radiation would be incurred by a mouse scanned at 25&lt;br /&gt;
um resolution (medium resolution -- MR) at 55 kVp, 109 uA, 150 ms IT, for about 30 minutes?&lt;br /&gt;
&lt;br /&gt;
If you take your settings you can calculate the CTDI.  First thing you have to be aware is that the CTDI is something like the local dose but it takes the cone beam geometry and the not perfect collimation of the x-ray beam into account (The CTDI value is always higher than a local dose measurement with for example TLDs). It does not matter how many stacks you are scanning. The dose you have at one point which is within the volume you are scanning gets the same local dose if you are performing a 1 stack or a 4 stack measurement.&lt;br /&gt;
&lt;br /&gt;
With the 55kVp/109uA HR with 300ms we have a value at the 30.7 mm position of 350 mGy. Because you have MR we can divide the values by a factor of 2; and because you have 150ms instead of 300ms there is an other factor of 2. You would get 87.5 mGy for the position 30.7 mm. Because of the cone beam the dose has a quadratic dependency to the diameter of the field of view. (30.7 mm/25 mm)2 = 1.5. The CTDI value for your settings is in the order of 87.5 mGy * 1.5 = 132 mGy.&lt;br /&gt;
&lt;br /&gt;
Note that for in vivo measurements, we should multiply the result by a factor of two since we are doing the measurement in AIR, not WATER.  The charts above are assuming the CTDI done in water.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Optimize Scan for Low Dose==&lt;br /&gt;
*Refer to [[Media:Scanco-faq-optimization-for-dose.pdf|&#039;&#039;&#039;Optimize Scan Protocols for Low Dose&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:Scanco_TD387_USB_Device_Usage.pdf&amp;diff=7155</id>
		<title>File:Scanco TD387 USB Device Usage.pdf</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:Scanco_TD387_USB_Device_Usage.pdf&amp;diff=7155"/>
		<updated>2021-06-23T14:43:37Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: Scanco USB Device Usage on Itanium Systems&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Scanco USB Device Usage on Itanium Systems&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7153</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7153"/>
		<updated>2021-06-10T20:39:31Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Extract Results from XtremeCT Database using UPAT_LIST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. &lt;br /&gt;
&lt;br /&gt;
NOTE: Only Authorized Operators are permitted to use uCT or XtremeCT scanners.  For the XtremeCT scanners, this is a formal process.  To inquire about authorization, speak to your supervisor.  The below description is intended to provide general understanding of how scans are acquired.  It is not a substitute for complete training.&lt;br /&gt;
&lt;br /&gt;
To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCREEN SHOT TO BE ADDED SHORTLY&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
&#039;&#039;&#039;SCREEN SHOT TO BE ADDED SHORTLY&#039;&#039;&#039;&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCREEN SHOT TO BE ADDED SHORTLY&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
Regardless of what cast is used, the X-, Y-, and Z- dimensions remain the same:&lt;br /&gt;
*X=14cm&lt;br /&gt;
*Y=14cm&lt;br /&gt;
*Z=designated 20cm distance in the scanner&lt;br /&gt;
&lt;br /&gt;
Standard Scanco Distal Radius Cast&lt;br /&gt;
*Used for distal radius scans of 1-3 stacks.  Designed with the hand to be in a curved position.  The field-of-view allows for scanning of approximately the most distal 1/4 of the forearm.&lt;br /&gt;
Standard Scanco Distal Tibia Cast&lt;br /&gt;
*Used for distal tibia scans of 1+ stacks.  Designed with the foot to be in a flexed (upright) position.  The field-of-view allows for scanning of approximately the most distal 1/4 of the tibia.&lt;br /&gt;
Standard Scanco Sample Holder&lt;br /&gt;
*This is a cylindrical tube with a cut-out window on the top.  &lt;br /&gt;
*Allows for scanning small ex-vivo and other samples.  The tube provides support for the sample during scanning.  &lt;br /&gt;
*Also used for in-vivo scans of the hand along with a platform that conforms to the hand and slides into the tube.  &lt;br /&gt;
Elbow Holder&lt;br /&gt;
*Used for scans of the elbow.  Designed to support the forearm during scanning.&lt;br /&gt;
Knee Holder&lt;br /&gt;
*A long cylinder cast cut in half lengthwise and with a foot holder at the end.  This cast is designed to slide over the gantry tongue, placing the leg further into the gantry, in order to scan at distances closer to the core of the body.&lt;br /&gt;
*Used for distal femur and proximal tibia (i.e. knee) scans.&lt;br /&gt;
*Used for mid-shaft tibia scans.&lt;br /&gt;
*Used for larger ex-vivo and other samples.&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*For uCT scanners: When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
:*For XtremeCT scanners: A small number of rings artifacts are expected and acceptable.  For a 168-slice scan, ring artifacts present in &amp;lt;5 slices total is acceptable.  If you observe ring artifacts in a larger number of slices, notify a staff member.  Do not repeat scans for ring artifacts.  In most cases, it is also unnecessary to perform a correction to already acquired data. &lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defualt ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: Extract a portion of an image &amp;lt;br /&amp;gt;&lt;br /&gt;
**-pos corresponds to x,y,z origin -1 -1 -1 maintains the original coordinates &amp;lt;br /&amp;gt;&lt;br /&gt;
**-dim corresponds to x,y,z dimensions -1 -1 -1 maintains the original dimensions (within maximum range) &amp;lt;br /&amp;gt;&lt;br /&gt;
**indexing starts at 0 instead of 1&lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Refer to [https://youtu.be/tT3dz4VrwfE &#039;&#039;&#039;MicroCT Image Tour YouTube Video&#039;&#039;&#039;]&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
**Run &amp;lt;code&amp;gt;$ UPAT_LIST -h&amp;lt;/code&amp;gt; to print out help for all parameters. &lt;br /&gt;
**For standard analysis on XtremeCT2, the default Evaluation Type 4=XT1 is not applicable. To get results for XtremeCT2, you need to run upat_list twice.  Once for evaluation 5 and once for 6.&lt;br /&gt;
&amp;lt;pre&amp;gt;   Evaluation type (1-6) [4]:   Type code of evaluation (4=XT1, 5=trabecular, 6=cortical, default=4) &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST_NOMATCH&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results without matching follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST_NOMATCH P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST_NOMATCH mysamples.txt * 19 myresults.txt 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data within the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Always use the same account consistently to create all files and subfolders within their Project folder, otherwise you way miss data when doing Project Backup or Archive!&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import DICOM to Scanco System==&lt;br /&gt;
#Load MRI&#039;s or CT&#039;s DICOM data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7152</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7152"/>
		<updated>2021-06-10T20:29:43Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Extract Results from XtremeCT Database using UPAT_LIST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. &lt;br /&gt;
&lt;br /&gt;
NOTE: Only Authorized Operators are permitted to use uCT or XtremeCT scanners.  For the XtremeCT scanners, this is a formal process.  To inquire about authorization, speak to your supervisor.  The below description is intended to provide general understanding of how scans are acquired.  It is not a substitute for complete training.&lt;br /&gt;
&lt;br /&gt;
To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCREEN SHOT TO BE ADDED SHORTLY&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
&#039;&#039;&#039;SCREEN SHOT TO BE ADDED SHORTLY&#039;&#039;&#039;&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCREEN SHOT TO BE ADDED SHORTLY&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
Regardless of what cast is used, the X-, Y-, and Z- dimensions remain the same:&lt;br /&gt;
*X=14cm&lt;br /&gt;
*Y=14cm&lt;br /&gt;
*Z=designated 20cm distance in the scanner&lt;br /&gt;
&lt;br /&gt;
Standard Scanco Distal Radius Cast&lt;br /&gt;
*Used for distal radius scans of 1-3 stacks.  Designed with the hand to be in a curved position.  The field-of-view allows for scanning of approximately the most distal 1/4 of the forearm.&lt;br /&gt;
Standard Scanco Distal Tibia Cast&lt;br /&gt;
*Used for distal tibia scans of 1+ stacks.  Designed with the foot to be in a flexed (upright) position.  The field-of-view allows for scanning of approximately the most distal 1/4 of the tibia.&lt;br /&gt;
Standard Scanco Sample Holder&lt;br /&gt;
*This is a cylindrical tube with a cut-out window on the top.  &lt;br /&gt;
*Allows for scanning small ex-vivo and other samples.  The tube provides support for the sample during scanning.  &lt;br /&gt;
*Also used for in-vivo scans of the hand along with a platform that conforms to the hand and slides into the tube.  &lt;br /&gt;
Elbow Holder&lt;br /&gt;
*Used for scans of the elbow.  Designed to support the forearm during scanning.&lt;br /&gt;
Knee Holder&lt;br /&gt;
*A long cylinder cast cut in half lengthwise and with a foot holder at the end.  This cast is designed to slide over the gantry tongue, placing the leg further into the gantry, in order to scan at distances closer to the core of the body.&lt;br /&gt;
*Used for distal femur and proximal tibia (i.e. knee) scans.&lt;br /&gt;
*Used for mid-shaft tibia scans.&lt;br /&gt;
*Used for larger ex-vivo and other samples.&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*For uCT scanners: When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
:*For XtremeCT scanners: A small number of rings artifacts are expected and acceptable.  For a 168-slice scan, ring artifacts present in &amp;lt;5 slices total is acceptable.  If you observe ring artifacts in a larger number of slices, notify a staff member.  Do not repeat scans for ring artifacts.  In most cases, it is also unnecessary to perform a correction to already acquired data. &lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defualt ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: Extract a portion of an image &amp;lt;br /&amp;gt;&lt;br /&gt;
**-pos corresponds to x,y,z origin -1 -1 -1 maintains the original coordinates &amp;lt;br /&amp;gt;&lt;br /&gt;
**-dim corresponds to x,y,z dimensions -1 -1 -1 maintains the original dimensions (within maximum range) &amp;lt;br /&amp;gt;&lt;br /&gt;
**indexing starts at 0 instead of 1&lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Refer to [https://youtu.be/tT3dz4VrwfE &#039;&#039;&#039;MicroCT Image Tour YouTube Video&#039;&#039;&#039;]&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
**Run &amp;lt;code&amp;gt;$ UPAT_LIST -h&amp;lt;/code&amp;gt; to print out help for all parameters. &lt;br /&gt;
**For standard analysis on XtremeCT2, the default Evaluation Type 4=XT1 is not applicable. To get results for XtremeCT2, you need to run upat_list twice.  Once for evaluation 5 and once for 6.&lt;br /&gt;
&amp;lt;pre&amp;gt;   Evaluation type (1-6) [4]:   Type code of evaluation (4=XT1, 5=trabecular, 6=cortical, default=4) &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST_NOMATCH&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results without matching follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST_NOMATCH mysamples.txt * 19 myresults.txt 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data within the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Always use the same account consistently to create all files and subfolders within their Project folder, otherwise you way miss data when doing Project Backup or Archive!&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import DICOM to Scanco System==&lt;br /&gt;
#Load MRI&#039;s or CT&#039;s DICOM data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7151</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7151"/>
		<updated>2021-06-09T21:56:57Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Extract Results from XtremeCT Database using UPAT_LIST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. &lt;br /&gt;
&lt;br /&gt;
NOTE: Only Authorized Operators are permitted to use uCT or XtremeCT scanners.  For the XtremeCT scanners, this is a formal process.  To inquire about authorization, speak to your supervisor.  The below description is intended to provide general understanding of how scans are acquired.  It is not a substitute for complete training.&lt;br /&gt;
&lt;br /&gt;
To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCREEN SHOT TO BE ADDED SHORTLY&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
&#039;&#039;&#039;SCREEN SHOT TO BE ADDED SHORTLY&#039;&#039;&#039;&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCREEN SHOT TO BE ADDED SHORTLY&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
Regardless of what cast is used, the X-, Y-, and Z- dimensions remain the same:&lt;br /&gt;
*X=14cm&lt;br /&gt;
*Y=14cm&lt;br /&gt;
*Z=designated 20cm distance in the scanner&lt;br /&gt;
&lt;br /&gt;
Standard Scanco Distal Radius Cast&lt;br /&gt;
*Used for distal radius scans of 1-3 stacks.  Designed with the hand to be in a curved position.  The field-of-view allows for scanning of approximately the most distal 1/4 of the forearm.&lt;br /&gt;
Standard Scanco Distal Tibia Cast&lt;br /&gt;
*Used for distal tibia scans of 1+ stacks.  Designed with the foot to be in a flexed (upright) position.  The field-of-view allows for scanning of approximately the most distal 1/4 of the tibia.&lt;br /&gt;
Standard Scanco Sample Holder&lt;br /&gt;
*This is a cylindrical tube with a cut-out window on the top.  &lt;br /&gt;
*Allows for scanning small ex-vivo and other samples.  The tube provides support for the sample during scanning.  &lt;br /&gt;
*Also used for in-vivo scans of the hand along with a platform that conforms to the hand and slides into the tube.  &lt;br /&gt;
Elbow Holder&lt;br /&gt;
*Used for scans of the elbow.  Designed to support the forearm during scanning.&lt;br /&gt;
Knee Holder&lt;br /&gt;
*A long cylinder cast cut in half lengthwise and with a foot holder at the end.  This cast is designed to slide over the gantry tongue, placing the leg further into the gantry, in order to scan at distances closer to the core of the body.&lt;br /&gt;
*Used for distal femur and proximal tibia (i.e. knee) scans.&lt;br /&gt;
*Used for mid-shaft tibia scans.&lt;br /&gt;
*Used for larger ex-vivo and other samples.&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*For uCT scanners: When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
:*For XtremeCT scanners: A small number of rings artifacts are expected and acceptable.  For a 168-slice scan, ring artifacts present in &amp;lt;5 slices total is acceptable.  If you observe ring artifacts in a larger number of slices, notify a staff member.  Do not repeat scans for ring artifacts.  In most cases, it is also unnecessary to perform a correction to already acquired data. &lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defualt ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: Extract a portion of an image &amp;lt;br /&amp;gt;&lt;br /&gt;
**-pos corresponds to x,y,z origin -1 -1 -1 maintains the original coordinates &amp;lt;br /&amp;gt;&lt;br /&gt;
**-dim corresponds to x,y,z dimensions -1 -1 -1 maintains the original dimensions (within maximum range) &amp;lt;br /&amp;gt;&lt;br /&gt;
**indexing starts at 0 instead of 1&lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Refer to [https://youtu.be/tT3dz4VrwfE &#039;&#039;&#039;MicroCT Image Tour YouTube Video&#039;&#039;&#039;]&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST -h&amp;lt;/code&amp;gt; to print out help for all parameters. &lt;br /&gt;
*For standard analysis on XtremeCT2, the default Evaluation Type 4=XT1 is not applicable. To get results for XtremeCT2, you need to run upat_list twice.  Once for evaluation 5 and once for 6.&lt;br /&gt;
&amp;lt;pre&amp;gt;   Evaluation type (1-6) [4]:   Type code of evaluation (4=XT1, 5=trabecular, 6=cortical, default = 4 &amp;lt;/pre&amp;gt;&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data within the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Always use the same account consistently to create all files and subfolders within their Project folder, otherwise you way miss data when doing Project Backup or Archive!&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import DICOM to Scanco System==&lt;br /&gt;
#Load MRI&#039;s or CT&#039;s DICOM data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7126</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7126"/>
		<updated>2021-05-07T18:49:09Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Import MRI DICOM to Scanco System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic02.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  &lt;br /&gt;
:*You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defual ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: Extract a portion of an image &amp;lt;br /&amp;gt;&lt;br /&gt;
**-pos corresponds to x,y,z origin -1 -1 -1 maintains the original coordinates &amp;lt;br /&amp;gt;&lt;br /&gt;
**-dim corresponds to x,y,z dimensions -1 -1 -1 maintains the original dimensions (within maximum range) &amp;lt;br /&amp;gt;&lt;br /&gt;
**indexing starts at 0 instead of 1&lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Refer to [https://youtu.be/tT3dz4VrwfE &#039;&#039;&#039;MicroCT Image Tour YouTube Video&#039;&#039;&#039;]&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data withing the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Always use the same account consistently to create all files and subfolders within their Project folder, otherwise you way miss data when doing Project Backup or Archive!&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import DICOM to Scanco System==&lt;br /&gt;
#Load MRI&#039;s or CT&#039;s DICOM data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7125</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7125"/>
		<updated>2021-05-07T18:48:06Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Import MRI/DICOM to Scanco System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic02.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  &lt;br /&gt;
:*You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defual ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: Extract a portion of an image &amp;lt;br /&amp;gt;&lt;br /&gt;
**-pos corresponds to x,y,z origin -1 -1 -1 maintains the original coordinates &amp;lt;br /&amp;gt;&lt;br /&gt;
**-dim corresponds to x,y,z dimensions -1 -1 -1 maintains the original dimensions (within maximum range) &amp;lt;br /&amp;gt;&lt;br /&gt;
**indexing starts at 0 instead of 1&lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Refer to [https://youtu.be/tT3dz4VrwfE &#039;&#039;&#039;MicroCT Image Tour YouTube Video&#039;&#039;&#039;]&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data withing the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Always use the same account consistently to create all files and subfolders within their Project folder, otherwise you way miss data when doing Project Backup or Archive!&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import MRI DICOM to Scanco System==&lt;br /&gt;
#Load MR data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7124</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7124"/>
		<updated>2021-05-07T18:47:44Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Import MRI to Scanco System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic02.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  &lt;br /&gt;
:*You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defual ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: Extract a portion of an image &amp;lt;br /&amp;gt;&lt;br /&gt;
**-pos corresponds to x,y,z origin -1 -1 -1 maintains the original coordinates &amp;lt;br /&amp;gt;&lt;br /&gt;
**-dim corresponds to x,y,z dimensions -1 -1 -1 maintains the original dimensions (within maximum range) &amp;lt;br /&amp;gt;&lt;br /&gt;
**indexing starts at 0 instead of 1&lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Refer to [https://youtu.be/tT3dz4VrwfE &#039;&#039;&#039;MicroCT Image Tour YouTube Video&#039;&#039;&#039;]&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data withing the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Always use the same account consistently to create all files and subfolders within their Project folder, otherwise you way miss data when doing Project Backup or Archive!&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import MRI/DICOM to Scanco System==&lt;br /&gt;
#Load MR data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Main_Page&amp;diff=7123</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Main_Page&amp;diff=7123"/>
		<updated>2021-05-06T02:30:01Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;b&amp;gt;&amp;lt;font size=&amp;quot;+3&amp;quot;&amp;gt;Bone Imaging Laboratory Wiki&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt; &lt;br /&gt;
&amp;lt;td width=&amp;quot;15%&amp;quot; align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Wiki Concept&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P&amp;gt; The idea of the &#039;Wiki&#039; site is that any authorized user, in this case a member of the lab, can see and edit any of the pages on this site, as well as create new pages as required. &amp;lt;/P&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; The Purpose&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s to facilitate information exchange within the lab and keep up-to-date How To and User Manuals for lab&#039;s technical procedures and FAQ.&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;       [[File:BonelabScanners.JPG|center|750px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;25%&amp;quot; align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Read me&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
#Use &#039;&#039;&#039;Ctr+F&#039;&#039;&#039; to search within any page.&lt;br /&gt;
#Never include login credentials especially password anywhere.&lt;br /&gt;
#It&#039;s all users&#039; responsibility to keep the info precise, updated, abundant, and useful, through editing/addition/deletion as needed by clicking [edit] on the top-right corner of a page or item. This includes combining same/similar topics besides an item whenever appropriate.&lt;br /&gt;
#Add a redirect line after each new item for consistency: &lt;br /&gt;
#:[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
#Click &#039;&#039;&#039;Help&#039;&#039;&#039; on navigation list on the left penal for detailed editing instructions.&lt;br /&gt;
#Contact Ying if you are not sure where to put a new item or could not find an item.&lt;br /&gt;
&amp;lt;/P&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; width=&amp;quot;98%&amp;quot; valign=&amp;quot;top&amp;quot; cellspacing=&amp;quot;7&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
|- &lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco User Instructions]]==&lt;br /&gt;
[[Scanco_User_Instructions#OpenVMS_Basics| &#039;&#039;&#039;OpenVMS Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#OpenVMS_Beginner.27s_Reference| Beginner&#039;s Reference]]&lt;br /&gt;
*[[Scanco_User_Instructions#Session_Manager| Session Manager]]&lt;br /&gt;
*[[Scanco_User_Instructions#DEC_Terminal_and_Digital_Command_Language_.28DCL.29| DEC Terminal and DCL]]&lt;br /&gt;
*[[Scanco_User_Instructions#DCL_Programming_Guide| DCL Programming Guide]]&lt;br /&gt;
*[[Scanco_User_Instructions#List_of_basic_commands| List of basic commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Micro-Computed_Tomography_.28.C2.B5CT.29_Basics| &#039;&#039;&#039;Micro-CT Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Scanco_User_Instructions#Micro-CT_Image_Basics| µCT Image Basics]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Data| Image Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scanco_Medical_Micro-CT_Software| Scanco Medical µCT Software]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Sample_Name_Convention| Sample Name Convention]]&lt;br /&gt;
*[[Scanco_User_Instructions#Register_Samples_for_Scanning| Register Samples for Scanning]]&lt;br /&gt;
*[[Scanco_User_Instructions#Log_Sheets| Log Sheets]]&lt;br /&gt;
*[[Scanco_User_Instructions#Patient_Casts_and_Sample_Holders| Patient Casts and Sample Holders]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29| Scan Parameters (Controlfiles)]]&lt;br /&gt;
*[[Scanco_User_Instructions#Perform_a_Scan| Perform a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Action_on_Image_Artifacts| Action on Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluate_a_Scan| Evaluate a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Draw_Contours| Draw Contours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluation_Scripts| Evaluation Scripts]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Processing_Language_.28IPL.29_Scripting| IPL Scripting]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Images_and_Animations| Images and Animations]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_User_Instructions#Generate_Report| Generate Report]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Data_Management| &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Trainee.E2.80.99s_Data_Responsibility| Trainee’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk| Move data from Data Disk to Project Disk]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Import_and_Export| &#039;&#039;&#039;Import and Export&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Foreign_Data_to_Scanco_System| Import Foreign Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_MRI_to_Scanco_System| Import MRI Images]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Xradia_.2A.bin_to_Scanco_System|Import Xradia *.bin]]&lt;br /&gt;
*[[Scanco_User_Instructions#Get_Your_Files| Get Your Files]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Remote_Access| &#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#VPN_Setup| VPN Setup]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_MAC.2FLinux| Setup for MAC/Linux]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_Windows| Setup for Windows]]&lt;br /&gt;
*[[Scanco_User_Instructions#Remote_Access_FAQ| Remote Access FAQ]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco Administration]]==&lt;br /&gt;
[[Scanco_Administration#OpenVMS| &#039;&#039;&#039;OpenVMS&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#OpenVMS_References| OpenVMS References]]&lt;br /&gt;
*[[Scanco_Administration#Unix_related| Unix related]]&lt;br /&gt;
*[[Scanco_Administration#Graphical_Applications| Graphical Applications]]&lt;br /&gt;
*[[Scanco_Administration#File_Operations| File Operations]]&lt;br /&gt;
*[[Scanco_Administration#Administrative_Commands| Administrative Commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Calibration_and_QC | &#039;&#039;&#039;Calibration and QC&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#System_Updates| System Updates]]&lt;br /&gt;
*[[Scanco_Administration#Calibration_and_Conversion| Calibration and Conversion]]&lt;br /&gt;
*[[Scanco_Administration#Quality_Control_.28QC.29| Quality Control (QC)]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Scanner_User_Manual| Scanner User Manual]]&lt;br /&gt;
*[[Scanco_Administration#Scanco.27s_FAQ| Scanco&#039;s FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Scan| Scan]]&lt;br /&gt;
*[[Scanco_Administration#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_RSQ| Manipulate RSQ]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_ISQ| Manipulate ISQ]]&lt;br /&gt;
*[[Scanco_Administration#Image_Artifacts| Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Analysis_Topics| Analysis Topics]]&lt;br /&gt;
*[[Scanco_Administration#UCT_EVALUATION| UCT_EVALUATION]]&lt;br /&gt;
*[[Scanco_Administration#Evaluation_FAQ| Evaluation FAQ]]&lt;br /&gt;
*[[Scanco_Administration#IPL_FAQ| IPL FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_Administration#Database| Database]]&lt;br /&gt;
*[[Scanco_Administration#Other_FAQ| Other FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Data_Management | &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Lab.E2.80.99s_Data_Responsibility| Lab’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_Administration#HP_Server_and_Disk_Array| HP Server and Disk Array]]&lt;br /&gt;
*[[Scanco_Administration#Tape| Tape]]&lt;br /&gt;
*[[Scanco_Administration#USB_Drive| USB_Drive]]&lt;br /&gt;
*[[Scanco_Administration#CDROM| CDROM]]&lt;br /&gt;
*[[Scanco_Administration#Saveset_and_Zip_files| Saveset and Zip files]]&lt;br /&gt;
*[[Scanco_Administration#Backup_and_Archive| Backup and Archive]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Process.2C_Printer_and_System| &#039;&#039;&#039;Process, Printer and System&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Processes_and_Jobs| Processes and Jobs]]&lt;br /&gt;
*[[Scanco_Administration#Printer| Printer]]&lt;br /&gt;
*[[Scanco_Administration#System| System]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Remote_Access|&#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#For_Scanco_support| For Scanco support]]&lt;br /&gt;
*[[Scanco_Administration#Access_VMS_filesystem| Access VMS filesystem]]&lt;br /&gt;
*[[Scanco_Administration#Setup_remote_access_FAQ| Setup remote access FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Physical_connections| Physical connections]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Dose| &#039;&#039;&#039;Dose&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Dose_Calculations| Dose Calculations]]&lt;br /&gt;
*[[Scanco_Administration#Optimize_Scan_for_Low_Dose| Optimize Scan for Low Dose]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Xradia Instructions]]==&lt;br /&gt;
*[[Xradia_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Xradia_Instructions#Scanning| Scanning]]&lt;br /&gt;
*[[Xradia_Instructions#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Xradia_Instructions#Special_Topics| Special Topics]]&lt;br /&gt;
*[[Xradia_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
&lt;br /&gt;
==[[Books and References]]==&lt;br /&gt;
[[Books_and_References#Imaging|&#039;&#039;&#039;Imaging&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Essential_Physics_of_Medical_Imaging| Essential Physics of Medical Imaging]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Bone|&#039;&#039;&#039;Bone&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Books_on_Bone| Books on Bone]]&lt;br /&gt;
*[[Books_and_References#Bone_Morphometry_and_Densitometry| Bone Morphometry and Densitometry]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Student_Reports|&#039;&#039;&#039;Student Reports&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==[[Image Registration]]==&lt;br /&gt;
[[Image_Registration#Scanco_Image_Registration|&#039;&#039;&#039;Scanco Image Registration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Image_Transformation|Image Transformation]]&lt;br /&gt;
*[[Image_Registration#Image_Registration|Image Registration]]&lt;br /&gt;
*[[Image_Registration#Register_MRI_to_HR-pQCT|Register MRI to HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#Similarity_Registration|&#039;&#039;&#039;SimilarityRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Understand_rotation_parameters| Understand rotation parameters]]&lt;br /&gt;
*[[Image_Registration#Set_optimizer_scales| Set optimizer scales]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#SkiRegistration|&#039;&#039;&#039;skiRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#ITK_Rigid_registration_for_HR-pQCT| ITK Rigid registration for HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
==[[Finite Element Modelling]]==&lt;br /&gt;
*[[Finite_Element_Modelling#Scanco_Finite_Element_Modelling| Scanco Finite Element Modelling]]&lt;br /&gt;
*[[Finite_Element_Modelling#FAIM_Finite_Element_Solver| FAIM Finite Element Solver]]&lt;br /&gt;
*[[Finite_Element_Modelling#FE_Tutorial| FE Tutorial]]&lt;br /&gt;
*[[Finite_Element_Modelling#Prepare_AIMs_for_FE_Analysis| Prepare AIMs for FE Analysis]]&lt;br /&gt;
&lt;br /&gt;
==[[Software Plugins and Codes]]==&lt;br /&gt;
----&lt;br /&gt;
*[[Software_Plugins_and_Codes#ImageJ| &#039;&#039;&#039;ImageJ&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#Amira| &#039;&#039;&#039;Amira&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#R|&#039;&#039;&#039;R&#039;&#039;&#039;]] &lt;br /&gt;
*[[Software_Plugins_and_Codes#ParaView| &#039;&#039;&#039;ParaView&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Languages and Toolkits==&lt;br /&gt;
*[[C++|&#039;&#039;&#039;C++&#039;&#039;&#039;]]&lt;br /&gt;
*[[VTK|&#039;&#039;&#039;VTK&#039;&#039;&#039;]]&lt;br /&gt;
*[[ITK|&#039;&#039;&#039;ITK&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Miscellaneous==&lt;br /&gt;
*[[Software_Development_Platforms| &#039;&#039;&#039;Software Development Platforms&#039;&#039;&#039;]]&lt;br /&gt;
*[[Archive|&#039;&#039;&#039;Archive&#039;&#039;&#039;]] &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;table align=&amp;quot;left&amp;quot; width=&amp;quot;85%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; &amp;gt;&lt;br /&gt;
To: [https://www.ucalgary.ca/labs/bonelab/team/steven-boyd &#039;&#039;&#039;Steve Boyd&#039;s homepage&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot;&amp;gt; To: [https://www.ucalgary.ca/labs/bonelab/home &#039;&#039;&#039;Bone Imaging Lab homepage&#039;&#039;&#039;]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7122</id>
		<title>Scanco Administration</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7122"/>
		<updated>2021-04-20T17:28:42Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Delete a directory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS=&lt;br /&gt;
&lt;br /&gt;
==OpenVMS References==&lt;br /&gt;
*[[Media:OpenVMS Users Manual.PDF| OpenVMS User Manual]]&lt;br /&gt;
*[[Media:Vmsfaq.pdf| OpenVMS FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Unix related==&lt;br /&gt;
*[[Media:Vms-unix-commands.pdf| OpenVMS Commands with UNIX equivalents]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix filenames on VMS with multiple &#039;.&#039;===&lt;br /&gt;
&lt;br /&gt;
The directory names would have been cvs-1.11.21.dir on Linux.  However VMS doesn&#039;t allow more than 1 . in the name.  If you enter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set process/parse=extended&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in a terminal you&#039;ll be able to access these files.  You could consider renaming them i.e. cvs-1_11_21.dir.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix command line basics===&lt;br /&gt;
====Twelve Essential Commands====&lt;br /&gt;
&lt;br /&gt;
These are the commands which you have to know in order to be basically functional with a shell (command line).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;&lt;br /&gt;
| List directory contents.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -l&amp;lt;/tt&amp;gt; long listing with dates and permissions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -a&amp;lt;/tt&amp;gt; list all, including hidden files (hidden files start with a period)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Change directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt; change to previous directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ~&amp;lt;/tt&amp;gt; change to home directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ..&amp;lt;/tt&amp;gt; change to parent directory&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;pwd&amp;lt;/tt&amp;gt;	&lt;br /&gt;
| Print current (working) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cp&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Copy file(s).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cp -r somedir somedest&amp;lt;/tt&amp;gt; Copy recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mv&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Move (or rename) a file (or directory)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rm&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Delete (remove) a file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -r somedir&amp;lt;/tt&amp;gt; Delete recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -ri somedir&amp;lt;/tt&amp;gt; Delete recursively, but prompt before each removal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -rf somedir&amp;lt;/tt&amp;gt; Delete recursively, never prompt&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mkdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Create directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rmdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Remove (empty) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cat&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Print file contents (to console).&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;less&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Scroll through file contents, one page at a time. SPACEBAR to advance a page, B to go back a page, Q to quit, /pattern to search for pattern&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;man&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Get help on &amp;lt;tt&amp;gt;command&amp;lt;/tt&amp;gt;. (eg. &amp;lt;tt&amp;gt;man ls&amp;lt;/tt&amp;gt; for help on &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;).  You move around in man as you do with less: SPACEBAR is forward a page, and so on.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;exit&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Close shell (i.e. the terminal). If this is your login shell, you will log out.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File names with spaces====&lt;br /&gt;
&lt;br /&gt;
Spaces on the command line separate arguments. Therefore file names containing spaces require special treatment to avoid being interpreted as two separate files. There are a couple of methods. You can use quotes:&lt;br /&gt;
&lt;br /&gt;
 cp &amp;quot;file name with spaces&amp;quot; file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
You can also use the backslash, which indicates that any special significance is to be removed from the following character. Thus a space, instead of being the delimiter for arguments on a command line, is to be interpreted as a regular character.&lt;br /&gt;
&lt;br /&gt;
 cp file\ name\ with\ spaces file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Copying and pasting====&lt;br /&gt;
&lt;br /&gt;
Copying and pasting in a terminal is generally done with the middle mouse button.  Just mark the text you want to copy with the mouse, holding down the left mouse button in the usual way. Then move the cursor (which is different than the mouse pointer - move the cursor with arrow keys typically) to where you want to insert and click the middle mouse button (on a wheel mouse the middle button is the wheel).&lt;br /&gt;
&lt;br /&gt;
Tip: You can double-click to mark a whole work, or triple-click to mark a whole line. Remember - you haven&#039;t only marked it, you&#039;ve put it in the clipboard.&lt;br /&gt;
&lt;br /&gt;
Note: This applies to X11, for example on Linux.  If using OS-X, just use Option-C and Option-V as usual.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Recalling previous commands====&lt;br /&gt;
&lt;br /&gt;
You can scroll though your previous commands (command history) by using the UP and DOWN arrow keys.&lt;br /&gt;
&lt;br /&gt;
A more advanced trick is to use CTRL-R, which is particularly useful when you want to recall a command you used some time ago. Hit CTRL-R and then start typing some fragment of the command you&#039;re searching for. The prompt will automatically update to show you the most recent match to the fragment you&#039;ve typed so far. If you want the matching command previous to the one shown, hit CTRL-R again. Once you&#039;ve got the previous command you&#039;re looking for, hit ENTER to run it again, or start editing it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Be lazy: use TAB to minimize typing====&lt;br /&gt;
&lt;br /&gt;
Some commands and especially some file names can be pretty long. Don&#039;t want to type it all? Type the first few letters, then hit TAB. The shell will fill in the rest, as far as there is a unique completion (either command or filename). If there is not a unique completion to the end, you might have to type another character or two and then hit TAB again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Keyboard Shortcuts====&lt;br /&gt;
&lt;br /&gt;
Here are some common command line keyboard shortcuts.  Some of these are bash-specific shortcuts, so not all of them will work on all systems.&lt;br /&gt;
&lt;br /&gt;
Note: If you&#039;re using OS-X, a number of the editing shortcuts below work in ALL programs in OS-X.  (With the sad exception of Microsoft Office, which overrides the system-wide key bindings.)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Common editing key bindings&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-A&amp;lt;/tt&amp;gt; || Move to the end of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-E&amp;lt;/tt&amp;gt; || Move to the beginning of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-F&amp;lt;/tt&amp;gt; || Move forward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-B&amp;lt;/tt&amp;gt; || Move backward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-F&amp;lt;/tt&amp;gt; || Move forward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-B&amp;lt;/tt&amp;gt; || Move backward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || Delete one character forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-H&amp;lt;/tt&amp;gt; || Delete one character backward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-D&amp;lt;/tt&amp;gt; || Delete one word forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-W&amp;lt;/tt&amp;gt; || Delete one word backwards.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-K&amp;lt;/tt&amp;gt; || Delete (Kill) everything from the cursor forwards (to the end of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-U&amp;lt;/tt&amp;gt; || Delete everything from the cursor backwards (to the beginning of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-T&amp;lt;/tt&amp;gt; || Transpose two characters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-T&amp;lt;/tt&amp;gt; ||	Transpose two words.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ESC .&amp;lt;/tt&amp;gt; || Insert the last argument (word) from the previous command.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-X-X&amp;lt;/tt&amp;gt; || Move between end of line and current cursor position&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 2. Common control key bindings&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; || Terminate the current program, or sometimes cancel some operation.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-\&amp;lt;/tt&amp;gt; || Seriously kill the current program! Use only after &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; has failed.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || End-of-file. This is often used to signal the end of input, or to exit a program.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-G&amp;lt;/tt&amp;gt; || Cancel the current operation. An occasionally useful command to get yourself out of things.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-L&amp;lt;/tt&amp;gt; || Redraw the console. Mostly useful if some program running in the background spews a lot of stuff onto your terminal.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Q&amp;lt;/tt&amp;gt; || The only time you need this is if you accidently hit &amp;lt;tt&amp;gt;CTRL-S&amp;lt;/tt&amp;gt;. In that case the console is locked until you hit CTRL-Q to unlock it. Apparently once a long long time ago this was actually a useful feature.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; || Recall command containing characters. After hitting &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt;, type the fragment you want to search for. If it returns a command which isn&#039;t the one one want, hit &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; again to cycle through matches.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Z&amp;lt;/tt&amp;gt; || Suspend the current program and put it in the background. This is very useful once you figure out how it works. Refer to the section on putting jobs in the background.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Using scp to copy files between computers====&lt;br /&gt;
&lt;br /&gt;
scp is a secure copy command that works bewteen computers.  Typically any computer that supports ssh also supports scp.  You must have an actual user account on the target computer, so for example you typically won&#039;t be able to scp to mike.kin .&lt;br /&gt;
&lt;br /&gt;
scp works just like the cp command, with a few extra decorations:&lt;br /&gt;
&lt;br /&gt;
 scp eric@mighty-mac.kin.ucalgary.ca:Documents/important_file.txt .&lt;br /&gt;
&lt;br /&gt;
In this example the file I want to copy is on the computer mighty-mac.kin.ucalgary.ca, and I used eric@ to specify my user name.  You can leave off the user name if it is the same on both computers.  The period as the destination is just standard Unix short-hand for the current directory.  You can use the -r flag to copy whole directories.  For example:&lt;br /&gt;
&lt;br /&gt;
 scp -r calculations mighty-mac.kin.ucalgary.ca:Documents/Projects&lt;br /&gt;
&lt;br /&gt;
In this example calculations is a directory containing many files, and possibly subdirectories.  This example copies files to mighty-mac instead of from it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Running long calculations====&lt;br /&gt;
&lt;br /&gt;
Here are some useful tips for running long jobs.&lt;br /&gt;
&lt;br /&gt;
=====Getting the prompt back after starting a job=====&lt;br /&gt;
&lt;br /&gt;
Use &amp;amp; at the end of the command. This puts the job in the background. For example:&lt;br /&gt;
&lt;br /&gt;
 ./myjob someargs &amp;amp;&lt;br /&gt;
&lt;br /&gt;
To see all your background jobs (the ones started in the current shell), enter:&lt;br /&gt;
&lt;br /&gt;
 jobs&lt;br /&gt;
&lt;br /&gt;
To bring one of these to the foreground, use:&lt;br /&gt;
&lt;br /&gt;
 fg %n&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;n&amp;lt;/tt&amp;gt; is the job number (yes it needs a &amp;lt;tt&amp;gt;%&amp;lt;/tt&amp;gt; in front of it). To move it to the background again, hit CTRL-Z. This however doesn&#039;t just move the job to the background, it suspends it. To get it running again, use&lt;br /&gt;
&lt;br /&gt;
 bg %n&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Keeping a job running after you log out=====&lt;br /&gt;
&lt;br /&gt;
Use nohup. For example, suppose you want to run &amp;lt;tt&amp;gt;./myjob 20&amp;lt;/tt&amp;gt;. In this case, you could use:&lt;br /&gt;
&lt;br /&gt;
 nohup nice ./myjob 20 &amp;amp;&amp;gt; output &amp;amp;&lt;br /&gt;
&lt;br /&gt;
There are several things to note here:&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;tt&amp;gt;&amp;amp;&amp;lt;/tt&amp;gt; at the end of the command line is there so you get the command prompt back immediately (see the previous section).&lt;br /&gt;
* We have redirected the output to a file out_file with &amp;lt;tt&amp;gt;&amp;amp;&amp;gt; output&amp;lt;/tt&amp;gt;. If you don&#039;t do this, any output to STDIN (normally the console) will automatically go into a file called &amp;lt;tt&amp;gt;nohup.out&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* We&#039;ve niced the job to reduce it&#039;s execution priority. This is courteous if you&#039;re a multiuser system. &lt;br /&gt;
&lt;br /&gt;
If you want to see what&#039;s in nohup.out (or whatever you called it) at any time, you can do the usual&lt;br /&gt;
&lt;br /&gt;
 cat nohup.out&lt;br /&gt;
&lt;br /&gt;
Here&#039;s another potentially more useful command:&lt;br /&gt;
&lt;br /&gt;
 tail -f nohup.out&lt;br /&gt;
&lt;br /&gt;
tail shows you the last few lines of the files. In addition, the -f flag (&amp;quot;follow&amp;quot;) means that as lines get added to the file, they are displayed on the screen. This looks just like when you run the program without nohup, except when you hit CTRL-C, the program keeps on running in the background.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Finding out if any of your jobs are still running=====&lt;br /&gt;
&lt;br /&gt;
This command will show all jobs that belong to user &amp;quot;eric&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
Another useful command is &amp;quot;top&amp;quot;, which will show interactively which processes are using the most processor cycles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Terminating a job prematurely=====&lt;br /&gt;
&lt;br /&gt;
If you decide that you want to kill the job before it completes, this is the command:&lt;br /&gt;
&lt;br /&gt;
 kill PID&lt;br /&gt;
&lt;br /&gt;
where PID is the actual PID (a number) of the process.  You find the PID with &#039;top&#039; or &#039;ps -u eric&#039;  (replace eric by your user ID of course).&lt;br /&gt;
&lt;br /&gt;
Occasionally a process will decline to terminate when you request it to.  This is the more brutal, never-fails method to kill a job immediately:&lt;br /&gt;
&lt;br /&gt;
 kill -s KILL PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Suspending a long-running job and restarting it later=====&lt;br /&gt;
&lt;br /&gt;
First find the PID (process ID) with top or with ps. For example, I might list all jobs belonging to me with:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
To stop the job, send it a STOP signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s STOP PID&lt;br /&gt;
&lt;br /&gt;
(replace PID with the actual PID number). It is now no longer running, but it still occupies memory (although the memory it uses will probably be swapped out to disk). When you want to resume execution, give it a CONT signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s CONT PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Graphical Applications==&lt;br /&gt;
&lt;br /&gt;
===Calendar - Fix corruption===&lt;br /&gt;
&lt;br /&gt;
Sometimes the calendar file can be corrupted, which is annoying every time you log onto the system. &lt;br /&gt;
&lt;br /&gt;
When we login to a server through a workstation, there is a &amp;quot;File is not a Calendar Datafile.&amp;quot; information message pops up.&lt;br /&gt;
&lt;br /&gt;
This means that the calendar database got corrupted during an improper interruption such as a system crash due to a power outage.&lt;br /&gt;
&lt;br /&gt;
To fix this, you will need to login to the Server through the Workstation&lt;br /&gt;
&lt;br /&gt;
Once logged in:&lt;br /&gt;
 cd xdefaults&lt;br /&gt;
 dir *calendar*.dat  /date&lt;br /&gt;
&lt;br /&gt;
Delete the calendar file for the workstation, such as the following James workstation:&lt;br /&gt;
 del decw$calendar_sc3401.dat&lt;br /&gt;
&lt;br /&gt;
Once logged out and logged in again, you will be asked if you want to create a new calendar file. &lt;br /&gt;
Say &amp;quot;yes&amp;quot; there and a new calendar will open. &lt;br /&gt;
&lt;br /&gt;
In the calendar window menu &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;general&amp;quot; set the &amp;quot;start iconized&amp;quot; -&amp;gt; apply and &amp;quot;ok&amp;quot;, then &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;save settings&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
So next time you log in, the calendar window will be minimized in the right lower corner.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Session Manager - Create a customized button===&lt;br /&gt;
The session manager part to enable the double-click on the AIM file:&lt;br /&gt;
Session Manager, &#039;Options&#039;, &#039;Menu&#039;, enter new item&lt;br /&gt;
SAP&lt;br /&gt;
with command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@decw$user_defaults:sap$vue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then move that menu point into &#039;Applications&#039; menu.&lt;br /&gt;
Also:&lt;br /&gt;
&#039;Options&#039;, &#039;File types&#039;, Create &#039;AIM&#039; file type.&lt;br /&gt;
Move &#039;rename&#039;, &#039;copy&#039;, &#039;purge&#039; etc. into menu, Select &#039;SAP&#039;, click  on&lt;br /&gt;
&#039;Change double click&#039;, and also move SAP into menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===EVE Editor===&lt;br /&gt;
&lt;br /&gt;
====Launch EVE editor====&lt;br /&gt;
&lt;br /&gt;
On the command line&lt;br /&gt;
  $ edit/display=decwindows/tpu fname.txt&lt;br /&gt;
&lt;br /&gt;
Or to set it up permanently, edit &amp;lt;code&amp;gt;DISK1:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; to include &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Configure EVE editor====&lt;br /&gt;
&lt;br /&gt;
The following file, called &amp;lt;code&amp;gt;tpu.dat&amp;lt;/code&amp;gt;, should be installed in &amp;lt;code&amp;gt;disk1:[microct.xdefaults]:&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# DECTPU V3.1 1993-04-22 15:50 defaults&lt;br /&gt;
# CHANGED B.KOLLER 21-JUN-90&lt;br /&gt;
#&lt;br /&gt;
# Copyright (c) 1993 Digital Equipment Corporation.  All rights reserved.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# The following are all the resource names that DECTPU supports.&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Title:		DECTPU Copyright © Digital Equipment Corporation 1992.  All Rights Reserved.&lt;br /&gt;
Tpu.Tpu$MainWindow.ApplicationTitle:	DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.IconName:		DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.X:			610&lt;br /&gt;
Tpu.Tpu$MainWindow.Y:			0&lt;br /&gt;
#&lt;br /&gt;
# The following resource names are commented out so that users can specify&lt;br /&gt;
# *rows and *columns and have DECTPU obey those directives.  If DECTPU finds&lt;br /&gt;
# finds no resource names governing the number of rows and columns it should&lt;br /&gt;
# have, it uses 24 rows and 80 columns.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Columns:	80&lt;br /&gt;
Tpu.Tpu$MainWindow.Rows:	56&lt;br /&gt;
*EVE_MENU_BAR*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmScrollBar*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmDialogShell*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmMenuShell*background:	#ADADADADADAD&lt;br /&gt;
*background:			white&lt;br /&gt;
Tpu*condensedFont: OFF&lt;br /&gt;
Tpu*fontSetSelection: 0&lt;br /&gt;
&lt;br /&gt;
# 0 = big font&lt;br /&gt;
# 1 = little font&lt;br /&gt;
# 2 = GS font (German Standard)&lt;br /&gt;
# 3 = Fine font (used only for non-latin 1 fonts?)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====EVE editor Commands====&lt;br /&gt;
&lt;br /&gt;
* mark -&amp;gt; ctrl-space&lt;br /&gt;
* delete -&amp;gt; remove (delete)&lt;br /&gt;
* insert -&amp;gt; insert here (insert)&lt;br /&gt;
* learn -&amp;gt; ctrl-k (ctrl-r to stop)&lt;br /&gt;
* The right &#039;alt&#039; key on the PC accesses the menu for EVE.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| copy&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;Remove&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;Insert Here&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt; &amp;lt;code&amp;gt; &amp;lt;ctrl&amp;amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| cut&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;Remove&amp;amp;gt; &amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;delete&amp;amp;gt; &amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt; &amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;#&amp;amp;gt;&amp;amp;lt;(CTRL-Q)&amp;amp;gt; &amp;lt;/code&amp;gt; (the &amp;lt;code&amp;gt;CTRL-Q &amp;lt;/code&amp;gt; depends on the given key sequence).&lt;br /&gt;
|-&lt;br /&gt;
| find next&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter search string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| replace string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;S&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| margins&lt;br /&gt;
| Mouse click bottom of window type: &amp;lt;code&amp;gt;set right 999&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF4&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*To avoid having the EVE editor automatically create multiple lines from a long input sequence set the margins [FORMAT - SET MARGINS] to some high number eg. 500.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use Commands Remotely with XWin32====&lt;br /&gt;
&lt;br /&gt;
Default key settings:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| remove (cut) and append to previous paste buffer&lt;br /&gt;
| &amp;lt;code&amp;gt;9&amp;lt;/code&amp;gt; (nine on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt;&amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;-Q&amp;lt;/code&amp;gt; or given key sequence&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| go to end of line&lt;br /&gt;
| &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; (two on number pad) or &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;E&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;backspace&amp;amp;gt; or &amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;H&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of word&lt;br /&gt;
| &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; (one on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| delete line to left of cursor&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;U&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt; or .&amp;lt;/code&amp;gt; (on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select all text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;O&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off overstrike&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;A&amp;amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| save and exit&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Z&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter command&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may find it useful to define keys. For example, define keys to cut, copy and paste:&lt;br /&gt;
&lt;br /&gt;
*To Cut &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;X&amp;amp;gt;&amp;lt;/code&amp;gt;:    &lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/x cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Copy &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;C&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/c copy&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Paste &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;V&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/v paste&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use terminal based editor (EVE)====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ edit file.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you are using this from a remote terminal, you will need to initiate a vt100 terminal.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set term /vt100&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some useful commands:&lt;br /&gt;
:* ctrl-z -&amp;gt; exit with save&lt;br /&gt;
:* ctrl-y -&amp;gt; kill without saving&lt;br /&gt;
:* do-key, then type &#039;quit&#039; or &#039;exit&#039; (what is the do key on a remote terminal?)&lt;br /&gt;
:* PF2 -&amp;gt; shows special keypad functions&lt;br /&gt;
:* GoldKey -&amp;gt; PF1&lt;br /&gt;
&lt;br /&gt;
====Use EVE editor Remotely====&lt;br /&gt;
For remote sessions, once used $ EVE to start the text editor, press Ctrl-B to bring up a command line at the bottom of the screen.&lt;br /&gt;
&lt;br /&gt;
*Command: @eveconfig&lt;br /&gt;
&lt;br /&gt;
This will set backspace to delete normally.&lt;br /&gt;
*Ctrl-X cut&lt;br /&gt;
*Ctrl-C copy&lt;br /&gt;
*Ctrl-V paste&lt;br /&gt;
*Ctrl-S save file&lt;br /&gt;
*Ctrl-L learn command&lt;br /&gt;
*Ctrl-F find next&lt;br /&gt;
*Ctrl-Q quit&lt;br /&gt;
*Ctrl-O open&lt;br /&gt;
*Ctrl-space to select&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout Views===&lt;br /&gt;
====View scout views in two locations====&lt;br /&gt;
Go to scout view directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT side:&lt;br /&gt;
$ cd DISK1:[MICROCT.DATA.SCOUTS]&lt;br /&gt;
&lt;br /&gt;
VivaCT side:&lt;br /&gt;
$ cd ADISK1:[VIVACT.DATA.SCOUTS]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the program ximage&lt;br /&gt;
&amp;lt;pre&amp;gt;$ x asdf.SCV&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For XtremeCT users, 2 sets of scout views are saved. Scout views can be viewed from the main scouts directory (above) and in the data directory under specific patient and measurement numbers. For example using patient #: 2795 and meas#:9933: &lt;br /&gt;
 $ cd DISK2:[MICROCT.DATA.00002795.00009933]&lt;br /&gt;
 $ x C00008848.SCV&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reuse old scout views====&lt;br /&gt;
Reference SCV files are not overwritten. When you Save a new reference within the scout view Dialog, it writes a new version that is read by the measurement program.&lt;br /&gt;
&lt;br /&gt;
If you want to return to an old scout view reference, you will have to manipulate files manually.&lt;br /&gt;
&lt;br /&gt;
Typically all the scouts are accessible here:&lt;br /&gt;
  DISK1:[MICROCT.DATA.SCOUTS]0000PPPPSS.SCV&lt;br /&gt;
&lt;br /&gt;
PPPP being the patient number, and SS the Site Code number [i.e. 20,21,38,39 = RL, RR, TL, TR].&lt;br /&gt;
&lt;br /&gt;
Assuming you have only version;1 and ;2 what you can do is to rename/delete version;2, so that it is not read anymore by the measurement program.&lt;br /&gt;
Or copy version;1 as version;3, but this is rather messy.&lt;br /&gt;
&lt;br /&gt;
Note: Do not look in the measurement directories. There are copies of the SCV files, but those are not the one called by the measurement program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==File Operations==&lt;br /&gt;
&lt;br /&gt;
===Copy and Move===&lt;br /&gt;
====Copy files between accounts/users====&lt;br /&gt;
&lt;br /&gt;
As user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; you can copy files between accounts (e.g., microct and devel).  There is no need to set user/priv=bypass as this is set by default as user system.&lt;br /&gt;
&lt;br /&gt;
If you want to copy between two users (i.e. normal users, not calibration or system), then you can only write on the user directories for which you are logged in. So, if you want&lt;br /&gt;
to copy files from account xtremect2 to microct, you need to log into microct account and copy the file from xtremect2 to microct&lt;br /&gt;
&lt;br /&gt;
If you want to use the backup command for copying multiple subdirectories with &lt;br /&gt;
the three dots (e.g., &amp;lt;code&amp;gt;disk2:[microct.data.00000034...]&amp;lt;/code&amp;gt;) then you HAVE to put an &amp;lt;code&amp;gt;/owner=devel&amp;lt;/code&amp;gt; at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/log disk2:[microct.data.00000034...] -&lt;br /&gt;
        disk2:[devel.data.00000034...]/own=devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a directory on the same device====&lt;br /&gt;
&lt;br /&gt;
You can simply use the rename command to move a directory on the same device, but you need to set DELETE protection for the file owner for this to work&lt;br /&gt;
 $ set prot=o:rwed &amp;lt;dir&amp;gt;.dir&lt;br /&gt;
 $ ren &amp;lt;dir&amp;gt;.dir new:[parent.directory]&lt;br /&gt;
 $ set prot=o:rwe new:[parent.directory]&amp;lt;dir&amp;gt;.dir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a whole directory structure with BACKUP command====&lt;br /&gt;
&lt;br /&gt;
Sometimes we want to move entire directories. For example, moving a measurement directory from DISK2 to DISK6, or moving a project to another disk. &lt;br /&gt;
&lt;br /&gt;
Here is how to move a project:&lt;br /&gt;
  $ BACKUP DISK2:[MICROCT.PROJECTS...] DISK3:[MICROCT.PROJECTS...]/VERIFY&lt;br /&gt;
&lt;br /&gt;
Note the use of &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; in both places.&lt;br /&gt;
&lt;br /&gt;
If you move a data measurement, you could do it as follows:&lt;br /&gt;
  $ BACKUP DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
In both cases, you can add a &amp;lt;code&amp;gt;/DELETE&amp;lt;/code&amp;gt; command to so that it deletes after the move is completed and verified.&lt;br /&gt;
  $ BACKUP/VERIFY/DELETE DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can simply check that the move was successful, and then delete the original files:&lt;br /&gt;
  $ delete disk2:[microctt.projects...]*.*;*&lt;br /&gt;
  $ dl disk2:[microctt.projects...]*.dir     ! A for all; do until sub-dirs are gone&lt;br /&gt;
&lt;br /&gt;
Note that I&#039;ve misspelled &amp;quot;microctt&amp;quot; on purpose as these commands are VERY dangerous. You could wipe out a lot of data by accident. Be careful!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix corrupted VMS files when moved to or from a PC====&lt;br /&gt;
&lt;br /&gt;
We start by getting good file format/attributes from a good aim/isq/gobj, etc.&lt;br /&gt;
&lt;br /&gt;
  $ ana/rms/fdl/out=correct.fdl good.aim&lt;br /&gt;
&lt;br /&gt;
Then we edit the file correct.fdl, leaving only 5 lines:&lt;br /&gt;
  RECORD&lt;br /&gt;
        BLOCK_SPAN                        yes&lt;br /&gt;
        CARRIAGE_CONTROL                  none&lt;br /&gt;
        FORMAT                            fixed&lt;br /&gt;
        SIZE                              512&lt;br /&gt;
 &lt;br /&gt;
Now we have to set the file attributes of the affected aim (isq, gobi) file:&lt;br /&gt;
&lt;br /&gt;
  $ set file/attr=lrl=514 bad.aim    ! Yes, 514&lt;br /&gt;
  $ set file/attr=lrl=514 *.AIM        ! do a bunch at a time&lt;br /&gt;
&lt;br /&gt;
Finally we create a fixed file&lt;br /&gt;
&lt;br /&gt;
  $ convert/fdl=correct.fdl/trunc bad.aim converted.aim&lt;br /&gt;
&lt;br /&gt;
This process discards the superfluous 2 bytes, usually caused by transferring to/from a PC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Delete===&lt;br /&gt;
&lt;br /&gt;
====Delete older versions of files====&lt;br /&gt;
Use the PURGE command.[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ PURGE	                                        !Removes older versions of all files in the directory! CAREFUL!!!!&lt;br /&gt;
$ PURGE myfile.aim                              !Removes older versions of myfile.aim.&lt;br /&gt;
$ PURGE /KEEP=3                                 !Removes all but the three most recent versions of all files.&lt;br /&gt;
$ HELP PURGE	                                !More information on the PURGE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Undelete Files====&lt;br /&gt;
&lt;br /&gt;
The Disk/File Utility (DFU) will allow you to restore files that have been deleted, however, you will only be able to do so if the disk space hasn&#039;t been overwritten.  This means that unless all scanning and access to the disk is stopped, you likely only have a couple of hours at most to undelete the files. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the system user and start the disk file utility program, DFU. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dfu&lt;br /&gt;
DFU&amp;gt; undelete diskX: /file=myfile OR undelete filepath/filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, suppose we want to restore an RSQ (C0001234.RSQ) that was deleted from the BH data disk (disk2):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; undelete disk2:/file=C0001234.RSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If the file can be undeleted successfully (i.e., without corruption), then you will be asked if you wish to restore the file.  Type &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
When done restoring desired files, to get out of dfu: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; exit&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*The undelete function will lock access to the disk while it searches for a file and until you respond &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot; to restoring it.  This means that all programs and commands trying to access the disk (i.e., by other people using the system) will appear to freeze momentarily until the disk is unlocked.  &lt;br /&gt;
*If you search for a specific file, the lock period will be very short (maybe 15-30 seconds).  If you search for files in general (e.g., *.RSQ), the lock period will be longer (maybe 5 to 10 minutes).  &lt;br /&gt;
*You cannot search specific locations for files (i.e., a folder on a disk).  &lt;br /&gt;
*Files are restored to their original location on disk.&lt;br /&gt;
*More information on DFU can be found here: http://digiater.nl/dfu.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Delete a directory/file====&lt;br /&gt;
Use the DL command (this calls the script $ @SCOM:DL.COM), but first remove all files from the directory.&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  	                                        &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ DL subdir.dir;	                        !Deletes subdir.dir with confirmation.&lt;br /&gt;
$ DL disk:[dir.subdir...]*.dir                  !* for all; do until subdirs are gone.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the DELETE command, but first remove all files from the directory and set file protections to enable deletion of the directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROT=O:RWED [.subdir...]*.*;*        !Changes protections so you can delete the files.  O is short for OWNER and RWED refers to Read, Write, Edit, Delete.&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED subdir.dir         !Changes protections so you can delete the subdirectory subdir.dir.  &lt;br /&gt;
$ DEL subdir.dir;                               !Deletes the subdirectory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the file cannot be deleted to due a permission error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ purge 12_RAD_FX.AIM&lt;br /&gt;
%PURGE-W-FILNOTPUR, error deleting DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
-RMS-E-FLK, file currently locked by another user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set ho 0                                      ! log in as calibration&lt;br /&gt;
$ spb &lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that still doesn&#039;t work, then maybe you need to kill a process first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device  disk4 /file                      ! shows all the files currently involved in a process&lt;br /&gt;
$ set ho 0                                      ! log in as &#039;system&#039;&lt;br /&gt;
$ stop /id=2081F1EC&lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Authorizations===&lt;br /&gt;
&lt;br /&gt;
====Can not access a Projects directory====&lt;br /&gt;
In principal, all Scanco user accounts (even including the calibration ones) should have read and write access to the Projects directories. While it (denied reading or writing access to a Project folder) did happen for a reason (used different accounts to create a file or a subfolder within a Projects folder), you could let lab administrator know and carefully run the following command to overwrite the authority, or switch to microct or xtremct2 account to perform as a walkaround. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set file/prot=(g:rwe,o:rwe) disk4:[bonelab.projects.danielle...]*.*;*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To avoid this happening again, make use always using the same account consistently to create all files and subfolders within their Project folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Administrative Commands==&lt;br /&gt;
&lt;br /&gt;
===Query commands===&lt;br /&gt;
====Check licenses on VMS system====&lt;br /&gt;
&lt;br /&gt;
This can be used to see what educational licenses (and other licenses) are currently on the system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW LICENSE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply for an educational license go to http://www.openvmsedu.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check MAC address of VMS system====&lt;br /&gt;
You can check them using the command&lt;br /&gt;
  $ mcr lancp sh dev/char&lt;br /&gt;
For example, the result on percy.kin.ucalgary.ca gives&lt;br /&gt;
&lt;br /&gt;
  Device Characteristics EIA0:&lt;br /&gt;
                  Value  Characteristic&lt;br /&gt;
                  -----  --------------&lt;br /&gt;
                   1500  Device buffer size&lt;br /&gt;
                 Normal  Controller mode&lt;br /&gt;
               External  Internal loopback mode&lt;br /&gt;
      00-02-A5-20-29-99  Hardware LAN address&lt;br /&gt;
                         Multicast address list&lt;br /&gt;
                CSMA/CD  Communication medium&lt;br /&gt;
      FF-FF-FF-FF-FF-FF  Current LAN address&lt;br /&gt;
                    128  Minimum receive buffers&lt;br /&gt;
                    256  Maximum receive buffers&lt;br /&gt;
                    Yes  Full duplex enable&lt;br /&gt;
                    Yes  Full duplex operational&lt;br /&gt;
            TwistedPair  Line media type&lt;br /&gt;
                    100  Line speed (mbps)&lt;br /&gt;
    Disabled/No Failset  Logical LAN state&lt;br /&gt;
                      0  Failover priority&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update commands===&lt;br /&gt;
&lt;br /&gt;
====Change hosts====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr latcp show service *                      ! and if it shows you SCTHIN:&lt;br /&gt;
$ set host scthin                               ! or&lt;br /&gt;
$ set host scthin/lat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update OpenVMS Licenses====&lt;br /&gt;
This needs to be done on all the Calgary workstations, XtremeCT, vivaCT40/uCT35, and uCT100.&amp;lt;br&amp;gt;&lt;br /&gt;
Request licenses from HP:&lt;br /&gt;
*School Identification (for U of C): 855803-9502&lt;br /&gt;
*License type: OpenVMS VAX/Alpha (uCT100: OpenVMW Integrity) Layered Products?  (Or try others)&lt;br /&gt;
*Member of DSPP or AlicanceONE: No&lt;br /&gt;
*Do you use a VAX or Alpha Emulator: No&lt;br /&gt;
&lt;br /&gt;
On every workstation, you need to check which licenses are loaded and update those with a termination date.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show license&lt;br /&gt;
&lt;br /&gt;
Active licenses on node SCEVA3:&lt;br /&gt;
&lt;br /&gt;
------- Product ID --------    ---- Rating ----- -- Version --&lt;br /&gt;
Product            Producer    Units PCL   Activ Version Release    Termination&lt;br /&gt;
C                  DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CXX-V              DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
FORTRAN            DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
LSE                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
MMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
VMSCLUSTER         DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
OPENVMS-I64-FOE    HP              4  1     0      0.0  (none)      (none)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
*HP will provide you with a script file ([[media:Openvms_license_update_hp.docx |&#039;&#039;&#039;Example script from HP&#039;&#039;&#039; ]]) containing a large number of licenses. &lt;br /&gt;
*Modify the script to contain only the relevant licenses and load the licenses ([[Media:Openvms_license_update.docx |&#039;&#039;&#039;Example modified script&#039;&#039;&#039;]]).&lt;br /&gt;
*Login as user: system&lt;br /&gt;
*Re-check the licenses on the workstation to ensure that the termination date has been updated.&lt;br /&gt;
*The date after expiry, if cannot log in, then there is a problem with the VMS Cluster license, which was installed by Scanco. Contact Mark Blanchard (mblanchard@scanco.ch) about this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understanding how to set default parameters with OpenVMS====&lt;br /&gt;
&lt;br /&gt;
Here is how the files all hang together...&lt;br /&gt;
&lt;br /&gt;
LOGIN.COM is called automatically during login and calls&lt;br /&gt;
::MICROCT_SETUP.COM, which sets the scanner ID, data device, etc. This file calls&lt;br /&gt;
::::MICROCT_SETUP_COMMON.COM to create general settings. This file is located in DISK0:[MICROCT_COMMON] and calls&lt;br /&gt;
::::::MICROCT_FE.COM, if present, to setup the environment for Bert&#039;s FE program&lt;br /&gt;
::::::MICROCT_SETUP_SITE_SPECIFIC.COM to create local settings for all accounts (e.g. ICALC)&lt;br /&gt;
::::::MICROCT_SETUP_COMMON_*.COM, if present, typically to create application-specific settings for all accounts&lt;br /&gt;
::::::MICROCT_SETUP_GROUP_*.COM, if present, to create local settings for specific groups (e.g. group 3401)&lt;br /&gt;
::MICROCT_SETUP_USER.COM to create user-specific settings.&lt;br /&gt;
&lt;br /&gt;
Note that the $UM designation is the MAIN directory, and the location of the binary files. To see a list: &lt;br /&gt;
&lt;br /&gt;
  $ dir DISK0:[MICROCT_COMMON.MAIN]&lt;br /&gt;
&lt;br /&gt;
This is where you&#039;ll find IPL_SCANCO_FE.EXE, IPL_SCANCO_M.EXE, etc.&lt;br /&gt;
&lt;br /&gt;
Lots of stuff here:&lt;br /&gt;
&lt;br /&gt;
  Directory DISK0:[MICROCT_COMMON]&lt;br /&gt;
&lt;br /&gt;
  3309.DIR;1          DATABASE.DIR;1      DEMO.DIR;1          EVAL.DIR;1         &lt;br /&gt;
  MAIN.DIR;1          TEMPLATES.DIR;1     TIPS.DIR;1          UIL.DIR;1          &lt;br /&gt;
  UTIL.DIR;1          WWW.DIR;1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Edit Symbol====&lt;br /&gt;
&lt;br /&gt;
=====Edit SCANCO_SUBMIT_COMMAND=====&lt;br /&gt;
&lt;br /&gt;
*Check the current setting:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show sym *submit*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In directory &amp;lt;code&amp;gt;DISK2:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; add the following line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SCANCO_SUBMIT_COMMAND :== SUBMIT/NOPRINT/QUE=SYS$SLOW /NOTIFY/LOG=SYS$SCRATCH:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then end session and log in again.  Definition of the symbol in the &lt;br /&gt;
&amp;lt;code&amp;gt;MICRO_SETUP_USER.COM&amp;lt;/code&amp;gt; supersedes the standard setting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Edit AIX=====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Log in as user calibration (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user.&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
 $ set proc/priv=bypass&lt;br /&gt;
Or &lt;br /&gt;
 $ spb&lt;br /&gt;
Change to the MICROCT_COMMANDS directory.&lt;br /&gt;
 $ cdc &lt;br /&gt;
 $ sea *.com aix&lt;br /&gt;
 $ eve microct_setup_common.com&lt;br /&gt;
Edit the file which is called &amp;lt;code&amp;gt;MICROCT_SETUP_COMMON.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Another example&#039;&#039;: To make the backspace/insert keys work properly, edit the &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt; and insert the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set terminal/insert&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Anywhere suitable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Time====&lt;br /&gt;
=====Change system date and time=====&lt;br /&gt;
The OpenVMS system should adjust for daylight savings, however, this is currently incorrect for the alpha systems.  The alpha systems will need to be manually moved forward in March and moved back in April. To do this, you will need to login as system&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ show time&lt;br /&gt;
$ set time=dd-mmm-yyyy:hh:mm:ss/cluster   !/cluster to change the time on all computers at once&lt;br /&gt;
$ set time=01-APR-2012:18:00/cluster      !Example:  Set the system to April 1, 2012, 6 pm.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Set time zone=====&lt;br /&gt;
As user system:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:utc$time_setup&lt;br /&gt;
Choose &amp;quot;CANADA&amp;quot; from the menu.&lt;br /&gt;
Choose &amp;quot;MOUNTAIN&amp;quot; from the menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Disable Distributed Time Synchronization Service (DTSS)=====&lt;br /&gt;
DTSS will automatically adjust the clocks for daylight savings (i.e., 2am to 1am on the 2nd Sunday in March, 2am to 3am on the 1st Sunday in November).  As user system:&lt;br /&gt;
&lt;br /&gt;
 $ mcr ncl disable dtss&lt;br /&gt;
 $ mcr ncl delete dtss&lt;br /&gt;
 $ eve sys$startup:sylogicals.com&lt;br /&gt;
&lt;br /&gt;
Add line to disable DTSS&lt;br /&gt;
  $ DEFINE/SYSTEM/EXEC NET$DISABLE_DTSS TRUE&lt;br /&gt;
Save and exit.&lt;br /&gt;
Now re-set the time zone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Configure Network Time Protocol (NTP) server to synchronize clocks=====&lt;br /&gt;
*NTP must be configured for each node (computer).  Login as user system.&lt;br /&gt;
NTP can only synchronize the system clock if the error is less than 1000 seconds. &lt;br /&gt;
 &lt;br /&gt;
Synchronize the system clock to UofC&#039;s NTP server (ensures time is correct to within 1000s):&lt;br /&gt;
&lt;br /&gt;
 $ mcr sys$system:tcpip$ntpdate ntp.cpsc.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
Enable NTP:&lt;br /&gt;
&lt;br /&gt;
 $ cd sys$startup&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
   3 - Server components&lt;br /&gt;
   12 - NTP&lt;br /&gt;
   1 – Enable service on this node&lt;br /&gt;
   E – Exit menu&lt;br /&gt;
   E – Exit configuration procedure&lt;br /&gt;
   N – don’t start service&lt;br /&gt;
&lt;br /&gt;
Create the NTP configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ sys$sysroot:[tcpip$ntp]&lt;br /&gt;
 $ copy/log tcpip$ntp.template tcpip$ntp.conf&lt;br /&gt;
 $ eve tcpip$ntp.conf&lt;br /&gt;
&lt;br /&gt;
Comment out existing peer and server entries (# for comments).&lt;br /&gt;
Add entries for local servers.&lt;br /&gt;
        server ntp.cpsc.ucalgary.ca&lt;br /&gt;
        server ntp1.cpsc.ucalgary.ca&lt;br /&gt;
Save and exit.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Start NTP:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:tcpip$ntp_startup&lt;br /&gt;
&lt;br /&gt;
Check the log:&lt;br /&gt;
&lt;br /&gt;
 $ type/cont/int=1 sys$sysroot:[tcpip$ntp]tcpip$ntp_run.log&lt;br /&gt;
&lt;br /&gt;
Sample log file:&lt;br /&gt;
&lt;br /&gt;
 $ Set NoOn&lt;br /&gt;
 $ VERIFY = F$VERIFY(F$TRNLNM(&amp;quot;SYLOGIN_VERIFY&amp;quot;))&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: ntpd version = 4.1.0&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: precision = 976 usec&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: drift file &#039;SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT&#039; does not exist: no such file or directory&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: will attempt to create drift file &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Email====&lt;br /&gt;
=====Setup email server=====&lt;br /&gt;
The SMTP protocol is not enabled by default. If you use &amp;lt;code&amp;gt;tcpip$config&amp;lt;/code&amp;gt; you can switch on the mail server under Client Components. As system:&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
 $ @SYS$MANAGER:TCPIP$CONFIG&lt;br /&gt;
Or&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
 -&amp;gt; 2 (client components)&lt;br /&gt;
 -&amp;gt; 6 (SMTP)&lt;br /&gt;
 -&amp;gt; 2 (Enable &amp;amp; Start services)&lt;br /&gt;
&lt;br /&gt;
*Select option 2 (client components) from the menu.&lt;br /&gt;
*Select option 6 (SMTP) from the next menu to enable and start it.&lt;br /&gt;
&lt;br /&gt;
Since your smtp server is not registered anywhere, it can be that emails sent from this server will be filtered out as spam on the way to your mailbox. In that case you would need a so called MX record for your mail server. Contact UofC IT to resolve this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Send an email=====&lt;br /&gt;
Example:  Send an email without an attachment.&lt;br /&gt;
 $ mail sys$scratch:email_message.txt/subject=&amp;quot;email subject&amp;quot; &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example:  Send an email with an attachment.&lt;br /&gt;
 $ MIME :== $MIME.EXE&lt;br /&gt;
 $ MIME MIME&amp;gt; NEW /NOEDIT sys$scratch:file.txt&lt;br /&gt;
 MIME&amp;gt; ADD /TEXT thisattached.txt&lt;br /&gt;
 MIME&amp;gt; ADD /BINARY thatattached.zip&lt;br /&gt;
 MIME&amp;gt; ADD /MESSAGE this_is_written.txt&lt;br /&gt;
 MIME&amp;gt; SAVE&lt;br /&gt;
 MIME&amp;gt; EXIT&lt;br /&gt;
 $ MAIL /SUBJECT=&amp;quot;MIME-encoded Message&amp;quot; - sys$scratch:file.txt &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
 $&lt;br /&gt;
*MIME&amp;gt; ADD /TEXT *.txt does not work&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Action commands===&lt;br /&gt;
====Send a message to terminals====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ reply /all &amp;quot;Merry Christmas to Bone Imaging Lab!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  Reply received on SCEVA2 from user XTREMECT2 at _SCEVA2$FTA8473:   09:21:58 &lt;br /&gt;
  Merry Christmas to Bone Imaging Lab!&lt;br /&gt;
&lt;br /&gt;
  4 terminals have been notified on SCEVA2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SCSRV2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SC3309.&lt;br /&gt;
$&lt;br /&gt;
  3 terminals have been notified on SCEVA1.&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt; command====&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;, but only with mcr you can hand over &#039;in-line&#039; parameters to an .exe file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
does not work, but you  have to say&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But funnily if you define a symbol in &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;),&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ctheader :== $ut:ctheader.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with just neither run nor mcr, but the &#039;funny&#039; $ sign, then you can also hand over the ISQ name in-line.&lt;br /&gt;
&lt;br /&gt;
Small detail with big effect...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File Do All (fda) - apply a command to a set of files====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda ctheader dk0:[microct.data.0001234...]*.isq &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the header of all isq files of sample 1234 (the three dots ... means all subdirectories)&lt;br /&gt;
&lt;br /&gt;
Or: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data.0001234.00005678]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the processing log of all aim files of scan 5678&lt;br /&gt;
&lt;br /&gt;
Wildcard &amp;quot;*&amp;quot; means multiple characters, &amp;quot;%&amp;quot; is for ONE character: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data...]C%%%%%%%.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, 7 %&#039;s)&lt;br /&gt;
&lt;br /&gt;
to show the aim header of the gray-scale c0000135.aim (etc) files only, and NOT from the _seg.aims also.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning: CAUTION! &amp;lt;/b&amp;gt; Always test the wildcard expression first with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dir dk0:[xxx...]*.aim &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &#039;file do all&#039; fda command can even be combined with a pipe, or an /output qualifier: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix dk0:[microct...]*.aim | search sys$pipe &amp;quot;Slope&amp;quot; &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will show you all &amp;quot;Slopes&amp;quot; in a row. (but you may not see which slope belongs to which aim file anymore...)&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda/output=sys$scratch:all_headers.log aix dk0:[microct...]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will write all the output into the .log file - which you can then either edit, or &lt;br /&gt;
&amp;lt;code&amp;gt;$ search sys$scratch:all_headers.log &amp;quot;String&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or whatever you want. &lt;br /&gt;
&lt;br /&gt;
Another example with output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ pipe fda type *.log | search sys$pipe &amp;quot;BV/TV&amp;quot; /output=BVTV.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;fda&amp;quot; is our self-written script, so you may have to try-n-error a bit...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda command file_wildcard [Optional: further parameters]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the command consists of multiple words with spaces inbetween (e.g. mcr ut:xxx.exe), then enclose the command in double-quotes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda &amp;quot;mcr ut:uct_ext_header_display&amp;quot; dk0:[microct...]*.isq 8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grab more than one line using pipe and search command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix *.aim | search sys$pipe &amp;quot;dim&amp;quot;, &amp;quot;pos&amp;quot;, &amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The further parameters may not contain wildcards - so unfortunately, the fda can NOT be used to &#039;adaptively&#039; rename a whole bunch of files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Make commands available to all users with symbols or paths====&lt;br /&gt;
&lt;br /&gt;
DCL$PATH is one way to do that, WE don&#039;t use it...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def dcl$path disk1:[microct.main],disk1:[microct.util]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then, if you type&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ uct_t&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
it will first try to&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ @uct_t.com&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and then&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ r uct_t.exe&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
however, we usually define it by giving full path:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ progx :== $disk1:[microct.main]progx.exe&lt;br /&gt;
$ com_proc_x :== @disk1:[microct.main]procedure.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then, you can just type the shortcut (&#039;symbol&#039; in VMS language)&lt;br /&gt;
&lt;br /&gt;
We use the &#039;cd&#039; to set the default path, you may also use this in your command procedure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;proc.com&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd &#039;p1&#039;&lt;br /&gt;
$ dir *.*/size&lt;br /&gt;
&lt;br /&gt;
$ define COM disk1:[microct.commands]&lt;br /&gt;
$ p :== @COM:PROC.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
these both go into &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;, but see the Wiki entry above to confirm exactly where...&lt;br /&gt;
&lt;br /&gt;
then, you can just type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ p disk4:[microct.data.0000007.000009]*.ISQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Calibration and QC=&lt;br /&gt;
&lt;br /&gt;
==System Updates==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT II&lt;br /&gt;
|&lt;br /&gt;
*22-OCT-2020:  Recalibration&lt;br /&gt;
*01-OCT-2020:  Recalibration&lt;br /&gt;
*31-JUL-2020:  Pixel Correction&lt;br /&gt;
*21-Feb-2019:  New X-ray source, recalibration&lt;br /&gt;
*28-Apr-2016:  Recalibration&lt;br /&gt;
*04-Nov-2014:  Recalibration&lt;br /&gt;
*21-May-2014:  New Daily QC Phantom (Scanco concluded minimal differences from previous)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT I&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT80&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  Filter changer replaced, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT40&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*09-NOV-2010:  Recalibration (70KV energy only)&lt;br /&gt;
*01-NOV-2010:  New x-ray source, Pixel Correction, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µCT35&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*15-JUN-2011:  Recalibration&lt;br /&gt;
*21-MAR-2011:  Recalibration&lt;br /&gt;
*10-FEB-2011:  Recalibration&lt;br /&gt;
*26-NOV-2010:  Pixel Correction&lt;br /&gt;
*29-OCT-2010:  Recalibration &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Calibration and Conversion==&lt;br /&gt;
===Attenuation measured by µCT===&lt;br /&gt;
A micro-CT 3D image of an object is basically a 3D map of local x-ray absorption in the object. The reconstruction from multiple angular views provides information on how much x-ray absorption is happening within each cubic voxel element of the scanned volume.&lt;br /&gt;
&lt;br /&gt;
It is important to understand what is meant by “density” in a µCT image. The reconstructed grey-scale intensity of each image voxel does not relate directly to mass density alone, thus do not expect it to correspond with measurements of weight per volume, e.g. g.cm-3. The primary entity that is measured is x-ray absorption, defined as the x-ray linear attenuation coefficient in units of&lt;br /&gt;
1/distance, specifically, 1/cm. This is determined both by mass density and x-ray mass attenuation coefficient which is determined by the elemental composition of the material. The x-ray linear attenuation coefficients of typical material is shown blow.&lt;br /&gt;
&lt;br /&gt;
[[File:Mu_comparison.JPG|thumb|center|600px|X-ray linear attenuation coefficient µ of typical material (image curtesy of Dr. Ying Zhu)]]&lt;br /&gt;
&lt;br /&gt;
The images we obtain from the scanner are in a special scanner manufacturer format called AIM files. Each voxel in these images contains a scaled linear attenuation value (mu-value) to save disk space. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µ&lt;br /&gt;
| x-ray linear attenuation coefficient&lt;br /&gt;
| 1/cm&lt;br /&gt;
| µ &amp;gt; 0 &lt;br /&gt;
| A constant that describes the fraction of attenuated incident photons in a monoenergetic beam per unit thickness of a material&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| mu_value&lt;br /&gt;
| linear attenuation in Scanco images&lt;br /&gt;
| 1/cm&lt;br /&gt;
| -8～8 typically&lt;br /&gt;
| mu value represented in Scanco images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_Scanco&lt;br /&gt;
| pixel intensity value in Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| −32768～32767&lt;br /&gt;
| Original format of Scanco images in 16-bit signed&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_uint&lt;br /&gt;
| pixel intensity value in converted Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| 0～65535&lt;br /&gt;
| Converted format of Scanco images in 16-bit unsigned, using the same slope (unscaled) but an updated intercept&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = mu-value * scaling_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration by BMD===&lt;br /&gt;
When we know that the x-ray absorption of a material is dominated by one specific material, then we can relate the measured x-ray linear attenuation coefficient (mu_value) to the mass density of that material. The calibration of [[Scanco_User_Instructions#Descriptive_Statistics_.28Mean.2C_Median.2C_SD.29_of_Calibrated_Voxel_Values| &#039;&#039;&#039;Bone Mineral Density (BMD)&#039;&#039;&#039;]] is an example of this. We assume that the x-ray attenuation within mineralized tissues such as bone, dentine and enamel is dominated by, and can be approximated as, the x-ray attenuation of the mineral compound calcium hydroxyapatite (CaHA) which has the formula Ca5(PO4)3(OH). &lt;br /&gt;
&lt;br /&gt;
Then we obtain “phantoms” with two or more known mass concentrations of CaHA. By linking these mass concentrations of CaHA with measured mu_value in the micro-CT images, we can establish calibration linking the two quantities, allowing us to infer from the micro-CT measured linear attenuation coefficient (mu_value) in a mineralized tissue, to the density of CaHA in mg.cm-3. &lt;br /&gt;
&lt;br /&gt;
*The assumption of linear correlation between the two quantities is based on a well-applied beam hardening correction and the phantoms&#039; diameter matching with the size of bone within the sample.&lt;br /&gt;
&lt;br /&gt;
*This calibration system could be used to calibrate measurement of other substances apart from CaHA and bone, where x-ray absorption is known to be dominated by a certain substance and phantoms can be prepared with known concentrations of that substance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD &lt;br /&gt;
| Bone Mineral Density &lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| 0～3000 &lt;br /&gt;
| Volumetric density of calcium hydroxyapatite (CaHA) in a biological tissue in terms of mg/cm^3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD_value&lt;br /&gt;
| Bone Mineral Density in Scanco images&lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| -1500～3000 typically&lt;br /&gt;
| BMD value in Scanco images&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Conversion between Attenuation and Bone Density===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = mu-value * slope + intercept&lt;br /&gt;
&lt;br /&gt;
mu-value = (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
pixel_Scanco = scaling_factor * (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert mu_value of 1.7923 (1/cm) to BMD (mg HA/ccm):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = 1.7923 * 3.67162994e+02 + -2.06399002e+02 = 451.667 (mg HA/ccm)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert the lower threshold of 125 mg HA/ccm that is in the IPL script to pixel intensity in Scanco images:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = 4096 * (125 - -2.06399002e+02) / 3.67162994e+02 = 3697 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*You could get the scaling_factor, intercept and slope values from the AIM header of your scan by using aix -l command:&lt;br /&gt;
[[File:Aix.JPG|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Reference: [[Media:Jbmr.141.pdf|Bouxsein ML, Boyd SK, Christiansen BA, Guldberg RE, Jepsen KJ, Müller R, Guidelines for assessment of bone microstructure in rodents using micro-computed tomography. J Bone Miner Res. 25(7): 1468-86. 2010.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert CT numbers to mg HA/ccm / Houndsfield units (HU)===&lt;br /&gt;
&lt;br /&gt;
The two byte numbers (short) can be converted to mu values by first dividing by mu_scaling which is probably 4096 (uCT35, vivaCT40) or 8192 (XtremeCT). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Houndsfield units (HU)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the conversion formula from mu (lin.att. in 1/cm, our original, &#039;physical&#039; image numbers) to HU:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU(pixel) = -1000 + mu(pixel) * 1000/mu(water)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so the mu(water) is the &#039;constant&#039; that is needed for this conversion of any pixel value mu(pixel) to HU of that pixel.&lt;br /&gt;
&lt;br /&gt;
divide the 2-byte numbers in our dicom/aim/isq files by 4096 to get mu. (4096 --&amp;gt;  &#039;mu_scaling&#039; in our headers). E.g. you see&lt;br /&gt;
gray-scale number 8192 in our files --&amp;gt;  mu = 2 [1/cm].&lt;br /&gt;
&lt;br /&gt;
A reasonable result for the uCT35 is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU = (CT / 4096) * 1718.19 - 1000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and that means 1000/mu(water) = 1718.19 --&amp;gt; mu(water) = 0.58299 which is a reasonable number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;mg HA/ccm&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mg HA/ccm = (AIM/mu_scaling) * slope + intercept&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 295.494 - 189.695    ! vivaCT40&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 256.51 - 172.99         ! uCT35&lt;br /&gt;
mg HA/ccm = (AIM/8192) * 1402.549 - 340.953  ! XtremeCT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These numbers are available in the AIM header, or the ISQ header (&amp;lt;code&amp;gt;$ run ut:ctheader&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
To look up slope, intercept and mu_scaling, check either the AIM header&lt;br /&gt;
&amp;lt;pre&amp;gt;$ aix C1234567.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:uct_update_calibration&amp;lt;/pre&amp;gt;&lt;br /&gt;
and look at a record, and you&#039;ll find slope and intercept and mu-water.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vivaCT40&lt;br /&gt;
!---------------------------------------------------------------------- &lt;br /&gt;
Mu_Scaling                    4096 &lt;br /&gt;
Calibration Data              55 kVp, 200mg HA wedge, 4096 scaling &lt;br /&gt;
Calib. default unit type      2 (Density) &lt;br /&gt;
Density: unit                 mg HA/ccm &lt;br /&gt;
Density: slope                2.95493988e+02 &lt;br /&gt;
Density: intercept            -1.89695007e+02 &lt;br /&gt;
HU: mu water                  0.58200 &lt;br /&gt;
!----------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
Mu_Scaling                                       8192&lt;br /&gt;
Calibration Data              60kVp, BH: 200 mg HA/ccm, Scaling 8192            &lt;br /&gt;
Calib. default unit type      2 (Density)                                       &lt;br /&gt;
Density: unit                 mg HA/ccm                                         &lt;br /&gt;
Density: slope                         1.40254895e+03&lt;br /&gt;
Density: intercept                    -3.40953003e+02&lt;br /&gt;
HU: mu water                                  0.23900&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration FAQ===&lt;br /&gt;
====Change brightness scaling====&lt;br /&gt;
*Refer to [[Media:Mu-scaling.pdf|&#039;&#039;&#039;Change the brightness scaling&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan after pixel correction====&lt;br /&gt;
Contact Lab personnel with system-level priviledges to perform&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
                 !  Username: calib2339       (µCT35)          &lt;br /&gt;
                 !  Username: calib5019       (vivaCT40)           &lt;br /&gt;
$ spb            ! set priviledge bypass to write in other user accounts&lt;br /&gt;
$ run ut:pixel_corr_apply&lt;br /&gt;
&lt;br /&gt;
        PIXEL_CORR_APPLY Version 1.5&lt;br /&gt;
        Scanner ID from UCTD:UCT_SCANNER_2339.DAT : 2339       !2339 for µCT 35,  5019 for vivaCT 40&lt;br /&gt;
        Is this Scanner ID correct ? [?]:  y&lt;br /&gt;
        Give RSQ-Filename (leave empty to exit)  []: DISK4:[BONELAB.DATA.00005283.00011668]C0005128.RSQ&lt;br /&gt;
        ...&lt;br /&gt;
        ...&lt;br /&gt;
        Copy .RSQ to _CORRECTED.RSQ befor correction ? [?]:   y&lt;br /&gt;
&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update calibration in ISQ====&lt;br /&gt;
If DICOM files are converted to ISQ with IPL and then used for patient evaluation, the calibration data in the ISQ header needs to be present and correct. If this information is missing, utilizing upat_list to extract the values will say &#039;Error: Density calibration not valid&#039;. In order to add calibration data to an ISQ file, do the following as user calibration:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set proc/priv=bypass ! gain read/write access to the files&lt;br /&gt;
$mcr ut:uct_ext_header_add_calib ! provide ISQ file name and header type (I chose [2])&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to adjust the calibration of a file, without changing the system calibration data, copy the calibration database into a different directory, e.g. sys$scratch. Then, add a new calibration record to this temporary calibration database. This way your new, temporary values will not show up in the scan program.&lt;br /&gt;
&lt;br /&gt;
  $ copy uctd:uct_calibration_3401.dat sys$scratch:&lt;br /&gt;
&lt;br /&gt;
Define the following logical in a terminal MAKE SURE TO DO THIS!!!!&lt;br /&gt;
&lt;br /&gt;
  $ def UCT_CALIBRATION_DATABASE sys$scratch:uct_calibration_3401.dat&lt;br /&gt;
&lt;br /&gt;
Run uct_update_calibration and click trough the current calibration record (always enter).&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
  select current calibration record&lt;br /&gt;
  enter...&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
&lt;br /&gt;
Then select the last number (New Record), copy all values from above, change slope and intercept.&lt;br /&gt;
&lt;br /&gt;
Then use&lt;br /&gt;
&lt;br /&gt;
  $ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
&lt;br /&gt;
for ISQ and RSQ.&lt;br /&gt;
&lt;br /&gt;
At the end, close the terminal!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Quality Control (QC)==&lt;br /&gt;
===Scope===&lt;br /&gt;
*Only Authorized XCT and µCT Operators are permitted to perform QC scans, including both scan acquisition and analysis.    &lt;br /&gt;
*Authorization is a formal process. If you are not sure whether you have or should have authorization, speak to Dr. Boyd or Dr. Hallgrimsson or the MoJo Operations Manager. &lt;br /&gt;
*Authorized XCT and µCT Operators are responsible for ensuring a QC schedule is maintained.&lt;br /&gt;
*Only the manufacturer can calibrate the scanner!  QC only checks the calibration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
*Micro-CT systems cannot directly measure the density of a material, however, the density is linearly correlated to the x-ray absorption (assuming a proper beam-hardening correction is applied), which can be measured by micro-CT.  Density is therefore determined by measuring a reference material of known density (i.e., a phantom) to define a conversion function to relate x-ray absorption to density. Quality control of density and structural measurements for the micro-CT systems is achieved through weekly checks of phantom values to their reference values and recalibrating the system (i.e., defining a new conversion function) as necessary. &lt;br /&gt;
&lt;br /&gt;
*Performing QC is essential to the:&lt;br /&gt;
# Safety of our study participants and lab members&lt;br /&gt;
# Validity of our research data&lt;br /&gt;
&lt;br /&gt;
[[File:QC_phantom.jpg|thumb|center|600px|Scanco Medical quality control phantom (a) and its CT scans of the density QC1 (b) and the structural QC2 (c)]]&lt;br /&gt;
&lt;br /&gt;
*Reference:  Koller B, Laib A (2007) Calibration of micro-CT data for quantifying bone mineral and biomaterial density and microarchitecture. In: Advanced bioimaging technologies in assessment of the quality of bone and scaffold materials: techniques and applications. Springer, pp 79-84.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Density QC1===  &lt;br /&gt;
QC1 measures the density of 5 different rods of known hydroxyapatite (HA) densities within the QC phantom: approximately 0, 100, 200, 400, and 800 mg HA/cm3.  This tests 3 things:&lt;br /&gt;
&lt;br /&gt;
# That the scanner’s last calibration is still valid.  This is done by comparing daily QC values to an acceptable range.&lt;br /&gt;
# The presence of drifts and shifts in the calibration.  This is done by plotting daily QC results over time and using Shewart’s Controls to mathematically look for drifts and shifts.  (Shewart’s Controls replaces visual assessment.)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC1 is checked daily or 3 times a week on XtremeCT scanners whenever used and weekly on microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Structural QC2===  &lt;br /&gt;
QC2 measures the volume of 3 fine aluminum rods within the QC phantom (Al rod volume measurement).  This tests for:&lt;br /&gt;
&lt;br /&gt;
# Alignment of the gantry (or stability of architectural parameters)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC2 is checked weekly on both XtremeCT and microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC Scan Instructions===&lt;br /&gt;
*XtremeCT QC Scan Instructions: Boyd Drive:\02 - Operations\01 - Scanner QC, Specifications, &amp;amp; Maintenance\QC Workflows\QC 001.2 - XCT Quality Control.docx&lt;br /&gt;
*[[Media:Calibration-instructions-for-uct35.pdf |µCT35 QC Instructions]] or  [[Media:uCT35_Calibration.pdf|µCT35 QC another Instructions]]&lt;br /&gt;
*[[Media:Calibration-instructions-for-vivact40.pdf |VivaCT40 QC Instructions]] or [[Media:VivaCT40_Calibration.pdf| VivaCT40 QC another Instructions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out QC reports===&lt;br /&gt;
After running a QC1 or QC2 analysis, the results are output to: &lt;br /&gt;
*DISK4:[BONELAB.PROJECTS.QC] for XtremeCT QC results&lt;br /&gt;
*DISK3:[MICROCT.PROJECTS.CALIBRATION] for microCT QC results performed by BH lab&lt;br /&gt;
:*login with microct account &lt;br /&gt;
*DISK5:[BONELAB.PROJECTS.CALIBRATION] for microCT QC results performed by Bone Imaging lab&lt;br /&gt;
:*RESULTS_QC1_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC1_VIVACT.TXT;4 &lt;br /&gt;
:*RESULTS_QC2_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC2_VIVACT.TXT;2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As usual as [[Scanco_User_Instructions#Print_out_report_sheets|&#039;&#039;&#039;print out report sheets&#039;&#039;&#039;]], you use&lt;br /&gt;
  $ upat_list&lt;br /&gt;
When it asks for a template, you can select for a graphical report&lt;br /&gt;
  template = UU:UCT_EVAL_PHANTOM_SCANCO.PS&lt;br /&gt;
or for a text output&lt;br /&gt;
  template = UU:UCT_3D_LIST.TXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===System Stability and Precision===&lt;br /&gt;
System Stability and Precision here is based on the QC measurement, QC1 for density variations and QC2 for structure variations.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| System Stability and Precision&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| vivaCT40&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Long Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 1.6%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Short Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.9%&lt;br /&gt;
(Ref term: 4-MAR-2011 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 6-MAR-2011 to 8-APR-2011)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC FAQ===&lt;br /&gt;
====Determine calibration drift for microCT QC1====&lt;br /&gt;
The microCT QC1 analyses provide an estimate of the calibration drift by considering &#039;mean5&#039; values.  Use &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and make sure to use UU:UCT_3D_MEANS.TXT as the template.  Then give the measurement numbers of the QC1 measurements (or all of them and remove what&#039;s not needed later).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update QC1 contours====&lt;br /&gt;
If the QC contours don&#039;t line up on the phantom, then the contours need to be updated on the system.  Normally this should not happen unless the phantom has become loose - if this is the case, re-fix it.&lt;br /&gt;
&lt;br /&gt;
1. Login as user system.  Do not use the &amp;lt;code&amp;gt;$ set host 0 &amp;lt;/code&amp;gt; command since you will not be able to open windows for program.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Run the login script for the user that does the QC scans so that Scanco logicals point to that scan database.&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the XtremeCT cluster&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the vivaCT cluster&lt;br /&gt;
          $ @disk1:[microct]login.com       on the µCT100 cluster&lt;br /&gt;
&lt;br /&gt;
3. Run the evaluation program.&lt;br /&gt;
          $ uct_evaluation&lt;br /&gt;
4. Load the most recent QC scan and locate the contours. File--&amp;gt;Load Gobj... Filter:  &amp;lt;code&amp;gt;uctd:*.GOBJ&amp;lt;/code&amp;gt;. Locate the contours for the phantom: &amp;lt;code&amp;gt; UCT_PHANTOM_KP_HA_XXXX_Y.GOBJ  &amp;lt;/code&amp;gt; where XXXX corresponds with the scanner ID (XtremeCT 3309, vivaCT 5019, µCT35 2339, µCT100 6002) and Y corresponds with the rod number (1-5 and results mean1 - mean5. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Adjust the contours to centre on the rods.&lt;br /&gt;
    Load a contour.&lt;br /&gt;
    Move the contour on the first slice to be centred on the rod.&lt;br /&gt;
    Copy the contour.&lt;br /&gt;
    Delete the contours on slices 2 to the end.&lt;br /&gt;
    Paste the contour on the last slice.&lt;br /&gt;
    Morph between the two contours.&lt;br /&gt;
    Save the contours.  They should be saved to (A)DISK0:[000000.MICROCT_COMMON.DATABASE].&lt;br /&gt;
6. Perform a new QC scan as the standard (i.e., microct) user.  Check that the contours line up for the evaluation.  Evaluate and check the results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update Gobj for QC1 Analysis====&lt;br /&gt;
Refer to  [[Media:Fix_QC1_gobj.pdf| &#039;&#039;&#039;Fix QC1 Gobj&#039;&#039;&#039; ]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update XtremeCT QC1 calibration====&lt;br /&gt;
This procedure needs to be done for each beam hardening correction (e.g., QC1 with 200 mg HA/cm3, QC1 with 1200 mg HA/cm3) and for each scan energy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Perform 3 back-to-back QC1 scans, which ensures the x-ray tube is very warm.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Evaluate the last QC1 scan.&amp;lt;br&amp;gt;&lt;br /&gt;
3. After the evaluation is done, determine parameters for the new calibration&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_calib_phantom&lt;br /&gt;
UCT_CALIB_PHANTOM Version V1.0&lt;br /&gt;
 &lt;br /&gt;
Reading UCTD:UCT_CALIB_PHANTOM_KP_HA_3309.TXT&lt;br /&gt;
Phantom Type in file:              6&lt;br /&gt;
Phantom Number in file:          304&lt;br /&gt;
Voltage in file:                   0&lt;br /&gt;
No of Materials in file:           1&lt;br /&gt;
With each, no of  steps:           5&lt;br /&gt;
and mus:                    1.000000&lt;br /&gt;
No. of Cylinders:                  5&lt;br /&gt;
Measurement No. (0 to Stop)     [0]: 11404&lt;br /&gt;
 &lt;br /&gt;
Mus: 0.2382 0.3163 0.3823 0.5358 0.8112&lt;br /&gt;
*****************************************************&lt;br /&gt;
Calibration: Slope Intercept:      1398.628  -339.819&lt;br /&gt;
Enter in Calibration Records if wished.&lt;br /&gt;
*****************************************************&lt;br /&gt;
Measurement No. (0 to Stop)     [0]:&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD.TXT.&lt;br /&gt;
&lt;br /&gt;
5. Now update the calibration.  For most settings, you will use the default value by pressing return.  You need to choose the correct calibration record, the one that corresponds with the energy and beam hardening correction used in the QC1 scans you did.  Next, you need to update the slope, intercept, and mu water values to those determined in step 3 (copy and paste values to avoid typos).  The new values should be similar to the old ones.  Finally, if you have not made any mistakes, then save the record.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:uct_update_calibration&lt;br /&gt;
UCT_UPDATE_CALIBRATION V2.5&lt;br /&gt;
 &lt;br /&gt;
 IDX Calib/Rec. Description&lt;br /&gt;
  1      1/42   60kVp, BH: 200 mg HA/ccm, Scaling 8192&lt;br /&gt;
  2      2/43   60kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  3      3/0    New Record&lt;br /&gt;
Choose Calibration Record (IDX): [2]: 1&lt;br /&gt;
Valid Flag [1]:&lt;br /&gt;
Scanner-ID [3309]:&lt;br /&gt;
Energy [V] [59400]:&lt;br /&gt;
Intensity [µA] [0]:&lt;br /&gt;
Description [60kVp, BH: 200 mg HA/ccm, Scaling 8192]:&lt;br /&gt;
 &lt;br /&gt;
Antiring Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
Beamhardening Enable [1]:&lt;br /&gt;
Beamhardening Coeff file [MICROCT_COMMON:[DATABASE]UCT_BH_COEFF_60KV_0200HA_3309.TXT;5]:&lt;br /&gt;
Beamhardening Checksum [0]:&lt;br /&gt;
CCD_CORR: Read to mem: 500 bytes to correct 1 pixels (588 bytes allocated)&lt;br /&gt;
 &lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom) [2]:&lt;br /&gt;
µ Enable [1]:&lt;br /&gt;
µ-scaling [8192]:&lt;br /&gt;
 &lt;br /&gt;
Density Enable [1]:&lt;br /&gt;
Density units [mg HA/ccm]:&lt;br /&gt;
Density Slope [1402.549]: 1398.628&lt;br /&gt;
Density Intercept [-340.953]: -339.819&lt;br /&gt;
 &lt;br /&gt;
HU Enable [1]:&lt;br /&gt;
µ of water [0.239]: 0.2382&lt;br /&gt;
 &lt;br /&gt;
CUSTOM Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
HW Filter Code [0]:&lt;br /&gt;
HW Filter Description []:&lt;br /&gt;
 &lt;br /&gt;
Save Record ? [Y]: Y&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD_ENTERED.TXT.  Send both text files to support@scanco.ch for them to archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update microCT QC1 calibration====&lt;br /&gt;
Refer to [[Media:QC1_Calibration_Update.pdf|&#039;&#039;&#039;QC1 Calibration Update&#039;&#039;&#039;]] for instructions for the VivaCT40 and uCT35.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new calibration or BHC====&lt;br /&gt;
If the QC1 range was out of range but it was not possible to update the system calibration before scanning, you can update the scan with the new density calibration (i.e., slope and intercept).  It is also possible to change the beam hardening correction that is applied (e.g., from 200 mg HA/cm3 to 1200 mg HA/cm3).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Type of Update ||RSQ||ISQ||AIM&lt;br /&gt;
|-&lt;br /&gt;
|QC1 was out of range, need new slope and intercept &lt;br /&gt;
(e.g., after updating the system calibration)&lt;br /&gt;
|Yes||Yes||No, Create New&lt;br /&gt;
|-&lt;br /&gt;
|Change beam hardening correction type &lt;br /&gt;
(e.g., 200 mg HA/cm3 to 1200 mg HA/cm3)&lt;br /&gt;
|Yes||No, Reconstruct||No, Create New&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Use the UCT_EXT_HEADER_ADD_CALIB program to update an RSQ and, if appropriate, repeat for the ISQ.  &lt;br /&gt;
*Use default values for all prompts except those commented after !.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
 &lt;br /&gt;
UCT_EXT_HEADER_ADD_CALIB V 1.1&lt;br /&gt;
Raw-Data-File []:    !give the name of the RSQ/ISQ with full path if not in that directory&lt;br /&gt;
 &lt;br /&gt;
Reading Raw Data ...&lt;br /&gt;
 IDX Calib Description&lt;br /&gt;
  1      1 45 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  2      2 55 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  3      3 70 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  4      4 General, non-bone-density-calibrated scan, scale 4096&lt;br /&gt;
  5      5 45 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  6      6 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  7      7 70 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
 &lt;br /&gt;
Calibration Record No [0]: !specify the new calibration, e.g. 6&lt;br /&gt;
 &lt;br /&gt;
Calibration No.           6&lt;br /&gt;
Description 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
Scanner-ID        5019&lt;br /&gt;
Energy [V]       55000&lt;br /&gt;
Antiring Enable             0&lt;br /&gt;
Beamhardening Enable            1&lt;br /&gt;
Beamhardening Coeff file UCTD:UCT_BH_COEFF_55KV_1200HA_5019.TXT&lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom)           2&lt;br /&gt;
Same type already found. Setting old to invalid&lt;br /&gt;
SUCCESS: calib hext written&lt;br /&gt;
updating header...&lt;br /&gt;
SUCCESS: Header successfully updated.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Calib record indicates that BH-Corr is usually applied.&lt;br /&gt;
Info: There is a BH-Corr corr already in hext.&lt;br /&gt;
Add another BH-Corr from file again? (Y/N) [N]:  Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new QC1 calibration====&lt;br /&gt;
Refer to  [[Media:Update_Scan_with_new_QC1.pdf|&#039;&#039;&#039;Update Scan with new QC1&#039;&#039;&#039;]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: un-centered QC1 Gobj====&lt;br /&gt;
The contour for the QC1 scan is not centered on the on hydroxyapatite rod, which will result in erroneous low density values.  &lt;br /&gt;
&lt;br /&gt;
This can occur for a couple of reasons:&lt;br /&gt;
*The metal spindle has come loose on the phantom, in which case re-glue it and update the contours&lt;br /&gt;
*The slot on the phantom&#039;s spindle was not correctly aligned&lt;br /&gt;
*For the vivaCT 40, the sample bed was not pushed to the right before locking it in place&lt;br /&gt;
[[File:Phantom_not_pushed_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: rods in QC2 images====&lt;br /&gt;
The QC2 scan has aluminum rods AND hydroxyapatite rods.  This happens because the slot on the phantom&#039;s spindle was not correctly aligned and the phantom positioning is off slightly.  Adjust the phantom and re-scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Phantom_spindle_not_in_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
&lt;br /&gt;
==Scanner User Manual==&lt;br /&gt;
For XtremeCTs:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Scanco - Manual_XtremeCTII_2.5.pdf |XtremeCT II User&#039;s Guide V2.5]]&lt;br /&gt;
* [[Media:XtremeCT User Guide XCT I.pdf |XtremeCT I  User&#039;s Guide V6.4]]&lt;br /&gt;
&lt;br /&gt;
For microCTs:&lt;br /&gt;
* [[Media:Manual_vivaCT_80.pdf |VivaCT80 User&#039;s Guide V1.5]]&lt;br /&gt;
* [[Media:scanco-manual-vivact40.pdf |VivaCT40 User&#039;s Guide V4.05]]&lt;br /&gt;
* [[Media:Scanco-manual-uct35.pdf |MicroCT35 User&#039;s Guide V4.05]]&lt;br /&gt;
&lt;br /&gt;
==Scanco&#039;s FAQ==&lt;br /&gt;
Navigate to the manufacturer [http://www.scanco.ch/index.php?id=customer_login Scanco Medical FAQ].&lt;br /&gt;
&lt;br /&gt;
* Username:  users@scanco.ch&lt;br /&gt;
* Password:  basser5dorf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan==&lt;br /&gt;
===Scan SOP===&lt;br /&gt;
====Image Quality====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-image-quality.pdf|&#039;&#039;&#039;Image Quality: Resolution vs. Noise&#039;&#039;&#039;]] by Scanco Medical.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Control File Settings====&lt;br /&gt;
*Refer to [[Media:ControlFileSettingsUserMeeting2014Final.pdf|&#039;&#039;&#039;Optimize Control File Settings&#039;&#039;&#039;]] with regards to resolution, contrast and scan time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scan materials of different densities====&lt;br /&gt;
*Refer to [[Media:UM_HongKong_DifferentDensityMaterials.pdf|&#039;&#039;&#039;Scan materials of different densities&#039;&#039;&#039;]]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Scan for Soft and Adipose Tissue Separability====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-adipose-vs-soft-tissue.pdf|&#039;&#039;&#039;Scan Protocol Optimization for Soft and Adipose Tissue Separability&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Measure multiple samples in one scan====&lt;br /&gt;
&lt;br /&gt;
This quite often happens when you want to scan 6 rat bones, for example, but using our six-gun sample holder you scan them in one go.  But, you want to analyse them separately, so you have to import the ISQ multiple times as new MEASUREMENTS into each SAMPLE.&lt;br /&gt;
&lt;br /&gt;
There are two options: manual and auto.  &amp;lt;b&amp;gt;Read this entire HowTo before proceeding.  There is significant potential for mistakes!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:import_manual.com&lt;br /&gt;
&lt;br /&gt;
P1: Measurement Number to duplicate&lt;br /&gt;
P2: New Sample Number from Database&lt;br /&gt;
P3: New Start Letter of ISQ file&lt;br /&gt;
P4: Optional: Operator Number&lt;br /&gt;
P5: Optional: Controlfile Number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @com:import_manual.com 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will copy the ISQ from measurement 1234, import it into the database to sample 342, give some feedback lines with &#039;old&#039; and the new samplename, CHECK IT, and at the end it gives the feedback line on the terminal which you take with the mouse and drop to rename the data over to the new location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;IMPORTANT: BE VERY SURE NOT TO MIX UP MEASUREMENT AND SAMPLE NUMBER !!!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This distiction needs to be VERY clear in your mind! Of course, you can duplicate one scan and give it to the same samplenumber again (e.g. to evaluate different parts of the same sample, and each has its database&lt;br /&gt;
entry).&lt;br /&gt;
&lt;br /&gt;
Please build up some system so you see immediately that the right meas. goes to the right sample. E.g. all four bones in one scan have the same part in the name, distinct from other 4 bones. If there is any trace of a doubt later on that somebody MAY have messed up the samples in this duplication step, you&#039;ll most probably have to start from scratch again...&lt;br /&gt;
&lt;br /&gt;
Of course, I&#039;ll have to make you aware that Scanco declines all responsibility - this program is NOT in the normal user-friendly, quite fool-proof Scanco controlbox, but it&#039;s up to you to use it carefully, and not on Friday night when you&#039;re sleepy and mistakenly mix up sample and meas. numbers...&lt;br /&gt;
&lt;br /&gt;
The new startletter I built in so you always know which one was the &#039;original&#039; measurement (which has an RSQ), and which are the duplicated ones.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Backup&amp;lt;/b&amp;gt;&lt;br /&gt;
And the organization of how you know which duplicated scan is which part is&lt;br /&gt;
completely up to you - as well as how you want to handle the backup - our&lt;br /&gt;
software allows you to back-up each duplicated scan (but this might be an&lt;br /&gt;
overkill, since it&#039;s the same ISQ always) so you may choose to delete the&lt;br /&gt;
duplicated ISQ by hand in the session manager (only keep the &#039;original&#039; ISQ), and only backup the .gobj, .aim and _seg.aim etc. (but then you will need to know not to get scared if you retrieve a scan, and the ISQ is missing...) (Or you just &#039;move to trash&#039; the duplicated scans to nicely delete them with the backup program if you want to remove them completely (but you still have the 3D results in the evaluation database))&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Autosubmit&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please use the manual one for a while. Then, if you feel comfortable, use the autosubmit one (which also does the last command automatically, the renaming of the isq to the new location.) Because it goes into a batch que, you can quickly submit all duplications, and do not have to wait for the whole file-copying like in the manual one.&lt;br /&gt;
&lt;br /&gt;
One thing you should check there:&lt;br /&gt;
$ show que sys$fast/full&lt;br /&gt;
&lt;br /&gt;
This needs to be one single queue (/job_limit=1). In a clustered enviroment,&lt;br /&gt;
this might be a &#039;/generic=&#039; que that then gives the jobs to multiple queues in the cluster. This is NOT good. If this is the case, please edit the autosubmit script, and replace sys$fast in the following line at the end by ONE of the generic fast queues, e.g. SC4240_FAST or whatever the name is (preferrable the one computer where also the data disk DK0 is sitting:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$!&lt;br /&gt;
$      SUBMIT/NOPRINT/QUE=SYS$FAST/DELETE/NOTIFY/LOG=SYS$SCRATCH: &#039;COMMANDFILE&#039;&lt;br /&gt;
$!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Reason: if multiple uct_imports would run at exactly totally the very same time, both jobs might get the same new measurement number... bad...)&lt;br /&gt;
&lt;br /&gt;
I also suggest to add the following line to your login.com&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl*icate :== @com:import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you can just start it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And I also recommend to put into login.com:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ check_dup :== search sys$scratch:import*.log &amp;quot;&amp;quot;&amp;quot; name:&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, with all these double-quotes)&lt;br /&gt;
&lt;br /&gt;
Then use it to check the feedback that the right scans were given to the right samples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scan FAQ===&lt;br /&gt;
====Unlock a locked controlfile====&lt;br /&gt;
If you accidentally locked a controlfile, it is possible to unlock it so that it can again be modified.&lt;br /&gt;
&lt;br /&gt;
Login as the calibration user (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user, Set priviledges to bypass.&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
Set the controlfile database to the microct, or other, user where the controlfile is locked.  &lt;br /&gt;
*The file is usually located on (a)disk1:[username.database] and may be accessible using the uctd logical.  &lt;br /&gt;
*The database file contains the scanner ID (e.g., 3309 for the XtremeCT, note there&#039;s no SC before 3309).&lt;br /&gt;
 $ def uct_controlfiles_database adisk1:[microct.database]uct_controlfiles_3309.dat&lt;br /&gt;
 $ run ut:uct_upd_controlfiles&lt;br /&gt;
&lt;br /&gt;
Choose the controlfile.Use T and F to indicate true and false.&lt;br /&gt;
*YOU MUST SAY YES TO UPDATE CTRL-FILE! There is a bug so do this even if you make a mistake.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Selected operator is not an operator CODE: 24====&lt;br /&gt;
You must enter an operator name in the micro-CT control panel. &lt;br /&gt;
*You only need to enter the beginning part of your operator name (e.g., Bo for Bone Imaging Lab) or your operator number.  &lt;br /&gt;
*You can also press &amp;quot;Edit...&amp;quot; and then press the &amp;quot;Find...&amp;quot; and press &amp;quot;OK&amp;quot; to show a list of all the operators that have been registered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Error assigning IO-channel for UCT_ACQ_LINE, device already allocated to another user CODE: 2112====&lt;br /&gt;
Only one person can be given control of the scanner at any time.  Most likely the scanning program is already open.  Check the minimized icons on the desktop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: ROT (M1) end switch detected, Motor stopped CODE: 3031====&lt;br /&gt;
We&#039;re not sure why motor errors occur occasionally.  The solution is to exit the scanning program and turn off the scanner (the switch is on the side of the machine).  Wait 30 seconds.  Turn the scanner on again.  Re-start the scanning program.  Wait for the scanner to warm up (20 min).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Acquisition error, Buffer overrun CODE: 1005====&lt;br /&gt;
This error occurs if the computer hooked up to the scanner is overloaded and does not accept the stream of CT data quickly enough.  Check that no large calculations are running interactively (e.g., loading a large dataset into the 3D viewer while the scan is running).  If you happen to be there at the very exact second when the buffer overrun happens, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show user/node/full             !check how many users/processes there are&lt;br /&gt;
$ monitor system/int=1            !check the process that is using the most cpu and page file quota&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Advise lab personal of the problem. If nobody is around, put the output of the above commands into a text document, stop the queues for the computer, and repeat the scan.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sc5019_fast       !for the vivaCT 40&lt;br /&gt;
$ stop/que/next sc5019_slow       !for the vivaCT 40&lt;br /&gt;
&lt;br /&gt;
$ stop/que/next sceva2_fast       !for the µCT35&lt;br /&gt;
$ stop/que/next sceva2_slow       !for the µCT35&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When finished, restart the queues that you stopped by &amp;lt;code&amp;gt;$ start/que queue_name &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Shutter fail safety test timeout CODE: 2101====&lt;br /&gt;
This happens if the scanning program has accidentally be left on overnight and the shutter fail safe test cannot be performed. Ensure that uct_tomography is closed at the end of the day and the scanner computer is logged out at the end of the day to avoid this error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Input error detected, Z protection detected CODE: 4001====&lt;br /&gt;
This means the big plate that you can see through the gantry has moved or been touched, activating one of the Z protection switches. This can happen during positioning a patient for a tibia scan if the person&#039;s leg isn&#039;t pushed into the scanner straight. The cast can potentially touch the plates and cause this error.&lt;br /&gt;
&lt;br /&gt;
In the rare case where this error occurs spontaneously during or at the end of a scan, or during a precalibration, one of the switches may have become activated due to the position of the Z plate. To determine the position(s) this error is triggered, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0                                                                                                                                                                                            Username: calibration                                                                                                                                                                                        Password:&lt;br /&gt;
&lt;br /&gt;
$ sdl&lt;br /&gt;
$ spb&lt;br /&gt;
$ run um:ccd_2d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Scanco test programs will open. First click on the Reset Z button (upper left corner). Then move the Z slider all the way to the right and hit move. If the Z-protection error appears, record exactly which Z position triggers the error (should be a red number on the left hand side of the slider). When you are done with this test, hit Reset Z again, wait until the motor comes to a complete stop (max. 15 seconds), close the software and in the same terminal by &amp;lt;code&amp;gt;$ logout &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contact Scanco regarding this error and provide the details from running the ccd program. They will provide further instructions on how to proceed and fix the problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: CCD frame timeout, HOTLink reframing CODE: 1007====&lt;br /&gt;
Take a screenshot of the error message and email Scanco immediately. Message indicates that X-ray tube is arcing. Try and warm up the X-ray tube again, and notify Scanco if there is any abnormal activity and whether the tube was able to warm up.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Invalid Scanner ID CODE: 24====&lt;br /&gt;
You have logged in with the incorrect user name.  End the session and login with the correct user name (vivaCT 40: vivact or invivo;  µCT 35: microct or invitro).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Unable to create shared memory, global page table full CODE: 196====&lt;br /&gt;
The temporary fix is to reboot the system.  But before you restart, if you have system access, do the following and save the output to a text to send to Scanco.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
Username: system&lt;br /&gt;
Password:&lt;br /&gt;
&lt;br /&gt;
$ search sys$system:agen$feedback.dat gblpages&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;contig_gblpages&amp;quot;)&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;free_gblsects&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reconstruction==&lt;br /&gt;
&lt;br /&gt;
===Standard Reconstruction===&lt;br /&gt;
Scans are automatically submitted for reconstruction, so manual submission is usually only necessary if there was a problem during reconstruction (e.g., a power failure).&lt;br /&gt;
&lt;br /&gt;
*To reconstruct all slices from the RSQ, first delete or rename the old ISQ. &lt;br /&gt;
*To reconstruct a selection of slices, a valid ISQ must exist. There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&#039;&#039;&#039;General Usage for Interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
P1: RSQ Filename&lt;br /&gt;
P2: Slice number (A – all, start:finish)&lt;br /&gt;
P3: Log file of batch job&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;General Usage for Non-interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
  $ submit/noprint/que=sys$slow um:uct_reconstruction.com/params=(&amp;lt;b&amp;gt;DISK2:MICROCT.DATA.00000610.00002449]C000####.RSQ &amp;lt;/b&amp;gt;, a)&lt;br /&gt;
*Normally jobs are submitted to sys$slow queue instead of running them interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
Here are examples of how to reconstruct a single RSQ file: C0007655.RSQ, sample 4111 and measurement 9899. &amp;lt;br&amp;gt;&lt;br /&gt;
To reconstruct slices 101 to 201 and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com /log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, 100:200, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The command must be all on one line (or use hyphen), and it wants the 3 parameters: filename, slices, and log.file name&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
To reconstruct all slices, use “a” for all slices and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ delete C0007655.ISQ;*&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com/log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, a, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The .log filename is up to you, as long as it&#039;s the same at both places. &lt;br /&gt;
*Give full pathname for RSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct multiple files====&lt;br /&gt;
For multiple files, create a script and submit the job to the sys$slow queue. For example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ eve reco_all.com   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or open editor (command &#039;Edit&#039;), put the following lines in the file and save it as .e.g sys$scratch:reco_all.com:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009899]C0007655.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009900]C0007656.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009001]C0007657.rsq a&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit the text editor, then submit the job (e.g. to sys$slow):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow/log=sys$scratch:reco4111.log sys$scratch:reco_all.com&lt;br /&gt;
All the files will be reconstructed as a single job, with one log file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch reconstruction on XtremeCT2====&lt;br /&gt;
The reconstruction software available for the XT2 supports the /batch syntax that replaces reco_all.com. &lt;br /&gt;
You can split a manual reconstruction into several jobs using&lt;br /&gt;
&lt;br /&gt;
 $ uct_reconstruction DK0:[XTREMECT2.DATA.00001234.00005678]D0123456.RSQ a/batch=16&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update to uct_reconstruction V6.2-5, March 2019====&lt;br /&gt;
&lt;br /&gt;
As of March 2019, we should only use uct_reconstruction v6.2-5 on xtremect2. &lt;br /&gt;
For studies with baseline and follow-up scans overlapping this time, the old version (V6.2-2) can still be accessed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_old_recon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Changing reconstruction versions can lead to small systematic differences in the result parameters of a trabecular bone analysis. The old version should only be accessed by those who absolutely need to use it. (Scanco recommends re-reconstructing all measurements of a study with version 6.2-5 instead).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== Rotated Reconstruction (about z-axis)===&lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to measure the angle for the rotated reconstruction. &lt;br /&gt;
#*To start the program type &amp;lt;code&amp;gt;$ uct_evaluation &amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. &lt;br /&gt;
#*Load your sample and select the angle measurement button.  &lt;br /&gt;
#*Drag the ends and the intersection of the green lines to measure the desired rotation angle. &lt;br /&gt;
#:[[File:Angle meas.preview.jpg|600px]]&lt;br /&gt;
#Rotate and reconstruct&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:reco_all &amp;lt;/code&amp;gt; to reconstruct all slices.&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:uct_reconstruction_angle &amp;lt;/code&amp;gt; to reconstruct selected slices from an RSQ. &lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to check the sample after the rotated reconstruction:&lt;br /&gt;
#:[[File:Rotated_reconstruction.preview.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;General Usage&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
      P1: Angle in degrees&lt;br /&gt;
      P2: Sample number&lt;br /&gt;
      P3: Measurement number&lt;br /&gt;
&lt;br /&gt;
$ @com:uct_reconstruction_angle.com P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
      P1: RSQ Filename&lt;br /&gt;
      P2: Slice number (A – all, start:finish)&lt;br /&gt;
      P3: Log file of batch job&lt;br /&gt;
      P4: Delete log file (true/false)&lt;br /&gt;
      P5: Angle in degrees&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The angle of rotation uses the right-hand rule:  a counterclockwise rotation is positive and a clockwise rotation is negative.&lt;br /&gt;
*The angle of rotation uses a single decimal place.  &lt;br /&gt;
*By default the reconstruction jobs will be placed in the sceva3_slow queue.&lt;br /&gt;
*Both functions are executed from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
The following examples are for a 19.1 degree counterclockwise rotation of sample 6876, measurement 15417, C0005086.RSQ.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com 19.1 6876 15417&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Delete the ISQ file from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
*A valid ISQ must exist.&lt;br /&gt;
*There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&lt;br /&gt;
To reconstruct slices 36 to 41:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 sys$scratch:reco610.log true 19.1&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 &amp;quot;&amp;quot; &amp;quot;&amp;quot; 19.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*&amp;quot;&amp;quot; is used as a null input for optional parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Other Reconstruction===&lt;br /&gt;
&lt;br /&gt;
====Reconstruct at a new voxel size====&lt;br /&gt;
See a script in:&lt;br /&gt;
  DISK1:[XTREMECT2.EVAL]UPDATE_HEADER.COM&lt;br /&gt;
&lt;br /&gt;
This script includes the following type of information:&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000010.00000050]D0000068.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000011.00000054]D0000072.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
&lt;br /&gt;
This is what one would do in a terminal. The only requirement is that this &amp;lt;code&amp;gt;updh_voxelsize.exe&amp;lt;/code&amp;gt; cannot be executed as the normal user.&lt;br /&gt;
Prior to that, one has to log as calibration, and do:&lt;br /&gt;
  $ set proc/priv=bypass&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate RSQ==&lt;br /&gt;
&lt;br /&gt;
===View RSQ projections and flat field===&lt;br /&gt;
&lt;br /&gt;
It can be very useful to examine the projections that are contained in the RSQ file, as well as to see the flat field correction frames.&lt;br /&gt;
&lt;br /&gt;
In the session manager, double click the RSQ file and the program ximage will open. Or, type:&lt;br /&gt;
  $ sh sym x&lt;br /&gt;
    X == &amp;quot;$UM:XIMAGE.EXE&amp;quot;&lt;br /&gt;
  $ x D0000018.RSQ&lt;br /&gt;
Then switch to xz view and go to the second slice (in this order). Then you should see a frame of the none attenuated beam (nothing in the beam, or Scanco calls it the I0 frame). If it is a multi stack measurement then there will be several copys of this frame in this image.&lt;br /&gt;
&lt;br /&gt;
In an RSQ you have for each slice of the detector one dark current line and then the full intensity line followed form the radiographs taken under the different angles (sinogram). In the x direction is the detector line, in the y direction is the rotation angle (except dark and I0) and in the z direction is the z-direction of the scanner. If you switch the view to xz, then you can see the frames as acquired by the detector (or stacked frames all taken under the same rotation angle). Frame 1 is then the dark image and Frame 2 is the full intensity image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to AIM===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
ipl&amp;gt; rsq_to_aim in YP_IGFAMOTION_003_6.RSQ                                                                                             &lt;br /&gt;
  -pos                       [0 0 0] &amp;gt; &lt;br /&gt;
  -dim                       [-1 -1 -1] &amp;gt; &lt;br /&gt;
  -convert_to_pro            [false] &amp;gt; true&lt;br /&gt;
  -sinogram_not_frames       [true] &amp;gt; true&lt;br /&gt;
  -div_unsigned_by_2         [false] &amp;gt; true&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt; write&lt;br /&gt;
  -name                      [internal_name] &amp;gt; in&lt;br /&gt;
  -filename                  [default_file_name] &amp;gt; YP_IGFAMOTION_003_6_rsq.aim&lt;br /&gt;
  -compress_type             [bin] &amp;gt; none&lt;br /&gt;
  -version_020               [true] &amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to PSQ===&lt;br /&gt;
First, in the terminal turn on the &#039;advanced questions&#039; mode&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Second use the reconstruction EXE to convert RSQ to PSQ&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run UCT_RECONSTRUCTION.EXE&lt;br /&gt;
raw file: DISK3:[MICROCT.PROJECTS.YVES.LANDMARK.RAW]filename.RSQ&lt;br /&gt;
&lt;br /&gt;
Give slice number, or &#039;a&#039; for all&lt;br /&gt;
hit return a few times&lt;br /&gt;
&lt;br /&gt;
Write Projection [N]:   -&amp;gt; say y and it writes the PSQ and continues with reco&lt;br /&gt;
Say p if it shall just produce PSQ and NOT continue with reco!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Beam hardening correction can be turned off by doing&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UCT_RECONSTRUCTION_CALIBRATION TRUE&lt;br /&gt;
$ define uct_disable_bh_correction true&lt;br /&gt;
$ deass UCT_BEAMHARD_POWER&lt;br /&gt;
$ deass UCT_BEAMHARD_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then run &amp;lt;code&amp;gt;uct_reconstruction&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The RSQ contains the RAW projection data. The PSQ represents tilted parallel beam projections:&lt;br /&gt;
&lt;br /&gt;
[[Image:CB-Rebinned.gif]]&lt;br /&gt;
&lt;br /&gt;
The rebinning process reduces the number of projections from 836 (1 bright field, 1 dark field and 834 projections spaced at 0.24 deg/proj, spanning 200.16 deg) to 750 (spanning 180 deg) with a resolution of 0.24 deg. In addition to the geometric changes, intensities are adjusted ln(I/I0) and beam hardening correction is applied. After converting a PSQ to AIM with IPL, an image can be reconstructed with Matlab&#039;s iradon(), note that only the central slice will be geometrically &#039;correct&#039;, but differences in other slices are small (Circumference of calibration phantom differs less than 1%). in the final reconstruction these effects are accounted for reducing the number of z-slices from 124 (acquired) to 110 in the reconstructed image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Measure RSQ motion artifact===&lt;br /&gt;
Based on RSQ data, in-plane translation and rotation, and longitudinal translation can be determined. &lt;br /&gt;
&lt;br /&gt;
The RSQ is first converted to a tilted parallel-beam sinogram. Motion is measured using the bonelab_measuremotion command in the Calgary extension of IPL installed on percy. Copy the motion scripts available in &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]&amp;lt;/code&amp;gt; to your COM directory. Here is how they work:&lt;br /&gt;
&lt;br /&gt;
* RSQ_TO_PSQ.COM;1 - (optional) convert RSQ to PSQ, PSQ gets created in the same directory as RSQ. Usage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ @rsq_to_psq.com DK0:[BRUNO.DATA.00000162.00009479]C0008921.RSQ&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* IPL_MEASUREMOTION.COM;2 - Takes a PSQ and measures motion using Calgary IPL on percy&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! example of how to submit a motion measurement&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST /LOG=SYS$SCRATCH: -&lt;br /&gt;
  DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM -&lt;br /&gt;
  /PARAM=(DISK3:[MICROCT.PROJECTS.DEVEL.RECO_TEST.RAW]PHANTOM_NOMOTION.PSQ) -&lt;br /&gt;
   /LOG=DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]MEASUREMOTION.LOG&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results are save in &amp;lt;code&amp;gt;MEASUREMOTION.LOG&amp;lt;/code&amp;gt; and the following section contains all information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/bonelab_measure_motion&lt;br /&gt;
  -input                     org&lt;br /&gt;
Motion:&lt;br /&gt;
Translation = 2.135364&lt;br /&gt;
Rotation = 0.024216&lt;br /&gt;
Index = 3.694660&lt;br /&gt;
Translation weight = 0.943156&lt;br /&gt;
Rotation weight = 69.403737&lt;br /&gt;
Z_motion = 2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below with search.&lt;br /&gt;
Translation,Rotation,Index,Trans_weight,Rot_weight,Z_motion&lt;br /&gt;
2.135364,0.024216,3.694660,0.943156,69.403737,2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below for DB entry (Index*100).&lt;br /&gt;
db_motion_index=369.466034&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In-plane translation is &#039;&#039;&#039;Translation&#039;&#039;&#039;, in-plane rotation is &#039;&#039;&#039;Rotation&#039;&#039;&#039; and longitudinal translation is &#039;&#039;&#039;Z_motion&#039;&#039;&#039;. &#039;&#039;&#039;Index&#039;&#039;&#039; is the total in-plane motion as used in the IEEE ISBI 2009 paper by linear combination using the weights, not used any more, now we use in-plane translation only. &#039;&#039;&#039;db_motion_index&#039;&#039;&#039; is the motion index value multiplied by 100 and that could be written to the patient database. Multiplication by 100 is necessary since the motion field in the database is integer only.&lt;br /&gt;
&lt;br /&gt;
For more background on the algorithm look at &#039;&#039;Pauchard Y., et al, Measuring patient motion in HR-pQCT, IEEE ISBI 2009&#039;&#039;, and &#039;&#039;Pauchard Y., et.al., Automated quantification of three-dimensional subject motion to monitor image quality in high-resolution peripheral quantitative computed tomography, Phys Med Biol. vol. 56, pp 6523-6543, 2011&#039;&#039;. &#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The IPL implementation has not been validated against the Matlab implementation used in these publications. Motion Values can be different. Values can be automatically extracted as described below.&lt;br /&gt;
&lt;br /&gt;
* RSQ_MEASUREMOTION.COM;10 - The full deal: creates PSQ and measures motion all in the same directory as the RSQ.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
@DISK3:[MICROCT.PROJECTS.RESCAN.COM]RSQ_MEASUREMOTION.COM DISK3:[MICROCT.PROJECTS.RESCAN.RAW]M0003508.RSQ;1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to adjust the line:&lt;br /&gt;
&amp;lt;code&amp;gt;$ SCRIPTFILE := DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
to the location of your &amp;lt;code&amp;gt;IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The results are stored in the same directory as the RSQ in &amp;lt;RSQname&amp;gt;MOTION.LOG and can be extracted into motion_all.txt by running the search command:&lt;br /&gt;
&amp;lt;pre&amp;gt;search/output=motion_all.txt/window(0,1)/match=OR *motion.log &amp;quot;Translation,&amp;quot;,&amp;quot;Patient Name &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update RSQ&#039;s Center Information===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
username: calibration&lt;br /&gt;
password:&lt;br /&gt;
$ spb      or     $ set proc/priv=bypass  &lt;br /&gt;
$ run [.util]updh_center&lt;br /&gt;
Raw-Data-File:        enter location of raw data (with directory if necessary)&lt;br /&gt;
Center X:  [15430]:   enter new center value (e.g. 15415)&lt;br /&gt;
Press return for all other options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Determine RSQ&#039;s Centre Calibration Values===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true   ! Note: do not mistype... or the calibration program will not run&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the SAME terminal: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_reconstruction dk0:[microct.data.00004026.00004576]c0001344.rsq&lt;br /&gt;
Slice-Nr. [0...919] (Neg. to stop): 100&lt;br /&gt;
Center [207]: here enter a new number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hit return a few more times to use default values for other options.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT check these values, that they do not change:&lt;br /&gt;
Maximal possible Scan-Distance (mm) = 125.9520 &lt;br /&gt;
Cropped adjusted Scan-Distance (mm) = 125.9520 &lt;br /&gt;
See that it does not change, e.g. drop to 124 mm or such...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then do that again, $ uct_reconstruction ....rsq 100 (for the first time, for each file/scan). &lt;br /&gt;
&lt;br /&gt;
Double click on ISQ. slide to slice 101 (!) (100+1, since terminal zero based) compare with image in e.g. slice 100 or 99 (disregard funny half image shift...) &lt;br /&gt;
&lt;br /&gt;
Should already look nicer. &lt;br /&gt;
&lt;br /&gt;
Then try out with e.g. center 230 or so, with e.g. slice 101 (thus slice 102 in Ximage). (now, only one run is necessary) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
compare against image with center e.g. 200. &lt;br /&gt;
continue at libitum until you find the best center, the crispest image.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Usually the centre is determined to within about 3 to 5 points (which is 0.3 to 0.5 pixels), so e.g. test 225 and 230, and maybe 228. &lt;br /&gt;
&lt;br /&gt;
Write down your favourite. &lt;br /&gt;
&lt;br /&gt;
If you cannot decide: let Andres know which ISQ slice was reco-ed with which center (in &#039;Ximage&#039; slice numbers), and I can check - but since remote Ximage is SOOO slow, thanks for only pointing out a few options, I cannot check 20 settings...&lt;br /&gt;
&lt;br /&gt;
Then continue with next diameter scan (the first time for each scan, reco twice again) &lt;br /&gt;
&lt;br /&gt;
The different diameter centers should be a steady function, so all the new center values should be increasing as diameter decreases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Modify RSQ&#039;s BHC for in-air scans===&lt;br /&gt;
This is necessary because the beam-hardening correction factor assumes scans were done in soft tissue.  It is necessary to choose calibrations of 1200 or 700, instead of the default 200.&lt;br /&gt;
&lt;br /&gt;
Currently, the XtremeCT has options for 200 (standard) or 1200 calibration (in air). &lt;br /&gt;
&lt;br /&gt;
To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration; modification of MICROCT user data&lt;br /&gt;
$ run ut:UCT_EXT_HEADER_ADD_CALIB.EXE&lt;br /&gt;
&amp;gt; Raw-Data-File []: DISK2:[MICROCT.DATA.00000401.00001495]C0001404.RSQ&lt;br /&gt;
&amp;gt; ...&lt;br /&gt;
&amp;gt; Add another BH-Corr from file again? (Y/N) [N]:    ! Enter yes (UCTD:UCT_BH_COEFF_60KV_1200HA_3309.TXT)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, &amp;lt;b&amp;gt;delete&amp;lt;/b&amp;gt; the old ISQ.  It must be deleted or else the header information will not be changed.  Finally, reconstruct the new ISQ and analyze...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate ISQ==&lt;br /&gt;
&lt;br /&gt;
===Read an ISQ header===&lt;br /&gt;
You can either read using the standard tool&lt;br /&gt;
&lt;br /&gt;
  $ ctheader C0014141.ISQ&lt;br /&gt;
  $ sh sym ctheader&lt;br /&gt;
    CTHEADER == &amp;quot;$UT:CTHEADER.EXE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Or, use the extended header tool to show the calibration data&lt;br /&gt;
&lt;br /&gt;
  $ run ut:uct_ext_header_display.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import ISQ===&lt;br /&gt;
When you import, please note that the sample number AND measurement number are updated, so meas 10907 is now 10908.&lt;br /&gt;
&lt;br /&gt;
Suppose you have a sample 3000, meas 10000, C0001234.isq, and want to import this into sample 3001, this is what I would do:&lt;br /&gt;
&lt;br /&gt;
To make a copy of the scan (i.e., keep it in sample 3000 and make another copy in 3001)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd *3000*10000&lt;br /&gt;
$ copy C0001234.isq D0001234.isq,  also copy any other files you want imported (RSQ, GOBJs, etc)&lt;br /&gt;
$ import&lt;br /&gt;
&lt;br /&gt;
UCT_IMPORT V1.2&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
ISQ-file []: D0001234.ISQ&lt;br /&gt;
&lt;br /&gt;
Sample number [0]: 3001&lt;br /&gt;
&lt;br /&gt;
Change File Header name [Y]: Y&lt;br /&gt;
&lt;br /&gt;
Optional: Operator Measurement [0]: 1     (1 = bonelab)&lt;br /&gt;
&lt;br /&gt;
Site   20 Radius L&lt;br /&gt;
&lt;br /&gt;
Optional: Controlfile Nr. [0]:                (change if desired)&lt;br /&gt;
&lt;br /&gt;
Execute Rename Command [Y]: Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
===Ring Artifact===&lt;br /&gt;
*Refer to [[Media:Microct_ring_correction.pdf|&#039;&#039;&#039;MicroCT Ring Correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Partial Volume Effect===&lt;br /&gt;
*Refer to [[Media:Partial_Volume_Effect.pdf|&#039;&#039;&#039;Partial Volume Effect&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Beam Hardening Correction (BHC)===&lt;br /&gt;
&lt;br /&gt;
====Use the right BHC====&lt;br /&gt;
*Refer to [[Media:Beam_hardening_correction.pdf|&#039;&#039;&#039;Use the right beam hardening correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understand Scanco BHC====&lt;br /&gt;
If you see lines like &#039;CCD_CORR: Expand BH-corr to1536&#039; etc. etc.: &lt;br /&gt;
&lt;br /&gt;
then we do a polynomial correction: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uctd:*bh_coeff*.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and you see a file with the scanner ID. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--&amp;gt; $ type uctd:UCT_BH_COEFF_60KV_0200HA_3309.TXT&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
! Function 9 is Addpolynom&lt;br /&gt;
Function:           9 A&lt;br /&gt;
0:  3  0.00000000 -0.38599902  0.30870225 -0.06162301&lt;br /&gt;
--&amp;gt; 0: for all pixels. 3 --&amp;gt; 3rd degree polynom, with factors: &lt;br /&gt;
x^0 = 0&lt;br /&gt;
x^1 = -0.38...&lt;br /&gt;
x^2 = 0.308...&lt;br /&gt;
x^3 = -0.061...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This polynom is added to the PROJECTION value (not the raw counts). &lt;br /&gt;
&lt;br /&gt;
the BH-corr is doing a &#039;linearization&#039;, e.g. see&lt;br /&gt;
&lt;br /&gt;
http://iospress.metapress.com/content/twcxb9jfk8knhpq2/&lt;br /&gt;
&lt;br /&gt;
for more info. &lt;br /&gt;
&lt;br /&gt;
The values in the middle of the scan are amplified more - not just because of their position, but because the object is thicker there, thus the projection values are higher, thus the correction term is higher.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE&amp;lt;/b&amp;gt; : Linearisation, as used by Scanco, will compensate &#039;soft-tissue&#039; beam hardening (inside of water phantom appears &amp;lt;b&amp;gt;LESS&amp;lt;/b&amp;gt; dense). Bone related beam hardening, e.g. soft tissue near skull appearing &amp;lt;b&amp;gt;MORE&amp;lt;/b&amp;gt; dense, will &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; generally be compensated. See Kak and Slaney &#039;Principles of computerized tomogprahic imaging&#039; and Joseph and Spital J Comp Assist Tomo 1978 vol 2 for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
&lt;br /&gt;
==Analysis Topics==&lt;br /&gt;
&lt;br /&gt;
===Cortical thickness analysis in standard evaluation===&lt;br /&gt;
&lt;br /&gt;
!!Note - with ipl v5.42 this should be changed to &amp;lt;code&amp;gt;/dt_cortical_thickness&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the IPL command &amp;lt;code&amp;gt;/dt_cortex_obj_param&amp;lt;/code&amp;gt; to measure cortical thickness using direct methods.&lt;br /&gt;
&lt;br /&gt;
When extracting the results from the database using &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt;, specify the &amp;lt;code&amp;gt;UCT_3D_LIST_W_CTH.TXT&amp;lt;/code&amp;gt; template in directory &amp;lt;code&amp;gt;DISK0:[MICROCT_COMMMON.UIL]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
UCT_LIST.EXE Version V5.1&lt;br /&gt;
Template-File [UCT_3D_LIST_SHEET]: DISK0:[MICROCT_COMMON.UIL]UCT_3D_LIST_W_CTH.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
UCT_3D_LIST_W_CTH.TXT is now the default template as of March 2009.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical porosity and finite element analysis on XtremeCT===&lt;br /&gt;
&lt;br /&gt;
* This procedure is broken down into 3 separate components&lt;br /&gt;
* All Scripts mentioned be copied directly from DISK3:[MICROCT.PROJECTS.KYLE.SCRIPTS]&lt;br /&gt;
* Files should be copied from data to projects prior to running analysis (see bonelab procedures.doc on sodor) &lt;br /&gt;
&lt;br /&gt;
1. Autocontour the image &amp;lt;br&amp;gt;&lt;br /&gt;
2. Calculate and extract cortical measurements &amp;lt;br&amp;gt;&lt;br /&gt;
3. Create FE files and run FE &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Autocontour====&lt;br /&gt;
* The main autocontour script is located in the ue: directory, this should NOT be modified!&lt;br /&gt;
* The procedure is executed using a &amp;quot;hijack&amp;quot; script [[Media:HIJACK_AUTOCONTOUR.TXT|&#039;&#039;&#039;HIJACK_AUTOCONTOUR.TXT&#039;&#039;&#039;]], but the filename must be changed to .COM or found in the directory mentioned above.&lt;br /&gt;
* Files should already have a _SEG.AIM created and should be in the same directory as the raw .AIM file.&lt;br /&gt;
&lt;br /&gt;
* You then create a SUBMIT.COM script as you would for other files. For example:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:HIJACK_AUTOCONTOUR.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
* This command will then create various files for examination and further analysis. These include:&lt;br /&gt;
** FILENAME_COMBI.AIM - shows cortical, trabecular, and pores all in different colors&lt;br /&gt;
** FILENAME_COMBIPO.AIM - shows only the cortex with porosity as different color&lt;br /&gt;
** FILENAME_CRTXFILL.AIM - gives sold mask of cortex, porosity filled (can be used to calculate Ct.Th)&lt;br /&gt;
** FILENAME_CRTXPO.AIM - shows only the pores&lt;br /&gt;
** FILENAME_TRAB.GOBJ - gobj of trabecular region&lt;br /&gt;
** FILENAME_CRTX.GOBJ - gobj of cortical region&lt;br /&gt;
** FILENAME_AUTO2.GOBJ - gobj of whole bone region&lt;br /&gt;
&lt;br /&gt;
* Further technical details and references can be found in the following publications:&lt;br /&gt;
** Buie, H., Campbell, G., Klinck, R., MacNeil, J., &amp;amp; Boyd, S. (2007). Automatic segmentation of cortical and trabecular compartments based on a dual threshold technique for in vivo micro-CT bone analysis. Bone, 41(4), 505-515. &lt;br /&gt;
** K.K. Nishiyama, Macdonald, H., Buie, H., Hanley, D., &amp;amp; Boyd, S. (2010). Postmenopausal Women With Osteopenia Have Higher Cortical Porosity and Thinner Cortices at the Distal Radius and Tibia Than Women With Normal aBMD: An In Vivo HR-pQCT Study. Journal of Bone and Mineral Research, 25(4), 882-890.&lt;br /&gt;
&lt;br /&gt;
====Evaluate Cortex====&lt;br /&gt;
&lt;br /&gt;
*This Step 2 method of doing the cortical analysis is no longer used now that we have the IPL_UPAT_CALGARY_EVAL_XT1.COM or XT2.COM version. The problem with this approach is that it is a Frankenstein of the standard analysis and the advanced analysis. The cortical bone assessment is correct, but the trabecular compartment from the standard analysis is not a perfect match. Instead, we should be using the GOBJs described in IPL_UPAT_CALGARY_EVAL_XT1.COM so that we have a perfect mix. &lt;br /&gt;
  &lt;br /&gt;
Nevertheless, we keep this information here for now for posterity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*After the autocontour is computed we used to call IPL_EVAL_CORTEX.COM that will calculate the cortical parameters:&lt;br /&gt;
**Cortical porosity (%)&lt;br /&gt;
**Direct cortical thickness (mm)&lt;br /&gt;
**Cortical density (mg HA/ccm)&lt;br /&gt;
&lt;br /&gt;
This WAS called as the following:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_EVAL_CORTEX.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME.AIM&#039;&#039;&#039; -&lt;br /&gt;
        /LOG=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.LOG]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;_EVAL_CRTX.LOG&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The results of this script are outputed into individual log files for each file being evaluated.&lt;br /&gt;
* To extract these results into one file use:&lt;br /&gt;
 $ search/output=output_results_filename.txt *EVAL_CRTX.LOG &amp;quot;!% ov/tv&amp;quot;,&amp;quot;!&amp;gt; C.Th&amp;quot;,&amp;quot;!% mean_unit&amp;quot;&lt;br /&gt;
*A learn command in the eve editor can be used to extract the specific results desired:&lt;br /&gt;
**!% ov/tv is the amount of bone in the cortex (ie. 1- ov/tv =  cortical porosity)&lt;br /&gt;
**!&amp;gt; C.Th is the direct cortical thickness in mm&lt;br /&gt;
**!% mean_unit is the cortical density in mg HA/ccm&lt;br /&gt;
&lt;br /&gt;
====Create and run FE models====&lt;br /&gt;
&lt;br /&gt;
*The most current common FE model to run is a homogeneous model where all elements have the same material properties and the cortex and trabecular regions are labeled separately in order to determine the percentage of load carried by each region.&lt;br /&gt;
*The other option is to create a model where the material properties are scaled based on the density values and scripts for this can be found in the COM directory.&lt;br /&gt;
&lt;br /&gt;
*The script IPL_FEM_HOMOGEMOUS_LS.COM will use files created by the autocontour and appropriately label the cortex and trabecular regions as well as remove any disconnected pieces of bone.&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_FEM_HOMOGENOUS_LS.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
*Files will now be created with the suffix _HOM_LS.AIM and can be moved to Mighty-Mac or Mavis for FE analysis.  You will require user accounts for these computers and can contact Eric or Steve. If using FTP be sure to transfer the files in binary mode (further documentation on this can be found in this Wiki)&lt;br /&gt;
&lt;br /&gt;
*[[Media:2009-10-15_FEM_Tutorial.pdf|&#039;&#039;&#039;FEM tutorial main steps&#039;&#039;&#039;]] to submit the FE files with a detailed manual is recommended for first time users.&lt;br /&gt;
*This is now out of date, but is kept here because it still contains useful information about preparing AIM files and post-processing.  &lt;br /&gt;
*For running the FE itself, please refer to the current manual at [[FAIM Finite Element Solver]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical midshaft analysis with moment of inertia calculation===&lt;br /&gt;
&lt;br /&gt;
This explains what happens when you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ midshaft       ! or&lt;br /&gt;
$ eval_midshaft &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw a rough contour around your slices: open the Contouring Sub-window, double-click on the big image, and it automatically finds the best contour. Then click on &#039;Selection&#039; &#039;Forwards&#039;, then &#039;Iterate Forwards&#039;.&lt;br /&gt;
&lt;br /&gt;
Then &#039;cancel&#039; the contouring sub-window, and start the 3D evaluation.  Make sure you have already set the correct threshold, sigma, support in file&lt;br /&gt;
&amp;lt;pre&amp;gt;DISK2:[MICROCT.EVAL]IPL_FIXED_BATCH_MIDSHAFT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should find a job called UCT_EVALUATION_MIDSHAFT and a SYS$SCRATCH:*_MIDSHAFT_*.LOG&lt;br /&gt;
&lt;br /&gt;
The IPL_FIXED_BATCH_MIDSHAFT.COM by default does not calculate the direct measurement results because you must have many more than 20 slices for these to be valid.  You can uncomment these parts of the file if you contoured the whole stack (i.e., stack thickness is &amp;gt;&amp;gt; than cortex thickness).&lt;br /&gt;
&lt;br /&gt;
TILDE: Note that you will see lots of tildes (~) on the result sheets. This is to tell you that, if the measurements were trabecular bone, those values would only be approximate. But now for the cortex, they are actually correct! (see below for more explanation about this) I would now use the tildes to check the &#039;excel&#039; table that the operator has taken the correct script for the trab. or cort. evaluations for the respective measurements!&lt;br /&gt;
&lt;br /&gt;
So what&#039;s the advantage of all this?  Now, also VOX-TV is correct!  So VOX-TV is the whole area, VOX-BV the doughnut, so TV - BV is the marrow area!  And still, TRI-Tb.Th is the cortical thickness (TRI-TV is NOT correct, because the .gobj feature was turned off).&lt;br /&gt;
&lt;br /&gt;
I say &#039;area&#039; above: depending on how many slices one individual scan has,&lt;br /&gt;
VOX-BV (and VOX-TV) might be different for different scans, so you will HAVE to&lt;br /&gt;
convert the volumes to area again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
volume equals area times height&lt;br /&gt;
--&amp;gt; Bone Area = VOX-BV / height = BV / (dim.z * el_size_mm.z)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and same for Total area, of course :-)&lt;br /&gt;
&lt;br /&gt;
POROSITY: If you want porosity of the bone itself draw two contours: one around, counter-clockwise, on on the inside, clock-wise (thus a &#039;negative&#039;, excluding contour). Now, TV will be just that ring area, BV will be the bone within that ring area, and BV/TV will be 1 - porosity, thus BV/TV 94% means 6% porosity.&lt;br /&gt;
&lt;br /&gt;
METAPHYSIS: Application of this script to metaphysis scan (with trab. in middle):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ midshaft&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw one contour around the cortex, and in the same slices, a NEGATIVE contour on&lt;br /&gt;
the inside (CW contour) to exclude the trabecular bone. You may potentially work with the BP (break-point) system to be able to morph the negative contours, even though there is already an &#039;outer&#039; contour around the bone in every slice.&lt;br /&gt;
&lt;br /&gt;
Start 3D eval, read out the data-base with &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: You CANNOT give the .gobj a special name such as c0001234_cortex.gobj if you are using the automatic evaluation button on UCT_EVALUATION.  Only after the eval (or midshaft eval) has finished, you may copy it to a more meaningful name, but all of the evaluations are just taking the STANDARD gobj name!&lt;br /&gt;
&lt;br /&gt;
Afterwards (after renaming or copying the _seg.aim to _cortex.aim, and .gobj to _cortex.gobj), you may want to start the very normal eval with normal (inner) contours to evaluate the trabecular compartement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Remember: the values in our 3D result database then are OVERWRITTEN.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a large study, I would recommend to run the $ midshaft for ALL&lt;br /&gt;
samples, &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; to e.g. &amp;lt;code&amp;gt;sys$scratch:mystudy_cortex.txt&amp;lt;/code&amp;gt;, &lt;br /&gt;
rename/copy gobj and seg for all, and THEN run the trabecular evaluation for all samples.  &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and you have two nice complete excel sheets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE ON PLATE MODEL: More explanations of why the plate model is correct&lt;br /&gt;
&lt;br /&gt;
Assume a ring (cortex).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Area = thickness * &#039;middle line&#039;.&lt;br /&gt;
&#039;middle line&#039; = average of outer and inner circumference&lt;br /&gt;
--&amp;gt; &#039;middle line&#039; = 0.5 * &#039;bone surface&#039;&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; thickness = bone volume * 2 / bone surface.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And this is nothing else but the &#039;plate model&#039; formula for Tb.Th!&lt;br /&gt;
&lt;br /&gt;
NORMAL TRABECULAR EVALUATION?  And why not just run the &#039;normal trabecular eval&#039;?  Because in the &#039;normal&#039; TRI calculation, we are EXCLUDING all surfaces that are created artificially by a gobj line that cuts through a trabecula.&lt;br /&gt;
&lt;br /&gt;
However, for the midshaft, this means the whole outer (or even inner, if also&lt;br /&gt;
inner contour is there) is SUPPRESSED, because it is touching the gobj line. So&lt;br /&gt;
this is where that midshaft script comes in: it turns off that suppression.&lt;br /&gt;
&lt;br /&gt;
MORE EXPLANATIONS: Why the direct DT-Tb.Th* is NOT correct for a scan with&lt;br /&gt;
just 12 slices.&lt;br /&gt;
&lt;br /&gt;
If we fill the structure with spheres, those spheres should be bounded by the&lt;br /&gt;
width of the cortex, not just by the fact that we only have 12 slices (and even more so, we are always doing &#039;aim box&#039; suppression with the spheres) if a sphere touches the boundary of the aim box, it is suppressed!&lt;br /&gt;
&lt;br /&gt;
So this is quite crucial for Tb.Sp and Tb.N. To get meaningful Tb.Sp, you would&lt;br /&gt;
need a LOT of slices. Also, then, you cannot have the inner contour - otherwise&lt;br /&gt;
the negative inner contour will delete the Tb.Sp. spheres.&lt;br /&gt;
&lt;br /&gt;
If you have enough slices, you may opt to turn the &amp;lt;code&amp;gt;/dt_object&amp;lt;/code&amp;gt; on again in the&lt;br /&gt;
midshaft script (second half). Then DT-Tb.Th* and TRI-Tb.Th just have a slightly different behaviour if there are little pores within the cortex:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TRI: the little pore just adds a little BS, thus the influence is not that big.&lt;br /&gt;
DT: the little pore cuts the thickness sphere in half, thus at that location, the thickness is halved.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MEAN1 and MEAN2: The script is also calculating Mean1 and Mean2 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Mean1: &#039;apparent&#039; density, average over whole TV&lt;br /&gt;
Mean2: &#039;tissue&#039; density: average over what was segmented as bone only.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These mean values will be in mg HA/ccm if you have the calibration option for bone density installed (and activated for those scans).  Remember: the bone has to have some soft-tissue (or equivalent) on the inside, and preferably also on the outside then.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Joint Thickness Measurements===&lt;br /&gt;
*Sample script to search histogram files for results: [[Media:Summarize_Joint_Th_Measurements.pdf|Summarize Joint Th Measurements]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Joint Space Width (JSW) analysis===&lt;br /&gt;
The scripts published in [https://doi.org/10.21037/qims.2019.12.11 Stok et al. 2020], and released by Scanco, are available for XCT1 and XCT2.&lt;br /&gt;
&lt;br /&gt;
On XCT2 they have been installed as Tasks #112 to #116.&lt;br /&gt;
&lt;br /&gt;
Instructions to run this analysis are available here [[Media:ESD_Joint_Space_Width_v2.3.pdf]].&lt;br /&gt;
&lt;br /&gt;
The full citation for this work is: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Stok KS, Burghardt AJ, Boutroy S, Peters MPH, Manske SL, Stadelmann V, Vilayphiou N, van den Bergh JP, Geusens P, Li X, Marotte H, van Rietbergen B, Boyd SK, Barnabe C; SPECTRA Collaboration. Consensus approach for 3D joint space width of metacarpophalangeal joints of rheumatoid arthritis patients using high-resolution peripheral quantitative computed tomography. Quant Imaging Med Surg. 2020 Feb;10(2):314-325. doi: 10.21037/qims.2019.12.11. PMID: 32190559; PMCID: PMC7063288.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==UCT_EVALUATION==&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION SOP===&lt;br /&gt;
====Start 3D evaluation from terminal for XtremeCT II====&lt;br /&gt;
&lt;br /&gt;
Logged into the terminal as &amp;quot;xtremect2&amp;quot; you can see the evaluation scripts in &amp;lt;code&amp;gt;IDISK1:[XTREMECT2.EVAL]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The morphological evaluation: Control file #25. It basically runs auto contouring (#23) and then the morphological analysis.&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_EVALUATION_V6_XT2_DT61.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_CORT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TRAB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TOTAL.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_CORT_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TRAB_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TOTAL_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Contouring scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK.COM&amp;lt;/code&amp;gt;: Creates automatically the standard GOBJ. Control file #22.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPL_AUTOK_CTTB.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT, TRAB and PORE.GOBJ (previously CRTXPO). Control file #23.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK_CTTB_CORR.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT and PORE.GOBJ, after manual correction on the TRAB.GOBJ. Control file #24.&lt;br /&gt;
&lt;br /&gt;
Laplace- Hamming scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH61_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH82_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results will be generated in the &amp;lt;code&amp;gt;IDISK2:[XTREMECT2.RESULTS]&amp;lt;/code&amp;gt; directory, in the same way as they are generated for the cortical analysis on XtremeCT I, i.e. using the uct database and appended text files.&lt;br /&gt;
&lt;br /&gt;
Laplace Hamming evaluations will generate results in the upat_list database. The direct measurements will be stored in the uct_list database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Symbols for XtremeCT II vs XtremeCT I====&lt;br /&gt;
&amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; account you get&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[MICROCT.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.3309.]&amp;quot;&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;code&amp;gt;xtremect2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[XTREMECT2.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So 3309 has its own directory where the software versions for the two scanners are different, e.g.&lt;br /&gt;
&lt;br /&gt;
  xtremect: DISK0:[MICROCT_COMMON.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
  microct: DISK0:[MICROCT_COMMON.3309.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
&lt;br /&gt;
We have defined some symbols for the different ipl versions:&lt;br /&gt;
&lt;br /&gt;
  IPL&lt;br /&gt;
  IPLREG&lt;br /&gt;
  IPLFE&lt;br /&gt;
  IPL_BATCH&lt;br /&gt;
  IPLREG_BATCH&lt;br /&gt;
  IPLFE_BATCH&lt;br /&gt;
&lt;br /&gt;
In the scripts you can directly use these symbols instead of ipl_scanco_prog (old style).&lt;br /&gt;
&lt;br /&gt;
IPL and IPL_BATCH are different for the two scanners because the newest version is not officially released for XT1.&lt;br /&gt;
IPL of the microct account (XT1) cannot read data of the xtremect2 account (XT2). The other way around it works.&lt;br /&gt;
&lt;br /&gt;
IPLREG and IPLREG_BATCH point to &amp;lt;code&amp;gt;$DISK1:[XTREMECT2.MAIN]IPL_SCANCO_REGIS_V107.EXE&amp;lt;/code&amp;gt; for both accounts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Start 3D evaluation from terminal for microCTs====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;Do not change &amp;lt;code&amp;gt;uct_evaulation_v4.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ipl_fixed_batch_v4.com&amp;lt;/code&amp;gt; in .eval, but only work on your own file (i.e., eval_steve).&lt;br /&gt;
&lt;br /&gt;
First, an explanation of how the normal evaluation runs by hitting the &#039;Start 3d&#039; button.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_v4.com/para=(xxx,yyy,zzz,…)&amp;lt;/pre&amp;gt;&lt;br /&gt;
There are 8 parameters:&lt;br /&gt;
*P1: number of print outs of our results sheet&lt;br /&gt;
*P2: the ISQ filename&lt;br /&gt;
*P3-5: start x (pos x), y, z&lt;br /&gt;
*P6-8: dim x, y, z&lt;br /&gt;
The parameters p3-p8 come from the white bounding box. The problem is that when you start from the terminal you do not have these. This problem can be overcome by using the &amp;lt;code&amp;gt;isq_to_aim_gobjbox.exe&amp;lt;/code&amp;gt; and then give the relevant parameters. You can &lt;br /&gt;
&amp;lt;code&amp;gt;$ run um: isq_to_aim_gobjbox.exe &amp;lt;/code&amp;gt;&lt;br /&gt;
to see what it&#039;s asking for.&lt;br /&gt;
By using gobjbox you do not need p3-p8. Therefore you can start the evaluation by giving:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_special_josh.com –&lt;br /&gt;
/para=(1,dk0:[microct.data.0000275.0000245]c0000332.ISQ)&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You can make &amp;lt;code&amp;gt;uct_evaluation_special_josh.com&amp;lt;/code&amp;gt; such that there is no need for P1 (change p2 to p1 in the script, etc).&lt;br /&gt;
*Alternatively to using the gobjbox you could use the normal isq_to_aim, but hard code the dim and pos.&lt;br /&gt;
*Then call whatever IPL files you want to call. Look into &amp;lt;code&amp;gt;fixed_batch_v4&amp;lt;/code&amp;gt; to see how we turn on the database always on the first line of every IPL part, and how we calculate parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Temporarily change evaluation for UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
In a terminal window, we need to redefine the logical that determines which&lt;br /&gt;
3D evaluation is associated with the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool.&lt;br /&gt;
&lt;br /&gt;
For example, typing &amp;lt;code&amp;gt;VOI&amp;lt;/code&amp;gt; runs the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool&lt;br /&gt;
by executing &amp;lt;code&amp;gt;UE:UCT_EVALUATION_VOI.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show logical UCT_EVALUATION&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then you can redefine this to point to another evaluation script.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ define UCT_EVALUATION UE:UCT_EVALUATION_CUTOUT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is only redefined in the particular terminal you are using, and it&lt;br /&gt;
will reset to its default in a new terminal.  It will also not work if you&lt;br /&gt;
try to submit the job to a queue.  It only works interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Assign special evaluation to UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: This is for advanced users ONLY.  Do not attempt this without contacting Steve!&lt;br /&gt;
&lt;br /&gt;
This will show how to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt;:&lt;br /&gt;
It is easy to set up multiple .COM files for the 3D evalulation tool, one such set-up is already prepared on your computer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eval_special&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will do something similar to &amp;lt;code&amp;gt;$ voi&amp;lt;/code&amp;gt; where the normal contour program opens, but if you start the 3D eval, the special script &amp;lt;code&amp;gt;um:uct_evaluation_special.com&amp;lt;/code&amp;gt; is called (associated with eval_special), which then in turn calls &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt;, where you can specify your own set of thresholds, etc.&lt;br /&gt;
&lt;br /&gt;
So it is a daisy chain of files which we will need to follow to set up a special &amp;lt;code&amp;gt;xxx_kyle.com&amp;lt;/code&amp;gt; script, and where ever we encounter &amp;lt;code&amp;gt;_special.com&amp;lt;/code&amp;gt;, we copy and change it to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; you will need to do the following:&lt;br /&gt;
&lt;br /&gt;
*1. Edit &amp;lt;code&amp;gt;disk1:[microct]microct_setup_user.com&amp;lt;/code&amp;gt; (double-click on file), please be careful here, it&#039;s very important! (and I hope you have done your &#039;weekly full backup&#039; regularly, so you could always retrieve a good version of login.com...)&lt;br /&gt;
&lt;br /&gt;
*2. Then, towards to bottom and duplicate the line&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_special :== @com:eval_var.com um:uct_evaluation_special.com&amp;lt;/code&amp;gt;&lt;br /&gt;
and change duplicate to&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_kyle    :== @com:eval_var.com um:uct_evaluation_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make this command &amp;lt;code&amp;gt;eval_kyle&amp;lt;/code&amp;gt; available after you login freshly. Save and Exit.&lt;br /&gt;
&lt;br /&gt;
*3. Then go to &amp;lt;code&amp;gt;disk1:[microct.eval]&amp;lt;/code&amp;gt; and copy the file &amp;lt;code&amp;gt;uct_evaluation_special.com&amp;lt;/code&amp;gt; to the name &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt; (&#039;Commands&#039;, &#039;Copy ...&#039;, BUT CLICK ON THE THREE DOTS and give new output name. &lt;br /&gt;
If you do not see the &amp;lt;code&amp;gt;eval_special:&amp;lt;/code&amp;gt; go to terminal, &amp;lt;code&amp;gt;$ dir ue:*special*.com&amp;lt;/code&amp;gt; and take it from the &amp;lt;code&amp;gt;microct_common&amp;lt;/code&amp;gt; directory)&lt;br /&gt;
&lt;br /&gt;
*4. Edit the &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt; file: at the top, change &amp;lt;code&amp;gt;ipl_......_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*5. Copy &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*6. Edit &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; to your liking. If you want &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; to not perform the full evaluation, but only something akin to &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt;, then, in the steps above, copy &amp;lt;code&amp;gt;uct_eval_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;ipl_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; (thus you take the &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; script as template for the &amp;lt;code&amp;gt;_kyle&amp;lt;/code&amp;gt; script).&lt;br /&gt;
&lt;br /&gt;
*7. Then open a new terminal (&#039;applications&#039;, &#039;decterm&#039;), &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; should work now!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;: When you start the 3D eval, then&lt;br /&gt;
&amp;lt;code&amp;gt;$ que&amp;lt;/code&amp;gt;&lt;br /&gt;
will show you your batch job with your name on it now!&lt;br /&gt;
&lt;br /&gt;
And now a few more explanations how the whole thing works: in all eval programs, hitting &#039;Start 3d&#039; just submits the logical &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$ show log uct_evaluation&amp;lt;/code&amp;gt; shows you that by default, this points to &amp;lt;code&amp;gt;ue:uct_evaluation_v4.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Those little &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;eval_steve&amp;lt;/code&amp;gt; scripts then just temporarily redefine this logical so that a different script is submitted when you &amp;lt;code&amp;gt;&#039;start 3d eval&#039;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
About the &#039;&#039;&#039;corelut eval&#039;&#039;&#039;: Then we start a whole different eval program: the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt;. So, if you set up a &amp;lt;code&amp;gt;eval_steve_c&amp;lt;/code&amp;gt; (or whatever you want to call it): Produce a &amp;lt;code&amp;gt;eval_var_c.com&amp;lt;/code&amp;gt; in the directory commands (maybe copy from microct_common to [microct.commands]), and there, on the last line, instead of starting&lt;br /&gt;
&amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
(the normal program), replace by&lt;br /&gt;
&amp;lt;code&amp;gt;$ evalc&amp;lt;/code&amp;gt;&lt;br /&gt;
which starts the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt; - and because the &amp;lt;code&amp;gt;eval_var.com&amp;lt;/code&amp;gt; has over-ridden the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; logical just before, then you are starting different script upon starting 3d eval.&lt;br /&gt;
NB: we have a logical AND a symbol called &amp;lt;code&amp;gt;uct_evalution&amp;lt;/code&amp;gt;. Sorry for confusion. Symbol &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; starts normal &amp;lt;code&amp;gt;eval&amp;lt;/code&amp;gt; program, so this is what you replace by symbol &amp;lt;code&amp;gt;evalc&amp;lt;/code&amp;gt; now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION FAQ===&lt;br /&gt;
====Warning: Not all required GOBJ files found, Continue anyway?====&lt;br /&gt;
This occurs when the chosen evaluation script is looking for a contour file, but can&#039;t find it.  &lt;br /&gt;
*To see what contours the script is looking for go to &amp;quot;File&amp;quot; then &amp;quot;Save GOBJ As...&amp;quot;.  You can now see the list of required gobj files.  &lt;br /&gt;
*For some scripts, it may not be necessary to supply a gobj and you can continue with the evaluation without it.  For example, the &amp;quot;3D Segmentation of VOI, 1 solid object&amp;quot; applies the contour to isolate the region of interest, however, this may not be necessary if the object of interest can be extracted from thresholding.&lt;br /&gt;
[[File:Save_gobj_as.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Attempt to access non-existent record CODE: 36====&lt;br /&gt;
The scan is most likely still in the process of being reconstructed.  Try to access the scan again in a few hours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Insufficient logical unit numbers CODE: 1409716====&lt;br /&gt;
Exit the evaluation program and restart it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Process quota exceeded====&lt;br /&gt;
&lt;br /&gt;
[[Image:Process_quota_error.JPG|300px]]&lt;br /&gt;
&lt;br /&gt;
When running UCT_EVALUATION from a dec terminal, an error when starting an evaluation may occur if there are to many dec terminals opened. &lt;br /&gt;
*The easy fix for this is to open the terminals from the applications menu in the [[Scanco_User_Instructions#Session_Manager|&#039;&#039;&#039;session manager&#039;&#039;&#039;]] instead of using the dec command. &lt;br /&gt;
*Alternatively you can set up a new login script and add &amp;lt;code&amp;gt;/DETACH&amp;lt;/code&amp;gt; to the dec definition &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEC == &amp;quot;CREATE/TERMINAL=DECTERM/DETACH&amp;quot;. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example script can be found here @DISK5:[BONELAB.PROJECTS.BUIE]SETUP.COM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Bug: UCT_EVALUATION v6 in customizing EVAL scripts====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_k_v6&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new evaluation tool v6 should be used in place of the older v5.  Please see the Documents section of this wiki for a manual on its use.&lt;br /&gt;
&lt;br /&gt;
Known bugs:&lt;br /&gt;
&lt;br /&gt;
When you are producing your own EVAL scripts, and want to call your own ipl file&lt;br /&gt;
or such:&lt;br /&gt;
&lt;br /&gt;
The &#039;EVAL:&#039; keyword in the scripts has the filenames of the&lt;br /&gt;
uct_evaluation_v6.com, then the ipl_v6_xxxx.com, then additional filenames (such&lt;br /&gt;
as the _prs.com to print and the 3dresults_append.com)&lt;br /&gt;
&lt;br /&gt;
Now, if you are in BASIC mode in the modify window, and you change any of the 3&lt;br /&gt;
filename fields, the last of the additional filenames is &#039;dropped&#039;... ooops...&lt;br /&gt;
&lt;br /&gt;
So please go to Advanced mode and check the long &#039;EVAL:&#039; keyword that all wished&lt;br /&gt;
files are still in the list, otherwise add the last again (most of the time,&lt;br /&gt;
that&#039;s the useful _3dresult_append.com script...)&lt;br /&gt;
&lt;br /&gt;
Will correct that of course in the next version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Left mouse button====&lt;br /&gt;
When the left mouse button doesn&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.  &lt;br /&gt;
*For remote sessions, turn of the Num Lock key (this will also allow you to use Ctrl-C and Ctrl-V to copy and paste contours).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Remove and insert keys====&lt;br /&gt;
&lt;br /&gt;
The remove and insert buttons on the keyboard don&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation FAQ==&lt;br /&gt;
&lt;br /&gt;
===Customize your evaluation script===&lt;br /&gt;
The basic procedure is to create your customized evaluation script is:&lt;br /&gt;
#Clear the database of existing results&lt;br /&gt;
#Do your evaluation&lt;br /&gt;
#Extract the results&lt;br /&gt;
#Paste results into excel template.  &lt;br /&gt;
You could repeat as necessary to evaluate a measurement multiple times and write out the results to a file.  &lt;br /&gt;
*You must submit all jobs to a single queue!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Start ipl and clear the database of existing results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/db_clear_eval&lt;br /&gt;
-input        &amp;quot;IPL_AIM&lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Insert your IPL evaluation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Extract the results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;$@com:extract_results.com P1 P2&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P1 is the aim file (including path) and P2 is the result file (including path)&lt;br /&gt;
&lt;br /&gt;
Example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@com:extract_results.com   DISK5:[BONELAB.PROJECTS.BUIE]MYAIM.AIM   DISK5:[BONELAB.PROJECTS.BUIE]MYRESULTS.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P2 should be the same for all samples in your project so that results are compiled into a single file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4) Paste results into excel template.&#039;&#039;&#039;&lt;br /&gt;
*Refer to the  [[Media:Extract_Results_Template.xlsx |&#039;&#039;&#039;Excel Extract Results Template&#039;&#039;&#039;]]. &lt;br /&gt;
*Open your results text file and copy and paste the contents into cell A2.  There&#039;s no need to use paste special since the sheet is protected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create your own IPL script===&lt;br /&gt;
&lt;br /&gt;
To make a script that would submit a job to the queue with the command as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you need to create your own IPL file would be translated to the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit /noprint /que=sys$slow ue:IPL_VOI_JOSH_M.COM &lt;br /&gt;
  - /log=sys$scratch:test.log /para=(&#039;aim_file&#039;,&#039;gobj_file&#039;,&#039;seg_file&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The IPL file would look something like this…&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$   if p1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$ 	THEN &lt;br /&gt;
$	write sys$output &amp;quot;Give DK0:[xxx]C0001234_SEG.aim on the line.&amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Or: &amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Type $ scanco_submit_command um:ipl_eval_autostart/para=(dk0:[xxx]c00123_seg.aim) &amp;quot;&lt;br /&gt;
$ 	exit&lt;br /&gt;
$   endif&lt;br /&gt;
$&lt;br /&gt;
$ gobj_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.GOBJ&amp;quot;&lt;br /&gt;
$ aim_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.AIM&amp;quot;&lt;br /&gt;
$&lt;br /&gt;
$!&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some more handy IPL sequences are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then you just need to give meas. number as P1 (and maybe slice range as p2),&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR, some nice starts are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P3 .EQS. &amp;quot;&amp;quot;&lt;br /&gt;
$    THEN&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to duplicate&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: New Sample Number from Database&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: New Start Letter of ISQ file&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P4: Optional: Operator Number&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P5: Optional: Controlfile Number&amp;quot;&lt;br /&gt;
$      EXIT&lt;br /&gt;
$    ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where you say which parameters HAVE to be there (up to p3), and which ones are optional.&lt;br /&gt;
&lt;br /&gt;
All together, the script may look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$    THEN &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to reco&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: Optional: Slice number N or Range M:N. Auto:All&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: Optional: Queue. Auto: sys$slow&amp;quot; &lt;br /&gt;
$      EXIT &lt;br /&gt;
$    ENDIF &lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A &lt;br /&gt;
$ if p3 .eqs. &amp;quot;&amp;quot; then p3 := SYS$SLOW &lt;br /&gt;
$ slices  = p2 &lt;br /&gt;
$ quename = p3 &lt;br /&gt;
$ INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1) &lt;br /&gt;
$ INPUT = INPUT - F$PARSE(INPUT,,,&amp;quot;VERSION&amp;quot;) &lt;br /&gt;
$ logfile = &amp;quot;sys$scratch:RECO_&amp;quot; + f$PARSE(input,,,&amp;quot;NAME&amp;quot;) + &amp;quot;.LOG&amp;quot; &lt;br /&gt;
$ submit/noprint/queue=&#039;quename&#039; uct_reconstruction_file - &lt;br /&gt;
    /para=(&#039;input&#039;,&#039;slices&#039;,&#039;logfile&#039;) &lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that &amp;lt;code&amp;gt;uct_reconstruction_file&amp;lt;/code&amp;gt; is a logical that points to &amp;lt;code&amp;gt;um:uct_reconstruction.com&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Logicals are preferred in scripts to make them more universal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Run Scanco cut and match function (on Percy)===&lt;br /&gt;
&lt;br /&gt;
;At DATA DISK: &lt;br /&gt;
Run&amp;lt;code&amp;gt;$ upat_list&amp;lt;/code&amp;gt;&lt;br /&gt;
*mode 1, list mode.&lt;br /&gt;
*Select patients and site, etc.&lt;br /&gt;
*Select the appropriate template file, e.g. &amp;lt;code&amp;gt;UE:UPAT_TEMPL_CUTMATCH_AUTO_PATTB_CT.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
*Output to a file, then run that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;At PROJECT DISK: &lt;br /&gt;
If you have moved the files to the project directory and renamed them, you can generate a script from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM&lt;br /&gt;
-P1 = filename with device and directory&lt;br /&gt;
-P2 = site (RR, RL, TR, TL)&lt;br /&gt;
-P3 = output filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, if we run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The script will search &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]&amp;lt;/code&amp;gt; for files in the form &amp;lt;code&amp;gt;G*RR*.AIM&amp;lt;/code&amp;gt; with the same&lt;br /&gt;
length as &amp;lt;code&amp;gt;GRACE_01_00MTH_RR&amp;lt;/code&amp;gt;, then check sample numbers to determine if the file is a follow-up scan.&lt;br /&gt;
*Upat_list is called to obtain position and dimension data for matching slices.  &lt;br /&gt;
*The output file &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/code&amp;gt; is created to submit and run the cut and match.  &lt;br /&gt;
&lt;br /&gt;
Before running, open the file and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For multiple files, do something like the following.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_02_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Open MYFILE.COM and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The script assumes all follow-ups are provided.  &lt;br /&gt;
*If follow-up scans are missing, it will be necessary to modify the output file so that the position and dimension data matches the files or update the &amp;lt;code&amp;gt;SEARCH_PROJECTS_CUTMATCH.COM&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==IPL FAQ==&lt;br /&gt;
===Submit a job to the queue===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint /que=sys$slow ipl_voi_josh_m.com /log=sys$scratch:test.log&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Rotate with turn3d / turn2d===&lt;br /&gt;
&lt;br /&gt;
The turn3d function can be used to perform a single rotation about any axis in 3d.  The turnaxis_angle input is the angle between the x, y, and z axes and the line about which the rotation will be performed.  The turnangle input is the amount to be rotated about the specified line.  To use this function to perform three sequential rotations about the image&#039;s original x, y, and z axes requires compensation for the previous rotations.&lt;br /&gt;
&lt;br /&gt;
To rotate an image from the axial view in the z plane to the sagittal view in the z plane: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ipl&lt;br /&gt;
/turn3d&lt;br /&gt;
  -input &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;   in&lt;br /&gt;
  -output &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;     out&lt;br /&gt;
  -turnaxis_angles     90 0 90&lt;br /&gt;
  -turnangle           90&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No interpolation is necessary as this is &amp;quot;pure reformatting&amp;quot; (turning +-90 or 180 degrees around x,y or z axis)&lt;br /&gt;
&lt;br /&gt;
For knee images, to put the femur above the tibia, you further add the step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/turn2d&lt;br /&gt;
  -input                      out&lt;br /&gt;
  -output                     happyFemur&lt;br /&gt;
  -turnangle                  270&lt;br /&gt;
  -turnpoint_global_not_local true&lt;br /&gt;
  -turnpoint                  -1 -1&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refer to [[Media:turn3d.pdf |&#039;&#039;&#039;turn3d.pdf&#039;&#039;&#039;]] for further instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Noise removal by component labeling===&lt;br /&gt;
*Refer to [[Media:ComponentLabeling.pdf|&#039;&#039;&#039;Noise removal by using component labeling&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create MSQ image and view===&lt;br /&gt;
&lt;br /&gt;
This is based on marching cubes.  See &amp;lt;code&amp;gt;IPL_UPAT_EVAL.COM&amp;lt;/code&amp;gt; for an example as per below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/read seg C0000214_SEG.AIM&lt;br /&gt;
&lt;br /&gt;
/sup_divide                               ! careful of the order of inputs here&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -suppos_pixels_local       -1 -1 -1&lt;br /&gt;
  -supdim_numbers            1 2 1&lt;br /&gt;
  -subdim_pixels             -1 -1 -1&lt;br /&gt;
  -testoff_pixels            0 0 0&lt;br /&gt;
&lt;br /&gt;
/sub_pick&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -output                    segsub&lt;br /&gt;
  -subpos_numbers            0 1 0&lt;br /&gt;
&lt;br /&gt;
/tri&lt;br /&gt;
  -input                     segsub&lt;br /&gt;
  -output                    tri&lt;br /&gt;
  -gobj_filename             none&lt;br /&gt;
  -peel_iter                 0&lt;br /&gt;
  -ip_sigma                  0.8&lt;br /&gt;
  -ip_support                1&lt;br /&gt;
  -ip_threshold              40&lt;br /&gt;
  -nr_ave_iter               2&lt;br /&gt;
  -size_image                512 512&lt;br /&gt;
  -scale_image               0.800000&lt;br /&gt;
  -edges                     false&lt;br /&gt;
  -nr_views                  1             ! Important&lt;br /&gt;
&lt;br /&gt;
/msq_from_aim&lt;br /&gt;
  -aim_name                  tri&lt;br /&gt;
  -msq_filename              C0000123_3D.MSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, use &amp;lt;code&amp;gt;UCT_3D&amp;lt;/code&amp;gt; to view it.  If you click on &amp;quot;animations&amp;quot; it will give you the option to read the MSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===db_scanco_activate associate evaluation database===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;/db_scanco_activate&amp;lt;/code&amp;gt; is used in the IPL files, the correct association with the evaluation database is through the Index Patient and Index Measurement in the AIM header.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Index Patient                                    3095&lt;br /&gt;
Index Measurement                                5962&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using IPL&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
$ read in xxx.aim&lt;br /&gt;
$ examine in log&lt;br /&gt;
$ db true           {activates database}&lt;br /&gt;
$ dt_object         {at end &amp;quot;writing results to database for measurement 1234&amp;quot;}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===dicom_to_aim bug in IPL v5.03===&lt;br /&gt;
&lt;br /&gt;
In IPL, use the /dicom_to_aim function.  There is a bug in pre IPL v5.03 which requires that a small AIM be read in before doing the DCM conversion.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; read in tmp.aim&lt;br /&gt;
ipl&amp;gt; dicom_to_aim&lt;br /&gt;
  -aim_name                  [in] &amp;gt; &lt;br /&gt;
  -dicom_filename            [default_file_name] &amp;gt; 4F65038B3986.DCM&lt;br /&gt;
  -multifile                 [false] &amp;gt; true&lt;br /&gt;
ipl&amp;gt; write in MYFILE.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand &amp;quot;New&amp;quot; DT functions in IPL v5.42===&lt;br /&gt;
&lt;br /&gt;
This applies to:&lt;br /&gt;
&amp;lt;pre&amp;gt;/distance_map              /dt_ow_thickness           /dt_number                &lt;br /&gt;
/dt_thickness              /dt_spacing                /dt_cortical_thickness&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
XT1 (old dt) and XT2 (new dt) use 0.5 for assign_epsilon and 0.9 for&lt;br /&gt;
ridge_epsilon.&lt;br /&gt;
&lt;br /&gt;
µCT uses 1.8 for assign_epsilon and 0.9 for ridge_epsilon (old dt).&lt;br /&gt;
&lt;br /&gt;
Therefore I recommend to take 0.9 and 1.8 also for the new dt functions&lt;br /&gt;
for µCT/vivaCT measurements.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;suppress_boundary&amp;lt;/code&amp;gt; feature is new and works as follows:&lt;br /&gt;
&lt;br /&gt;
0: The ridges and spheres are calculated on the full seg AIM, also&lt;br /&gt;
outside the gobj. At the end the gobj is applied.&lt;br /&gt;
&lt;br /&gt;
1: The ridges that are on the AIM boundary are not used for the&lt;br /&gt;
calculation of the maximal spheres.&lt;br /&gt;
&lt;br /&gt;
2: The ridges are calculated on the full seg aim but then the gobj is&lt;br /&gt;
applied to the ridges. This means that at the end there are only spheres&lt;br /&gt;
that have the center inside the structure (gobj). The maximal sphere&lt;br /&gt;
filling algorithm still accounts for the structure outside the gobj, but&lt;br /&gt;
only uses center points inside the gobj.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dt_thickness&amp;lt;/code&amp;gt; for example can be used in two different ways in a script:&lt;br /&gt;
&lt;br /&gt;
1) cut out aim - apply threshold - apply gobj - dt_thickness&lt;br /&gt;
This way the suppress_boundary options do influence the results&lt;br /&gt;
because there are no ridges outside the gobj anyway.&lt;br /&gt;
&lt;br /&gt;
2) cut out aim - apply threshold - dt_thickness (with corresponding gobj)&lt;br /&gt;
This calculates the dt on the full aim first and applies then the&lt;br /&gt;
gobj and suppress options.&lt;br /&gt;
&lt;br /&gt;
If you examine for example trabecular bone only on a small area bounded&lt;br /&gt;
by a gobj then the most accurate way to calculate the dt is to cut out a&lt;br /&gt;
much larger area (still containing trabecular bone) and use way 2) above&lt;br /&gt;
with suppress_boundary 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Develop new IPL commands in C===&lt;br /&gt;
*Refer to [[Media:IPL programming.doc|&#039;&#039;&#039;A short manual on how to develop new IPL commands in C&#039;&#039;&#039;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
&lt;br /&gt;
===UPAT_LIST command===&lt;br /&gt;
&lt;br /&gt;
*Refer to Scanco specification document on using the [[Media:Specification_upat_print_list_V2.0.pdf | &#039;&#039;&#039;Upat_print_list V2.0&#039;&#039;&#039;]] on XCT2.&lt;br /&gt;
*Refer to [[Media:Using_upat.docx |&#039;&#039;&#039;Using upat_list Additional Notes&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
upat_list (version 1.9 on XCT1) is identical to 2.0 except:&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using group codes&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using evaluation types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all of the available parameters for generating results using upat_list command:  &lt;br /&gt;
  $ upat_list -h&lt;br /&gt;
&lt;br /&gt;
  Program: upat_print_list V1.9&lt;br /&gt;
  Use the following modes to run upat_print_list:&lt;br /&gt;
    upat_print_list -list  for export to spreadsheet, default mode&lt;br /&gt;
    upat_print_list -print for PostScript output&lt;br /&gt;
    upat_print_list -show  for text output&lt;br /&gt;
    upat_print_list -advanced to access advanced options interactively&lt;br /&gt;
  Standard Command-Line Arguments:&lt;br /&gt;
    -b=&amp;lt;pat_nr&amp;gt;      First patient, default = 1&lt;br /&gt;
    -e=&amp;lt;pat_nr&amp;gt;      Last patient&lt;br /&gt;
                     In list &amp;amp; show modes, default = last patient in database&lt;br /&gt;
                     In print mode, default = first patient&lt;br /&gt;
    -s=&amp;lt;site_code&amp;gt;   Site code&lt;br /&gt;
                     In list &amp;amp; show modes, RL RR R* TL TR T* CU *, default = *&lt;br /&gt;
                     In print mode, RL RR TL TR CU, default = RL&lt;br /&gt;
    -mb=&amp;lt;date&amp;gt;       Begin of measurement period, default = 1st measurement date&lt;br /&gt;
    -me=&amp;lt;date&amp;gt;       End of measurement period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -f=&amp;lt;#_followups&amp;gt; Maximum number of follow-ups to match, default = 19&lt;br /&gt;
    -t=&amp;lt;file_name&amp;gt;   Name of template file&lt;br /&gt;
                     In list mode,  default = UPAT_LIST_SHEET&lt;br /&gt;
                     In print mode, default = UPAT_EVAL_SHEETxx&lt;br /&gt;
                     In show mode,  default = UPAT_SINGLE&lt;br /&gt;
    -o=&amp;lt;file_name&amp;gt;   Name of output file (in SYS$SCRATCH by default)&lt;br /&gt;
                     In list &amp;amp; print modes, stored in SYS$SCRATCH&lt;br /&gt;
                     In show mode, written to SYS$OUTPUT&lt;br /&gt;
    -c=&amp;lt;number&amp;gt;      Number of Print copies if in print mode. default = 1&lt;br /&gt;
    -v=&amp;lt;level&amp;gt;       Verbosity from 0 (silent) to 2 (verbose), default = 1&lt;br /&gt;
    -h               Print this help and exit&lt;br /&gt;
  Advanced Command-Line Arguments:&lt;br /&gt;
    -et=&amp;lt;eval_type&amp;gt;  Type code of evaluation, default = 2&lt;br /&gt;
    -eb=&amp;lt;date&amp;gt;       Begin of evaluation period, default = 1st measurement date&lt;br /&gt;
    -ee=&amp;lt;date&amp;gt;       End of evaluation period, default = current date&lt;br /&gt;
    -tb=&amp;lt;date&amp;gt;       Begin of matching period, default = 1st measurement date&lt;br /&gt;
    -te=&amp;lt;date&amp;gt;       End of matching period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -sk=&amp;lt;#_to_skip&amp;gt;  Number of measurements to skip, default = 0&lt;br /&gt;
    -m=&amp;lt;meas_list&amp;gt;   Numbered List of measurements to take, e.g. 0,1,2,5,8&lt;br /&gt;
    -nomatch         Do not match follow up measurement, just take all slices&lt;br /&gt;
    -sb              Begin of Slice Range in % to be evaluated&lt;br /&gt;
    -se              End of Slice Range in % to be evaluated&lt;br /&gt;
    -q               Only take evaluations with quality better than (and including) this.&lt;br /&gt;
                     If positive number: all scans of better quality (incl. this) as well as all non-graded scans are taken.&lt;br /&gt;
                     If negative number: non-graded scans are NOT taken.&lt;br /&gt;
    -qs              Only take Structural evaluations with quality better than (and including) this.&lt;br /&gt;
                     Thus: between -qd and -q: only Density results are printed.&lt;br /&gt;
                     Parameter is disregarded if -qs &amp;gt;= -q.&lt;br /&gt;
    -ut=&amp;lt;unit_type&amp;gt;  0-&amp;gt;default unit, 1-&amp;gt;linatt, 2-&amp;gt;mg HA/ccm, 3-&amp;gt;HU, default = 0&lt;br /&gt;
    -cd=&amp;lt;density&amp;gt;    Value of compact density to use, default = 1200.000000&lt;br /&gt;
  If no command line arguments are specified, upat_print_list runs interactively.&lt;br /&gt;
&lt;br /&gt;
Note that using &amp;quot;TB&amp;quot; and &amp;quot;TE&amp;quot;, you can pull out exact measurements in the specified date range, while using &amp;quot;MB&amp;quot; and &amp;quot;ME&amp;quot;,  all you get is the latest measurement no matter what date range provided.&lt;br /&gt;
&lt;br /&gt;
For results of all time points for a single site and sample # without matching to Baseline, use: &lt;br /&gt;
I.e. the common region will be 100% for all measurements.&lt;br /&gt;
  $ upat_list -nomatch&lt;br /&gt;
&lt;br /&gt;
From these options, you can write out your own command (vs. using prompts) to give you the specifics you are looking for.  &lt;br /&gt;
&lt;br /&gt;
By specifying the CAMOS template of “UPAT_EVAL_CAMOS.PS”, you will get the “Camos” report style.  For example:&lt;br /&gt;
  $ upat_list -nomatch -b=1000 -e=1000 -s=TL -tb=01-MAY-2000 -te=01-AUG-2018 -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_1000_tl_camos.ps&lt;br /&gt;
&lt;br /&gt;
Note that there are actually many kinds of report templates.  These can be found via:&lt;br /&gt;
  $ dir UU:*.PS&lt;br /&gt;
&lt;br /&gt;
“SCUSA” is a short form for Scanco USA templates.  I.e. templates that fit on an 8.5” X 11” page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract followup data without slice matching===&lt;br /&gt;
Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -advanced&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Choose &#039;disable slice matching:&#039; -&amp;gt; y.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract patient results on a slice-by-slice basis===&lt;br /&gt;
&lt;br /&gt;
There is an executable that was specially installed by Andres.  Run it as user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN ut:UPAT_EXPORT_MEASUREMENT.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose from &amp;quot;Style: 0 = default, 1 = raw&amp;quot;. Default gives standard patient parameters.&lt;br /&gt;
&lt;br /&gt;
This gives you the .txt file in scratch containing the morphological parameters determined for each slice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_LIST Extract results===&lt;br /&gt;
&lt;br /&gt;
Assuming you&#039;ve used the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to initialize your evaluations (either manually or through the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool) then you can get all of your results stored into a text file that can be easily imported in Excel.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list&amp;lt;/pre&amp;gt;&lt;br /&gt;
The output text file will be stored in &amp;lt;code&amp;gt;sys$scratch&amp;lt;/code&amp;gt; and you can ftp this to a PC so that it can be imported into excel and further analysis can be performed. &lt;br /&gt;
&lt;br /&gt;
Importing into Excel requires setting a deliminator based on the space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Customizing&amp;lt;/b&amp;gt; the &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt; output.&lt;br /&gt;
&lt;br /&gt;
The default list template is set by the logical &amp;lt;code&amp;gt;UCT_3D_LIST_SHEET&amp;lt;/code&amp;gt; which is normally&lt;br /&gt;
set to point to &amp;lt;code&amp;gt;UU:UCT_3D_LIST.TXT&amp;lt;/code&amp;gt;.  See the templates by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir uu:*.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Almost all the available keywords are in &amp;lt;code&amp;gt;UCT_3D_LIST.TXT&amp;lt;/code&amp;gt; enclosed&lt;br /&gt;
by \\ and //.&lt;br /&gt;
&lt;br /&gt;
Only when you use the &#039;show directly on screen mode&#039;: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list 1234&amp;lt;/pre&amp;gt;&lt;br /&gt;
then you need to do this to override the default output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def/user uct_3d_single_sheet  my-template_file.txt&lt;br /&gt;
$ uct_list 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some example format files are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UCT_3D_LIST.TXT&lt;br /&gt;
UCT_3D_SINGLE.TXT&lt;br /&gt;
UCT_3D_LIST_W_CRH.TXT&lt;br /&gt;
UCT_3D_MEANS.TXT       --&amp;gt; Use this to get the 5 mean values (i.e., calibration)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A summary of all the available keywords is available in &amp;lt;code&amp;gt;UU:UCT_3D_SINGLE_SHEET.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Name             :\\UCTMEASFILENAME//&lt;br /&gt;
Sample-Name      :\\SAMPLENAME//&lt;br /&gt;
Sample-Nr        :\\SAMPLENUMBER//&lt;br /&gt;
Meas-Nr          :\\UCTMEASNR//&lt;br /&gt;
Date of Birth    :\\SAMPLEDOB//&lt;br /&gt;
Sample-Remarks	 :\\SAMPLEREM//&lt;br /&gt;
Meas-Remarks     :\\UCTMEASREM//&lt;br /&gt;
Meas-NrofSlices  :\\UCTMEASNUMSLI//&lt;br /&gt;
Direct: -------------------------------------------------------------------&lt;br /&gt;
TV        : \\VOX_TV//&lt;br /&gt;
BV        : \\VOX_BV//&lt;br /&gt;
BV/TV     : \\VOX_BV_TV// &lt;br /&gt;
Conn.Dens.: \\UCT_CONN//&lt;br /&gt;
SMI       : \\MC_SMI//&lt;br /&gt;
Tb.N*     : \\DT_N//&lt;br /&gt;
Tb.Th*    : \\DT_TH//&lt;br /&gt;
Tb.Sp*    : \\DT_SP//&lt;br /&gt;
Tb.1/N.SD*: \\DT_N_SD//&lt;br /&gt;
Tb.Th.SD* : \\DT_TH_SD//&lt;br /&gt;
Tb.Sp.SD* : \\DT_SP_SD//&lt;br /&gt;
Lin.Att.1 : \\UCT_MU0// +-\\UCT_MU0_SD//&lt;br /&gt;
Lin.Att.2 : \\UCT_MU1// +-\\UCT_MU1_SD//&lt;br /&gt;
Lin.Att.3 : \\UCT_MU2// +-\\UCT_MU2_SD//&lt;br /&gt;
Lin.Att.4 : \\UCT_MU3// +-\\UCT_MU3_SD//&lt;br /&gt;
Lin.Att.5 : \\UCT_MU4// +-\\UCT_MU4_SD//&lt;br /&gt;
TRI (Plate Model): --------------------------------------------------------&lt;br /&gt;
TV        : \\MC_TV//&lt;br /&gt;
BV        : \\MC_BV//&lt;br /&gt;
BS        : \\MC_BS//&lt;br /&gt;
BV/TV     : \\MC_BV_TV//&lt;br /&gt;
BS/BV     : \\MC_BS_BV//&lt;br /&gt;
Tb.Th     : \\MC_TH//&lt;br /&gt;
Tb.Sp     : \\MC_SP//&lt;br /&gt;
Tb.N      : \\MC_N//&lt;br /&gt;
Anisotropy:  --------------------------------------------------------------&lt;br /&gt;
|H1|      : \\MC_H1//  H1x: \\MC_H1X//  H1y: \\MC_H1Y//  H1z: \\MC_H1Z//&lt;br /&gt;
|H2|      : \\MC_H2//  H2x: \\MC_H2X//  H2y: \\MC_H2Y//  H2z: \\MC_H2Z//&lt;br /&gt;
|H3|      : \\MC_H3//  H3x: \\MC_H3X//  H3y: \\MC_H3Y//  H3z: \\MC_H3Z//&lt;br /&gt;
DA        : \\MC_DA//&lt;br /&gt;
Dim X	  : \\VOX_DX//&lt;br /&gt;
Dim Y	  : \\VOX_DY//&lt;br /&gt;
Dim Z	  : \\VOX_DZ//&lt;br /&gt;
Pos X	  : \\VOX_PX//&lt;br /&gt;
Pos Y	  : \\VOX_PY//&lt;br /&gt;
Pos Z	  : \\VOX_PZ//&lt;br /&gt;
El-Siz X  : \\VOX_ELSX//&lt;br /&gt;
El-Siz Y  : \\VOX_ELSY//&lt;br /&gt;
El-Siz Z  : \\VOX_ELSZ//  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tabulate LOG results from 3D evaluations===&lt;br /&gt;
&lt;br /&gt;
Only use this if you have not used the standard &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool to generate your 3D evaluations (in which case see the HowTo related to the 3D database).&lt;br /&gt;
You can tabulate the LOG files:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or whatever you want to search for can be stored in a text file&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search/output=sys$scratch:ov.txt xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
To search more than one log file, and get the output into one single file:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ fda/output=xxx.txt search *.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The fda means &#039;file do all&#039; and is a script made by Scanco to do one command (search) on a wildcard of files (*.log). Then put all the ov.txt, tv.txt, name.txt etc. files into excel.&lt;br /&gt;
Josh has made a .com file that does a similar job as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Compile evaluation LOGs into one file===&lt;br /&gt;
&lt;br /&gt;
Call the &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; with the same construction&lt;br /&gt;
as &amp;lt;code&amp;gt;$ eval_special&amp;lt;/code&amp;gt;.  If you need help with this, see the HowTo on this&lt;br /&gt;
Wiki site (HowTo: Assign special 3D evaluation to the UCT_EVALUATION tool).&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; file to call a specific ipl &lt;br /&gt;
script as you wish.&lt;br /&gt;
&lt;br /&gt;
When you run the evaluation, you will have three new files created:&lt;br /&gt;
&lt;br /&gt;
:*Two files in the measurement directory (on DK0!) (one with each eval 3D results in its own file, and one &amp;lt;code&amp;gt;APPENDED_ALL.TXT&amp;lt;/code&amp;gt; file)&lt;br /&gt;
:*Then in sys$scratch, you will have one &amp;lt;code&amp;gt;SYS$SCRATCH:UCT_LIST_ALL_3D_RESULTS.LOG&amp;lt;/code&amp;gt; file with ALL 3D evaluations of all measurements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; You may need to edit the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to specify a single queue (i.e., /que=sceval$fast)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
&lt;br /&gt;
===Examine patient databases===&lt;br /&gt;
This is for advanced users only!&lt;br /&gt;
&lt;br /&gt;
There are two patient databases that get updated every time an evaluation is performed.  Below is the name of the database, and the method used to check database values:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_EVAL_DATABASE&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! as microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_SLICE_DATABASE&lt;br /&gt;
$ set host 0  ! login as user calibration&lt;br /&gt;
$ @disk1:[microct]login.com&lt;br /&gt;
$ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UPAT_GET_DB_INFO.EXE  ! enter &#039;1&#039; to list records&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the slice database every evaluation is recorded, but only one is currently active at a time.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Manipulate scan sequence===&lt;br /&gt;
&lt;br /&gt;
Upat_list reports the baseline scan and then the percentage change of follow-up scans from the baseline scan. The order of scans in upat_list is determined from the measurement number (not the measurement date). In the case you need to manipulate the baseline and follow-up sequence, you will need to: &lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;  Use this with caution, and as little as possible!! even if the operation is reversible. Database manipulation is sensitive after all.&lt;br /&gt;
&lt;br /&gt;
1. Log in as the &amp;quot;calibration&amp;quot; user (beware which calibration account to use for the different scanners).&lt;br /&gt;
&lt;br /&gt;
How to proceed in the terminal:&lt;br /&gt;
 $ SPB&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM    or  $ @DISK1:[XTREMECT2]LOGIN.COM    !! don&#039;t miss that line, otherwise you would modify the CALIBRATION databases&lt;br /&gt;
&lt;br /&gt;
2. Use the following command to modify the measurement number:&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_SAMPLE_FIRST.EXE          !! To redefine the very first measurement in the sequence&lt;br /&gt;
&lt;br /&gt;
:* I do mean &amp;quot;First&amp;quot; measurement in the sequence, and not &amp;quot;baseline&amp;quot; measurement. You may have 2 baseline scans, one for radius and one for the tibia, but only one of them is the very &amp;quot;first in the sequence&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_PREV_NEXT.EXE        !! To redefine the follow-up sequence beyond the first measure&lt;br /&gt;
&lt;br /&gt;
:* The PREV_NEXT utility is a bit tricky to use, as for each measurement you will have to define its &amp;quot;chronological&amp;quot; previous and its next. It is not related to any anatomical site: one might think for example of defining the Radius follow-up sequence for example. It is not the case. The PREV_NEXT sequence will alternate between different anatomical sites, that is how it should be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Add placeholders for missing follow-up scans===&lt;br /&gt;
If there is NO scan at a certain time point in a series (i.e. patient did not show up), the program ut:upat_create_meas_placehoder.exe and upat_create_eval_placeholder can insert fake records, so the slice matching and timepoints/visits are still all in order.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The attached file describes how to create an manage placeholders in the case of missing follow-up visits in longitudinal studies. [[Media:SOP_Create_Placeholders_draft.pdf|&#039;&#039;&#039;SOP Create Placeholders&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a database measurement===&lt;br /&gt;
&lt;br /&gt;
It is not possible to delete an evaluation from the database, but it can be disabled.&lt;br /&gt;
&lt;br /&gt;
NOTE: QC results are stored in the UCT database, and there is no tool to disable a UCT database result.&lt;br /&gt;
&lt;br /&gt;
Log in as the normal user (e.g. XTREMECT2). Then in a terminal you may use this simple utility program:&lt;br /&gt;
  $ RUN UT:UPAT_CORRECT_VALID_FLAG&lt;br /&gt;
&lt;br /&gt;
See below a typical prompt to deactivate an entry:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_CORRECT_VALID_FLAG V2.0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 1&lt;br /&gt;
Evaluation type [2]: 5&lt;br /&gt;
Group code [0]: 0&lt;br /&gt;
&lt;br /&gt;
Found evaluation 57 for patient 4: ID003&lt;br /&gt;
&lt;br /&gt;
Value for valid flag (0=invalid, 1=valid) [1]: 0&lt;br /&gt;
Value for placeholder flag (0=write results, 1=placeholder) [0]: 0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can always re-activate the entry, by switching the valid flag from 0 to 1. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or, to make a scan invalid, you can also login as calibration user.&lt;br /&gt;
&lt;br /&gt;
Point to microct user&lt;br /&gt;
&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM&lt;br /&gt;
&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
&lt;br /&gt;
 $ SPB&lt;br /&gt;
&lt;br /&gt;
Run Correction File&lt;br /&gt;
 $ run DISK1:[CALIBRATION.UTIL]UPAT_CORRECT_VALID_FLAG.EXE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a uct_list database measurement===&lt;br /&gt;
You cannot really disable data in the UCT_LIST output. What you can do using IPL is to clear the complete result entry for a given measurement, for example:&lt;br /&gt;
&lt;br /&gt;
  $ ipl&lt;br /&gt;
  /read&lt;br /&gt;
    -name                      in&lt;br /&gt;
    -filename                  default_file_name&lt;br /&gt;
  /db_scanco_activate&lt;br /&gt;
    -write                     true&lt;br /&gt;
  /db_clear_eval&lt;br /&gt;
    -input                     in&lt;br /&gt;
&lt;br /&gt;
Then UCT_LIST might still report the &amp;quot;disabled&amp;quot; measurement, leaving only the few first meta-data columns non empty. The rest would be cleared.&lt;br /&gt;
&lt;br /&gt;
I must bring your attention to the fact that this sequence is used a lot on XtremeCT I scripts, for the cortical porosity for example.&lt;br /&gt;
This means that on XT-I, the UCT_LIST content is highly unstable, as it was used back then while UPAT_LIST was not able to handle those results.&lt;br /&gt;
In the future, when new applications come they may delete/overwrite the UCT_LIST entry for a measurement. &lt;br /&gt;
That is the rationale for using the TXT output in the RESULTS directory, that at least keeps track of past analyses. &lt;br /&gt;
As long as you have a single application on XT-II going through UCT_LIST, calling results on demand with it is fine. Later it might come complicated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Troubleshoot UPAT database===&lt;br /&gt;
&lt;br /&gt;
If there is an error (&#039;inconsistent key change or duplicate key!&#039;) in the log file during &#039;upat_filldb&#039;, this is likely caused by too many servers doing UPAT evaluations:&lt;br /&gt;
&lt;br /&gt;
Basically, the UPAT database can not be accessed by 2 evaluation jobs &amp;quot;at the same time&amp;quot;, and works on a &amp;quot;1st arrived 1st served&amp;quot; basis. It is actually one reason to have only 1 evaluation at a time running on a single workstation (the usual setup).&lt;br /&gt;
In your case (and in mine as well), when you have several workstations clustered together, you can technically run several evaluation jobs at the same time which will eventually access the very same database. &lt;br /&gt;
So what happens is that a 1st job executes the /upat_fill_db, and accesses the database for a short amount of time.&lt;br /&gt;
During this time, any unfortunate evaluation job trying to access the database will end up in the exact same error as you reported, as their access to the database is restricted. Even though the time window is short, this kind of thing is unavoidable in setup such as ours, and when lots of evaluation are started at the same time.&lt;br /&gt;
Here you have no other choice than restarting the evaluation job, in order to update the database (or ultimately you could write a small script just to run the /upat_fill_db command, but I do not think it makes sense).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Redirect to a temporary database===&lt;br /&gt;
&lt;br /&gt;
We need to temporarily redefine the logicals UPAT_EVAL_DATABASE and UPAT_SLICE_DATABASE.  Normally, the definition is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_EVAL_DATABASE = UCTD:UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
UPAT_SLICE_DATABASE = UCTD:UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Typically, we submit our jobs to the queue with an IPL script, so within the script we&#039;ll have to redefine the name of the database by adding lines such as&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
so that the results from the IPL evaluation are redirected to this temporary database.&lt;br /&gt;
&lt;br /&gt;
Then, we need to extract the results from the database.  These results are provided on a slice by slice basis (at least with the UPAT data).  As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; in a terminal window, we will again need to redefine the database and then run the program that translates the results to a text file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! give the measurement number and output file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or extract the results from the temporary database with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&lt;br /&gt;
$ def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT  ! only necessary if data came from another system&lt;br /&gt;
$ def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT                            ! only necessary if data came from another system&lt;br /&gt;
&lt;br /&gt;
$ upat_list  ! choose option [3]show, give the patient number and output file, e.g. sys$scratch:myvalues.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an example IPL script that redirects to a temporary database, see Percy:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DISK1:[MICROCT.COMMANDS]IPL_UPAT_EVAL_AIMINPUT.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import from a foreign database===&lt;br /&gt;
IF MEASUREMENTS COME FROM A TOTALLY DIFFERENT DATABASE (such as Toronto&#039;s XCT):&lt;br /&gt;
&lt;br /&gt;
You will need to redefine the logicals UCT_MEASUREMENT_DATABASE and UCT_SAMPLE_DATABASE&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it is quite possible that you won&#039;t have a copy of the foreign MEASUREMENT and SAMPLE databases. If this is the case, then you &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; import the ISQ files into our own database. Then, by setting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define UCT_EVALUATION_DATABASE SYS$SCRATCH:TEMP_EVALUATIONS_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
you could redirect the results to a temporary database (but normally, if you already imported the data, why not use our own database now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Duplicate as new import to database===&lt;br /&gt;
&lt;br /&gt;
You will need to copy ISQ and GOBJ files to a new designated location. This is done when a screening study is completed to look for potential subjects and then a main longitudinal study is completed under a different study name.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1. Make a new patient/subject ID &amp;lt;br&amp;gt;&lt;br /&gt;
2. Make a copy of the ISQ. For example: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK2:[microct.DATA.00002584.00008992]*.isq - &lt;br /&gt;
       DISK2:[microct.DATA.00002696.00009345]*.isq  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
3. Import ISQ into new patient/subject ID number by typing:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ import&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
4. Follow the prompts for the ISQ file names, changing of control file # etc. &amp;lt;br&amp;gt;&lt;br /&gt;
5. Check the data directory to see if ISQ and GOBJ files have been copied properly &amp;lt;br&amp;gt; &lt;br /&gt;
2. In uct_evaluation, open new .ISQ and copied .GOBJ and re-run the evaluation to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
3. Copy Scout Views so scanning program will load baseline scout view for followup scans &amp;lt;br&amp;gt; In DISK1:[MICROCT.DATA.SCOUTS], you&#039;ll see two series of scout views: one series with the PATIENT # followed by 020 or 021 or 038 or 039, the site code (radius or tibia, left or right respectively)&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the old patient scouts to the new patient #s&lt;br /&gt;
For example (using the same old and new #s as above): &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK1:[MICROCT.DATA.SCOUTS]00002584021.SCV -&lt;br /&gt;
       DISK1:[MICROCT.DATA.SCOUTS]00002696021.SCV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover a disappeared due to import===&lt;br /&gt;
If you need duplicate a measurement in both the original and new directories, but you forgot copying the measurement before importing as a new. The original measurement will be automatically removed from the original directory.  This can be fixed!  You will need to copy the measurement back and then fix the header information, as the header will no longer match the original directory.&lt;br /&gt;
&lt;br /&gt;
1. Manually copy all of the associated files for the measurement from the new directory to the original directory:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$copy DISK2:[xtremect2.data.00001234.00001234]*.*;* DISK2:[xtremect2.data.00004321.00004321] /log&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
2. Change the header information of the measurement files to those of the original directory.  To do this, you will need special software.  The use of this software is RESTRICTED.  Users must seek special permission to use the software from Steve, Ying, or Anne BEFORE using.  Once you have permission, the software can be found here: DISK1:[MICROCT.COMMANDS.FORBIDDEN].&lt;br /&gt;
&lt;br /&gt;
3. Run the software:&amp;lt;pre&amp;gt; &lt;br /&gt;
$r [software]&lt;br /&gt;
 &amp;lt;/pre&amp;gt; &lt;br /&gt;
4. The software will ask for: &lt;br /&gt;
a) the ISQ file&lt;br /&gt;
b) the new sample # you would like to give it (i.e. the original directory sample #)&lt;br /&gt;
c) the new measurement # you would like to give it (i.e. the original directory measurement #)&lt;br /&gt;
c) the new sample name you would like to give it (i.e. the original Study ID)&lt;br /&gt;
&lt;br /&gt;
You can view the header information for a file by using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ctheader [ISQ file]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong Study_ID/Sample_No===&lt;br /&gt;
&lt;br /&gt;
Situation: One study participate was assigned in followup scans multiple Study_ID or multiple Sample_No under the same Study_ID. &lt;br /&gt;
Action:    To correct this mistake and update the database correctly, you get to &lt;br /&gt;
&lt;br /&gt;
1. Return/Restore the RSQ from tape to measurement disk using Move (not Copy) in uct_backup program, otherwise the new location won&#039;t have its RAW backup record and thus have no idea where its RSQ was located.&lt;br /&gt;
&lt;br /&gt;
2. When there is no original ISQ in the measurement disk, you will have to reconstruct a new ISQ from this RSQ. If there is an original ISQ there, then skip this step.&lt;br /&gt;
&lt;br /&gt;
3. Import ISQ into a new designated location (correct Study_ID and Sample_No with new Measurement_No). &lt;br /&gt;
    $ import&lt;br /&gt;
Follow the prompts for the ISQ file names, changing of control file # or site # if needed. This action will import RSQ, Gobj and all the files in the folder to the new location.&lt;br /&gt;
&lt;br /&gt;
A reminder is that without an ISQ ready by importing a RSQ only will produce wrong slice no. and site location in the database as shown in the uct_backup. &lt;br /&gt;
&lt;br /&gt;
4. If the ISQ is newly reconstructed (original ISQ could skip this step), the database will show the new reconstruction date &amp;amp; time (not the original scan date &amp;amp; time) as the scan records in the uct_backup. To correct this, &lt;br /&gt;
&lt;br /&gt;
    $run ut:uct_correct_meas_measdate&lt;br /&gt;
&lt;br /&gt;
1) To see the original scan date &amp;amp; time: run this command and follow the prompt and input the original measurement No. as the Index, but don&#039;t change this by copying and pasting it back in Messdatum/Zeit.&lt;br /&gt;
&lt;br /&gt;
2) To set the new scan date &amp;amp; time: run this command again and input the new measurement No. as the Index, copy &amp;amp; paste the original scan date &amp;amp; time got from 1) in Messdatum/Zeit. &lt;br /&gt;
&lt;br /&gt;
This way will update the database as shown in the uct_backup with the original scan date &amp;amp; time with newly reconstructed ISQ in the correct Study_ID and Sample_No.&lt;br /&gt;
&lt;br /&gt;
5. Backup/Move the RSQ at the new location to tape, so that the new record will have full information of both RAW and IMA. &lt;br /&gt;
&lt;br /&gt;
6. Even though ISQ, RSQ, GOBJ and all other files have been moved over to the new location, you will still need to re-run the evaluation (in uct_evaluation, open ISQ and GOBJ) to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong account used for scanning===&lt;br /&gt;
&lt;br /&gt;
Xtremect2 (on disk2) and xt2recalib (on disk6) accounts share the same databases. However, the definition of DK0 is account specific, ie. the scans are stored on different disks. So when scanning under Xtremect2 account instead of Xt2recalib account, to correct the wrong measurement location you will need to:&lt;br /&gt;
&lt;br /&gt;
#Create the patient directory on disk6:[xtremect2.data], if needed;&lt;br /&gt;
#Create the same measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Create a save set of the measurement folder on disk2:[xtremect2.data] with the isq, rsq, rad and scv files included;&lt;br /&gt;
#Unzip the save set in the measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Delete the measurement directory on disk2:[xtremect2.data] using delete command in the terminal. Caution: Do NOT use the backup program.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; This procedure is specific to this situation between Xtremect2 and Xt2recalib accounts, Microct and Xt1recalib accounts, and vice versa, but not applicable between any other accounts!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update database after RSQ/ISQ restoration===&lt;br /&gt;
&lt;br /&gt;
If you are restoring RSQ or ISQ files from tape (or other source) it might be preferable to do your analysis without resetting the database info.  &lt;br /&gt;
&lt;br /&gt;
The database is specific to the user.  So, we have to modify the database for &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;, and be careful not to modify the &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; (or other users) database.  However, we still need to have permissions from &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; in order to do the modification.&lt;br /&gt;
&lt;br /&gt;
When we restore an ISQ or RSQ to disk, the database needs to be updated to ensure it finds it.  We have to change the database back to say it&#039;s on disk.  To do this we need to log in as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
login as calibXXXX  where XXXX is the scanner id (5019 for VivaCT or 2339 for uCT35) or calib3309 or calib3401 (for the XtremeCT and XtremeCTII system, respectively).&lt;br /&gt;
password from Steve&lt;br /&gt;
&lt;br /&gt;
$ @ADISK1:[BONELAB]microct_setup_XXXX.com    ! XXXX=scanner id, sets the logicals to point to bonelab data for SB group&lt;br /&gt;
or&lt;br /&gt;
$ @ADISK1:[VIVACT]LOGIN.COM  ! sets the logicals to point to microct data for BH group&lt;br /&gt;
or&lt;br /&gt;
$ @DISK1:[MICROCT]LOGIN.COM ! sets the logicals to point to microct data on the XtremeCT system&lt;br /&gt;
or&lt;br /&gt;
$ @IDISK1:[XTREMECT2]MICROCT_SETUP.COM ! sets the logicals to point to xtremect2 data on the XtremeCT2 system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set proc/priv=bypass      or     $ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_DIR     ! make sure to include the full path to the executable as shown here. &lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_DIR.EXE     ! on xtremect2 system, use this program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Only change those items which have to be changed (e.g. just hit RETURN for RAW fields if you only want to change the IMA location.  Also, when specifying the directories, use DK0, not DISK2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:UCT_CORRECT_DIR.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Measurement Nr.:         1234&lt;br /&gt;
MeasNr.                  1234 &lt;br /&gt;
PatientNr:               268&lt;br /&gt;
RAW: RAW004&lt;br /&gt;
TP0:00001234_RAW&lt;br /&gt;
IMA: IMA002&lt;br /&gt;
TP0:00001234_IMA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW-Label: [ RAW004 ]&lt;br /&gt;
&lt;br /&gt;
RAW-Dir  : [ TP0:00001234_RAW ]&lt;br /&gt;
&lt;br /&gt;
IMA-Label: [ IMA002 ]   DISK&lt;br /&gt;
IMA-Dir  : [ TP0:00001234_IMA ]  DK0:[microct.data.00000456.00001234]&lt;br /&gt;
&lt;br /&gt;
Measurement Nr.:            0&lt;br /&gt;
End of program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The IMA-label does not matter on disk - but we have to write something to get rid of the IMA002, so &#039;DISK&#039; makes sense.&lt;br /&gt;
&lt;br /&gt;
Using the standard backup/archiving program, you can archive (MOVE TO) that IMA again to a tape, but use a DIFFERENT TAPE than where the first instance of this scan is on.&lt;br /&gt;
&lt;br /&gt;
Background: Tapes just write file after file, without any directory structure or hierarchy, so the program will always find the first instance (the old dataset) if you try to read it again from that tape.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; One other option is to change the permissions of UCT_CORRECT_DIR.EXE so that user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; can use it directly.  To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration&lt;br /&gt;
$ set prot=g:re ut:uct_correct_dir.exe&lt;br /&gt;
$ run disk1:[calibration.util]uct_correct_dir  ! as user microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Other FAQ==&lt;br /&gt;
&lt;br /&gt;
===View Sample info===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will show you sample-name and date-of-birth of sample-number 1234&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info -m 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will give you some (stupid) info about meas 1234&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you use this function all the time, put the following into &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_info  :== $um:uct_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then the usage info will even be correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===List measurements for data and backup location===&lt;br /&gt;
&lt;br /&gt;
*To generate a list of measurements that are registered in the database, to determine where backups are stored, or if the data is still on disk:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;$ write_info&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Ask you for a range of measurement numbers or sample names.&lt;br /&gt;
*Create a &amp;lt;code&amp;gt; sys$scratch:info.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Anonymize patient name and DOB===&lt;br /&gt;
&lt;br /&gt;
Here is the link to [[Media:SOP_Anonymize_patient_name_dob.pdf | Scanco&#039;s SOP]] to change a long list of patient&#039;s name and/or DOB to de-identify the data. &lt;br /&gt;
&lt;br /&gt;
This does not affect the headers of past RSQ, ISQ or AIM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix a wrong scan site code===&lt;br /&gt;
&lt;br /&gt;
This is done if accidentally scanned using the wrong control file. &lt;br /&gt;
For example scan site RR is scanned mistakenly under RL, or TL scanned by mistake using the control file for TR ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To see our site codes, e.g. 20 = RL, 21 = RR etc using &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show log *eval*&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Scenario 1: &lt;br /&gt;
&lt;br /&gt;
If the correction commands (uct_correct_meas_site and updh_site) are already in your account (which is the case for the xtremect2 and xt2recalib accounts on the XtremeCT cluster)&lt;br /&gt;
&lt;br /&gt;
 $ cd util&lt;br /&gt;
 $ dir *site* &lt;br /&gt;
&lt;br /&gt;
and you see two programs (uct_correct_meas_site and updh_site). Set priviledge to bypass first&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
 $ run uct_correct_meas_site&lt;br /&gt;
&lt;br /&gt;
and enter the meas. number to be corrected and then enter in the correct site code (20 = RL, 21 = RR, 38 = TL, 39 = TR). &lt;br /&gt;
*This modifies the database, so the correct site is displayed in the eval program. &lt;br /&gt;
*Enter meas. number 0 to exit program.&lt;br /&gt;
&lt;br /&gt;
Then we must also correct the ISQ and RSQ files (has to be restored from tape if not on disk):&lt;br /&gt;
&lt;br /&gt;
 $ run updh_site      !&#039;updh&#039; = update header&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enter the &amp;lt;b&amp;gt;full (i.e. pathname included)&amp;lt;/b&amp;gt; ISQ or RSQ filename. For DISK6 data should use DISK6:[xtremect2.data....]. &lt;br /&gt;
*Then enter the correct site number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Scenario 2: &lt;br /&gt;
 &lt;br /&gt;
Normally the correction commands (uct_correct_meas_site and updh_site ect.) are only provided in a calibration account to prevent from misusage. We have to login as user calibration to make the change.  &lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 $ username: [enter calibration account, e.g. calib3401]&lt;br /&gt;
   &lt;br /&gt;
Then we use the same steps in &amp;lt;b&amp;gt;Scenario 1&amp;lt;/b&amp;gt; to change the site code in both database and ISQ and RSQ files. &lt;br /&gt;
*Make sure to &amp;lt;code&amp;gt;logout&amp;lt;/code&amp;gt; from user calibration afterwards.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix for results fail to print/list/show after evaluation===&lt;br /&gt;
&lt;br /&gt;
There are a number of reasons the results may not print:&lt;br /&gt;
&lt;br /&gt;
====Incorrect first measurement number====&lt;br /&gt;
When sample information (such as patient name, DOB, remark) is changed DURING scanning, this can over write the 1st Scan measurement number, resulting in the evaluation sheet not being printed, and data not shown when running upat_list. For example, this happens when:&lt;br /&gt;
&lt;br /&gt;
1) open sample program, enter name, hit save, leave program open&lt;br /&gt;
&lt;br /&gt;
2) start scan (which would write correct record with 1st meas. in sample database)&lt;br /&gt;
&lt;br /&gt;
3) in sample program: then only enter DOB, and hit &#039;save&#039; again in the sample program --&amp;gt; it &#039;overwrites&#039; the 1st meas. with an empty string again.&lt;br /&gt;
&lt;br /&gt;
If you want to enter DOB after the scan has started, you HAVE to &#039;Find...&#039; and re-load that patient first (so it correctly loads the 1st meas. entry also). It is best to just not use the sample management program whilst scanning is taking place. &lt;br /&gt;
&lt;br /&gt;
However, if you do encounter this problem, use the following to fix (shown using patient 668 as an example. 1st scan measurement number was 2672):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 calibration&lt;br /&gt;
 xxxxx&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
 $ @[microct]microct_setup&lt;br /&gt;
 $ run [calibration.util]uct_correct_first&lt;br /&gt;
 $ r UCT_CORRECT_FIRST&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.: 668&lt;br /&gt;
 SampleNr.:          668&lt;br /&gt;
 First:            0&lt;br /&gt;
&lt;br /&gt;
 2672&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and continue with next non-working patient, give patient number 0 to exit.&lt;br /&gt;
&lt;br /&gt;
 $ logout&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Evaluation completed with results not written to database====&lt;br /&gt;
If the first measurement number and DOB are correct... check the .log file of the evaluation... However, if there is no upat*.log file available for that scan, use:&lt;br /&gt;
&lt;br /&gt;
upat_list -v=2 and you will see (for eg sample 594):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Found sample 594, CAMOS_0018&lt;br /&gt;
Found measurement 2536 made 19-MAR-2007 12:52:58.48&lt;br /&gt;
Measurement site RL found in list at index 0&lt;br /&gt;
Measurement 2536 within measurement period&lt;br /&gt;
ERROR finding evaluation for measurement 2536&lt;br /&gt;
&lt;br /&gt;
No valid evaluation found for measurement 2536&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So it seems the 3D upat eval never wrote anything to the database for that scan. In this case, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @ue:ipl_upat_eval_again_quick.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and let it run for the missing data. &lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039; it will only need the aim files and gobj files that you still have in your &#039;models&#039; directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Incorrect sequence of measurement numbers====&lt;br /&gt;
Finally, if none of these options work... check the order of measurement numbers: especially if an import has occured, first check the first measurement number is correct (as above). Then run sys$Scratch:uct_correct_prev_next.exe and correct the order of the measurements: The database keeps a &#039;daisy&#039; chain of meas. numbers, each meas. knows which one was the previous meas and the next meas.&lt;br /&gt;
&lt;br /&gt;
0 means: no prev. meas (or no next meas) So corrected the order for you like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ r UCT_CORRECT_prev_next&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop) [0]: 2821&lt;br /&gt;
MeasNo.:         2821 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]:   &amp;lt;-- leave 0&lt;br /&gt;
Next     [0]: 2828  &amp;lt;-- give next meas number&lt;br /&gt;
Measurement No. (0 to stop) [2828]:&lt;br /&gt;
MeasNo.:         2828 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]: 2821  &amp;lt;-- give prev. meas number&lt;br /&gt;
Next     [0]:  &amp;lt;-- leave 0 for very last meas.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Please note: the series of meas. numbers per patient is NOT separate per meas. site, thus radius and tibia meas. are linking to each other. &#039;&#039;&#039;Do not mess up!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Lab’s Data Responsibility==&lt;br /&gt;
*Weekly &lt;br /&gt;
#Clean up sys$scratch directory and only keep last week&#039;s data.&lt;br /&gt;
#Archive RSQ to corresponding tapes.&lt;br /&gt;
#*RSQ from temporary tests and non-project (not a formally established project) will NOT be archived unless specifically notified to lab personal.&lt;br /&gt;
#Database backup to disks.&lt;br /&gt;
*Monthly&lt;br /&gt;
#Database backup to corresponding tapes.&lt;br /&gt;
#Archive QC RSQ to corresponding tapes.&lt;br /&gt;
#Delete QC IMA and only keep last week&#039;s data.&lt;br /&gt;
*6-monthly&lt;br /&gt;
#System backup to corresponding tapes when prompted.&lt;br /&gt;
*Yearly&lt;br /&gt;
#Data Disk clean up when usage is over 90%.&lt;br /&gt;
#*Temporary tests and non-project RSQ and IMA data will be deleted during check up.  &lt;br /&gt;
#Project Disk clean up when usage is over 90%.&lt;br /&gt;
#Winston backups clean up.  &lt;br /&gt;
*Whenever requested&lt;br /&gt;
#Projects backup to Winston server and restoration.&lt;br /&gt;
#Projects archive to HOG server and restoration.&lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; STRONGLY URGE TO DO THE WEEKLY and MONHTLY BACKUP. Two users DID experience disk crashes before, and without the weekly backup, you may still have all scans on the data disk, but without the databases you cannot tell which scans belong the which sample.&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_management.pdf|&#039;&#039;&#039;XtremeCT Micro-CT Management SOP&#039;&#039;&#039;]] or [[Media:Microct_management.docx|&#039;&#039;&#039;its Word format&#039;&#039;&#039;]] for references.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==HP Server and Disk Array==&lt;br /&gt;
===HP References===&lt;br /&gt;
*[[Media:Hp-quick-specs-msa30.pdf|&#039;&#039;&#039;MSA30 Disk Array Quick Specs&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2620-sceva2-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2620 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2660-sceva3-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2660 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===HP FAQ===&lt;br /&gt;
====Change disk description for $ disks====&lt;br /&gt;
Login as the system user and change to the system commands directory.&lt;br /&gt;
&lt;br /&gt;
 $ cd scom&lt;br /&gt;
 $ eve show_disks.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Tape==&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; While the tape is running and writing to it, DO NOT LOG OUT, DO NOT INTERRUPT THE PROGRAM! This would make that tape unusable from this point on - you could still read from that tape up to this point, but could not add more scans to this tape.&lt;br /&gt;
&lt;br /&gt;
===Tape Label Convention===&lt;br /&gt;
Tape labels are 6 characters in length.  For the Bone Imaging Lab projects, the first three letters indicate if the tape is for raw (RAW) or image (IMA) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW040 = RAW date, tape #040&lt;br /&gt;
IMA001 = IMAGE data, tape #001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, the first two characters may be set to a PI&#039;s initials, the third character indicates if the tape is for raw (R) or image (I) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SBR040 = Steve Boyd RAW, tape #040 &amp;lt;br&amp;gt;&lt;br /&gt;
SBI001 = Steve Boyd IMA, tape #001 &amp;lt;br&amp;gt;&lt;br /&gt;
BHR006 = Benedikt Hallgrimsson RAW, tape #006 &amp;lt;br&amp;gt;&lt;br /&gt;
BHI017 = Benedikt Hallgrimsson IMA, tape #017 &amp;lt;br&amp;gt;&lt;br /&gt;
FJR012 = Frank Jirik RAW, tape #012 &amp;lt;br&amp;gt;&lt;br /&gt;
FJI003 = Frank Jirik IMA, tape #003 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CaMos raw data is backed up with the following naming:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CAMOS1 = CaMos RAW, tape #1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When a tape becomes full, start (initialize) a new tape, increasing the tape number by one so that each tape label is unique.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Initialize a New Tape===&lt;br /&gt;
Put a new tape into the tape drive, then press &amp;quot;Initialize&amp;quot;, this will format (erase) everything on the tape.  When prompted for a label for the tape, follow the [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]].  The tape can now be mounted for use.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic02.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Full Tape===&lt;br /&gt;
A tape automatically ejects during a backup procedure if it becomes full.  &lt;br /&gt;
*Remove the tape and write protect it (orange indicator will be displayed).  &lt;br /&gt;
*Exit the disk-utility program. &lt;br /&gt;
:*Hit &amp;lt;code&amp;gt;ctrl/c&amp;lt;/code&amp;gt; to interrupt the program if needed. &lt;br /&gt;
*Start a new instance of the program.  &lt;br /&gt;
*[[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;Initialize a New Tape&#039;&#039;&#039;]].  &lt;br /&gt;
*Backup any remaining files.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic03.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape Drive Setup on XCT cluster===&lt;br /&gt;
Both the old and new tape drives are connected to SC3309 (XCT1) and powered on. You do not need to power off one to use another.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
New tape in new drive &amp;lt;--&amp;gt; microct, xtremect2, xt2recalib, calib3401, calib3309&lt;br /&gt;
&lt;br /&gt;
:*The &#039;new&#039; Ultrium 3000 tape drive is for the new tapes and the default tape drive for all other accounts (microct, xtremect2, xt2recalib, calib3309, calib3401). &lt;br /&gt;
:*Use the following command to use the old SDLT tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sdlt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Old tape in old drive &amp;lt;--&amp;gt;  xt1recalib  &lt;br /&gt;
&lt;br /&gt;
:*The &#039;old&#039; SDLT tape drive is for the old tapes. You have to log into the default xt1recalib account to recognize this tape drive. &lt;br /&gt;
:*Restoring from old tapes in xt1recalib account will restore your data to DISK6:[MICROCT.DATA]. &lt;br /&gt;
:*By default, xt1recalib account can only see old tape drive, not the new tape drive.&lt;br /&gt;
:*Use the following command to use the new tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sas&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*With either of the above commands, you must not &amp;quot;submit&amp;quot; the tape usage jobs to the queue (i.e., cannot run a batch backup from a script), but only run them interactively in the &lt;br /&gt;
software. Any job in the queue will use the default tape drive again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract from Tape===&lt;br /&gt;
&lt;br /&gt;
====Scripts to Extract from Tape====&lt;br /&gt;
Generally, all files on the tape can be extracted, or only specific files.&lt;br /&gt;
To extract all files on a tape, for example, a tape received from a collaborator, insert the tape into the drive and do the following:&lt;br /&gt;
  $ cd ur&lt;br /&gt;
  $ create/dir [.collaborator]&lt;br /&gt;
  $ create/dir [.collaborator.com]&lt;br /&gt;
  $ create/dir [.collaborator.log]&lt;br /&gt;
  $ create/dir [.collaborator.models]&lt;br /&gt;
  $ cd ur collaborator models&lt;br /&gt;
  $ backup/log tp0:*.sav []/by=parent  ! be sure you are the user (i.e. &#039;microct&#039; or &#039;xtremect2&#039;) that has permission&lt;br /&gt;
  $ backup/log tp0:*.sav DISK4:[BONELAB.PROJECTS.FRAMINGHAM.MODELS...]/by=parent ! The &amp;quot;...&amp;quot; keeps the directory structure. The /by=parent ensures owner of the files is same as parent directory&lt;br /&gt;
&lt;br /&gt;
This will save all the files on the tape to the current directory. Alternatively, if you only want a certain file extracted from the tape, such as an RSQ file, do essentially the same as per above, except with a different final command:&lt;br /&gt;
  $ backup/log tp0:*.sav/select=*.rsq []/by=parent&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/by=parent&amp;lt;/code&amp;gt; part of the command is a qualified for the file owner, and it makes the files that are copied the same owner as the parent directory (nothing to do with how directories are structured). The &amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt; generates sub-directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A custom script is required when extracting data from tape from another micro-CT system or to extract the data to a central location (e.g., a user&#039;s directory).  &lt;br /&gt;
*The script is then submitted to the backup queue of the workstation the tape drive is connected to (i.e., SCEVA3_BACKUP)&lt;br /&gt;
*Some example scripts are provided below.&lt;br /&gt;
&lt;br /&gt;
*Extract image data for three scans to a custom folder, maintaining the sample and measurement directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for three scans to a custom folder without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for all scans on tape to a custom folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:*_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract raw data for three scans to a custom folder, without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape FAQ===&lt;br /&gt;
====Error: Can&#039;t mount tape, Medium offline====&lt;br /&gt;
This can happen if a tape is interrupted during use (e.g., due to a power failure or system restart while the tape drive is in operation).&lt;br /&gt;
&lt;br /&gt;
#Use the manual eject button to remove the tape from the drive.&lt;br /&gt;
#Turn off the tape drive, the switch is on the back of the drive.&lt;br /&gt;
#Shutdown the whole micro-CT system.&lt;br /&gt;
#Turn on the tape drive.&lt;br /&gt;
#Startup the micro-CT system, starting with the server.&lt;br /&gt;
#Try to mount the same tape again.&lt;br /&gt;
&lt;br /&gt;
If the above does not work then either the tape or the tape drive is damaged.  To determine if it is the drive, take a brand new tape and try to initialize it.  Do not use a tape with data on it in the drive unless you are certain the drive is okay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: positioning====&lt;br /&gt;
This can have two reasons usually:&lt;br /&gt;
&lt;br /&gt;
#The tape is just faulty. Try with a fresh tape.&lt;br /&gt;
#A previous tape write operation was interrupted (e.g., a user did an &#039;End Session&#039;, the power went out, or the eject button was pressed on the tape drive, which killed the backup program). In this case the drive did not write the very important &#039;End of Tape&#039; marker, and now, the tape drive cannot find the current place where it can start adding new data. &lt;br /&gt;
*Solution: either take a fresh tape, or if there were only a few scans are on the &#039;bad&#039; tape, &#039;Move to Hard Disk&#039; of ALL the scans on that tape, check that the scans have been retrieved well, then initialize that tape again (which will erase everything on the tape!) and archive those scans again. &lt;br /&gt;
*IMPORTANT: never interrupt the tape drive while it is running!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: parity====&lt;br /&gt;
Either tape or the tape drive is faulty. Take a fresh tape (potentially from a new batch of tapes), and see if the error persists. &lt;br /&gt;
*If yes: have the tape drive repaired. &lt;br /&gt;
*Further things to check: for DLT and SDLT tape drives: is the terminator (&#039;dead end&#039;) connected on the second SCSI port in the back of the tape drive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: non-responsive tape drive====&lt;br /&gt;
This can occur if the user ejects the tape with the little button (and not with the recommended &amp;quot;dismount&amp;quot; button in the uct_backup program).  This can also occur if a tape is mounted immediately after one is dismounted.  You get the same error for both cases, &amp;quot;medium offline&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
:*Check all that all cables are connected.&lt;br /&gt;
&lt;br /&gt;
:*Check that the number on the back of the drive says &amp;quot;5&amp;quot; (use +/- to adjust if necessary)&lt;br /&gt;
&lt;br /&gt;
:*Check that the top connector has a cable connecting to the computer and the bottom one has a terminator.&lt;br /&gt;
&lt;br /&gt;
:*Try turning the tape drive on and off again.&lt;br /&gt;
&lt;br /&gt;
:*Log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; (you will need a password from Steve):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto/sele=mk&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it&#039;s online again, then great.  If not, then the last resort is to reboot the entire system.  If this doesn&#039;t work, then shut down the system (see user manual for proper steps) and eject the tape.  You may need to turn the computer back on before it will eject.  The tape drive should be turned on first (no tape), then the server, and any other computers.  Check that the drive is online ($ show device mk).  If it is, then test the drive by initializing, mounting and dismounting a brand new tape.  If the drive is not online, do not insert any tapes or they will likely get stuck.  Log in as system and re-try the command lines shown above.&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a stubborn tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: stubborn tape drive====&lt;br /&gt;
If the drive cannot be mounted, or it is not visible with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then something went wrong.  For example, the server computer was booted while the tape was turned off. It then does not load the driver.&lt;br /&gt;
&lt;br /&gt;
You can &#039;force load&#039; it - but this will disconnect the scanner for a moment, so only do it while no scan is running:&lt;br /&gt;
&lt;br /&gt;
as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;, on sc3309:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto&lt;br /&gt;
&lt;br /&gt;
$ show dev tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you should see it now (otherwise turn on the tape drive, and do again)&lt;br /&gt;
&lt;br /&gt;
Then you&#039;ll also have to make it available to all users:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a non-responsive tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====SDLT320 Tape and Tape Drive FAQ====&lt;br /&gt;
Please refer to [[Media:Hp-faq-sdlt320-tape-drive-and-sdlt-tapes.pdf|&#039;&#039;&#039;SDLT320 Tape and Tape Drive FAQ&#039;&#039;&#039;]] for details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==USB Drive==&lt;br /&gt;
&lt;br /&gt;
===Use a USB drive===&lt;br /&gt;
Connect USB to VMS system and format. &lt;br /&gt;
&lt;br /&gt;
Transfer files from the terminal after plugging in the USB device&lt;br /&gt;
  $ show device dna&lt;br /&gt;
Usually the device is dna1 or dna2&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ create/dir dna2:[microct]&lt;br /&gt;
  $ copy dk0:[microct]&lt;br /&gt;
or&lt;br /&gt;
  $ backup/log dk0:[&lt;br /&gt;
and then&lt;br /&gt;
  $ dismount dna2&lt;br /&gt;
&lt;br /&gt;
Transfer files back again&lt;br /&gt;
&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ dir dna2:[microct]&lt;br /&gt;
  $ copy dna2:[microct]myfile.txt disk1:[microct.data.00000702.00001234]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===USB Device Usage with Scanco Backup/Archive Software===&lt;br /&gt;
&lt;br /&gt;
For illustrated help on Itanium rx2660s , please refer to [[Media:Scanco_TDxxx-USB_Device_Usage.pdf | &#039;&#039;&#039;Scanco_TDxxx-USB_Device_Usage.pdf&#039;&#039;&#039; ]]&lt;br /&gt;
 &lt;br /&gt;
====Initialize procedure====&lt;br /&gt;
If an external USB device is to be used to archive measurement data, the USB device must be initialized by Open-&lt;br /&gt;
VMS. The data will not be accessible from any other operating system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium rx2660.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1.1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Initialize&amp;lt;” button in the “USB Device” section to initialize the USB device.&lt;br /&gt;
&lt;br /&gt;
- Confirm the Warning message. Note: All data currently on the device will be erased!&lt;br /&gt;
&lt;br /&gt;
- Enter a six-character label&lt;br /&gt;
&lt;br /&gt;
The USB device will be initialized and mounted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Archive procedure====&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Mount” button in the “USB Device” section to mount the USB device.&lt;br /&gt;
&lt;br /&gt;
The device label of the mounted USB device will be shown in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be archived.&lt;br /&gt;
&lt;br /&gt;
- Select “Move To:” and “USB/VMS” and click “Start&amp;lt;” to archive the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
After the move procedure, the new current location of the measurement data will be shown next to the files path.&lt;br /&gt;
&lt;br /&gt;
- “Dismount” the USB device when done with archiving.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Manual file copy procedure====&lt;br /&gt;
An OpenVMS formatted USB device can also be mounted and used for file storage using commands in a DECterm.&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- List available devices. The last shown device is usually the attached USB device; dna12 in this example.&lt;br /&gt;
    $ show device dna&lt;br /&gt;
&lt;br /&gt;
- Mount the USB device using the correct device name&lt;br /&gt;
    $ mount /over=id dna12&lt;br /&gt;
&lt;br /&gt;
- Create a root directory. Ignore any messages if the directory already exists.&lt;br /&gt;
    $ create /dir dna12:[microct]&lt;br /&gt;
&lt;br /&gt;
- Copy any wished files to the USB device&lt;br /&gt;
    $ copy {source files} dna12:[microct] /log&lt;br /&gt;
&lt;br /&gt;
- Dismount the USB device&lt;br /&gt;
    $ dismount dna12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Exporting Files / FAT file system====&lt;br /&gt;
If an external USB device is to be used to export measurement data to a Windows or MAC OS, the USB device must be formatted as FAT file system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Do not “Initialize&amp;lt;” or “Mount” the USB device !&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be copied to the USB device, may be even sub-select the wished file type&lt;br /&gt;
(TIF files in the example below).&lt;br /&gt;
&lt;br /&gt;
- Select “Copy To:” and “USB/FAT” and click “Start&amp;lt;” to copy the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
Once the USB device is connected to Windows or MAC OS, it will show a ZIP file named like the copied measurement&lt;br /&gt;
number. This ZIP file contains the same directory structure like the data disk on OpenVMS: &lt;br /&gt;
&lt;br /&gt;
data\sample number\measurement number&lt;br /&gt;
&lt;br /&gt;
In the lowest sub-directory are the copied files, as selected in the backup/archive software (TIF files in this example).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Problems with connected USB devices===&lt;br /&gt;
&lt;br /&gt;
Sometimes USB configurations can be problematic, in which case log in as &amp;quot;system&amp;quot; on the server and run&lt;br /&gt;
&lt;br /&gt;
  $ dir/date SYS$SYSROOT:[SYSEXE]USB$UCM_DEVICES.DAT&lt;br /&gt;
&lt;br /&gt;
to see whether a file was created recently. If one has, delete that file and reboot the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==CDROM==&lt;br /&gt;
===Mount a CDROM===&lt;br /&gt;
&lt;br /&gt;
Device could be &amp;lt;code&amp;gt;dqa0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dqb0&amp;lt;/code&amp;gt;.  I&#039;m not sure which works:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/override=id dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dismount dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Saveset and Zip files==&lt;br /&gt;
&lt;br /&gt;
===Saveset===&lt;br /&gt;
&lt;br /&gt;
====Saveset Naming Convention====&lt;br /&gt;
The Scanco backup program stores raw (RAW) and image (IMA) data as save sets (SAV).  &lt;br /&gt;
*RAW save sets contain RSQ files and IMA savesets contain all other file types.  &lt;br /&gt;
*The saveset filename is composed of the 8-digit measurement number plus &amp;quot;_RAW.SAV&amp;quot; for raw data and &amp;quot;_IMA.SAV&amp;quot; for image data.  &lt;br /&gt;
*For example, the data for a scan with measurement number 1234 would be stored as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00001234_RAW.SAV  ?  RSQ&lt;br /&gt;
00001234_IMA.SAV  ?  all other files, ISQ, AIM, GOBJ, TXT, SCV, etc.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Create and Unpack Saveset====&lt;br /&gt;
Savesets are OpenVMS backup files, similar to a zip.  Use the backup command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG disk3:[microct.projects.buie...] disk3:[microct.projects]buie2012.sav/sav	&lt;br /&gt;
                !Creates a saveset file of disk3:[microct.projects.buie].  &lt;br /&gt;
                !The ... after the folder indicates to include all subfolders and files.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie]&lt;br /&gt;
                !Unpacks the whole saveset to disk3:[microct.projects.buie]&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie...]	&lt;br /&gt;
                !The ... at the end of the output location indicates to unpack the saveset and maintain the original directory structure.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=*.aim disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of only aim file types.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=[microct.data...] disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of the folder data and all subfolders and files.&lt;br /&gt;
$ HELP BACKUP   !More information on the backup command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====View Saveset Contents====&lt;br /&gt;
To view contents of a saveset (SAV) on disk:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/list upat_print_list_nomatch.sav/sav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the savesets (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view contents of a saveset (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list tp0:*.*  ! OR, backup/list tp0:*.SAV&lt;br /&gt;
or&lt;br /&gt;
$ backup/list=results.txt tp0:*.*  ! save output in results.txt&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An idea to get the results of the backup/list into a text file: Run the procedure in a submitted script and save the resulting log file with all the output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Extract a single file from SaveSet====&lt;br /&gt;
&lt;br /&gt;
In a large SaveSet, sometimes we only want one file extracted, not the whole archive extracted. This can be done with&lt;br /&gt;
&lt;br /&gt;
  $ backup /log /select=myfile.txt mysaveset.sav /sav disk1:[microct.scratch]&lt;br /&gt;
&lt;br /&gt;
or []  as destination will put the file in the current directory.&lt;br /&gt;
&lt;br /&gt;
This can take a while as it looks through all the saveset. Once it logs that the file has been restored, you may interrupt with F6. Else it goes on looking through the rest of the saveset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Saveset from microCT to XtremeCT====&lt;br /&gt;
&lt;br /&gt;
You can create a SAV set of your project on the VivaCT and transfer it to the Xtreme system, or vice-versa.&lt;br /&gt;
First, create the SAV set using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
$ BACKUP/LOG DISK3:[MICROCT.PROJECTS.SB.MYPROJECT...]*.*;* -&lt;br /&gt;
     SYS$SCRATCH:MYPROJECT.SAV/SAV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This creates the MYPROJECT.SAV file in the scratch directory.  Now zip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; MYPROJECT.ZIP MYPROJECT.SAV  (NOTE: must use quotes and a capital V!!!!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
FTP the .ZIP file to SODOR ( in binary mode!!!), and then FTP it off onto your destination system (Viva or Xtreme).  See the appropriate HowTo for FTP instructions.  Once you&#039;ve FTP&#039;d it, unzip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip MYPROJECT.ZIP&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, unpack the contents of the .SAV file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG MYPROJECT.SAV/SAV DISK3:[MICROCT.PROJECTS.MYPROJECT] &amp;lt;--- or whatever destination directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NOTE:  transferring a .SAV directly from VMS to VMS should work, but not via any third operating system (like SODOR) - so zipping is always the safe way to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Zip===&lt;br /&gt;
&lt;br /&gt;
====Zip and Unzip files====&lt;br /&gt;
Use the zip program to add files to a zip archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ZIP myzip.zip myfile.txt;1	                !Adds myfile.txt to myzip.zip.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip myfile.txt;1	        !Adds myfile.txt;1 to myzip.zip.  The &amp;quot;-V&amp;quot; maintains the OpenVMS version number.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip [.subdir...]*.*;*	        !Adds all files within subdir to myzip.zip, maintaining their version number.&lt;br /&gt;
$ ZIP	                                        !Displays the help for the zip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the unzip program to unzip an archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UNZIP &amp;quot;-V&amp;quot; myzip.zip		                !Extracts myzip.zip, maintaining the OpenVMS structure.&lt;br /&gt;
$ UNZIP		                                !Displays the help for the unzip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Zip between Scanco systems====&lt;br /&gt;
&lt;br /&gt;
Files must be zipped before transfer by e-mail or ftp because important attributes will be lost in the transfer otherwise.&lt;br /&gt;
&lt;br /&gt;
To transfer files from system A to B, do the following.&lt;br /&gt;
&lt;br /&gt;
On system A:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_SAMPLES_TORONTOXT.DAT  ! for each filename&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will add both files to the same zip file.&lt;br /&gt;
&lt;br /&gt;
Note: &amp;quot;-V&amp;quot; is very important, it must be capital V!&lt;br /&gt;
&lt;br /&gt;
Transfer the file by e-mail, or by ftp.&lt;br /&gt;
&lt;br /&gt;
On system B:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip -j for_calgary.zip  ! to unzip on your end them (-j to &#039;junk&#039; the original file path)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Unpack Zip sent by Scanco====&lt;br /&gt;
In the .zip file, you&#039;ll find a .sav file. Unzip the .zip just by saying&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ unzip xxxx.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxxx.sav/sav disk3:[steve.devel.temp]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will unpack everything into &amp;lt;code&amp;gt;disk3:[steve.devel.temp]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/list xxxx.sav/sav&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you see what&#039;s in the .sav.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxx.sav/sav/sel=[andres.uct.ipl_for_cust...] disk3:[steve.devel.cipl...]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will create the same diretory tree in steve.devel.cipl as it was when I &lt;br /&gt;
packed it into the .sav.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Backup and Archive==&lt;br /&gt;
&lt;br /&gt;
===UI Procedures===&lt;br /&gt;
&lt;br /&gt;
====µCT Disk-Utility====&lt;br /&gt;
The µCT Disk-Utility Program is used to archive and restore scan data. To start the program type &amp;lt;code&amp;gt;$ uct_backup&amp;lt;/code&amp;gt; in a DEC terminal, or use the disk button.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup.jpg|40px]]&lt;br /&gt;
*The backup captures both the programs and databases.&lt;br /&gt;
*A little helper terminal comes up and gives feedback of every file backed up.&lt;br /&gt;
[[File:Uct_backup_pic01.jpg|600px]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two possible ways to use &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt;:&lt;br /&gt;
:* COPY TO -&amp;gt; this does not update the database.&lt;br /&gt;
:* MOVE TO -&amp;gt; this updates the database.&lt;br /&gt;
&lt;br /&gt;
Scenario 1: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Use UCT_BACKUP to &#039;move&#039; the remainder (AIM/GOBJ) to &#039;tape&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*At operation 3, the measurement directory will be deleted from the measurement disk.  &lt;br /&gt;
*The directory will automatically be restored if you restore your data from tape.&lt;br /&gt;
&lt;br /&gt;
Scenario 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Move all the GOBJ/AIM/etc to a project directory.&lt;br /&gt;
4. Generate a .SAV file and put on the IMA tape.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You will have to delete the measurement directories (using UCT_BACKUP if you like). &lt;br /&gt;
*The disadvantage of this scenario is that the image data cannot be restored using UCT_BACKUP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Raw Data Backup====&lt;br /&gt;
*Ideally 1-2 week after scanning.&lt;br /&gt;
*RSQ files are backed up onto RAW tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  Put the most recent RAW tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
*Show &amp;quot;Current (with RAW)&amp;quot;, use the file filter (Measurement:     ) to search for your files (e.g., CAMOS) and press enter or press &amp;quot;Update List&amp;quot;.  &lt;br /&gt;
*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
*Highlight RAW, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.  &lt;br /&gt;
*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape. &lt;br /&gt;
*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
*If you select multiple files, be sure they all need to be backed up, otherwise you will get an error.&lt;br /&gt;
:[[File:Uct_backup_pic04.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Image Data Backup====&lt;br /&gt;
*Ideally 1-2 months after scanning, after contouring, onsite analysis and copied image data to project disk.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Delete ISQ After Evaluation&#039;&#039;&#039; &lt;br /&gt;
#*ISQ files are normally deleted after completing your evaluation since they are very large files and can be reconstructed from the RSQ file. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type the beginning of your sample name (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;.&lt;br /&gt;
#*Select all the files for which you have completed the evaluation (there will be a + sign next to any scan that has been evaluated).  #*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Trash&amp;quot;.  &lt;br /&gt;
#*[[File:Important.JPG|20px]] After you choose the trash symbol, you will now be given the option to select specific file types, choose &amp;quot;Select&amp;quot; and &amp;quot;ISQ&amp;quot;.  Press &amp;quot;Start...&amp;quot;.&lt;br /&gt;
#*Only choose one file type to delete at a time. The wildcard (*) indicate all files other than &amp;quot;ISQ&amp;quot; and &amp;quot;AIM&amp;quot; files.&lt;br /&gt;
#:[[File:Uct_backup_pic05.jpg|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Backup IMAGE Data&#039;&#039;&#039; &lt;br /&gt;
#*AIM, GOBJ and other evaluation files are backed up onto IMA tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  &lt;br /&gt;
#*Put the most recent IMA tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type in the beginning of your sample names (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;. &lt;br /&gt;
#*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
#*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.   &lt;br /&gt;
#*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape.  &lt;br /&gt;
#*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
#:[[File:Uct_backup_pic06.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use &#039;Script...&#039; button====&lt;br /&gt;
Usually, you will start the move/copy by clicking on &amp;lt;code&amp;gt;&#039;Start...&#039;&amp;lt;/code&amp;gt; button. The &amp;lt;code&amp;gt;&#039;Script...&#039;&amp;lt;/code&amp;gt; button is for advanced users.&lt;br /&gt;
&lt;br /&gt;
*Use of the &#039;Script...&#039; button will generate a script &amp;lt;code&amp;gt;sys$scratch:archive.com&amp;lt;/code&amp;gt;, that you may submit it in batch mode later (e.g. over night) by typing: &amp;lt;pre&amp;gt;$ scanco_submit_command sys$scratch:archive.com/after=23:59&amp;lt;/pre&amp;gt;&lt;br /&gt;
*In a multi-computer cluster setup, you may want to specify the exact queue name of the computer that has the tape hooked up by giving e.g. &amp;lt;code&amp;gt;/que=sceval_fast&amp;lt;/code&amp;gt;.&lt;br /&gt;
*Insert a tape, but do NOT mount the tape in the normal program. If necessary: if it&#039;s a new tape, [[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;initialize&#039;&#039;&#039;]] it as usual. &lt;br /&gt;
*The batch job will be started one minute before midnight in the example above. &amp;lt;code&amp;gt;$ show entry&amp;lt;/code&amp;gt; will show you that it is holding until then.&lt;br /&gt;
*See &amp;lt;code&amp;gt;$ help submit /after&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ help dcl_tips date_time example&amp;lt;/code&amp;gt; for more help on this.&lt;br /&gt;
*Sample script file (archive.com) restoring the RSQs of measurements 6452 and 6580:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
COPY&lt;br /&gt;
DISK&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6452)&lt;br /&gt;
MEAS&lt;br /&gt;
6452&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6580)&lt;br /&gt;
MEAS&lt;br /&gt;
6580&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Database Backup====&lt;br /&gt;
&lt;br /&gt;
The database (DB) backup should be performed for each user on the system. It should not be performed as user &#039;calibration&#039; or some derivative. In the case of the XtremeCT2 and XtremeCT cluster, both the &#039;microct&#039; and &#039;xtremect2&#039; user accounts must be used to backup their respective DB. &lt;br /&gt;
&lt;br /&gt;
By performing the DB backup, the warning dialog that appears when logging into the system should go away.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Operating System (OS) Backup====&lt;br /&gt;
If the following error-message appears on the screen then you can click OK to continue your work. &lt;br /&gt;
&lt;br /&gt;
     MESSAGE: No recent OS Backup found!&lt;br /&gt;
     Please perform OS backup (DISK0) in privileged account!&lt;br /&gt;
     %RMS-W-FNF file not found.&lt;br /&gt;
     CODE: 268534416&lt;br /&gt;
     Facility RTL&lt;br /&gt;
&lt;br /&gt;
This message means that no operating system (OS) backup has been performed within the last 6 months. Please perform an OS backup as soon as possible by following the steps below:&lt;br /&gt;
&lt;br /&gt;
1. Make sure there are no scans in progress and that the que is halted from all activity.&lt;br /&gt;
&lt;br /&gt;
2. Log in to the calibration account: Since we have two scanners on the same system, login as either &amp;quot;calib3401&amp;quot; or &amp;quot;calib3309&amp;quot;, depending if you need to backup the XtremeCT2 or XtremeCT, respectively. For microCT clusters, (best to do this on SCEVA3) using the username calib5019 and the password (ask Steve for this).&lt;br /&gt;
&lt;br /&gt;
3. Type in the DECterm window:&lt;br /&gt;
          $ set proc/priv=bypass&lt;br /&gt;
Or Set priviledge to bypass by &amp;lt;code&amp;gt;$ spb&amp;lt;/code&amp;gt;&lt;br /&gt;
          $ r um:uct_b     Or $ uct_backup&lt;br /&gt;
&lt;br /&gt;
4. You will now see 2 additional buttons on the bottom left that is not seen when logged in as microct user. Push either the button &amp;quot;OS Backup to Disk DK0&amp;quot; or mount the specific OS backup tape and push the &amp;quot;OS Backup to Tape&amp;quot; button.&lt;br /&gt;
* A system backup to tape and to DK0 should both be performed. &lt;br /&gt;
&lt;br /&gt;
5. Check the command line &amp;amp; queue to ensure that the backup is being carried out. If you submit the job as &#039;batch mode&#039; the backup is submitted to SYS$BACKUP queue and allows you to close the backup program and &#039;end session&#039; without interrupting a running backup. Check with &#039;show queue&#039; to see the backup job on the queue.&lt;br /&gt;
&lt;br /&gt;
6. Exit the Backup Program and log out of the calibration account.&lt;br /&gt;
&lt;br /&gt;
After a successful OS backup the message above will not appear for the next six months.&lt;br /&gt;
&lt;br /&gt;
Alternatively a system backup can be completed using the command line, without using the uct_backup program. The instructions from Scanco can be found here. The advantage to this method is that you will be able to name the specific backup save set.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Using Scripts for Backup/Archive===&lt;br /&gt;
&lt;br /&gt;
====Project Backup/Archive====&lt;br /&gt;
*Refer to [[Media:Microct_project_backup.pdf|&#039;&#039;&#039;Project Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_project_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Backup Project=====&lt;br /&gt;
Regularly backup projects on a monthly basis using command &amp;lt;code&amp;gt;$ @com:BACKUP_PROJECT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
*The script is submitted to the queue and upon completion the log is emailed to the user.&lt;br /&gt;
*a SAVset (an OpenVMS file type similar to a zip file), a project info file and a file list are created in DISK5:[BONELAB.PROJECTS.BACKUP] for the microCTs and DISK4:[BONELAB.PROJECTS.ARCHIVE.ARCHIVE] for the XtremeCTs.&lt;br /&gt;
*The saveset along with two TXT files created will be automatically SFTP to Winston:\\Backups\backup\&lt;br /&gt;
*After the transfer, the saveset file on disk are deleted, leaving only two TXT files on the project disk.&lt;br /&gt;
*Only keep the two most recent backups for each project, A or B version name appended on the project name:&lt;br /&gt;
:*Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
:*Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
*The user MUST verify that the backup completed successfully.&lt;br /&gt;
*SAVsets greater than 250 GB cannot be transferred by automatic SFTP, use interactive/manual SFTP instead to transfer to Winston. &lt;br /&gt;
*If you are backing up a very large project, please check the server disk space before starting the backup. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:BACKUP_PROJECT.COM&lt;br /&gt;
===========================================================&lt;br /&gt;
BACKUP PROJECT TOOL V1.2 (XtremeCT)&lt;br /&gt;
 P1:LOCATION        DISK4:[BONELAB.PROJECTS.DUNCAN]&lt;br /&gt;
 P2:TYPE            1=MOUSE,2=RAT,3=HUMAN,4=OTHER&lt;br /&gt;
 P3:PROJECT         CAMOS&lt;br /&gt;
 P4:PERSON          Ying Zhu&lt;br /&gt;
 P5:DESCRIPTION     A monthly backup&lt;br /&gt;
 P6:EMAIL           me@ucalgary.ca&lt;br /&gt;
 P7:SFTP            y,n&lt;br /&gt;
 P8:START           y,n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Restore Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_RESTORE.COM script which will automatically generate a script to restore a user&#039;s project.  &lt;br /&gt;
*The saveset file has to be moved to Winston:\\Backups\archive folder to be restored.&lt;br /&gt;
*The user will be asked if they wish to restore to the original location, or to a new location.&lt;br /&gt;
*The script is submitted to the queue and the log from the restore job is emailed to the user. &lt;br /&gt;
*The user MUST verify that the job completed successfully.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_RESTORE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Delete Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_DELETE.COM script which will automatically generate a script to delete all the files and subdirectories of a specified path.&lt;br /&gt;
*The command script is opened so that the user can check the files to be removed to go ahead.&lt;br /&gt;
*You will need to manually delete the root project directory after it&#039;s empty.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_DELETE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Known Bugs in Project Tools=====&lt;br /&gt;
*Long file name won&#039;t work (28 letters work but not 32 letters).&lt;br /&gt;
*if the user specifies too long a file name, the Project Backup Scripts will fail with the following error:&lt;br /&gt;
     RMS-E-CRE, ACP file create failed&lt;br /&gt;
     SYSTEM-W-BADFILENAME, bad file name syntax&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Archive Project Saveset to Tape=====&lt;br /&gt;
Projects should be stored safely onto a backup tape once complete.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Summary&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps summarize the process:&lt;br /&gt;
:* Archive the project directory to the tape (detailed instructions below).&lt;br /&gt;
:* Change tape to &amp;quot;read only&amp;quot; to protect contents&lt;br /&gt;
:* Check tape saveset to ensure proper backup&lt;br /&gt;
:* Write name of tape on the project LOG sheet&lt;br /&gt;
:* Copy project LOG sheet and bring to Bone Imaging Laboratory &amp;quot;completed&amp;quot; project book&lt;br /&gt;
:* Bring copy of tape to the Bone Imaging Laboratory for safe keeping&lt;br /&gt;
:* &amp;lt;b&amp;gt;Delete&amp;lt;/b&amp;gt; the contents of the project from the disk&lt;br /&gt;
&lt;br /&gt;
In the project, there should be the regular set of directories including DOC, COM, MODELS, LOG.  Once the project is stored to tape, ensure that the log sheet for that project include a note stating which tape it was backed up to.  Take a photocopy of the log sheet and add it to our Bone Imaging Laboratory project book for COMPLETED projects.&lt;br /&gt;
&lt;br /&gt;
In the following example, a project titled BERN is backed up onto tape.  Ideally, the name of the SAV file on tape is the same as the project (i.e., BERN).  Note that &amp;lt;b&amp;gt;SAV files must have names with no more than 13 characters (including the .SAV)!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example backs the BERN project/directory onto tape IMA001.  For large projects and/or critical projects, it is advisable to dedicate an entire tape.  The three dots (...) indicate that ALL subfolders of DK0:[MICROCT.PROJECTS.BERN] will be included.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
&lt;br /&gt;
$ backup/log dk0:[microct.projects.bern...]*.*;* tp0:proj_bern.sav -  ! writes a saveset to tape&lt;br /&gt;
        /block=65534 /label=IMA001 -&lt;br /&gt;
        /media_format=nocompaction     ! NEVER use the /rewind option here&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.sav/select=*.isq DISK4:[BONELAB.PROJECTS.TBONE.ISQ_FROM_TAPE...]/by=parent  ! extracts all ISQ files from the tape&lt;br /&gt;
&lt;br /&gt;
$ dismount tp0:  &lt;br /&gt;
$ dismount tp0: /nounload ! same as previous command, but does not eject the tape (i.e. if you want to read the tape once more)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the &amp;lt;code&amp;gt;/rewind&amp;lt;/code&amp;gt; option should never be used for backup as it instructs the tape drive to rewind after backup is complete causing a major risk of over writing.&lt;br /&gt;
&lt;br /&gt;
Sometimes it might be handy to exclude certain files.  For example, to exclude RSQ files: &amp;lt;code&amp;gt;/excl=*.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A good reference for backup commands and ideas are available in the &amp;lt;code&amp;gt;UM:UCT_MOVE_FILES.COM&amp;lt;/code&amp;gt; script which is used by the &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt; program.  See also the &amp;lt;code&amp;gt;help backup&amp;lt;/code&amp;gt; instructions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help backup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the contents of a tape to ensure you&#039;ve successfully stored your project use the following commands (further details in &amp;quot;HowTo: View save set (SAV) contents&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
To just view if the saveset is on tape (but not its contents):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: you can also save the saveset list in a text file using the /output qualifier.&lt;br /&gt;
&lt;br /&gt;
To view the files within a saveset on tape, and save the results in a file called &amp;lt;code&amp;gt;results.txt&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list=results.txt tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete a set of directories, use the &amp;lt;code&amp;gt;dl&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ur BERN&lt;br /&gt;
$ del *.*;*   ! Deletes ALL files in a directory&lt;br /&gt;
$ dl *.dir;*  ! Will only delete empty directories (not nested directories)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Extract Project Saveset from Tape=====&lt;br /&gt;
To restore a project, you have two choices:&lt;br /&gt;
*1. Login as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then go to the projects directory. From there:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ spb (bypass priv)&lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind [*...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This puts all the files back in their original directory structure.&lt;br /&gt;
&lt;br /&gt;
*2. As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
 &lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind/select=[microct.projects.davison...]&lt;br /&gt;
     disk2:[microct.projects.davison...]&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.*/rewind disk3:[microct.projects.vitamink.models]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure to write the &amp;lt;b&amp;gt;same&amp;lt;/b&amp;gt; path in the /select as the output (except for the &lt;br /&gt;
actual disk2 portion).  Alternatively, you could unpack it into a slightly different root&lt;br /&gt;
directory (i.e., TMP) by changing the output path.&lt;br /&gt;
&lt;br /&gt;
The three dots infers to use the same paths in the saveset as the file structure put onto disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scripts to Backup RAW and IMA====&lt;br /&gt;
A script can be output from the backup tool to backup and restore data using the backup program.  &lt;br /&gt;
*When restoring data using this method, choose the COPY to DISK option. The data will be restored to its original location on the data disk.  &lt;br /&gt;
*You must manually submit the script to the backup queue.  &lt;br /&gt;
*The command procedures are written to SYS$SCRATCH:ARCHIVE.COM.  &lt;br /&gt;
*Here is the sample script for backing up RAW data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Here is the sample script for backing up IMA data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
IMA&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Usage information====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:DISK_MOUNTIES.COM	                !Give data disk usage information on an account.&lt;br /&gt;
$ eve sys$scratch:disk_mounties_output_summary.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template file for summarizing the disk mounties results: [[Media:BoneLab_Data_Disc_Usage.xlsx|&#039;&#039;&#039;BoneLab_Data_Disc_Usage.xlsx&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To look at the RSQs in the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir/siz dk0:[microct.data...]*.rsq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
the three dots means all subdirectories.&lt;br /&gt;
&lt;br /&gt;
Other useful commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.isq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
shows you header.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fda command file-wildcard&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
does a &#039;file do all&#039; of the command on all the given wildcard filenames.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe xxxx | search sys$pipe &amp;quot;patient&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
is the pipe command in VMS.&lt;br /&gt;
&lt;br /&gt;
So all three combined:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe fda ctheader dk0:[microct.data...]*.rsq | search sys$pipe &amp;quot;patient name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or any other field you want to search for! &lt;br /&gt;
&lt;br /&gt;
If you have a more complex program to run (e.g. with an argument), use the double quotes as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pipe fda &amp;quot;aix -l&amp;quot; *.AIM | search sys$pipe &amp;quot;Patient Name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other ideas&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ write_info&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives you a file &amp;lt;code&amp;gt;sys$scratch:info.txt&amp;lt;/code&amp;gt; with info in it (leave defaults to get all samples ever scanned, otherwise &#039;zoom&#039; in on some samples.)&lt;br /&gt;
&lt;br /&gt;
Check out the &amp;lt;code&amp;gt;search&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help search&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and &amp;lt;code&amp;gt;/match=and&amp;lt;/code&amp;gt;&lt;br /&gt;
or &amp;lt;code&amp;gt;/match=or&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Backup====&lt;br /&gt;
In the commands directory (com) is a BACKUPDISK script which will automatically generate scripts to backup all the directories on the projects disk.  &lt;br /&gt;
*As the backup requires significant amounts of space, please check the server disk space before starting the backup. &lt;br /&gt;
*Each directory is saved as a separate save set (an OpenVMS file type similar to a zip file) on Winston://Bonelab/Backup/.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUPDISK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_disk_backup.pdf|&#039;&#039;&#039;Disk Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_disk_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Process, Printer and System=&lt;br /&gt;
&lt;br /&gt;
==Processes and Jobs==&lt;br /&gt;
&lt;br /&gt;
===Manage jobs in the queue===&lt;br /&gt;
Use the DELETE/ENTRY and SET ENTRY commands to manage a batch job.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SH QUE                                        !Get process info&lt;br /&gt;
$ SH QUE /all/by_job_status=executing           !Get all executing process info&lt;br /&gt;
$ SHOW ENTRY 1131 /full                         !Get full process info of entry 1131&lt;br /&gt;
$ SE 1311                                       !Get full process info of entry 1131&lt;br /&gt;
&lt;br /&gt;
$ DELETE /ENTRY=251                             !Deletes batch job number 251.&lt;br /&gt;
&lt;br /&gt;
$ SET ENTRY 251/PRIORITY=50                     !Changes the priority of batch job number 251. &lt;br /&gt;
                                                !Default priority is 100 for all jobs, max is 200.&lt;br /&gt;
$ SET ENTRY 251/REQUEUE=SCEVAL_FAST             !Moves to queue sceval_fast. &lt;br /&gt;
                                                !The job cannot be executing to do this, has to be in pending status.&lt;br /&gt;
$ SET ENTRY 251/AFTER=TOMORROW                  !Holds entry 251 until the following day (midnight).&lt;br /&gt;
&lt;br /&gt;
$ HELP SET ENTRY                                !More information on the SET ENTRY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Control processors # on multi-processor machines===&lt;br /&gt;
&lt;br /&gt;
For example, on the itanium there are two processors.  By default, only one takes reconstruction jobs.  The other is left for so that evaluations can take place without competing for the CPU. &lt;br /&gt;
&lt;br /&gt;
But if a bottleneck is the reconstruction, it can be switched as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set que sceva2_slow/job=2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so that it will do two reconstruction jobs simultaneously.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create a new queue===&lt;br /&gt;
This may be useful to separate jobs for a project.  The following will create a queue called BUIE$FAST, which will submit jobs to SCEVAL_FAST and SC3309_FAST.&lt;br /&gt;
&lt;br /&gt;
 $ initialize/queue/GENERIC=(SCEVAL_FAST,SC3309_FAST)/OWNER=[SYSTEM] -&lt;br /&gt;
   /PROTECTION=(S:M,O:D,G:R,W:S)/BATCH/START BUIE$FAST&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Clear out all entries in a queue===&lt;br /&gt;
First create a dummy queue, then merge (i.e., move) all the entries from the queue to be cleared into it, then delete the dummy queue.&lt;br /&gt;
&lt;br /&gt;
Example:  Clear out the printer queue.&lt;br /&gt;
 $ stop/reset printer1&lt;br /&gt;
 $ initialize/que dummy&lt;br /&gt;
 $ assign/merge dummy printer1&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
 &lt;br /&gt;
Example:  Clear out a batch queue, e.g., sys$fast.&lt;br /&gt;
 $ initialize/que/batch dummy&lt;br /&gt;
 $ assign/merge dummy sys$fast&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart queues===&lt;br /&gt;
There are three methods.  First the nice method.&lt;br /&gt;
&lt;br /&gt;
1. As for the printer queue, a normal user can stop and start other queues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/reset sceval_slow&lt;br /&gt;
$ start sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This kills the current process running.  If you want to let the current process complete before stopping the queue, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use the web browser Mozilla.&lt;br /&gt;
&lt;br /&gt;
:*Open mozilla&lt;br /&gt;
:*&#039;batch queues&#039;&lt;br /&gt;
&lt;br /&gt;
:*Resize the window so it occupies the right half of the screen&lt;br /&gt;
&lt;br /&gt;
:*Click on &#039;delete job&#039; once with the MIDDLE mouse button, this will open a new window on the right half of the screen. Ensure the two windows do not overlap, if they do resize the window which contains the batch queues list. Once window locations are correct MIDDLE click on the rest of the jobs which you wish to delete (click on &#039;Delete Job&#039; in the batch queue list). The reason for locating the widows is because each successive click on &#039;Delete Job&#039; will open a new window and you don&#039;t want it to cover the batch queues list.&lt;br /&gt;
&lt;br /&gt;
:*Then Exit from mozilla, this will delete all the open windows, it may take a bit if you are deleting lots.&lt;br /&gt;
&lt;br /&gt;
3. Now the harsh method.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Completely remove the queue and re-generate, as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset sc3309_slow&lt;br /&gt;
$ delete/queue sc3309_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you must restart the queue.  To learn how to do this refer to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eve sys$startup:dcps_hpljet_ip.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Kill hunging processes===&lt;br /&gt;
&lt;br /&gt;
Sometimes jobs need to be stopped manually, such as when FTP or TCPIP is hung. This is done as follows:&lt;br /&gt;
&lt;br /&gt;
Checked processes with  &lt;br /&gt;
  $ show sys&lt;br /&gt;
where the FTP jobs are running. Doing it as &amp;lt;b&amp;gt;system&amp;lt;/b&amp;gt; with these commands would show all the FTP jobs on all nodes:&lt;br /&gt;
  $ mcr sysman&lt;br /&gt;
  SYSMAN&amp;gt; set env /cluster&lt;br /&gt;
  SYSMAN&amp;gt; do pipe sh sys|sear sys$pipe ftpc&lt;br /&gt;
It showed that they all were running on SCEVA1 only. So I logged in there and using the IDs given at the list from above&#039;s command:&lt;br /&gt;
  $ stop/id=29804056&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Check CPU usage and kill a process===&lt;br /&gt;
Determine what process is using all the CPU (e.g., SYMBIONT, a print process) using the monitor command, then use the show system command to determin the Pid, which can be used to stop the process.&lt;br /&gt;
&lt;br /&gt;
The print (SYMBIONT) process is known to consume excessive CPU when the clocks are advanced for daylight savings on the alpha systems.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor process/topcpu&lt;br /&gt;
$ show system&lt;br /&gt;
OpenVMS V7.3-2 on node SCEVAL 6-APR-2009 12:42:22.82 Uptime 124 23:16:08&lt;br /&gt;
Pid      Process Name     State  Pri  I/O         CPU         Page flts Pages&lt;br /&gt;
20C00081 SWAPPER          HIB    16   0      0 01:07:05.63     0         0&lt;br /&gt;
20C00087 CLUSTER_SERVER   HIB    14   2218   0 00:00:00.54    63        77&lt;br /&gt;
20C00088 CONFIGURE        HIB    10   23     0 00:00:00.02    54        20&lt;br /&gt;
20C00089 LANACP           HIBO   13   -- swapped out --                 32&lt;br /&gt;
20C0008B FASTPATH_SERVER  HIB    10   9      0 00:00:00.01    79        94&lt;br /&gt;
20C0008C IPCACP           HIB    10   10     0 00:00:00.02    37        28&lt;br /&gt;
$ show process/all/id=Pid&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ stop/id=Pid&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Process Name = BATCH_122  means entry 122 in the queue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Printer==&lt;br /&gt;
&lt;br /&gt;
===Set up TCPIP printer queue on a VMS workstation===&lt;br /&gt;
  $ stop/que/res hpljet&lt;br /&gt;
  $ tcpip set nohost hpljet&lt;br /&gt;
  $ tcpip set host &amp;quot;hpljet&amp;quot; /address= xxx.xxx.xxx.xxx&lt;br /&gt;
  $ start hpljet&lt;br /&gt;
&lt;br /&gt;
Note that many HP printers will not work with OpenVMS. Checking for compatibility is important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart the printer queue===&lt;br /&gt;
&lt;br /&gt;
How to fix the printer queue when hung, not working or giving an error.&lt;br /&gt;
A full printer queue can seriously affect system performance.  &lt;br /&gt;
Be sure that the queue is cleaned up from time to time.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to first find out the real name of your printer queue. &lt;br /&gt;
* Replace &amp;quot;hpljet&amp;quot; and &amp;quot;...dcps_hpljet...&amp;quot; by your own queue (i.e., PRINTER1 for XtremeCT) name below. &lt;br /&gt;
* First approach, as normal user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset hpljet&lt;br /&gt;
$ start/queue hpljet&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to release a job&lt;br /&gt;
  $ set entry/release 123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==System==&lt;br /&gt;
&lt;br /&gt;
===Monitor System===&lt;br /&gt;
====Monitor system usage====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor/interval=1 processes/topcpu&lt;br /&gt;
$ monitor/interval=1 system&lt;br /&gt;
$ show error&lt;br /&gt;
$ show system&lt;br /&gt;
$ @SCOM:SHOW_DISKS.COM (or simply $ DISKS)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;show error&amp;lt;/code&amp;gt; may indicate errors.  One or two errors is OK.&lt;br /&gt;
&lt;br /&gt;
To see what processes are running (specific to the machine, not cluster wide).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device disk2/file&lt;br /&gt;
$ show user /full&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of OpenVMS system====&lt;br /&gt;
&lt;br /&gt;
If when rebooting a VMS system there is a failure, sometimes a message can be repeated many times. The way to stop this repeating message is to press &amp;lt;code&amp;gt;ctrl-C&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ctrl-P&amp;lt;/code&amp;gt; to get to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
&lt;br /&gt;
Then show some of the device information, either specifically&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device py*&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device dy*&lt;br /&gt;
&lt;br /&gt;
or in general&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
&lt;br /&gt;
which might show more than needed. The output of&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show bootdef_dev&lt;br /&gt;
&lt;br /&gt;
can also be useful.&lt;br /&gt;
&lt;br /&gt;
Once settings are all good, you can reboot the system with&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set bootbios pyb0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disk status====&lt;br /&gt;
Login as the system user on the workstation connected to the disk array that you want to check.&lt;br /&gt;
&lt;br /&gt;
 $ run sys$system:msa$util.exe&lt;br /&gt;
 MSA&amp;gt; set controller&lt;br /&gt;
&lt;br /&gt;
Show the raid volumes (e.g., to check if it failed or is recovering).&lt;br /&gt;
 MSA&amp;gt; show unit&lt;br /&gt;
&lt;br /&gt;
Locate disks associated with a raid volume (e.g., unit0).&lt;br /&gt;
 MSA&amp;gt; locate unit0&lt;br /&gt;
&lt;br /&gt;
Accept a failed unit (e.g., unit0) - only for itanium workstations, which use a newer version of OpenVMS.&lt;br /&gt;
 MSA&amp;gt; accept unit0&lt;br /&gt;
&lt;br /&gt;
Show disk information.&lt;br /&gt;
 MSA&amp;gt; show disks&lt;br /&gt;
&lt;br /&gt;
Get information on MSA utility functions.&lt;br /&gt;
 MSA&amp;gt; help&lt;br /&gt;
&lt;br /&gt;
Exit the MSA utility.&lt;br /&gt;
 MSA&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of disk array====&lt;br /&gt;
To look at the disks in an MSA30 tower:&lt;br /&gt;
There are several options to check the status of the disks. One is, if it is installed, to use the command-line utility&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr msa$util&amp;lt;/pre&amp;gt;&lt;br /&gt;
as &amp;quot;system&amp;quot;. Enter&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
MSA&amp;gt; set controller&lt;br /&gt;
MSA&amp;gt; show unit&lt;br /&gt;
MSA&amp;gt; show disks&lt;br /&gt;
MSA&amp;gt; exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another is to start the WBEM web interface, which shows the status of the hardware graphically.&lt;br /&gt;
&lt;br /&gt;
It is possible to fix a disk array that hasn&#039;t booted by doing the following:&lt;br /&gt;
&lt;br /&gt;
  At the login prompt, type &#039;shutdown&#039;. This will get you to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
There should be a RAID card, for example on Percy, named &amp;lt;code&amp;gt;pya0&amp;lt;/code&amp;gt;. Try:&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action halt&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; run bios pya0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action restart&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disks status in enclosure====&lt;br /&gt;
&lt;br /&gt;
Periodically connect to http://10.148.64.254/ (user name: manage, password same as system password) and check if there are any errors or warnings, like failed disks. You can easily see which disk has failed in the graphical view of &amp;quot;Physical&amp;quot; -&amp;gt; &amp;quot;Enclosure X&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Consider not all web browsers allow connection to this rather old web server. Firefox and Mozilla on the workstations do work fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover System===&lt;br /&gt;
====Consistently needs warm-up scanner - Shutter-failsave-Job====&lt;br /&gt;
&lt;br /&gt;
If the scanner is consistently needing to warm-up on consecutive days, and was not powered off, this is likely due to the Shutter-failsave-Job disappearing from the 3309-Batch queue (for XT1). The job must be re-submitted. &lt;br /&gt;
&lt;br /&gt;
The executing file is located in the CALIB3309 ($ um:submit_shutter_test.com) and the command to submit the job is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/after=&amp;quot;tomorrow&amp;quot;/noprint/que=uct_measurement_queue um:submit_shutter_test.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check the status by typing: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show que *3309_batch*/all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This job tends to disappear now and then, perhaps because of an abrupt shutdown of the workstation or maybe when stop/pause/re-start the queue. Contact Scanco if this does not resolve.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk not mounted/unavailable, directory not found, volume not enabled====&lt;br /&gt;
Disk is not mounted or is unavailable.  Error opening ...., directory not found, volume is not software enabled.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
%DIRECT-E-OPENIN, error opening DISK4:[MICROCT.PROJECTS]*.*;* as input&lt;br /&gt;
-RMS-E-DNF, directory not found&lt;br /&gt;
-SYSTEM-F-VOLINV, volume is not software enabled&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen if communication is broken between workstations, causing the disk mount to time out.  Check if this is by showing the devices, then dismount and remount the disk.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev&lt;br /&gt;
&lt;br /&gt;
Device                  Device           Error    Volume         Free  Trans Mnt&lt;br /&gt;
 Name                   Status           Count     Label         Space Count Cnt&lt;br /&gt;
SC3309$DKA100:          Online               0&lt;br /&gt;
SC3309$DKD0:            Mounted              0  ALPHASYS        3.18GB   642   2&lt;br /&gt;
SC3309$DKD1:            Mounted              0  AUSER_01       42.84GB     4   2&lt;br /&gt;
SC3309$DKD2:            Mounted              0  ADATA_01      173.00GB     4   2&lt;br /&gt;
SC3309$DKD3:            Mounted              0  ADATA_02A     215.80GB     1   2&lt;br /&gt;
SC3309$DKD4:            Mounted              0  ADATA_02B     215.85GB     1   2&lt;br /&gt;
SC3309$DKD5:            Mounted              0  ADATA_02C     215.81GB     1   2&lt;br /&gt;
SC3309$DQA0:            Online               0&lt;br /&gt;
SC3309$DQA1:            Offline              1&lt;br /&gt;
SC3309$DQB0:            Offline              1&lt;br /&gt;
SC3309$DQB1:            Offline              1&lt;br /&gt;
SCEVAL$DKA0:            Online               0&lt;br /&gt;
SCEVAL$DKA1500:         Mounted              0  (remote mount)                 1&lt;br /&gt;
SCEVAL$DKC0: MntVerifyTimeout 0 ADATA_03A 541.62GB 1 2 &lt;br /&gt;
SCEVAL$DKC1: MntVerifyTimeout 0 ADATA_03B 541.38GB 1 2 &lt;br /&gt;
SCEVAL$DKC2: MntVerifyTimeout 0 ADATA_03C 541.60GB 1 2 &lt;br /&gt;
SCEVAL$DQA0:            Online               0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set host 0&lt;br /&gt;
system&lt;br /&gt;
&lt;br /&gt;
$ dismount SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC0: ADATA_03A&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03A mounted on _SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC1: ADATA_03B&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03B mounted on _SCEVAL$DKC1:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC2: ADATA_03C&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03C mounted on _SCEVAL$DKC2:&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this does not restore the disk, then shutdown the computer.  At the blue screen...&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; init&amp;lt;/code&amp;gt;&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; run bios pya0&amp;lt;/code&amp;gt;&lt;br /&gt;
Press F2 at the prompt to accept potential data loss.&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Press power button to turn off.&lt;br /&gt;
Press power button to turn on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Kill hanging program====&lt;br /&gt;
&lt;br /&gt;
If a program is hunging, it may not be necessary to shut down the system and restart. For example, if the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
program is hung, do the following&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev/full microct_scsi&lt;br /&gt;
&lt;br /&gt;
$ stop/id=&amp;lt;Owner process ID&amp;gt; (Replace the &amp;lt;&amp;gt; with the actual ID)&lt;br /&gt;
&lt;br /&gt;
for example: &lt;br /&gt;
&lt;br /&gt;
$ stop/id=2280091C &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reset the display/GUI====&lt;br /&gt;
These commands will terminate the current login session and may restore a frozen or messed up screen.  You will need to remotely access the problem workstation either from another micro-ct workstation or using a personal computer.&lt;br /&gt;
&lt;br /&gt;
Use the set host command to connect to the problem workstation (e.g., thomas) using the node name (e.g., sc3309) or the IP address (e.g., thomas.kin.ucalgary.ca). &lt;br /&gt;
&lt;br /&gt;
$ set host sc3309&lt;br /&gt;
login:  system&lt;br /&gt;
password: &lt;br /&gt;
&lt;br /&gt;
Issue the reset display command.&lt;br /&gt;
$ @sys$startup:decw$startup restart&lt;br /&gt;
&lt;br /&gt;
At the prompt, type &amp;quot;y&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart screen server====&lt;br /&gt;
&lt;br /&gt;
If the monitor fails to show the login prompt and displays a blank gray screen...telnet to the computer from another computer (e.g. a PC or so) and login as user system. Run the restart command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set host gordon.ucalgary.ca.    [or other computer name]&lt;br /&gt;
$username: system&lt;br /&gt;
$password: [system password]&lt;br /&gt;
$@sys$startup:decw$startup restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
confirm (answer &amp;quot;yes&amp;quot; at the prompt) and logout.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$y&lt;br /&gt;
$logout&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will kill all programs on your screen, but it will leave all batch jobs running, so if you do a BATCH measurement, this will survive! (but interactive scan will be killed).&lt;br /&gt;
&lt;br /&gt;
If you are restarting a monitor connected to a KVM box, unplug and re-plug in the box.&lt;br /&gt;
&lt;br /&gt;
This command also helps when the mouse/keyboard freezes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart Alpha stations====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Do not do this unless absolutely necessary.&lt;br /&gt;
&lt;br /&gt;
For shutdown&lt;br /&gt;
&lt;br /&gt;
At the login screen, type &amp;quot;shutdown&amp;quot;/no password and hit enter. &lt;br /&gt;
Then, you can turn the computer off at the prompt.&lt;br /&gt;
&lt;br /&gt;
Then, you may turn the disk array off (unplug it as there is no power switch).&lt;br /&gt;
&lt;br /&gt;
After you move the computer, power on the disk array and then the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow/non-responsive computer====&lt;br /&gt;
&lt;br /&gt;
This is usually caused by people logging in via SSH multiple times.  The solution involves resetting the SSH/TCPIP daemon.&lt;br /&gt;
&lt;br /&gt;
:*If you are local at the computer:&lt;br /&gt;
&lt;br /&gt;
You will need to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;.  ONLY EXPERIENCED USERS SHOULD EVER LOG IN AS SYSTEM!&lt;br /&gt;
&lt;br /&gt;
The system will be extremely slow (it will take 5 minutes just to get a log in prompt).  This is expected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_shutdown    ! shutdown SSH&lt;br /&gt;
$&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_startup     ! restart SSH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can reboot the system to reset the SSH.  This is not an appropriate solution and it is solving the problem by hitting it with a jack hammer.  Sometimes it is the only choice though.&lt;br /&gt;
&lt;br /&gt;
:*If you are remotely logged in:&lt;br /&gt;
&lt;br /&gt;
You will have to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; and run a script called STOP_START_TCPIP.COM.  &lt;br /&gt;
&lt;br /&gt;
This works essentially the same as for the above method, except that since it would be impossible to restart SSH remotely once it is shut down, two separate scripts are called and submitted on SCEVAL_FAST (make sure the queue isn&#039;t clogged) separated by a 1 minute delay. The first script called is STOP_TCPIP.COM and the second is START_TCPIP.COM.&lt;br /&gt;
&lt;br /&gt;
To execute this process, you must log in as system, go to the SYS$SCRATCH directory, and interactively execute the script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @STOP_START_TCPIP.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Shutdown a workstation remotely====&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard power off.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Remote shutdown from another micro-ct workstation&#039;&#039;&#039;.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 user:  system&lt;br /&gt;
 password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
 $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
 SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
 SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
*You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2. Remote shutdown from a personal computer&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
 &lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
 $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming). &lt;br /&gt;
 &lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
 $ shutdown&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow computers - Change RAID battery for Itanium computers====&lt;br /&gt;
&lt;br /&gt;
If computers become sluggish, particularly when saving data after a scan, have Scanco check the batteries in the RAID drive. The batteries in SCEVA3 were changed 2014-11-10. There are two batteries. Order the HP brand (should look like the ones in the image).&lt;br /&gt;
*Instructions to open the Itanium work station and access the PCI card: [[Media:HP_rx2660_PCI_card.pdf |&#039;&#039;&#039;Change PCI card&#039;&#039;&#039;]].&lt;br /&gt;
*Instructions to change the batteries after accessing the PCI card: [[Media:HP_SA6402_Batteries.pdf |&#039;&#039;&#039;Change batteries&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Frozen computer - &amp;quot;bootstrap failure&amp;quot; on boot up==== &lt;br /&gt;
The micro-CT computer is frozen or there is a &amp;quot;bootstrap failure&amp;quot; on boot up, This happens to the client computers (those connected to the scanners) when there is interruption in the network.  The only option is to restart the computer.&lt;br /&gt;
&lt;br /&gt;
====Crash of XtremeCT II workstation computer====&lt;br /&gt;
&lt;br /&gt;
For a non-responsive monitor and/or a mouse and/or a keyboard of the XtremeCT II workstation (sometimes caused by a lost of connection to server, or an internet outage):&lt;br /&gt;
&lt;br /&gt;
:*1. The first thing to do is to check system logs for any indication of the cause of the issue, if you have the &amp;quot;Administrator&amp;quot; user privilege.&lt;br /&gt;
:*2. The next thing to do is to soft-reboot by remote-login and using command line to reboot the workstation, if you have the &amp;quot;system&amp;quot; user privilege.&lt;br /&gt;
:*3. If no success, try hard-reboot by pressing the power button as indicated below.&lt;br /&gt;
:*4. If no success, try hard-reboot by unplugging both power cords as indicated below.&lt;br /&gt;
:*5. If still no success, contact Scanco immediately.&lt;br /&gt;
:*6. The last thing to do is to record the issue and any possible reasons.&lt;br /&gt;
&lt;br /&gt;
1.  Checking system logs:&lt;br /&gt;
 &lt;br /&gt;
:*1) Remotely log into the iLO (the management console of the workstation) using SSH as user &amp;quot;Administrator&amp;quot; with the system password. &lt;br /&gt;
Both user/pw are case sensitive. For XtremeCT II workstation (James) it is SSH to 10.148.64.231. For others, consult the network diagram. &lt;br /&gt;
&lt;br /&gt;
A trick: This connection only succeeds through a MAC or PC (via putty) direct login, not through an OpenVMS or Scanco system.&lt;br /&gt;
   $ ssh -l Administrator 10.148.64.231&lt;br /&gt;
:*2) Then you get to a   MP&amp;gt;   prompt here:&lt;br /&gt;
&lt;br /&gt;
   MP MAIN MENU:&lt;br /&gt;
         CO: Console&lt;br /&gt;
        VFP: Virtual Front Panel&lt;br /&gt;
         CM: Command Menu&lt;br /&gt;
         CL: Console Log&lt;br /&gt;
         SL: Show Event Logs&lt;br /&gt;
         HE: Main Help Menu&lt;br /&gt;
          X: Exit Connection&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*3) Type in &#039;SL&#039; to show event logs, then you could choose &#039;E&#039; for system event:&lt;br /&gt;
&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt; SL&lt;br /&gt;
     Event Log Viewer Menu:&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
   F - Forward Progress     20000      100 %        13 Sep 2018 11:17:43&lt;br /&gt;
   I - iLO Event              500      100 %        18 Sep 2018 07:46:42&lt;br /&gt;
   C - Clear SEL and FPL&lt;br /&gt;
   L - Live Events&lt;br /&gt;
&lt;br /&gt;
   Enter menu item or [Ctrl-B] to Quit: E&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
     Event Log Navigation Help:&lt;br /&gt;
   +       View next block     (forward in time,  e.g. from 3 to 4)&lt;br /&gt;
   -       View previous block (backward in time, e.g. from 3 to 2)&lt;br /&gt;
   &amp;lt;CR&amp;gt;    Continue to the next or previous block&lt;br /&gt;
   D       Dump the entire log&lt;br /&gt;
   F       First entry&lt;br /&gt;
   L       Last entry&lt;br /&gt;
   J       Jump to entry number&lt;br /&gt;
   H       View mode configuration - Hex&lt;br /&gt;
   K       View mode configuration - Keyword&lt;br /&gt;
   T       View mode configuration - Text&lt;br /&gt;
   A       Alert Level Filter options&lt;br /&gt;
   U       Alert Level Unfiltered&lt;br /&gt;
   ?       Display this Help menu&lt;br /&gt;
   Q       Quit and return to the Event Log Viewer Menu&lt;br /&gt;
   Ctrl-B  Exit command, and return to the MP Main Menu&lt;br /&gt;
&lt;br /&gt;
:*4) From here you can use -  and  +  to go through the log history back and forth. Not all logs do make a lot of sense though, as they are mainly meant for HPE engineers. &lt;br /&gt;
:*5) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*6) Use  MP&amp;gt; co   to get to the console, where you see at what stage the booting process is, in case it does not boot properly.&lt;br /&gt;
:*7) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*8) Use  MP&amp;gt; x   to end the connection.&lt;br /&gt;
&lt;br /&gt;
2. Soft-reboot by remote login:&lt;br /&gt;
&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard-reboot.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
:*2.A) Remote shutdown from another micro-ct workstation.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
   $ set host 0&lt;br /&gt;
   user:  system&lt;br /&gt;
   password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
   $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
   SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
   SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
:*2.B) Remote shutdown from a personal computer.&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
&lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
   $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming).  &lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
   $ shutdown&lt;br /&gt;
&lt;br /&gt;
3. Hard-reboot by power button:&lt;br /&gt;
&lt;br /&gt;
:*1) Hold the power button until it turns yellow.&lt;br /&gt;
:*2) Wait a minutes or two, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly. &lt;br /&gt;
  &lt;br /&gt;
4. Hard-reboot by unplugging both power cords:&lt;br /&gt;
&lt;br /&gt;
:*1) Hard-reboot by unplugging both the power cords. This will reset the console and controllers.&lt;br /&gt;
:*2) Wait for 5~10 minutes, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
==For Scanco support==&lt;br /&gt;
===Send a terminal to a remote computer===&lt;br /&gt;
&lt;br /&gt;
To send a terminal from XCT clusters to Scanco for maintenance, you need to know the ip address for the terminal location.&lt;br /&gt;
Such as For Mark Blanchard:&lt;br /&gt;
&lt;br /&gt;
  $ set display/create/transport=tcpip/node=193.72.60.24&lt;br /&gt;
  $ create/terminal/detach&lt;br /&gt;
&lt;br /&gt;
The cursor will disappear for a minute or so, and reappear with the $ prompt indicating sent already.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Access VMS filesystem==&lt;br /&gt;
===Access XtremeCT VMS filesystem on a Mac===&lt;br /&gt;
&lt;br /&gt;
In finder, select Go --&amp;gt; Connect to Server &lt;br /&gt;
&lt;br /&gt;
This opens up a window that allows you to enter a server address. Enter the following information: &lt;br /&gt;
&amp;lt;pre&amp;gt;smb://136.159.130.28&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click connect. If the internet connection is working, you will then be prompted to enter in login info:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select the volumes you want to mount.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View XtremeCT VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station (i.e., .130) enter the following IP address for Thomas (SC3309):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.130.28\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.130.28\UCT_DATA1&lt;br /&gt;
or&lt;br /&gt;
\\136.159.130.28\UCT_DATA2&lt;br /&gt;
&lt;br /&gt;
User name: xtremect@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View VivaCT40/uCT35 VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: vct_40&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station enter the following IP address for SCEVAL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.74.140\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.74.140\SB_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\SB_PROJ&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_PROJ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
User name: vct_40@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Map a Network Drive to the VMS filesystem from Windows===&lt;br /&gt;
&lt;br /&gt;
To do this you must be on the same network as the OpenVMS system. For main campus and the XtremeCT, you will map the drive to Thomas (136.159.130.28), the workstation connected to the scanner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on My Computer and choose Map Network Drive... &lt;br /&gt;
&lt;br /&gt;
Folder:  \\136.159.130.28\uct_data1     !FOR THE PROJECTS DISK&lt;br /&gt;
&lt;br /&gt;
         and/or &lt;br /&gt;
&lt;br /&gt;
         \\136.159.130.28\uct_data2     !FOR THE DATA DISK&lt;br /&gt;
&lt;br /&gt;
User name: microct\xtremect&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note:  You must use the numerical IP address and not the host name (i.e. thomas.kin.ucalgary.ca).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Setup remote access FAQ==&lt;br /&gt;
===Access data remotely===&lt;br /&gt;
Refer to [[Media:Scanco-faq-accessing-data-remotely.pdf|&#039;&#039;&#039;Scanco tutorial on accessing your data remotely&#039;&#039;&#039;]] for&lt;br /&gt;
&lt;br /&gt;
*A quick refresher course on accessing files&lt;br /&gt;
**Web browser&lt;br /&gt;
**File sharing&lt;br /&gt;
**File transfer protocol (FTP)&lt;br /&gt;
*Network file system NFS&lt;br /&gt;
*Running Scanco programs remotely&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use Hummingbird Exceed for remote access===&lt;br /&gt;
&lt;br /&gt;
*Screen definition&lt;br /&gt;
:Server visual = PseudoColor&lt;br /&gt;
:Window mode = multiple&lt;br /&gt;
&lt;br /&gt;
*Keyboard input&lt;br /&gt;
:Primary = decemus&lt;br /&gt;
:Alternate = us&lt;br /&gt;
&lt;br /&gt;
*EVE commands&lt;br /&gt;
:select = &amp;quot;end&amp;quot;&lt;br /&gt;
:cut = &amp;quot;delete&amp;quot;&lt;br /&gt;
:paste = &amp;quot;insert&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:move forward a word = CTRL + right_arrow&lt;br /&gt;
:move to start of document = CTRL + up_arrow&lt;br /&gt;
:move to end of document = CTRL + down_arrow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use XWin32 for remote access===&lt;br /&gt;
&lt;br /&gt;
Run XWin32.  Run Putty and connect to sceval.ucalgary.ca.  Use the terminal normally to run programs, which should open with XWin32.  &lt;br /&gt;
&lt;br /&gt;
Additional terminal windows can be opened with &amp;lt;code&amp;gt;$ dec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you try to connect from somewhere other than the university, you will probably get the following error when trying to open a window:&lt;br /&gt;
&lt;br /&gt;
   Xlib: connection to &amp;quot;sceval.ucalgary.ca:10.0&amp;quot; refused by server&lt;br /&gt;
   Xlib: Can not connect to a host on a restricted network&lt;br /&gt;
   X Toolkit Error: Cannot Open Display&lt;br /&gt;
   %DWT-F-DWTABORT, xtoolkit fatal error&lt;br /&gt;
&lt;br /&gt;
Type the following at the command prompt to direct the display:&lt;br /&gt;
&lt;br /&gt;
   $ set display/create/transport=tcpip/node=Your_IP_Address/server=0&lt;br /&gt;
&lt;br /&gt;
You can find your IP address from:   http://www.ip-adress.com/&lt;br /&gt;
&lt;br /&gt;
If you&#039;re running XWin32 from off campus and behind a router, forward ports 6000 - 6010 TCP and 177 UDP to your computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Set up Putty with gold-key access===&lt;br /&gt;
&lt;br /&gt;
Refer [http://bone.wiki/index.php?title=Scanco_User_Instructions#PuTTY_and_Xming &#039;&#039;&#039;PuTTY and Xming&#039;&#039;&#039;] to download putty.&lt;br /&gt;
&lt;br /&gt;
Set &#039;keyboard&#039; to Vt400, and &#039;initial state of numeric keyapad&#039; to &#039;Application&#039;, and now the &#039;NumLock&#039; key is the gold key (like PF1), and the editor can repeat stuff.&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set term/vt100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to enable the editor in the terminal.&lt;br /&gt;
&lt;br /&gt;
And duplication of a line is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
- (which would be PF4) to erase a line, &lt;br /&gt;
then twice &amp;quot;numlock, then -&amp;quot;  (gold-PF4 is &#039;restore line&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===SSH tricks===&lt;br /&gt;
====RSA and DSA Authentication====&lt;br /&gt;
&lt;br /&gt;
The main advantage of setting up RSA authentication is that you will no longer have to type your password each time you access a host with ssh.  There are some technical reasons why RSA and DSA access is more secure than password access.&lt;br /&gt;
&lt;br /&gt;
These instructions work on both Linux and OS-X.  &lt;br /&gt;
&lt;br /&gt;
# Create your public/private key pair on your local computer&lt;br /&gt;
#* At the command prompt type: ssh-keygen -t rsa&lt;br /&gt;
#* You will be asked to create a passphrase.&lt;br /&gt;
#* This will create the files .ssh/id_rsa and .ssh/id_rsa.pub .  Once you have these files, you never have to repeat this step.&lt;br /&gt;
# Copy your public key contents into the .ssh/authorized_keys2 file on the remote server&lt;br /&gt;
#* You can email yourself the file .ssh/id_rsa.pub from the local computer.&lt;br /&gt;
#* Alternatively, you could do this: ssh username@remoteserver.com &#039;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys2&#039; &amp;lt; /Users/Youruser/.ssh/id_rsa.pub&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTES ABOUT KEYS&amp;lt;/u&amp;gt;&lt;br /&gt;
Remember, the &amp;quot;authorized_keys&amp;quot; file is a concatenation of public (id_rsa.pub) keys, &lt;br /&gt;
and the &amp;quot;id_rsa&amp;quot; is the private key.  &lt;br /&gt;
Every user on every computer should only have ONE &amp;quot;id_rsa&amp;quot; file, &lt;br /&gt;
but can have multiple &amp;quot;id_rsa.pub&amp;quot; files concatenated into&lt;br /&gt;
their &amp;quot;authorized_keys&amp;quot; file.&lt;br /&gt;
&lt;br /&gt;
=====SSH Agent=====&lt;br /&gt;
&lt;br /&gt;
SSH-Agent is a tool to store your passphrase so you don&#039;t have type it every time.&lt;br /&gt;
&lt;br /&gt;
On OS-X, it is integrated into the system Keychain - you will be asked once if it should remember your passphrase, and after that you don&#039;t have to worry about it.&lt;br /&gt;
&lt;br /&gt;
Most Linux systems also have ssh-agent configured to start with every session. You may however have to do this once:&lt;br /&gt;
 ssh-add ~/.ssh/ida_rsa&lt;br /&gt;
&lt;br /&gt;
====SSH Tunneling====&lt;br /&gt;
&lt;br /&gt;
This is an alternative to VPN through kinesiology.  It may come in handy if for some reason VPN is not working.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re outside the university system and want to access, for example, svn on mike.kin, which is normally blocked by the university firewall, you can do that with ssh tunneling.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
 ssh eric@mighty-mac.kin.ucalgary.ca -L 2000:mike.kin.ucalgary.ca:443 -N&lt;br /&gt;
&lt;br /&gt;
Here is what is going on:&lt;br /&gt;
* I want to access port 443 (which is https) on mike.kin.ucalgary.ca.&lt;br /&gt;
* I have an account on mighty-mac, so I&#039;m using that server to create an ssh tunnel inside the university firewall.  I could use any machine I had an account on inside the university system, even mike.kin.ucalgary.ca, the one I&#039;m trying to get to (in fact, that would be best, but for purposes of demonstration I&#039;m using a different machine).&lt;br /&gt;
* I&#039;m mapping the local port 2000 to port 443 on mike.  Anything I send to localhost:2000 will by sent by ssh or the ssh tunnel to mighty-mac, which will then send it on to port 443 on mike.&lt;br /&gt;
* 2000 is a random 4-digit port number.  If by some fluke you happen to choose one that is in use, ssh will complain and you will have to try another port number.&lt;br /&gt;
&lt;br /&gt;
Now I can fire up my browser and point it to&lt;br /&gt;
&lt;br /&gt;
 https://localhost:200/trac/&lt;br /&gt;
&lt;br /&gt;
And what I get is the trac site on mike.&lt;br /&gt;
&lt;br /&gt;
If I want to get the code, I can do this:&lt;br /&gt;
&lt;br /&gt;
 svn checkout https://localhost:2000/svn/numerics88/trunk trunk_tunnel&lt;br /&gt;
&lt;br /&gt;
(&amp;quot;trunk_tunnel&amp;quot; is just the directory name where it will end up.  It can be named anything, but this will remind me that it only works when the tunnel is up.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Physical connections==&lt;br /&gt;
===Connect to VMS station with a serial port cable===&lt;br /&gt;
&lt;br /&gt;
To do this, you will need to connect from a PC using a PC-to-PC (NULL modem) serial cable, 9600 baud. Install PuTTY and connect with the &#039;serial&#039; option. You will need to know the COM port that is used by the PC to connect the serial cable. You can do this by checking on the PC the [Hardware][Device] settings.&lt;br /&gt;
&lt;br /&gt;
Typical login is &amp;quot;Admin&amp;quot; and password is usually same as the &#039;system&#039; password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Export VMS display to SUN or LINUX terminal===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# - temple&lt;br /&gt;
$ - sceval&lt;br /&gt;
# xhost +temple.ucalgary.ca&lt;br /&gt;
# ssh -X microct@sceval.ucalgary.ca&lt;br /&gt;
$ set display /create /transport=tcpip /node=temple.ucalgary.ca&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Do not use &amp;lt;code&amp;gt;xhost+&amp;lt;/code&amp;gt;.  Always specific exactly which computer is being&lt;br /&gt;
allowed X access.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Dose=&lt;br /&gt;
&lt;br /&gt;
==Dose Calculations==&lt;br /&gt;
&lt;br /&gt;
===XtremeCT radiation dose===&lt;br /&gt;
Some notes about radiation dose to help decide acceptable scanning protocols.  These comments are based on scanning an adult (not children having significant red marrow at the scan region).&lt;br /&gt;
&lt;br /&gt;
:*The annual dose limit for the hand for an occupational user is 500 mSv (as per the ICRP), and with the x-ray energy of our XtremeCT that translates to 500 mGy local dose per year. For non-occupational subjects, the limit is generally 10x lower (i.e., our volunteers should not have more than 50 mGy local dose per year).&lt;br /&gt;
:*Our scanner delivers a local dose of about 5.3 mGy per scan.  However, if we have adjacent scans, there is some overlap due to the penumbra of the x-ray beam which results in about double the local dose (a conservative guess would be 10 mGy) for a ~1mm overlap region. Averaging over the whole scanned regions (overlap and non-overlap regions) we can say that the average delivered local dose is about 7-8 mGy. The local dose is not additive.  If we&#039;re very conservative, and we take 10 mGy as the local dose, then we could theoretically scan a person 5 times before exceeding the 50 mGy limit based on a tenth of the occupational limit (500 mGy).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===vivaCT CTDI dose===&lt;br /&gt;
====Dose calculation====&lt;br /&gt;
&lt;br /&gt;
Assuming the following settings on the vivaCT for &amp;quot;high mode&amp;quot;, we will calculate the CTDI dose.&lt;br /&gt;
&lt;br /&gt;
 2000 projections (360 degrees)&lt;br /&gt;
 0.109 mA&lt;br /&gt;
 200 ms IT&lt;br /&gt;
&lt;br /&gt;
I calculate the time current value as:&lt;br /&gt;
&lt;br /&gt;
 0.109 mA * (0.200 + 0.012) S * 2000 proj= 46.22 mAs&lt;br /&gt;
&lt;br /&gt;
The 0.012 is the integration time between projections.&lt;br /&gt;
&lt;br /&gt;
Taking the proportion of the 68 mAs at 55 kV resulting in 720 mGy (see the document on example&lt;br /&gt;
dose calculation on this Wiki site), we have:&lt;br /&gt;
&lt;br /&gt;
 46.22 / 68 * 720 = 490 mGy&lt;br /&gt;
&lt;br /&gt;
Since CTDI in air is approximately two times the weighted CTDI, and since our setup is more like in air, we get:&lt;br /&gt;
&lt;br /&gt;
 2 * 490 = 980 mGy per scan.&lt;br /&gt;
&lt;br /&gt;
It&#039;s always a good idea to look at the time-current product in the control file to get an approximate estimate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Dose chart and example====&lt;br /&gt;
*Refer to [[Media:VivaCT dose information-fyi.pdf|&#039;&#039;&#039;VivaCT CTDI Dose Calculation Example&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
We have measured the following CT dose indices (CTDI). &lt;br /&gt;
:*CTDIw:   Weighted CTDI (chart below)&lt;br /&gt;
:*CTDIair: CTDI in air (2 times CTDIw - calculate from chart below).&lt;br /&gt;
&lt;br /&gt;
The detector was placed in the center of a 35 mm PMMA cylinder which was placed in the center of rotation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 70kV  300ms 85uA  Field of view 38.9mm 1000 Proj./180°:   CTDI = 260 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 220 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 190 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 30.7mm 1000 Proj./180°:   CTDI = 420 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 350 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 305 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 21.5mm 1000 Proj./180°:   CTDI = 850 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 720 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 620 mGy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 high res = 1000 Proj./180°&lt;br /&gt;
 medium  = 500 Proj./180°&lt;br /&gt;
 standard  = 250 Proj./180°&lt;br /&gt;
&lt;br /&gt;
The CTDI scales linear with the integration time (s), with the current (uA) and number of projections. If you have different settings there, it is easy to calculate the CTDI.&lt;br /&gt;
&lt;br /&gt;
CTDI Definition:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Integral from +50mm to -50mm of D(z)/NxT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*where D(z) is the dose profile along a line z which is perpendicular to the tomographic plane&lt;br /&gt;
:*N is the number of tomographic sections produced in a single rotation&lt;br /&gt;
:*T is the nominal tomographic section thickness&lt;br /&gt;
&lt;br /&gt;
Example: How to estimate how much radiation would be incurred by a mouse scanned at 25&lt;br /&gt;
um resolution (medium resolution -- MR) at 55 kVp, 109 uA, 150 ms IT, for about 30 minutes?&lt;br /&gt;
&lt;br /&gt;
If you take your settings you can calculate the CTDI.  First thing you have to be aware is that the CTDI is something like the local dose but it takes the cone beam geometry and the not perfect collimation of the x-ray beam into account (The CTDI value is always higher than a local dose measurement with for example TLDs). It does not matter how many stacks you are scanning. The dose you have at one point which is within the volume you are scanning gets the same local dose if you are performing a 1 stack or a 4 stack measurement.&lt;br /&gt;
&lt;br /&gt;
With the 55kVp/109uA HR with 300ms we have a value at the 30.7 mm position of 350 mGy. Because you have MR we can divide the values by a factor of 2; and because you have 150ms instead of 300ms there is an other factor of 2. You would get 87.5 mGy for the position 30.7 mm. Because of the cone beam the dose has a quadratic dependency to the diameter of the field of view. (30.7 mm/25 mm)2 = 1.5. The CTDI value for your settings is in the order of 87.5 mGy * 1.5 = 132 mGy.&lt;br /&gt;
&lt;br /&gt;
Note that for in vivo measurements, we should multiply the result by a factor of two since we are doing the measurement in AIR, not WATER.  The charts above are assuming the CTDI done in water.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Optimize Scan for Low Dose==&lt;br /&gt;
*Refer to [[Media:Scanco-faq-optimization-for-dose.pdf|&#039;&#039;&#039;Optimize Scan Protocols for Low Dose&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7121</id>
		<title>Scanco Administration</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7121"/>
		<updated>2021-04-06T18:06:25Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Fix a wrong scan site code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS=&lt;br /&gt;
&lt;br /&gt;
==OpenVMS References==&lt;br /&gt;
*[[Media:OpenVMS Users Manual.PDF| OpenVMS User Manual]]&lt;br /&gt;
*[[Media:Vmsfaq.pdf| OpenVMS FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Unix related==&lt;br /&gt;
*[[Media:Vms-unix-commands.pdf| OpenVMS Commands with UNIX equivalents]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix filenames on VMS with multiple &#039;.&#039;===&lt;br /&gt;
&lt;br /&gt;
The directory names would have been cvs-1.11.21.dir on Linux.  However VMS doesn&#039;t allow more than 1 . in the name.  If you enter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set process/parse=extended&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in a terminal you&#039;ll be able to access these files.  You could consider renaming them i.e. cvs-1_11_21.dir.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix command line basics===&lt;br /&gt;
====Twelve Essential Commands====&lt;br /&gt;
&lt;br /&gt;
These are the commands which you have to know in order to be basically functional with a shell (command line).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;&lt;br /&gt;
| List directory contents.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -l&amp;lt;/tt&amp;gt; long listing with dates and permissions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -a&amp;lt;/tt&amp;gt; list all, including hidden files (hidden files start with a period)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Change directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt; change to previous directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ~&amp;lt;/tt&amp;gt; change to home directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ..&amp;lt;/tt&amp;gt; change to parent directory&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;pwd&amp;lt;/tt&amp;gt;	&lt;br /&gt;
| Print current (working) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cp&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Copy file(s).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cp -r somedir somedest&amp;lt;/tt&amp;gt; Copy recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mv&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Move (or rename) a file (or directory)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rm&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Delete (remove) a file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -r somedir&amp;lt;/tt&amp;gt; Delete recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -ri somedir&amp;lt;/tt&amp;gt; Delete recursively, but prompt before each removal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -rf somedir&amp;lt;/tt&amp;gt; Delete recursively, never prompt&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mkdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Create directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rmdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Remove (empty) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cat&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Print file contents (to console).&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;less&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Scroll through file contents, one page at a time. SPACEBAR to advance a page, B to go back a page, Q to quit, /pattern to search for pattern&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;man&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Get help on &amp;lt;tt&amp;gt;command&amp;lt;/tt&amp;gt;. (eg. &amp;lt;tt&amp;gt;man ls&amp;lt;/tt&amp;gt; for help on &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;).  You move around in man as you do with less: SPACEBAR is forward a page, and so on.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;exit&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Close shell (i.e. the terminal). If this is your login shell, you will log out.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File names with spaces====&lt;br /&gt;
&lt;br /&gt;
Spaces on the command line separate arguments. Therefore file names containing spaces require special treatment to avoid being interpreted as two separate files. There are a couple of methods. You can use quotes:&lt;br /&gt;
&lt;br /&gt;
 cp &amp;quot;file name with spaces&amp;quot; file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
You can also use the backslash, which indicates that any special significance is to be removed from the following character. Thus a space, instead of being the delimiter for arguments on a command line, is to be interpreted as a regular character.&lt;br /&gt;
&lt;br /&gt;
 cp file\ name\ with\ spaces file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Copying and pasting====&lt;br /&gt;
&lt;br /&gt;
Copying and pasting in a terminal is generally done with the middle mouse button.  Just mark the text you want to copy with the mouse, holding down the left mouse button in the usual way. Then move the cursor (which is different than the mouse pointer - move the cursor with arrow keys typically) to where you want to insert and click the middle mouse button (on a wheel mouse the middle button is the wheel).&lt;br /&gt;
&lt;br /&gt;
Tip: You can double-click to mark a whole work, or triple-click to mark a whole line. Remember - you haven&#039;t only marked it, you&#039;ve put it in the clipboard.&lt;br /&gt;
&lt;br /&gt;
Note: This applies to X11, for example on Linux.  If using OS-X, just use Option-C and Option-V as usual.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Recalling previous commands====&lt;br /&gt;
&lt;br /&gt;
You can scroll though your previous commands (command history) by using the UP and DOWN arrow keys.&lt;br /&gt;
&lt;br /&gt;
A more advanced trick is to use CTRL-R, which is particularly useful when you want to recall a command you used some time ago. Hit CTRL-R and then start typing some fragment of the command you&#039;re searching for. The prompt will automatically update to show you the most recent match to the fragment you&#039;ve typed so far. If you want the matching command previous to the one shown, hit CTRL-R again. Once you&#039;ve got the previous command you&#039;re looking for, hit ENTER to run it again, or start editing it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Be lazy: use TAB to minimize typing====&lt;br /&gt;
&lt;br /&gt;
Some commands and especially some file names can be pretty long. Don&#039;t want to type it all? Type the first few letters, then hit TAB. The shell will fill in the rest, as far as there is a unique completion (either command or filename). If there is not a unique completion to the end, you might have to type another character or two and then hit TAB again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Keyboard Shortcuts====&lt;br /&gt;
&lt;br /&gt;
Here are some common command line keyboard shortcuts.  Some of these are bash-specific shortcuts, so not all of them will work on all systems.&lt;br /&gt;
&lt;br /&gt;
Note: If you&#039;re using OS-X, a number of the editing shortcuts below work in ALL programs in OS-X.  (With the sad exception of Microsoft Office, which overrides the system-wide key bindings.)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Common editing key bindings&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-A&amp;lt;/tt&amp;gt; || Move to the end of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-E&amp;lt;/tt&amp;gt; || Move to the beginning of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-F&amp;lt;/tt&amp;gt; || Move forward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-B&amp;lt;/tt&amp;gt; || Move backward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-F&amp;lt;/tt&amp;gt; || Move forward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-B&amp;lt;/tt&amp;gt; || Move backward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || Delete one character forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-H&amp;lt;/tt&amp;gt; || Delete one character backward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-D&amp;lt;/tt&amp;gt; || Delete one word forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-W&amp;lt;/tt&amp;gt; || Delete one word backwards.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-K&amp;lt;/tt&amp;gt; || Delete (Kill) everything from the cursor forwards (to the end of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-U&amp;lt;/tt&amp;gt; || Delete everything from the cursor backwards (to the beginning of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-T&amp;lt;/tt&amp;gt; || Transpose two characters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-T&amp;lt;/tt&amp;gt; ||	Transpose two words.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ESC .&amp;lt;/tt&amp;gt; || Insert the last argument (word) from the previous command.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-X-X&amp;lt;/tt&amp;gt; || Move between end of line and current cursor position&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 2. Common control key bindings&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; || Terminate the current program, or sometimes cancel some operation.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-\&amp;lt;/tt&amp;gt; || Seriously kill the current program! Use only after &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; has failed.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || End-of-file. This is often used to signal the end of input, or to exit a program.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-G&amp;lt;/tt&amp;gt; || Cancel the current operation. An occasionally useful command to get yourself out of things.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-L&amp;lt;/tt&amp;gt; || Redraw the console. Mostly useful if some program running in the background spews a lot of stuff onto your terminal.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Q&amp;lt;/tt&amp;gt; || The only time you need this is if you accidently hit &amp;lt;tt&amp;gt;CTRL-S&amp;lt;/tt&amp;gt;. In that case the console is locked until you hit CTRL-Q to unlock it. Apparently once a long long time ago this was actually a useful feature.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; || Recall command containing characters. After hitting &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt;, type the fragment you want to search for. If it returns a command which isn&#039;t the one one want, hit &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; again to cycle through matches.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Z&amp;lt;/tt&amp;gt; || Suspend the current program and put it in the background. This is very useful once you figure out how it works. Refer to the section on putting jobs in the background.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Using scp to copy files between computers====&lt;br /&gt;
&lt;br /&gt;
scp is a secure copy command that works bewteen computers.  Typically any computer that supports ssh also supports scp.  You must have an actual user account on the target computer, so for example you typically won&#039;t be able to scp to mike.kin .&lt;br /&gt;
&lt;br /&gt;
scp works just like the cp command, with a few extra decorations:&lt;br /&gt;
&lt;br /&gt;
 scp eric@mighty-mac.kin.ucalgary.ca:Documents/important_file.txt .&lt;br /&gt;
&lt;br /&gt;
In this example the file I want to copy is on the computer mighty-mac.kin.ucalgary.ca, and I used eric@ to specify my user name.  You can leave off the user name if it is the same on both computers.  The period as the destination is just standard Unix short-hand for the current directory.  You can use the -r flag to copy whole directories.  For example:&lt;br /&gt;
&lt;br /&gt;
 scp -r calculations mighty-mac.kin.ucalgary.ca:Documents/Projects&lt;br /&gt;
&lt;br /&gt;
In this example calculations is a directory containing many files, and possibly subdirectories.  This example copies files to mighty-mac instead of from it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Running long calculations====&lt;br /&gt;
&lt;br /&gt;
Here are some useful tips for running long jobs.&lt;br /&gt;
&lt;br /&gt;
=====Getting the prompt back after starting a job=====&lt;br /&gt;
&lt;br /&gt;
Use &amp;amp; at the end of the command. This puts the job in the background. For example:&lt;br /&gt;
&lt;br /&gt;
 ./myjob someargs &amp;amp;&lt;br /&gt;
&lt;br /&gt;
To see all your background jobs (the ones started in the current shell), enter:&lt;br /&gt;
&lt;br /&gt;
 jobs&lt;br /&gt;
&lt;br /&gt;
To bring one of these to the foreground, use:&lt;br /&gt;
&lt;br /&gt;
 fg %n&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;n&amp;lt;/tt&amp;gt; is the job number (yes it needs a &amp;lt;tt&amp;gt;%&amp;lt;/tt&amp;gt; in front of it). To move it to the background again, hit CTRL-Z. This however doesn&#039;t just move the job to the background, it suspends it. To get it running again, use&lt;br /&gt;
&lt;br /&gt;
 bg %n&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Keeping a job running after you log out=====&lt;br /&gt;
&lt;br /&gt;
Use nohup. For example, suppose you want to run &amp;lt;tt&amp;gt;./myjob 20&amp;lt;/tt&amp;gt;. In this case, you could use:&lt;br /&gt;
&lt;br /&gt;
 nohup nice ./myjob 20 &amp;amp;&amp;gt; output &amp;amp;&lt;br /&gt;
&lt;br /&gt;
There are several things to note here:&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;tt&amp;gt;&amp;amp;&amp;lt;/tt&amp;gt; at the end of the command line is there so you get the command prompt back immediately (see the previous section).&lt;br /&gt;
* We have redirected the output to a file out_file with &amp;lt;tt&amp;gt;&amp;amp;&amp;gt; output&amp;lt;/tt&amp;gt;. If you don&#039;t do this, any output to STDIN (normally the console) will automatically go into a file called &amp;lt;tt&amp;gt;nohup.out&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* We&#039;ve niced the job to reduce it&#039;s execution priority. This is courteous if you&#039;re a multiuser system. &lt;br /&gt;
&lt;br /&gt;
If you want to see what&#039;s in nohup.out (or whatever you called it) at any time, you can do the usual&lt;br /&gt;
&lt;br /&gt;
 cat nohup.out&lt;br /&gt;
&lt;br /&gt;
Here&#039;s another potentially more useful command:&lt;br /&gt;
&lt;br /&gt;
 tail -f nohup.out&lt;br /&gt;
&lt;br /&gt;
tail shows you the last few lines of the files. In addition, the -f flag (&amp;quot;follow&amp;quot;) means that as lines get added to the file, they are displayed on the screen. This looks just like when you run the program without nohup, except when you hit CTRL-C, the program keeps on running in the background.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Finding out if any of your jobs are still running=====&lt;br /&gt;
&lt;br /&gt;
This command will show all jobs that belong to user &amp;quot;eric&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
Another useful command is &amp;quot;top&amp;quot;, which will show interactively which processes are using the most processor cycles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Terminating a job prematurely=====&lt;br /&gt;
&lt;br /&gt;
If you decide that you want to kill the job before it completes, this is the command:&lt;br /&gt;
&lt;br /&gt;
 kill PID&lt;br /&gt;
&lt;br /&gt;
where PID is the actual PID (a number) of the process.  You find the PID with &#039;top&#039; or &#039;ps -u eric&#039;  (replace eric by your user ID of course).&lt;br /&gt;
&lt;br /&gt;
Occasionally a process will decline to terminate when you request it to.  This is the more brutal, never-fails method to kill a job immediately:&lt;br /&gt;
&lt;br /&gt;
 kill -s KILL PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Suspending a long-running job and restarting it later=====&lt;br /&gt;
&lt;br /&gt;
First find the PID (process ID) with top or with ps. For example, I might list all jobs belonging to me with:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
To stop the job, send it a STOP signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s STOP PID&lt;br /&gt;
&lt;br /&gt;
(replace PID with the actual PID number). It is now no longer running, but it still occupies memory (although the memory it uses will probably be swapped out to disk). When you want to resume execution, give it a CONT signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s CONT PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Graphical Applications==&lt;br /&gt;
&lt;br /&gt;
===Calendar - Fix corruption===&lt;br /&gt;
&lt;br /&gt;
Sometimes the calendar file can be corrupted, which is annoying every time you log onto the system. &lt;br /&gt;
&lt;br /&gt;
When we login to a server through a workstation, there is a &amp;quot;File is not a Calendar Datafile.&amp;quot; information message pops up.&lt;br /&gt;
&lt;br /&gt;
This means that the calendar database got corrupted during an improper interruption such as a system crash due to a power outage.&lt;br /&gt;
&lt;br /&gt;
To fix this, you will need to login to the Server through the Workstation&lt;br /&gt;
&lt;br /&gt;
Once logged in:&lt;br /&gt;
 cd xdefaults&lt;br /&gt;
 dir *calendar*.dat  /date&lt;br /&gt;
&lt;br /&gt;
Delete the calendar file for the workstation, such as the following James workstation:&lt;br /&gt;
 del decw$calendar_sc3401.dat&lt;br /&gt;
&lt;br /&gt;
Once logged out and logged in again, you will be asked if you want to create a new calendar file. &lt;br /&gt;
Say &amp;quot;yes&amp;quot; there and a new calendar will open. &lt;br /&gt;
&lt;br /&gt;
In the calendar window menu &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;general&amp;quot; set the &amp;quot;start iconized&amp;quot; -&amp;gt; apply and &amp;quot;ok&amp;quot;, then &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;save settings&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
So next time you log in, the calendar window will be minimized in the right lower corner.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Session Manager - Create a customized button===&lt;br /&gt;
The session manager part to enable the double-click on the AIM file:&lt;br /&gt;
Session Manager, &#039;Options&#039;, &#039;Menu&#039;, enter new item&lt;br /&gt;
SAP&lt;br /&gt;
with command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@decw$user_defaults:sap$vue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then move that menu point into &#039;Applications&#039; menu.&lt;br /&gt;
Also:&lt;br /&gt;
&#039;Options&#039;, &#039;File types&#039;, Create &#039;AIM&#039; file type.&lt;br /&gt;
Move &#039;rename&#039;, &#039;copy&#039;, &#039;purge&#039; etc. into menu, Select &#039;SAP&#039;, click  on&lt;br /&gt;
&#039;Change double click&#039;, and also move SAP into menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===EVE Editor===&lt;br /&gt;
&lt;br /&gt;
====Launch EVE editor====&lt;br /&gt;
&lt;br /&gt;
On the command line&lt;br /&gt;
  $ edit/display=decwindows/tpu fname.txt&lt;br /&gt;
&lt;br /&gt;
Or to set it up permanently, edit &amp;lt;code&amp;gt;DISK1:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; to include &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Configure EVE editor====&lt;br /&gt;
&lt;br /&gt;
The following file, called &amp;lt;code&amp;gt;tpu.dat&amp;lt;/code&amp;gt;, should be installed in &amp;lt;code&amp;gt;disk1:[microct.xdefaults]:&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# DECTPU V3.1 1993-04-22 15:50 defaults&lt;br /&gt;
# CHANGED B.KOLLER 21-JUN-90&lt;br /&gt;
#&lt;br /&gt;
# Copyright (c) 1993 Digital Equipment Corporation.  All rights reserved.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# The following are all the resource names that DECTPU supports.&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Title:		DECTPU Copyright © Digital Equipment Corporation 1992.  All Rights Reserved.&lt;br /&gt;
Tpu.Tpu$MainWindow.ApplicationTitle:	DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.IconName:		DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.X:			610&lt;br /&gt;
Tpu.Tpu$MainWindow.Y:			0&lt;br /&gt;
#&lt;br /&gt;
# The following resource names are commented out so that users can specify&lt;br /&gt;
# *rows and *columns and have DECTPU obey those directives.  If DECTPU finds&lt;br /&gt;
# finds no resource names governing the number of rows and columns it should&lt;br /&gt;
# have, it uses 24 rows and 80 columns.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Columns:	80&lt;br /&gt;
Tpu.Tpu$MainWindow.Rows:	56&lt;br /&gt;
*EVE_MENU_BAR*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmScrollBar*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmDialogShell*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmMenuShell*background:	#ADADADADADAD&lt;br /&gt;
*background:			white&lt;br /&gt;
Tpu*condensedFont: OFF&lt;br /&gt;
Tpu*fontSetSelection: 0&lt;br /&gt;
&lt;br /&gt;
# 0 = big font&lt;br /&gt;
# 1 = little font&lt;br /&gt;
# 2 = GS font (German Standard)&lt;br /&gt;
# 3 = Fine font (used only for non-latin 1 fonts?)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====EVE editor Commands====&lt;br /&gt;
&lt;br /&gt;
* mark -&amp;gt; ctrl-space&lt;br /&gt;
* delete -&amp;gt; remove (delete)&lt;br /&gt;
* insert -&amp;gt; insert here (insert)&lt;br /&gt;
* learn -&amp;gt; ctrl-k (ctrl-r to stop)&lt;br /&gt;
* The right &#039;alt&#039; key on the PC accesses the menu for EVE.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| copy&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;Remove&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;Insert Here&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt; &amp;lt;code&amp;gt; &amp;lt;ctrl&amp;amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| cut&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;Remove&amp;amp;gt; &amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;delete&amp;amp;gt; &amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt; &amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;#&amp;amp;gt;&amp;amp;lt;(CTRL-Q)&amp;amp;gt; &amp;lt;/code&amp;gt; (the &amp;lt;code&amp;gt;CTRL-Q &amp;lt;/code&amp;gt; depends on the given key sequence).&lt;br /&gt;
|-&lt;br /&gt;
| find next&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter search string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| replace string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;S&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| margins&lt;br /&gt;
| Mouse click bottom of window type: &amp;lt;code&amp;gt;set right 999&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF4&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*To avoid having the EVE editor automatically create multiple lines from a long input sequence set the margins [FORMAT - SET MARGINS] to some high number eg. 500.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use Commands Remotely with XWin32====&lt;br /&gt;
&lt;br /&gt;
Default key settings:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| remove (cut) and append to previous paste buffer&lt;br /&gt;
| &amp;lt;code&amp;gt;9&amp;lt;/code&amp;gt; (nine on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt;&amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;-Q&amp;lt;/code&amp;gt; or given key sequence&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| go to end of line&lt;br /&gt;
| &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; (two on number pad) or &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;E&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;backspace&amp;amp;gt; or &amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;H&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of word&lt;br /&gt;
| &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; (one on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| delete line to left of cursor&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;U&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt; or .&amp;lt;/code&amp;gt; (on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select all text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;O&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off overstrike&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;A&amp;amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| save and exit&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Z&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter command&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may find it useful to define keys. For example, define keys to cut, copy and paste:&lt;br /&gt;
&lt;br /&gt;
*To Cut &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;X&amp;amp;gt;&amp;lt;/code&amp;gt;:    &lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/x cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Copy &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;C&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/c copy&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Paste &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;V&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/v paste&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use terminal based editor (EVE)====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ edit file.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you are using this from a remote terminal, you will need to initiate a vt100 terminal.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set term /vt100&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some useful commands:&lt;br /&gt;
:* ctrl-z -&amp;gt; exit with save&lt;br /&gt;
:* ctrl-y -&amp;gt; kill without saving&lt;br /&gt;
:* do-key, then type &#039;quit&#039; or &#039;exit&#039; (what is the do key on a remote terminal?)&lt;br /&gt;
:* PF2 -&amp;gt; shows special keypad functions&lt;br /&gt;
:* GoldKey -&amp;gt; PF1&lt;br /&gt;
&lt;br /&gt;
====Use EVE editor Remotely====&lt;br /&gt;
For remote sessions, once used $ EVE to start the text editor, press Ctrl-B to bring up a command line at the bottom of the screen.&lt;br /&gt;
&lt;br /&gt;
*Command: @eveconfig&lt;br /&gt;
&lt;br /&gt;
This will set backspace to delete normally.&lt;br /&gt;
*Ctrl-X cut&lt;br /&gt;
*Ctrl-C copy&lt;br /&gt;
*Ctrl-V paste&lt;br /&gt;
*Ctrl-S save file&lt;br /&gt;
*Ctrl-L learn command&lt;br /&gt;
*Ctrl-F find next&lt;br /&gt;
*Ctrl-Q quit&lt;br /&gt;
*Ctrl-O open&lt;br /&gt;
*Ctrl-space to select&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout Views===&lt;br /&gt;
====View scout views in two locations====&lt;br /&gt;
Go to scout view directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT side:&lt;br /&gt;
$ cd DISK1:[MICROCT.DATA.SCOUTS]&lt;br /&gt;
&lt;br /&gt;
VivaCT side:&lt;br /&gt;
$ cd ADISK1:[VIVACT.DATA.SCOUTS]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the program ximage&lt;br /&gt;
&amp;lt;pre&amp;gt;$ x asdf.SCV&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For XtremeCT users, 2 sets of scout views are saved. Scout views can be viewed from the main scouts directory (above) and in the data directory under specific patient and measurement numbers. For example using patient #: 2795 and meas#:9933: &lt;br /&gt;
 $ cd DISK2:[MICROCT.DATA.00002795.00009933]&lt;br /&gt;
 $ x C00008848.SCV&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reuse old scout views====&lt;br /&gt;
Reference SCV files are not overwritten. When you Save a new reference within the scout view Dialog, it writes a new version that is read by the measurement program.&lt;br /&gt;
&lt;br /&gt;
If you want to return to an old scout view reference, you will have to manipulate files manually.&lt;br /&gt;
&lt;br /&gt;
Typically all the scouts are accessible here:&lt;br /&gt;
  DISK1:[MICROCT.DATA.SCOUTS]0000PPPPSS.SCV&lt;br /&gt;
&lt;br /&gt;
PPPP being the patient number, and SS the Site Code number [i.e. 20,21,38,39 = RL, RR, TL, TR].&lt;br /&gt;
&lt;br /&gt;
Assuming you have only version;1 and ;2 what you can do is to rename/delete version;2, so that it is not read anymore by the measurement program.&lt;br /&gt;
Or copy version;1 as version;3, but this is rather messy.&lt;br /&gt;
&lt;br /&gt;
Note: Do not look in the measurement directories. There are copies of the SCV files, but those are not the one called by the measurement program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==File Operations==&lt;br /&gt;
&lt;br /&gt;
===Copy and Move===&lt;br /&gt;
====Copy files between accounts/users====&lt;br /&gt;
&lt;br /&gt;
As user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; you can copy files between accounts (e.g., microct and devel).  There is no need to set user/priv=bypass as this is set by default as user system.&lt;br /&gt;
&lt;br /&gt;
If you want to copy between two users (i.e. normal users, not calibration or system), then you can only write on the user directories for which you are logged in. So, if you want&lt;br /&gt;
to copy files from account xtremect2 to microct, you need to log into microct account and copy the file from xtremect2 to microct&lt;br /&gt;
&lt;br /&gt;
If you want to use the backup command for copying multiple subdirectories with &lt;br /&gt;
the three dots (e.g., &amp;lt;code&amp;gt;disk2:[microct.data.00000034...]&amp;lt;/code&amp;gt;) then you HAVE to put an &amp;lt;code&amp;gt;/owner=devel&amp;lt;/code&amp;gt; at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/log disk2:[microct.data.00000034...] -&lt;br /&gt;
        disk2:[devel.data.00000034...]/own=devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a directory on the same device====&lt;br /&gt;
&lt;br /&gt;
You can simply use the rename command to move a directory on the same device, but you need to set DELETE protection for the file owner for this to work&lt;br /&gt;
 $ set prot=o:rwed &amp;lt;dir&amp;gt;.dir&lt;br /&gt;
 $ ren &amp;lt;dir&amp;gt;.dir new:[parent.directory]&lt;br /&gt;
 $ set prot=o:rwe new:[parent.directory]&amp;lt;dir&amp;gt;.dir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a whole directory structure with BACKUP command====&lt;br /&gt;
&lt;br /&gt;
Sometimes we want to move entire directories. For example, moving a measurement directory from DISK2 to DISK6, or moving a project to another disk. &lt;br /&gt;
&lt;br /&gt;
Here is how to move a project:&lt;br /&gt;
  $ BACKUP DISK2:[MICROCT.PROJECTS...] DISK3:[MICROCT.PROJECTS...]/VERIFY&lt;br /&gt;
&lt;br /&gt;
Note the use of &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; in both places.&lt;br /&gt;
&lt;br /&gt;
If you move a data measurement, you could do it as follows:&lt;br /&gt;
  $ BACKUP DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
In both cases, you can add a &amp;lt;code&amp;gt;/DELETE&amp;lt;/code&amp;gt; command to so that it deletes after the move is completed and verified.&lt;br /&gt;
  $ BACKUP/VERIFY/DELETE DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can simply check that the move was successful, and then delete the original files:&lt;br /&gt;
  $ delete disk2:[microctt.projects...]*.*;*&lt;br /&gt;
  $ dl disk2:[microctt.projects...]*.dir     ! A for all; do until sub-dirs are gone&lt;br /&gt;
&lt;br /&gt;
Note that I&#039;ve misspelled &amp;quot;microctt&amp;quot; on purpose as these commands are VERY dangerous. You could wipe out a lot of data by accident. Be careful!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix corrupted VMS files when moved to or from a PC====&lt;br /&gt;
&lt;br /&gt;
We start by getting good file format/attributes from a good aim/isq/gobj, etc.&lt;br /&gt;
&lt;br /&gt;
  $ ana/rms/fdl/out=correct.fdl good.aim&lt;br /&gt;
&lt;br /&gt;
Then we edit the file correct.fdl, leaving only 5 lines:&lt;br /&gt;
  RECORD&lt;br /&gt;
        BLOCK_SPAN                        yes&lt;br /&gt;
        CARRIAGE_CONTROL                  none&lt;br /&gt;
        FORMAT                            fixed&lt;br /&gt;
        SIZE                              512&lt;br /&gt;
 &lt;br /&gt;
Now we have to set the file attributes of the affected aim (isq, gobi) file:&lt;br /&gt;
&lt;br /&gt;
  $ set file/attr=lrl=514 bad.aim    ! Yes, 514&lt;br /&gt;
  $ set file/attr=lrl=514 *.AIM        ! do a bunch at a time&lt;br /&gt;
&lt;br /&gt;
Finally we create a fixed file&lt;br /&gt;
&lt;br /&gt;
  $ convert/fdl=correct.fdl/trunc bad.aim converted.aim&lt;br /&gt;
&lt;br /&gt;
This process discards the superfluous 2 bytes, usually caused by transferring to/from a PC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Delete===&lt;br /&gt;
&lt;br /&gt;
====Delete older versions of files====&lt;br /&gt;
Use the PURGE command.[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ PURGE	                                        !Removes older versions of all files in the directory! CAREFUL!!!!&lt;br /&gt;
$ PURGE myfile.aim                              !Removes older versions of myfile.aim.&lt;br /&gt;
$ PURGE /KEEP=3                                 !Removes all but the three most recent versions of all files.&lt;br /&gt;
$ HELP PURGE	                                !More information on the PURGE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Undelete Files====&lt;br /&gt;
&lt;br /&gt;
The Disk/File Utility (DFU) will allow you to restore files that have been deleted, however, you will only be able to do so if the disk space hasn&#039;t been overwritten.  This means that unless all scanning and access to the disk is stopped, you likely only have a couple of hours at most to undelete the files. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the system user and start the disk file utility program, DFU. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dfu&lt;br /&gt;
DFU&amp;gt; undelete diskX: /file=myfile OR undelete filepath/filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, suppose we want to restore an RSQ (C0001234.RSQ) that was deleted from the BH data disk (disk2):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; undelete disk2:/file=C0001234.RSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If the file can be undeleted successfully (i.e., without corruption), then you will be asked if you wish to restore the file.  Type &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
When done restoring desired files, to get out of dfu: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; exit&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*The undelete function will lock access to the disk while it searches for a file and until you respond &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot; to restoring it.  This means that all programs and commands trying to access the disk (i.e., by other people using the system) will appear to freeze momentarily until the disk is unlocked.  &lt;br /&gt;
*If you search for a specific file, the lock period will be very short (maybe 15-30 seconds).  If you search for files in general (e.g., *.RSQ), the lock period will be longer (maybe 5 to 10 minutes).  &lt;br /&gt;
*You cannot search specific locations for files (i.e., a folder on a disk).  &lt;br /&gt;
*Files are restored to their original location on disk.&lt;br /&gt;
*More information on DFU can be found here: http://digiater.nl/dfu.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Delete a directory====&lt;br /&gt;
Use the DL command (this calls the script $ @SCOM:DL.COM), but first remove all files from the directory.&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  	                                        &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ DL subdir.dir;	                        !Deletes subdir.dir with confirmation.&lt;br /&gt;
$ DL disk:[dir.subdir...]*.dir                  !* for all; do until subdirs are gone.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the DELETE command, but first remove all files from the directory and set file protections to enable deletion of the directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROT=O:RWED [.subdir...]*.*;*        !Changes protections so you can delete the files.  O is short for OWNER and RWED refers to Read, Write, Edit, Delete.&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED subdir.dir         !Changes protections so you can delete the subdirectory subdir.dir.  &lt;br /&gt;
$ DEL subdir.dir;                               !Deletes the subdirectory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the file cannot be deleted to due a permission error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ purge 12_RAD_FX.AIM&lt;br /&gt;
%PURGE-W-FILNOTPUR, error deleting DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
-RMS-E-FLK, file currently locked by another user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set ho 0                                      ! log in as calibration&lt;br /&gt;
$ spb &lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that still doesn&#039;t work, then maybe you need to kill a process first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device  disk4 /file                      ! shows all the files currently involved in a process&lt;br /&gt;
$ set ho 0                                      ! log in as &#039;system&#039;&lt;br /&gt;
$ stop /id=2081F1EC&lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Authorizations===&lt;br /&gt;
&lt;br /&gt;
====Can not access a Projects directory====&lt;br /&gt;
In principal, all Scanco user accounts (even including the calibration ones) should have read and write access to the Projects directories. While it (denied reading or writing access to a Project folder) did happen for a reason (used different accounts to create a file or a subfolder within a Projects folder), you could let lab administrator know and carefully run the following command to overwrite the authority, or switch to microct or xtremct2 account to perform as a walkaround. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set file/prot=(g:rwe,o:rwe) disk4:[bonelab.projects.danielle...]*.*;*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To avoid this happening again, make use always using the same account consistently to create all files and subfolders within their Project folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Administrative Commands==&lt;br /&gt;
&lt;br /&gt;
===Query commands===&lt;br /&gt;
====Check licenses on VMS system====&lt;br /&gt;
&lt;br /&gt;
This can be used to see what educational licenses (and other licenses) are currently on the system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW LICENSE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply for an educational license go to http://www.openvmsedu.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check MAC address of VMS system====&lt;br /&gt;
You can check them using the command&lt;br /&gt;
  $ mcr lancp sh dev/char&lt;br /&gt;
For example, the result on percy.kin.ucalgary.ca gives&lt;br /&gt;
&lt;br /&gt;
  Device Characteristics EIA0:&lt;br /&gt;
                  Value  Characteristic&lt;br /&gt;
                  -----  --------------&lt;br /&gt;
                   1500  Device buffer size&lt;br /&gt;
                 Normal  Controller mode&lt;br /&gt;
               External  Internal loopback mode&lt;br /&gt;
      00-02-A5-20-29-99  Hardware LAN address&lt;br /&gt;
                         Multicast address list&lt;br /&gt;
                CSMA/CD  Communication medium&lt;br /&gt;
      FF-FF-FF-FF-FF-FF  Current LAN address&lt;br /&gt;
                    128  Minimum receive buffers&lt;br /&gt;
                    256  Maximum receive buffers&lt;br /&gt;
                    Yes  Full duplex enable&lt;br /&gt;
                    Yes  Full duplex operational&lt;br /&gt;
            TwistedPair  Line media type&lt;br /&gt;
                    100  Line speed (mbps)&lt;br /&gt;
    Disabled/No Failset  Logical LAN state&lt;br /&gt;
                      0  Failover priority&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update commands===&lt;br /&gt;
&lt;br /&gt;
====Change hosts====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr latcp show service *                      ! and if it shows you SCTHIN:&lt;br /&gt;
$ set host scthin                               ! or&lt;br /&gt;
$ set host scthin/lat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update OpenVMS Licenses====&lt;br /&gt;
This needs to be done on all the Calgary workstations, XtremeCT, vivaCT40/uCT35, and uCT100.&amp;lt;br&amp;gt;&lt;br /&gt;
Request licenses from HP:&lt;br /&gt;
*School Identification (for U of C): 855803-9502&lt;br /&gt;
*License type: OpenVMS VAX/Alpha (uCT100: OpenVMW Integrity) Layered Products?  (Or try others)&lt;br /&gt;
*Member of DSPP or AlicanceONE: No&lt;br /&gt;
*Do you use a VAX or Alpha Emulator: No&lt;br /&gt;
&lt;br /&gt;
On every workstation, you need to check which licenses are loaded and update those with a termination date.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show license&lt;br /&gt;
&lt;br /&gt;
Active licenses on node SCEVA3:&lt;br /&gt;
&lt;br /&gt;
------- Product ID --------    ---- Rating ----- -- Version --&lt;br /&gt;
Product            Producer    Units PCL   Activ Version Release    Termination&lt;br /&gt;
C                  DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CXX-V              DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
FORTRAN            DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
LSE                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
MMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
VMSCLUSTER         DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
OPENVMS-I64-FOE    HP              4  1     0      0.0  (none)      (none)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
*HP will provide you with a script file ([[media:Openvms_license_update_hp.docx |&#039;&#039;&#039;Example script from HP&#039;&#039;&#039; ]]) containing a large number of licenses. &lt;br /&gt;
*Modify the script to contain only the relevant licenses and load the licenses ([[Media:Openvms_license_update.docx |&#039;&#039;&#039;Example modified script&#039;&#039;&#039;]]).&lt;br /&gt;
*Login as user: system&lt;br /&gt;
*Re-check the licenses on the workstation to ensure that the termination date has been updated.&lt;br /&gt;
*The date after expiry, if cannot log in, then there is a problem with the VMS Cluster license, which was installed by Scanco. Contact Mark Blanchard (mblanchard@scanco.ch) about this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understanding how to set default parameters with OpenVMS====&lt;br /&gt;
&lt;br /&gt;
Here is how the files all hang together...&lt;br /&gt;
&lt;br /&gt;
LOGIN.COM is called automatically during login and calls&lt;br /&gt;
::MICROCT_SETUP.COM, which sets the scanner ID, data device, etc. This file calls&lt;br /&gt;
::::MICROCT_SETUP_COMMON.COM to create general settings. This file is located in DISK0:[MICROCT_COMMON] and calls&lt;br /&gt;
::::::MICROCT_FE.COM, if present, to setup the environment for Bert&#039;s FE program&lt;br /&gt;
::::::MICROCT_SETUP_SITE_SPECIFIC.COM to create local settings for all accounts (e.g. ICALC)&lt;br /&gt;
::::::MICROCT_SETUP_COMMON_*.COM, if present, typically to create application-specific settings for all accounts&lt;br /&gt;
::::::MICROCT_SETUP_GROUP_*.COM, if present, to create local settings for specific groups (e.g. group 3401)&lt;br /&gt;
::MICROCT_SETUP_USER.COM to create user-specific settings.&lt;br /&gt;
&lt;br /&gt;
Note that the $UM designation is the MAIN directory, and the location of the binary files. To see a list: &lt;br /&gt;
&lt;br /&gt;
  $ dir DISK0:[MICROCT_COMMON.MAIN]&lt;br /&gt;
&lt;br /&gt;
This is where you&#039;ll find IPL_SCANCO_FE.EXE, IPL_SCANCO_M.EXE, etc.&lt;br /&gt;
&lt;br /&gt;
Lots of stuff here:&lt;br /&gt;
&lt;br /&gt;
  Directory DISK0:[MICROCT_COMMON]&lt;br /&gt;
&lt;br /&gt;
  3309.DIR;1          DATABASE.DIR;1      DEMO.DIR;1          EVAL.DIR;1         &lt;br /&gt;
  MAIN.DIR;1          TEMPLATES.DIR;1     TIPS.DIR;1          UIL.DIR;1          &lt;br /&gt;
  UTIL.DIR;1          WWW.DIR;1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Edit Symbol====&lt;br /&gt;
&lt;br /&gt;
=====Edit SCANCO_SUBMIT_COMMAND=====&lt;br /&gt;
&lt;br /&gt;
*Check the current setting:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show sym *submit*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In directory &amp;lt;code&amp;gt;DISK2:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; add the following line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SCANCO_SUBMIT_COMMAND :== SUBMIT/NOPRINT/QUE=SYS$SLOW /NOTIFY/LOG=SYS$SCRATCH:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then end session and log in again.  Definition of the symbol in the &lt;br /&gt;
&amp;lt;code&amp;gt;MICRO_SETUP_USER.COM&amp;lt;/code&amp;gt; supersedes the standard setting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Edit AIX=====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Log in as user calibration (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user.&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
 $ set proc/priv=bypass&lt;br /&gt;
Or &lt;br /&gt;
 $ spb&lt;br /&gt;
Change to the MICROCT_COMMANDS directory.&lt;br /&gt;
 $ cdc &lt;br /&gt;
 $ sea *.com aix&lt;br /&gt;
 $ eve microct_setup_common.com&lt;br /&gt;
Edit the file which is called &amp;lt;code&amp;gt;MICROCT_SETUP_COMMON.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Another example&#039;&#039;: To make the backspace/insert keys work properly, edit the &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt; and insert the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set terminal/insert&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Anywhere suitable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Time====&lt;br /&gt;
=====Change system date and time=====&lt;br /&gt;
The OpenVMS system should adjust for daylight savings, however, this is currently incorrect for the alpha systems.  The alpha systems will need to be manually moved forward in March and moved back in April. To do this, you will need to login as system&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ show time&lt;br /&gt;
$ set time=dd-mmm-yyyy:hh:mm:ss/cluster   !/cluster to change the time on all computers at once&lt;br /&gt;
$ set time=01-APR-2012:18:00/cluster      !Example:  Set the system to April 1, 2012, 6 pm.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Set time zone=====&lt;br /&gt;
As user system:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:utc$time_setup&lt;br /&gt;
Choose &amp;quot;CANADA&amp;quot; from the menu.&lt;br /&gt;
Choose &amp;quot;MOUNTAIN&amp;quot; from the menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Disable Distributed Time Synchronization Service (DTSS)=====&lt;br /&gt;
DTSS will automatically adjust the clocks for daylight savings (i.e., 2am to 1am on the 2nd Sunday in March, 2am to 3am on the 1st Sunday in November).  As user system:&lt;br /&gt;
&lt;br /&gt;
 $ mcr ncl disable dtss&lt;br /&gt;
 $ mcr ncl delete dtss&lt;br /&gt;
 $ eve sys$startup:sylogicals.com&lt;br /&gt;
&lt;br /&gt;
Add line to disable DTSS&lt;br /&gt;
  $ DEFINE/SYSTEM/EXEC NET$DISABLE_DTSS TRUE&lt;br /&gt;
Save and exit.&lt;br /&gt;
Now re-set the time zone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Configure Network Time Protocol (NTP) server to synchronize clocks=====&lt;br /&gt;
*NTP must be configured for each node (computer).  Login as user system.&lt;br /&gt;
NTP can only synchronize the system clock if the error is less than 1000 seconds. &lt;br /&gt;
 &lt;br /&gt;
Synchronize the system clock to UofC&#039;s NTP server (ensures time is correct to within 1000s):&lt;br /&gt;
&lt;br /&gt;
 $ mcr sys$system:tcpip$ntpdate ntp.cpsc.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
Enable NTP:&lt;br /&gt;
&lt;br /&gt;
 $ cd sys$startup&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
   3 - Server components&lt;br /&gt;
   12 - NTP&lt;br /&gt;
   1 – Enable service on this node&lt;br /&gt;
   E – Exit menu&lt;br /&gt;
   E – Exit configuration procedure&lt;br /&gt;
   N – don’t start service&lt;br /&gt;
&lt;br /&gt;
Create the NTP configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ sys$sysroot:[tcpip$ntp]&lt;br /&gt;
 $ copy/log tcpip$ntp.template tcpip$ntp.conf&lt;br /&gt;
 $ eve tcpip$ntp.conf&lt;br /&gt;
&lt;br /&gt;
Comment out existing peer and server entries (# for comments).&lt;br /&gt;
Add entries for local servers.&lt;br /&gt;
        server ntp.cpsc.ucalgary.ca&lt;br /&gt;
        server ntp1.cpsc.ucalgary.ca&lt;br /&gt;
Save and exit.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Start NTP:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:tcpip$ntp_startup&lt;br /&gt;
&lt;br /&gt;
Check the log:&lt;br /&gt;
&lt;br /&gt;
 $ type/cont/int=1 sys$sysroot:[tcpip$ntp]tcpip$ntp_run.log&lt;br /&gt;
&lt;br /&gt;
Sample log file:&lt;br /&gt;
&lt;br /&gt;
 $ Set NoOn&lt;br /&gt;
 $ VERIFY = F$VERIFY(F$TRNLNM(&amp;quot;SYLOGIN_VERIFY&amp;quot;))&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: ntpd version = 4.1.0&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: precision = 976 usec&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: drift file &#039;SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT&#039; does not exist: no such file or directory&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: will attempt to create drift file &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Email====&lt;br /&gt;
=====Setup email server=====&lt;br /&gt;
The SMTP protocol is not enabled by default. If you use &amp;lt;code&amp;gt;tcpip$config&amp;lt;/code&amp;gt; you can switch on the mail server under Client Components. As system:&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
 $ @SYS$MANAGER:TCPIP$CONFIG&lt;br /&gt;
Or&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
 -&amp;gt; 2 (client components)&lt;br /&gt;
 -&amp;gt; 6 (SMTP)&lt;br /&gt;
 -&amp;gt; 2 (Enable &amp;amp; Start services)&lt;br /&gt;
&lt;br /&gt;
*Select option 2 (client components) from the menu.&lt;br /&gt;
*Select option 6 (SMTP) from the next menu to enable and start it.&lt;br /&gt;
&lt;br /&gt;
Since your smtp server is not registered anywhere, it can be that emails sent from this server will be filtered out as spam on the way to your mailbox. In that case you would need a so called MX record for your mail server. Contact UofC IT to resolve this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Send an email=====&lt;br /&gt;
Example:  Send an email without an attachment.&lt;br /&gt;
 $ mail sys$scratch:email_message.txt/subject=&amp;quot;email subject&amp;quot; &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example:  Send an email with an attachment.&lt;br /&gt;
 $ MIME :== $MIME.EXE&lt;br /&gt;
 $ MIME MIME&amp;gt; NEW /NOEDIT sys$scratch:file.txt&lt;br /&gt;
 MIME&amp;gt; ADD /TEXT thisattached.txt&lt;br /&gt;
 MIME&amp;gt; ADD /BINARY thatattached.zip&lt;br /&gt;
 MIME&amp;gt; ADD /MESSAGE this_is_written.txt&lt;br /&gt;
 MIME&amp;gt; SAVE&lt;br /&gt;
 MIME&amp;gt; EXIT&lt;br /&gt;
 $ MAIL /SUBJECT=&amp;quot;MIME-encoded Message&amp;quot; - sys$scratch:file.txt &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
 $&lt;br /&gt;
*MIME&amp;gt; ADD /TEXT *.txt does not work&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Action commands===&lt;br /&gt;
====Send a message to terminals====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ reply /all &amp;quot;Merry Christmas to Bone Imaging Lab!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  Reply received on SCEVA2 from user XTREMECT2 at _SCEVA2$FTA8473:   09:21:58 &lt;br /&gt;
  Merry Christmas to Bone Imaging Lab!&lt;br /&gt;
&lt;br /&gt;
  4 terminals have been notified on SCEVA2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SCSRV2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SC3309.&lt;br /&gt;
$&lt;br /&gt;
  3 terminals have been notified on SCEVA1.&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt; command====&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;, but only with mcr you can hand over &#039;in-line&#039; parameters to an .exe file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
does not work, but you  have to say&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But funnily if you define a symbol in &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;),&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ctheader :== $ut:ctheader.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with just neither run nor mcr, but the &#039;funny&#039; $ sign, then you can also hand over the ISQ name in-line.&lt;br /&gt;
&lt;br /&gt;
Small detail with big effect...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File Do All (fda) - apply a command to a set of files====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda ctheader dk0:[microct.data.0001234...]*.isq &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the header of all isq files of sample 1234 (the three dots ... means all subdirectories)&lt;br /&gt;
&lt;br /&gt;
Or: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data.0001234.00005678]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the processing log of all aim files of scan 5678&lt;br /&gt;
&lt;br /&gt;
Wildcard &amp;quot;*&amp;quot; means multiple characters, &amp;quot;%&amp;quot; is for ONE character: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data...]C%%%%%%%.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, 7 %&#039;s)&lt;br /&gt;
&lt;br /&gt;
to show the aim header of the gray-scale c0000135.aim (etc) files only, and NOT from the _seg.aims also.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning: CAUTION! &amp;lt;/b&amp;gt; Always test the wildcard expression first with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dir dk0:[xxx...]*.aim &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &#039;file do all&#039; fda command can even be combined with a pipe, or an /output qualifier: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix dk0:[microct...]*.aim | search sys$pipe &amp;quot;Slope&amp;quot; &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will show you all &amp;quot;Slopes&amp;quot; in a row. (but you may not see which slope belongs to which aim file anymore...)&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda/output=sys$scratch:all_headers.log aix dk0:[microct...]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will write all the output into the .log file - which you can then either edit, or &lt;br /&gt;
&amp;lt;code&amp;gt;$ search sys$scratch:all_headers.log &amp;quot;String&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or whatever you want. &lt;br /&gt;
&lt;br /&gt;
Another example with output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ pipe fda type *.log | search sys$pipe &amp;quot;BV/TV&amp;quot; /output=BVTV.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;fda&amp;quot; is our self-written script, so you may have to try-n-error a bit...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda command file_wildcard [Optional: further parameters]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the command consists of multiple words with spaces inbetween (e.g. mcr ut:xxx.exe), then enclose the command in double-quotes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda &amp;quot;mcr ut:uct_ext_header_display&amp;quot; dk0:[microct...]*.isq 8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grab more than one line using pipe and search command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix *.aim | search sys$pipe &amp;quot;dim&amp;quot;, &amp;quot;pos&amp;quot;, &amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The further parameters may not contain wildcards - so unfortunately, the fda can NOT be used to &#039;adaptively&#039; rename a whole bunch of files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Make commands available to all users with symbols or paths====&lt;br /&gt;
&lt;br /&gt;
DCL$PATH is one way to do that, WE don&#039;t use it...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def dcl$path disk1:[microct.main],disk1:[microct.util]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then, if you type&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ uct_t&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
it will first try to&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ @uct_t.com&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and then&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ r uct_t.exe&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
however, we usually define it by giving full path:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ progx :== $disk1:[microct.main]progx.exe&lt;br /&gt;
$ com_proc_x :== @disk1:[microct.main]procedure.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then, you can just type the shortcut (&#039;symbol&#039; in VMS language)&lt;br /&gt;
&lt;br /&gt;
We use the &#039;cd&#039; to set the default path, you may also use this in your command procedure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;proc.com&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd &#039;p1&#039;&lt;br /&gt;
$ dir *.*/size&lt;br /&gt;
&lt;br /&gt;
$ define COM disk1:[microct.commands]&lt;br /&gt;
$ p :== @COM:PROC.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
these both go into &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;, but see the Wiki entry above to confirm exactly where...&lt;br /&gt;
&lt;br /&gt;
then, you can just type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ p disk4:[microct.data.0000007.000009]*.ISQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Calibration and QC=&lt;br /&gt;
&lt;br /&gt;
==System Updates==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT II&lt;br /&gt;
|&lt;br /&gt;
*22-OCT-2020:  Recalibration&lt;br /&gt;
*01-OCT-2020:  Recalibration&lt;br /&gt;
*31-JUL-2020:  Pixel Correction&lt;br /&gt;
*21-Feb-2019:  New X-ray source, recalibration&lt;br /&gt;
*28-Apr-2016:  Recalibration&lt;br /&gt;
*04-Nov-2014:  Recalibration&lt;br /&gt;
*21-May-2014:  New Daily QC Phantom (Scanco concluded minimal differences from previous)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT I&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT80&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  Filter changer replaced, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT40&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*09-NOV-2010:  Recalibration (70KV energy only)&lt;br /&gt;
*01-NOV-2010:  New x-ray source, Pixel Correction, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µCT35&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*15-JUN-2011:  Recalibration&lt;br /&gt;
*21-MAR-2011:  Recalibration&lt;br /&gt;
*10-FEB-2011:  Recalibration&lt;br /&gt;
*26-NOV-2010:  Pixel Correction&lt;br /&gt;
*29-OCT-2010:  Recalibration &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Calibration and Conversion==&lt;br /&gt;
===Attenuation measured by µCT===&lt;br /&gt;
A micro-CT 3D image of an object is basically a 3D map of local x-ray absorption in the object. The reconstruction from multiple angular views provides information on how much x-ray absorption is happening within each cubic voxel element of the scanned volume.&lt;br /&gt;
&lt;br /&gt;
It is important to understand what is meant by “density” in a µCT image. The reconstructed grey-scale intensity of each image voxel does not relate directly to mass density alone, thus do not expect it to correspond with measurements of weight per volume, e.g. g.cm-3. The primary entity that is measured is x-ray absorption, defined as the x-ray linear attenuation coefficient in units of&lt;br /&gt;
1/distance, specifically, 1/cm. This is determined both by mass density and x-ray mass attenuation coefficient which is determined by the elemental composition of the material. The x-ray linear attenuation coefficients of typical material is shown blow.&lt;br /&gt;
&lt;br /&gt;
[[File:Mu_comparison.JPG|thumb|center|600px|X-ray linear attenuation coefficient µ of typical material (image curtesy of Dr. Ying Zhu)]]&lt;br /&gt;
&lt;br /&gt;
The images we obtain from the scanner are in a special scanner manufacturer format called AIM files. Each voxel in these images contains a scaled linear attenuation value (mu-value) to save disk space. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µ&lt;br /&gt;
| x-ray linear attenuation coefficient&lt;br /&gt;
| 1/cm&lt;br /&gt;
| µ &amp;gt; 0 &lt;br /&gt;
| A constant that describes the fraction of attenuated incident photons in a monoenergetic beam per unit thickness of a material&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| mu_value&lt;br /&gt;
| linear attenuation in Scanco images&lt;br /&gt;
| 1/cm&lt;br /&gt;
| -8～8 typically&lt;br /&gt;
| mu value represented in Scanco images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_Scanco&lt;br /&gt;
| pixel intensity value in Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| −32768～32767&lt;br /&gt;
| Original format of Scanco images in 16-bit signed&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_uint&lt;br /&gt;
| pixel intensity value in converted Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| 0～65535&lt;br /&gt;
| Converted format of Scanco images in 16-bit unsigned, using the same slope (unscaled) but an updated intercept&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = mu-value * scaling_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration by BMD===&lt;br /&gt;
When we know that the x-ray absorption of a material is dominated by one specific material, then we can relate the measured x-ray linear attenuation coefficient (mu_value) to the mass density of that material. The calibration of [[Scanco_User_Instructions#Descriptive_Statistics_.28Mean.2C_Median.2C_SD.29_of_Calibrated_Voxel_Values| &#039;&#039;&#039;Bone Mineral Density (BMD)&#039;&#039;&#039;]] is an example of this. We assume that the x-ray attenuation within mineralized tissues such as bone, dentine and enamel is dominated by, and can be approximated as, the x-ray attenuation of the mineral compound calcium hydroxyapatite (CaHA) which has the formula Ca5(PO4)3(OH). &lt;br /&gt;
&lt;br /&gt;
Then we obtain “phantoms” with two or more known mass concentrations of CaHA. By linking these mass concentrations of CaHA with measured mu_value in the micro-CT images, we can establish calibration linking the two quantities, allowing us to infer from the micro-CT measured linear attenuation coefficient (mu_value) in a mineralized tissue, to the density of CaHA in mg.cm-3. &lt;br /&gt;
&lt;br /&gt;
*The assumption of linear correlation between the two quantities is based on a well-applied beam hardening correction and the phantoms&#039; diameter matching with the size of bone within the sample.&lt;br /&gt;
&lt;br /&gt;
*This calibration system could be used to calibrate measurement of other substances apart from CaHA and bone, where x-ray absorption is known to be dominated by a certain substance and phantoms can be prepared with known concentrations of that substance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD &lt;br /&gt;
| Bone Mineral Density &lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| 0～3000 &lt;br /&gt;
| Volumetric density of calcium hydroxyapatite (CaHA) in a biological tissue in terms of mg/cm^3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD_value&lt;br /&gt;
| Bone Mineral Density in Scanco images&lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| -1500～3000 typically&lt;br /&gt;
| BMD value in Scanco images&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Conversion between Attenuation and Bone Density===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = mu-value * slope + intercept&lt;br /&gt;
&lt;br /&gt;
mu-value = (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
pixel_Scanco = scaling_factor * (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert mu_value of 1.7923 (1/cm) to BMD (mg HA/ccm):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = 1.7923 * 3.67162994e+02 + -2.06399002e+02 = 451.667 (mg HA/ccm)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert the lower threshold of 125 mg HA/ccm that is in the IPL script to pixel intensity in Scanco images:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = 4096 * (125 - -2.06399002e+02) / 3.67162994e+02 = 3697 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*You could get the scaling_factor, intercept and slope values from the AIM header of your scan by using aix -l command:&lt;br /&gt;
[[File:Aix.JPG|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Reference: [[Media:Jbmr.141.pdf|Bouxsein ML, Boyd SK, Christiansen BA, Guldberg RE, Jepsen KJ, Müller R, Guidelines for assessment of bone microstructure in rodents using micro-computed tomography. J Bone Miner Res. 25(7): 1468-86. 2010.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert CT numbers to mg HA/ccm / Houndsfield units (HU)===&lt;br /&gt;
&lt;br /&gt;
The two byte numbers (short) can be converted to mu values by first dividing by mu_scaling which is probably 4096 (uCT35, vivaCT40) or 8192 (XtremeCT). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Houndsfield units (HU)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the conversion formula from mu (lin.att. in 1/cm, our original, &#039;physical&#039; image numbers) to HU:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU(pixel) = -1000 + mu(pixel) * 1000/mu(water)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so the mu(water) is the &#039;constant&#039; that is needed for this conversion of any pixel value mu(pixel) to HU of that pixel.&lt;br /&gt;
&lt;br /&gt;
divide the 2-byte numbers in our dicom/aim/isq files by 4096 to get mu. (4096 --&amp;gt;  &#039;mu_scaling&#039; in our headers). E.g. you see&lt;br /&gt;
gray-scale number 8192 in our files --&amp;gt;  mu = 2 [1/cm].&lt;br /&gt;
&lt;br /&gt;
A reasonable result for the uCT35 is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU = (CT / 4096) * 1718.19 - 1000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and that means 1000/mu(water) = 1718.19 --&amp;gt; mu(water) = 0.58299 which is a reasonable number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;mg HA/ccm&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mg HA/ccm = (AIM/mu_scaling) * slope + intercept&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 295.494 - 189.695    ! vivaCT40&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 256.51 - 172.99         ! uCT35&lt;br /&gt;
mg HA/ccm = (AIM/8192) * 1402.549 - 340.953  ! XtremeCT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These numbers are available in the AIM header, or the ISQ header (&amp;lt;code&amp;gt;$ run ut:ctheader&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
To look up slope, intercept and mu_scaling, check either the AIM header&lt;br /&gt;
&amp;lt;pre&amp;gt;$ aix C1234567.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:uct_update_calibration&amp;lt;/pre&amp;gt;&lt;br /&gt;
and look at a record, and you&#039;ll find slope and intercept and mu-water.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vivaCT40&lt;br /&gt;
!---------------------------------------------------------------------- &lt;br /&gt;
Mu_Scaling                    4096 &lt;br /&gt;
Calibration Data              55 kVp, 200mg HA wedge, 4096 scaling &lt;br /&gt;
Calib. default unit type      2 (Density) &lt;br /&gt;
Density: unit                 mg HA/ccm &lt;br /&gt;
Density: slope                2.95493988e+02 &lt;br /&gt;
Density: intercept            -1.89695007e+02 &lt;br /&gt;
HU: mu water                  0.58200 &lt;br /&gt;
!----------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
Mu_Scaling                                       8192&lt;br /&gt;
Calibration Data              60kVp, BH: 200 mg HA/ccm, Scaling 8192            &lt;br /&gt;
Calib. default unit type      2 (Density)                                       &lt;br /&gt;
Density: unit                 mg HA/ccm                                         &lt;br /&gt;
Density: slope                         1.40254895e+03&lt;br /&gt;
Density: intercept                    -3.40953003e+02&lt;br /&gt;
HU: mu water                                  0.23900&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration FAQ===&lt;br /&gt;
====Change brightness scaling====&lt;br /&gt;
*Refer to [[Media:Mu-scaling.pdf|&#039;&#039;&#039;Change the brightness scaling&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan after pixel correction====&lt;br /&gt;
Contact Lab personnel with system-level priviledges to perform&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
                 !  Username: calib2339       (µCT35)          &lt;br /&gt;
                 !  Username: calib5019       (vivaCT40)           &lt;br /&gt;
$ spb            ! set priviledge bypass to write in other user accounts&lt;br /&gt;
$ run ut:pixel_corr_apply&lt;br /&gt;
&lt;br /&gt;
        PIXEL_CORR_APPLY Version 1.5&lt;br /&gt;
        Scanner ID from UCTD:UCT_SCANNER_2339.DAT : 2339       !2339 for µCT 35,  5019 for vivaCT 40&lt;br /&gt;
        Is this Scanner ID correct ? [?]:  y&lt;br /&gt;
        Give RSQ-Filename (leave empty to exit)  []: DISK4:[BONELAB.DATA.00005283.00011668]C0005128.RSQ&lt;br /&gt;
        ...&lt;br /&gt;
        ...&lt;br /&gt;
        Copy .RSQ to _CORRECTED.RSQ befor correction ? [?]:   y&lt;br /&gt;
&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update calibration in ISQ====&lt;br /&gt;
If DICOM files are converted to ISQ with IPL and then used for patient evaluation, the calibration data in the ISQ header needs to be present and correct. If this information is missing, utilizing upat_list to extract the values will say &#039;Error: Density calibration not valid&#039;. In order to add calibration data to an ISQ file, do the following as user calibration:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set proc/priv=bypass ! gain read/write access to the files&lt;br /&gt;
$mcr ut:uct_ext_header_add_calib ! provide ISQ file name and header type (I chose [2])&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to adjust the calibration of a file, without changing the system calibration data, copy the calibration database into a different directory, e.g. sys$scratch. Then, add a new calibration record to this temporary calibration database. This way your new, temporary values will not show up in the scan program.&lt;br /&gt;
&lt;br /&gt;
  $ copy uctd:uct_calibration_3401.dat sys$scratch:&lt;br /&gt;
&lt;br /&gt;
Define the following logical in a terminal MAKE SURE TO DO THIS!!!!&lt;br /&gt;
&lt;br /&gt;
  $ def UCT_CALIBRATION_DATABASE sys$scratch:uct_calibration_3401.dat&lt;br /&gt;
&lt;br /&gt;
Run uct_update_calibration and click trough the current calibration record (always enter).&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
  select current calibration record&lt;br /&gt;
  enter...&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
&lt;br /&gt;
Then select the last number (New Record), copy all values from above, change slope and intercept.&lt;br /&gt;
&lt;br /&gt;
Then use&lt;br /&gt;
&lt;br /&gt;
  $ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
&lt;br /&gt;
for ISQ and RSQ.&lt;br /&gt;
&lt;br /&gt;
At the end, close the terminal!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Quality Control (QC)==&lt;br /&gt;
===Scope===&lt;br /&gt;
*Only Authorized XCT and µCT Operators are permitted to perform QC scans, including both scan acquisition and analysis.    &lt;br /&gt;
*Authorization is a formal process. If you are not sure whether you have or should have authorization, speak to Dr. Boyd or Dr. Hallgrimsson or the MoJo Operations Manager. &lt;br /&gt;
*Authorized XCT and µCT Operators are responsible for ensuring a QC schedule is maintained.&lt;br /&gt;
*Only the manufacturer can calibrate the scanner!  QC only checks the calibration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
*Micro-CT systems cannot directly measure the density of a material, however, the density is linearly correlated to the x-ray absorption (assuming a proper beam-hardening correction is applied), which can be measured by micro-CT.  Density is therefore determined by measuring a reference material of known density (i.e., a phantom) to define a conversion function to relate x-ray absorption to density. Quality control of density and structural measurements for the micro-CT systems is achieved through weekly checks of phantom values to their reference values and recalibrating the system (i.e., defining a new conversion function) as necessary. &lt;br /&gt;
&lt;br /&gt;
*Performing QC is essential to the:&lt;br /&gt;
# Safety of our study participants and lab members&lt;br /&gt;
# Validity of our research data&lt;br /&gt;
&lt;br /&gt;
[[File:QC_phantom.jpg|thumb|center|600px|Scanco Medical quality control phantom (a) and its CT scans of the density QC1 (b) and the structural QC2 (c)]]&lt;br /&gt;
&lt;br /&gt;
*Reference:  Koller B, Laib A (2007) Calibration of micro-CT data for quantifying bone mineral and biomaterial density and microarchitecture. In: Advanced bioimaging technologies in assessment of the quality of bone and scaffold materials: techniques and applications. Springer, pp 79-84.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Density QC1===  &lt;br /&gt;
QC1 measures the density of 5 different rods of known hydroxyapatite (HA) densities within the QC phantom: approximately 0, 100, 200, 400, and 800 mg HA/cm3.  This tests 3 things:&lt;br /&gt;
&lt;br /&gt;
# That the scanner’s last calibration is still valid.  This is done by comparing daily QC values to an acceptable range.&lt;br /&gt;
# The presence of drifts and shifts in the calibration.  This is done by plotting daily QC results over time and using Shewart’s Controls to mathematically look for drifts and shifts.  (Shewart’s Controls replaces visual assessment.)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC1 is checked daily or 3 times a week on XtremeCT scanners whenever used and weekly on microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Structural QC2===  &lt;br /&gt;
QC2 measures the volume of 3 fine aluminum rods within the QC phantom (Al rod volume measurement).  This tests for:&lt;br /&gt;
&lt;br /&gt;
# Alignment of the gantry (or stability of architectural parameters)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC2 is checked weekly on both XtremeCT and microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC Scan Instructions===&lt;br /&gt;
*XtremeCT QC Scan Instructions: Boyd Drive:\02 - Operations\01 - Scanner QC, Specifications, &amp;amp; Maintenance\QC Workflows\QC 001.2 - XCT Quality Control.docx&lt;br /&gt;
*[[Media:Calibration-instructions-for-uct35.pdf |µCT35 QC Instructions]] or  [[Media:uCT35_Calibration.pdf|µCT35 QC another Instructions]]&lt;br /&gt;
*[[Media:Calibration-instructions-for-vivact40.pdf |VivaCT40 QC Instructions]] or [[Media:VivaCT40_Calibration.pdf| VivaCT40 QC another Instructions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out QC reports===&lt;br /&gt;
After running a QC1 or QC2 analysis, the results are output to: &lt;br /&gt;
*DISK4:[BONELAB.PROJECTS.QC] for XtremeCT QC results&lt;br /&gt;
*DISK3:[MICROCT.PROJECTS.CALIBRATION] for microCT QC results performed by BH lab&lt;br /&gt;
:*login with microct account &lt;br /&gt;
*DISK5:[BONELAB.PROJECTS.CALIBRATION] for microCT QC results performed by Bone Imaging lab&lt;br /&gt;
:*RESULTS_QC1_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC1_VIVACT.TXT;4 &lt;br /&gt;
:*RESULTS_QC2_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC2_VIVACT.TXT;2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As usual as [[Scanco_User_Instructions#Print_out_report_sheets|&#039;&#039;&#039;print out report sheets&#039;&#039;&#039;]], you use&lt;br /&gt;
  $ upat_list&lt;br /&gt;
When it asks for a template, you can select for a graphical report&lt;br /&gt;
  template = UU:UCT_EVAL_PHANTOM_SCANCO.PS&lt;br /&gt;
or for a text output&lt;br /&gt;
  template = UU:UCT_3D_LIST.TXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===System Stability and Precision===&lt;br /&gt;
System Stability and Precision here is based on the QC measurement, QC1 for density variations and QC2 for structure variations.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| System Stability and Precision&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| vivaCT40&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Long Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 1.6%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Short Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.9%&lt;br /&gt;
(Ref term: 4-MAR-2011 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 6-MAR-2011 to 8-APR-2011)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC FAQ===&lt;br /&gt;
====Determine calibration drift for microCT QC1====&lt;br /&gt;
The microCT QC1 analyses provide an estimate of the calibration drift by considering &#039;mean5&#039; values.  Use &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and make sure to use UU:UCT_3D_MEANS.TXT as the template.  Then give the measurement numbers of the QC1 measurements (or all of them and remove what&#039;s not needed later).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update QC1 contours====&lt;br /&gt;
If the QC contours don&#039;t line up on the phantom, then the contours need to be updated on the system.  Normally this should not happen unless the phantom has become loose - if this is the case, re-fix it.&lt;br /&gt;
&lt;br /&gt;
1. Login as user system.  Do not use the &amp;lt;code&amp;gt;$ set host 0 &amp;lt;/code&amp;gt; command since you will not be able to open windows for program.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Run the login script for the user that does the QC scans so that Scanco logicals point to that scan database.&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the XtremeCT cluster&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the vivaCT cluster&lt;br /&gt;
          $ @disk1:[microct]login.com       on the µCT100 cluster&lt;br /&gt;
&lt;br /&gt;
3. Run the evaluation program.&lt;br /&gt;
          $ uct_evaluation&lt;br /&gt;
4. Load the most recent QC scan and locate the contours. File--&amp;gt;Load Gobj... Filter:  &amp;lt;code&amp;gt;uctd:*.GOBJ&amp;lt;/code&amp;gt;. Locate the contours for the phantom: &amp;lt;code&amp;gt; UCT_PHANTOM_KP_HA_XXXX_Y.GOBJ  &amp;lt;/code&amp;gt; where XXXX corresponds with the scanner ID (XtremeCT 3309, vivaCT 5019, µCT35 2339, µCT100 6002) and Y corresponds with the rod number (1-5 and results mean1 - mean5. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Adjust the contours to centre on the rods.&lt;br /&gt;
    Load a contour.&lt;br /&gt;
    Move the contour on the first slice to be centred on the rod.&lt;br /&gt;
    Copy the contour.&lt;br /&gt;
    Delete the contours on slices 2 to the end.&lt;br /&gt;
    Paste the contour on the last slice.&lt;br /&gt;
    Morph between the two contours.&lt;br /&gt;
    Save the contours.  They should be saved to (A)DISK0:[000000.MICROCT_COMMON.DATABASE].&lt;br /&gt;
6. Perform a new QC scan as the standard (i.e., microct) user.  Check that the contours line up for the evaluation.  Evaluate and check the results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update Gobj for QC1 Analysis====&lt;br /&gt;
Refer to  [[Media:Fix_QC1_gobj.pdf| &#039;&#039;&#039;Fix QC1 Gobj&#039;&#039;&#039; ]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update XtremeCT QC1 calibration====&lt;br /&gt;
This procedure needs to be done for each beam hardening correction (e.g., QC1 with 200 mg HA/cm3, QC1 with 1200 mg HA/cm3) and for each scan energy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Perform 3 back-to-back QC1 scans, which ensures the x-ray tube is very warm.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Evaluate the last QC1 scan.&amp;lt;br&amp;gt;&lt;br /&gt;
3. After the evaluation is done, determine parameters for the new calibration&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_calib_phantom&lt;br /&gt;
UCT_CALIB_PHANTOM Version V1.0&lt;br /&gt;
 &lt;br /&gt;
Reading UCTD:UCT_CALIB_PHANTOM_KP_HA_3309.TXT&lt;br /&gt;
Phantom Type in file:              6&lt;br /&gt;
Phantom Number in file:          304&lt;br /&gt;
Voltage in file:                   0&lt;br /&gt;
No of Materials in file:           1&lt;br /&gt;
With each, no of  steps:           5&lt;br /&gt;
and mus:                    1.000000&lt;br /&gt;
No. of Cylinders:                  5&lt;br /&gt;
Measurement No. (0 to Stop)     [0]: 11404&lt;br /&gt;
 &lt;br /&gt;
Mus: 0.2382 0.3163 0.3823 0.5358 0.8112&lt;br /&gt;
*****************************************************&lt;br /&gt;
Calibration: Slope Intercept:      1398.628  -339.819&lt;br /&gt;
Enter in Calibration Records if wished.&lt;br /&gt;
*****************************************************&lt;br /&gt;
Measurement No. (0 to Stop)     [0]:&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD.TXT.&lt;br /&gt;
&lt;br /&gt;
5. Now update the calibration.  For most settings, you will use the default value by pressing return.  You need to choose the correct calibration record, the one that corresponds with the energy and beam hardening correction used in the QC1 scans you did.  Next, you need to update the slope, intercept, and mu water values to those determined in step 3 (copy and paste values to avoid typos).  The new values should be similar to the old ones.  Finally, if you have not made any mistakes, then save the record.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:uct_update_calibration&lt;br /&gt;
UCT_UPDATE_CALIBRATION V2.5&lt;br /&gt;
 &lt;br /&gt;
 IDX Calib/Rec. Description&lt;br /&gt;
  1      1/42   60kVp, BH: 200 mg HA/ccm, Scaling 8192&lt;br /&gt;
  2      2/43   60kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  3      3/0    New Record&lt;br /&gt;
Choose Calibration Record (IDX): [2]: 1&lt;br /&gt;
Valid Flag [1]:&lt;br /&gt;
Scanner-ID [3309]:&lt;br /&gt;
Energy [V] [59400]:&lt;br /&gt;
Intensity [µA] [0]:&lt;br /&gt;
Description [60kVp, BH: 200 mg HA/ccm, Scaling 8192]:&lt;br /&gt;
 &lt;br /&gt;
Antiring Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
Beamhardening Enable [1]:&lt;br /&gt;
Beamhardening Coeff file [MICROCT_COMMON:[DATABASE]UCT_BH_COEFF_60KV_0200HA_3309.TXT;5]:&lt;br /&gt;
Beamhardening Checksum [0]:&lt;br /&gt;
CCD_CORR: Read to mem: 500 bytes to correct 1 pixels (588 bytes allocated)&lt;br /&gt;
 &lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom) [2]:&lt;br /&gt;
µ Enable [1]:&lt;br /&gt;
µ-scaling [8192]:&lt;br /&gt;
 &lt;br /&gt;
Density Enable [1]:&lt;br /&gt;
Density units [mg HA/ccm]:&lt;br /&gt;
Density Slope [1402.549]: 1398.628&lt;br /&gt;
Density Intercept [-340.953]: -339.819&lt;br /&gt;
 &lt;br /&gt;
HU Enable [1]:&lt;br /&gt;
µ of water [0.239]: 0.2382&lt;br /&gt;
 &lt;br /&gt;
CUSTOM Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
HW Filter Code [0]:&lt;br /&gt;
HW Filter Description []:&lt;br /&gt;
 &lt;br /&gt;
Save Record ? [Y]: Y&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD_ENTERED.TXT.  Send both text files to support@scanco.ch for them to archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update microCT QC1 calibration====&lt;br /&gt;
Refer to [[Media:QC1_Calibration_Update.pdf|&#039;&#039;&#039;QC1 Calibration Update&#039;&#039;&#039;]] for instructions for the VivaCT40 and uCT35.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new calibration or BHC====&lt;br /&gt;
If the QC1 range was out of range but it was not possible to update the system calibration before scanning, you can update the scan with the new density calibration (i.e., slope and intercept).  It is also possible to change the beam hardening correction that is applied (e.g., from 200 mg HA/cm3 to 1200 mg HA/cm3).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Type of Update ||RSQ||ISQ||AIM&lt;br /&gt;
|-&lt;br /&gt;
|QC1 was out of range, need new slope and intercept &lt;br /&gt;
(e.g., after updating the system calibration)&lt;br /&gt;
|Yes||Yes||No, Create New&lt;br /&gt;
|-&lt;br /&gt;
|Change beam hardening correction type &lt;br /&gt;
(e.g., 200 mg HA/cm3 to 1200 mg HA/cm3)&lt;br /&gt;
|Yes||No, Reconstruct||No, Create New&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Use the UCT_EXT_HEADER_ADD_CALIB program to update an RSQ and, if appropriate, repeat for the ISQ.  &lt;br /&gt;
*Use default values for all prompts except those commented after !.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
 &lt;br /&gt;
UCT_EXT_HEADER_ADD_CALIB V 1.1&lt;br /&gt;
Raw-Data-File []:    !give the name of the RSQ/ISQ with full path if not in that directory&lt;br /&gt;
 &lt;br /&gt;
Reading Raw Data ...&lt;br /&gt;
 IDX Calib Description&lt;br /&gt;
  1      1 45 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  2      2 55 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  3      3 70 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  4      4 General, non-bone-density-calibrated scan, scale 4096&lt;br /&gt;
  5      5 45 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  6      6 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  7      7 70 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
 &lt;br /&gt;
Calibration Record No [0]: !specify the new calibration, e.g. 6&lt;br /&gt;
 &lt;br /&gt;
Calibration No.           6&lt;br /&gt;
Description 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
Scanner-ID        5019&lt;br /&gt;
Energy [V]       55000&lt;br /&gt;
Antiring Enable             0&lt;br /&gt;
Beamhardening Enable            1&lt;br /&gt;
Beamhardening Coeff file UCTD:UCT_BH_COEFF_55KV_1200HA_5019.TXT&lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom)           2&lt;br /&gt;
Same type already found. Setting old to invalid&lt;br /&gt;
SUCCESS: calib hext written&lt;br /&gt;
updating header...&lt;br /&gt;
SUCCESS: Header successfully updated.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Calib record indicates that BH-Corr is usually applied.&lt;br /&gt;
Info: There is a BH-Corr corr already in hext.&lt;br /&gt;
Add another BH-Corr from file again? (Y/N) [N]:  Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new QC1 calibration====&lt;br /&gt;
Refer to  [[Media:Update_Scan_with_new_QC1.pdf|&#039;&#039;&#039;Update Scan with new QC1&#039;&#039;&#039;]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: un-centered QC1 Gobj====&lt;br /&gt;
The contour for the QC1 scan is not centered on the on hydroxyapatite rod, which will result in erroneous low density values.  &lt;br /&gt;
&lt;br /&gt;
This can occur for a couple of reasons:&lt;br /&gt;
*The metal spindle has come loose on the phantom, in which case re-glue it and update the contours&lt;br /&gt;
*The slot on the phantom&#039;s spindle was not correctly aligned&lt;br /&gt;
*For the vivaCT 40, the sample bed was not pushed to the right before locking it in place&lt;br /&gt;
[[File:Phantom_not_pushed_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: rods in QC2 images====&lt;br /&gt;
The QC2 scan has aluminum rods AND hydroxyapatite rods.  This happens because the slot on the phantom&#039;s spindle was not correctly aligned and the phantom positioning is off slightly.  Adjust the phantom and re-scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Phantom_spindle_not_in_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
&lt;br /&gt;
==Scanner User Manual==&lt;br /&gt;
For XtremeCTs:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Scanco - Manual_XtremeCTII_2.5.pdf |XtremeCT II User&#039;s Guide V2.5]]&lt;br /&gt;
* [[Media:XtremeCT User Guide XCT I.pdf |XtremeCT I  User&#039;s Guide V6.4]]&lt;br /&gt;
&lt;br /&gt;
For microCTs:&lt;br /&gt;
* [[Media:Manual_vivaCT_80.pdf |VivaCT80 User&#039;s Guide V1.5]]&lt;br /&gt;
* [[Media:scanco-manual-vivact40.pdf |VivaCT40 User&#039;s Guide V4.05]]&lt;br /&gt;
* [[Media:Scanco-manual-uct35.pdf |MicroCT35 User&#039;s Guide V4.05]]&lt;br /&gt;
&lt;br /&gt;
==Scanco&#039;s FAQ==&lt;br /&gt;
Navigate to the manufacturer [http://www.scanco.ch/index.php?id=customer_login Scanco Medical FAQ].&lt;br /&gt;
&lt;br /&gt;
* Username:  users@scanco.ch&lt;br /&gt;
* Password:  basser5dorf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan==&lt;br /&gt;
===Scan SOP===&lt;br /&gt;
====Image Quality====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-image-quality.pdf|&#039;&#039;&#039;Image Quality: Resolution vs. Noise&#039;&#039;&#039;]] by Scanco Medical.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Control File Settings====&lt;br /&gt;
*Refer to [[Media:ControlFileSettingsUserMeeting2014Final.pdf|&#039;&#039;&#039;Optimize Control File Settings&#039;&#039;&#039;]] with regards to resolution, contrast and scan time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scan materials of different densities====&lt;br /&gt;
*Refer to [[Media:UM_HongKong_DifferentDensityMaterials.pdf|&#039;&#039;&#039;Scan materials of different densities&#039;&#039;&#039;]]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Scan for Soft and Adipose Tissue Separability====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-adipose-vs-soft-tissue.pdf|&#039;&#039;&#039;Scan Protocol Optimization for Soft and Adipose Tissue Separability&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Measure multiple samples in one scan====&lt;br /&gt;
&lt;br /&gt;
This quite often happens when you want to scan 6 rat bones, for example, but using our six-gun sample holder you scan them in one go.  But, you want to analyse them separately, so you have to import the ISQ multiple times as new MEASUREMENTS into each SAMPLE.&lt;br /&gt;
&lt;br /&gt;
There are two options: manual and auto.  &amp;lt;b&amp;gt;Read this entire HowTo before proceeding.  There is significant potential for mistakes!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:import_manual.com&lt;br /&gt;
&lt;br /&gt;
P1: Measurement Number to duplicate&lt;br /&gt;
P2: New Sample Number from Database&lt;br /&gt;
P3: New Start Letter of ISQ file&lt;br /&gt;
P4: Optional: Operator Number&lt;br /&gt;
P5: Optional: Controlfile Number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @com:import_manual.com 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will copy the ISQ from measurement 1234, import it into the database to sample 342, give some feedback lines with &#039;old&#039; and the new samplename, CHECK IT, and at the end it gives the feedback line on the terminal which you take with the mouse and drop to rename the data over to the new location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;IMPORTANT: BE VERY SURE NOT TO MIX UP MEASUREMENT AND SAMPLE NUMBER !!!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This distiction needs to be VERY clear in your mind! Of course, you can duplicate one scan and give it to the same samplenumber again (e.g. to evaluate different parts of the same sample, and each has its database&lt;br /&gt;
entry).&lt;br /&gt;
&lt;br /&gt;
Please build up some system so you see immediately that the right meas. goes to the right sample. E.g. all four bones in one scan have the same part in the name, distinct from other 4 bones. If there is any trace of a doubt later on that somebody MAY have messed up the samples in this duplication step, you&#039;ll most probably have to start from scratch again...&lt;br /&gt;
&lt;br /&gt;
Of course, I&#039;ll have to make you aware that Scanco declines all responsibility - this program is NOT in the normal user-friendly, quite fool-proof Scanco controlbox, but it&#039;s up to you to use it carefully, and not on Friday night when you&#039;re sleepy and mistakenly mix up sample and meas. numbers...&lt;br /&gt;
&lt;br /&gt;
The new startletter I built in so you always know which one was the &#039;original&#039; measurement (which has an RSQ), and which are the duplicated ones.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Backup&amp;lt;/b&amp;gt;&lt;br /&gt;
And the organization of how you know which duplicated scan is which part is&lt;br /&gt;
completely up to you - as well as how you want to handle the backup - our&lt;br /&gt;
software allows you to back-up each duplicated scan (but this might be an&lt;br /&gt;
overkill, since it&#039;s the same ISQ always) so you may choose to delete the&lt;br /&gt;
duplicated ISQ by hand in the session manager (only keep the &#039;original&#039; ISQ), and only backup the .gobj, .aim and _seg.aim etc. (but then you will need to know not to get scared if you retrieve a scan, and the ISQ is missing...) (Or you just &#039;move to trash&#039; the duplicated scans to nicely delete them with the backup program if you want to remove them completely (but you still have the 3D results in the evaluation database))&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Autosubmit&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please use the manual one for a while. Then, if you feel comfortable, use the autosubmit one (which also does the last command automatically, the renaming of the isq to the new location.) Because it goes into a batch que, you can quickly submit all duplications, and do not have to wait for the whole file-copying like in the manual one.&lt;br /&gt;
&lt;br /&gt;
One thing you should check there:&lt;br /&gt;
$ show que sys$fast/full&lt;br /&gt;
&lt;br /&gt;
This needs to be one single queue (/job_limit=1). In a clustered enviroment,&lt;br /&gt;
this might be a &#039;/generic=&#039; que that then gives the jobs to multiple queues in the cluster. This is NOT good. If this is the case, please edit the autosubmit script, and replace sys$fast in the following line at the end by ONE of the generic fast queues, e.g. SC4240_FAST or whatever the name is (preferrable the one computer where also the data disk DK0 is sitting:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$!&lt;br /&gt;
$      SUBMIT/NOPRINT/QUE=SYS$FAST/DELETE/NOTIFY/LOG=SYS$SCRATCH: &#039;COMMANDFILE&#039;&lt;br /&gt;
$!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Reason: if multiple uct_imports would run at exactly totally the very same time, both jobs might get the same new measurement number... bad...)&lt;br /&gt;
&lt;br /&gt;
I also suggest to add the following line to your login.com&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl*icate :== @com:import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you can just start it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And I also recommend to put into login.com:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ check_dup :== search sys$scratch:import*.log &amp;quot;&amp;quot;&amp;quot; name:&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, with all these double-quotes)&lt;br /&gt;
&lt;br /&gt;
Then use it to check the feedback that the right scans were given to the right samples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scan FAQ===&lt;br /&gt;
====Unlock a locked controlfile====&lt;br /&gt;
If you accidentally locked a controlfile, it is possible to unlock it so that it can again be modified.&lt;br /&gt;
&lt;br /&gt;
Login as the calibration user (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user, Set priviledges to bypass.&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
Set the controlfile database to the microct, or other, user where the controlfile is locked.  &lt;br /&gt;
*The file is usually located on (a)disk1:[username.database] and may be accessible using the uctd logical.  &lt;br /&gt;
*The database file contains the scanner ID (e.g., 3309 for the XtremeCT, note there&#039;s no SC before 3309).&lt;br /&gt;
 $ def uct_controlfiles_database adisk1:[microct.database]uct_controlfiles_3309.dat&lt;br /&gt;
 $ run ut:uct_upd_controlfiles&lt;br /&gt;
&lt;br /&gt;
Choose the controlfile.Use T and F to indicate true and false.&lt;br /&gt;
*YOU MUST SAY YES TO UPDATE CTRL-FILE! There is a bug so do this even if you make a mistake.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Selected operator is not an operator CODE: 24====&lt;br /&gt;
You must enter an operator name in the micro-CT control panel. &lt;br /&gt;
*You only need to enter the beginning part of your operator name (e.g., Bo for Bone Imaging Lab) or your operator number.  &lt;br /&gt;
*You can also press &amp;quot;Edit...&amp;quot; and then press the &amp;quot;Find...&amp;quot; and press &amp;quot;OK&amp;quot; to show a list of all the operators that have been registered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Error assigning IO-channel for UCT_ACQ_LINE, device already allocated to another user CODE: 2112====&lt;br /&gt;
Only one person can be given control of the scanner at any time.  Most likely the scanning program is already open.  Check the minimized icons on the desktop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: ROT (M1) end switch detected, Motor stopped CODE: 3031====&lt;br /&gt;
We&#039;re not sure why motor errors occur occasionally.  The solution is to exit the scanning program and turn off the scanner (the switch is on the side of the machine).  Wait 30 seconds.  Turn the scanner on again.  Re-start the scanning program.  Wait for the scanner to warm up (20 min).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Acquisition error, Buffer overrun CODE: 1005====&lt;br /&gt;
This error occurs if the computer hooked up to the scanner is overloaded and does not accept the stream of CT data quickly enough.  Check that no large calculations are running interactively (e.g., loading a large dataset into the 3D viewer while the scan is running).  If you happen to be there at the very exact second when the buffer overrun happens, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show user/node/full             !check how many users/processes there are&lt;br /&gt;
$ monitor system/int=1            !check the process that is using the most cpu and page file quota&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Advise lab personal of the problem. If nobody is around, put the output of the above commands into a text document, stop the queues for the computer, and repeat the scan.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sc5019_fast       !for the vivaCT 40&lt;br /&gt;
$ stop/que/next sc5019_slow       !for the vivaCT 40&lt;br /&gt;
&lt;br /&gt;
$ stop/que/next sceva2_fast       !for the µCT35&lt;br /&gt;
$ stop/que/next sceva2_slow       !for the µCT35&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When finished, restart the queues that you stopped by &amp;lt;code&amp;gt;$ start/que queue_name &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Shutter fail safety test timeout CODE: 2101====&lt;br /&gt;
This happens if the scanning program has accidentally be left on overnight and the shutter fail safe test cannot be performed. Ensure that uct_tomography is closed at the end of the day and the scanner computer is logged out at the end of the day to avoid this error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Input error detected, Z protection detected CODE: 4001====&lt;br /&gt;
This means the big plate that you can see through the gantry has moved or been touched, activating one of the Z protection switches. This can happen during positioning a patient for a tibia scan if the person&#039;s leg isn&#039;t pushed into the scanner straight. The cast can potentially touch the plates and cause this error.&lt;br /&gt;
&lt;br /&gt;
In the rare case where this error occurs spontaneously during or at the end of a scan, or during a precalibration, one of the switches may have become activated due to the position of the Z plate. To determine the position(s) this error is triggered, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0                                                                                                                                                                                            Username: calibration                                                                                                                                                                                        Password:&lt;br /&gt;
&lt;br /&gt;
$ sdl&lt;br /&gt;
$ spb&lt;br /&gt;
$ run um:ccd_2d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Scanco test programs will open. First click on the Reset Z button (upper left corner). Then move the Z slider all the way to the right and hit move. If the Z-protection error appears, record exactly which Z position triggers the error (should be a red number on the left hand side of the slider). When you are done with this test, hit Reset Z again, wait until the motor comes to a complete stop (max. 15 seconds), close the software and in the same terminal by &amp;lt;code&amp;gt;$ logout &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contact Scanco regarding this error and provide the details from running the ccd program. They will provide further instructions on how to proceed and fix the problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: CCD frame timeout, HOTLink reframing CODE: 1007====&lt;br /&gt;
Take a screenshot of the error message and email Scanco immediately. Message indicates that X-ray tube is arcing. Try and warm up the X-ray tube again, and notify Scanco if there is any abnormal activity and whether the tube was able to warm up.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Invalid Scanner ID CODE: 24====&lt;br /&gt;
You have logged in with the incorrect user name.  End the session and login with the correct user name (vivaCT 40: vivact or invivo;  µCT 35: microct or invitro).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Unable to create shared memory, global page table full CODE: 196====&lt;br /&gt;
The temporary fix is to reboot the system.  But before you restart, if you have system access, do the following and save the output to a text to send to Scanco.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
Username: system&lt;br /&gt;
Password:&lt;br /&gt;
&lt;br /&gt;
$ search sys$system:agen$feedback.dat gblpages&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;contig_gblpages&amp;quot;)&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;free_gblsects&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reconstruction==&lt;br /&gt;
&lt;br /&gt;
===Standard Reconstruction===&lt;br /&gt;
Scans are automatically submitted for reconstruction, so manual submission is usually only necessary if there was a problem during reconstruction (e.g., a power failure).&lt;br /&gt;
&lt;br /&gt;
*To reconstruct all slices from the RSQ, first delete or rename the old ISQ. &lt;br /&gt;
*To reconstruct a selection of slices, a valid ISQ must exist. There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&#039;&#039;&#039;General Usage for Interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
P1: RSQ Filename&lt;br /&gt;
P2: Slice number (A – all, start:finish)&lt;br /&gt;
P3: Log file of batch job&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;General Usage for Non-interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
  $ submit/noprint/que=sys$slow um:uct_reconstruction.com/params=(&amp;lt;b&amp;gt;DISK2:MICROCT.DATA.00000610.00002449]C000####.RSQ &amp;lt;/b&amp;gt;, a)&lt;br /&gt;
*Normally jobs are submitted to sys$slow queue instead of running them interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
Here are examples of how to reconstruct a single RSQ file: C0007655.RSQ, sample 4111 and measurement 9899. &amp;lt;br&amp;gt;&lt;br /&gt;
To reconstruct slices 101 to 201 and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com /log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, 100:200, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The command must be all on one line (or use hyphen), and it wants the 3 parameters: filename, slices, and log.file name&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
To reconstruct all slices, use “a” for all slices and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ delete C0007655.ISQ;*&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com/log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, a, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The .log filename is up to you, as long as it&#039;s the same at both places. &lt;br /&gt;
*Give full pathname for RSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct multiple files====&lt;br /&gt;
For multiple files, create a script and submit the job to the sys$slow queue. For example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ eve reco_all.com   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or open editor (command &#039;Edit&#039;), put the following lines in the file and save it as .e.g sys$scratch:reco_all.com:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009899]C0007655.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009900]C0007656.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009001]C0007657.rsq a&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit the text editor, then submit the job (e.g. to sys$slow):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow/log=sys$scratch:reco4111.log sys$scratch:reco_all.com&lt;br /&gt;
All the files will be reconstructed as a single job, with one log file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch reconstruction on XtremeCT2====&lt;br /&gt;
The reconstruction software available for the XT2 supports the /batch syntax that replaces reco_all.com. &lt;br /&gt;
You can split a manual reconstruction into several jobs using&lt;br /&gt;
&lt;br /&gt;
 $ uct_reconstruction DK0:[XTREMECT2.DATA.00001234.00005678]D0123456.RSQ a/batch=16&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update to uct_reconstruction V6.2-5, March 2019====&lt;br /&gt;
&lt;br /&gt;
As of March 2019, we should only use uct_reconstruction v6.2-5 on xtremect2. &lt;br /&gt;
For studies with baseline and follow-up scans overlapping this time, the old version (V6.2-2) can still be accessed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_old_recon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Changing reconstruction versions can lead to small systematic differences in the result parameters of a trabecular bone analysis. The old version should only be accessed by those who absolutely need to use it. (Scanco recommends re-reconstructing all measurements of a study with version 6.2-5 instead).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== Rotated Reconstruction (about z-axis)===&lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to measure the angle for the rotated reconstruction. &lt;br /&gt;
#*To start the program type &amp;lt;code&amp;gt;$ uct_evaluation &amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. &lt;br /&gt;
#*Load your sample and select the angle measurement button.  &lt;br /&gt;
#*Drag the ends and the intersection of the green lines to measure the desired rotation angle. &lt;br /&gt;
#:[[File:Angle meas.preview.jpg|600px]]&lt;br /&gt;
#Rotate and reconstruct&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:reco_all &amp;lt;/code&amp;gt; to reconstruct all slices.&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:uct_reconstruction_angle &amp;lt;/code&amp;gt; to reconstruct selected slices from an RSQ. &lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to check the sample after the rotated reconstruction:&lt;br /&gt;
#:[[File:Rotated_reconstruction.preview.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;General Usage&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
      P1: Angle in degrees&lt;br /&gt;
      P2: Sample number&lt;br /&gt;
      P3: Measurement number&lt;br /&gt;
&lt;br /&gt;
$ @com:uct_reconstruction_angle.com P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
      P1: RSQ Filename&lt;br /&gt;
      P2: Slice number (A – all, start:finish)&lt;br /&gt;
      P3: Log file of batch job&lt;br /&gt;
      P4: Delete log file (true/false)&lt;br /&gt;
      P5: Angle in degrees&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The angle of rotation uses the right-hand rule:  a counterclockwise rotation is positive and a clockwise rotation is negative.&lt;br /&gt;
*The angle of rotation uses a single decimal place.  &lt;br /&gt;
*By default the reconstruction jobs will be placed in the sceva3_slow queue.&lt;br /&gt;
*Both functions are executed from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
The following examples are for a 19.1 degree counterclockwise rotation of sample 6876, measurement 15417, C0005086.RSQ.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com 19.1 6876 15417&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Delete the ISQ file from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
*A valid ISQ must exist.&lt;br /&gt;
*There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&lt;br /&gt;
To reconstruct slices 36 to 41:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 sys$scratch:reco610.log true 19.1&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 &amp;quot;&amp;quot; &amp;quot;&amp;quot; 19.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*&amp;quot;&amp;quot; is used as a null input for optional parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Other Reconstruction===&lt;br /&gt;
&lt;br /&gt;
====Reconstruct at a new voxel size====&lt;br /&gt;
See a script in:&lt;br /&gt;
  DISK1:[XTREMECT2.EVAL]UPDATE_HEADER.COM&lt;br /&gt;
&lt;br /&gt;
This script includes the following type of information:&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000010.00000050]D0000068.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000011.00000054]D0000072.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
&lt;br /&gt;
This is what one would do in a terminal. The only requirement is that this &amp;lt;code&amp;gt;updh_voxelsize.exe&amp;lt;/code&amp;gt; cannot be executed as the normal user.&lt;br /&gt;
Prior to that, one has to log as calibration, and do:&lt;br /&gt;
  $ set proc/priv=bypass&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate RSQ==&lt;br /&gt;
&lt;br /&gt;
===View RSQ projections and flat field===&lt;br /&gt;
&lt;br /&gt;
It can be very useful to examine the projections that are contained in the RSQ file, as well as to see the flat field correction frames.&lt;br /&gt;
&lt;br /&gt;
In the session manager, double click the RSQ file and the program ximage will open. Or, type:&lt;br /&gt;
  $ sh sym x&lt;br /&gt;
    X == &amp;quot;$UM:XIMAGE.EXE&amp;quot;&lt;br /&gt;
  $ x D0000018.RSQ&lt;br /&gt;
Then switch to xz view and go to the second slice (in this order). Then you should see a frame of the none attenuated beam (nothing in the beam, or Scanco calls it the I0 frame). If it is a multi stack measurement then there will be several copys of this frame in this image.&lt;br /&gt;
&lt;br /&gt;
In an RSQ you have for each slice of the detector one dark current line and then the full intensity line followed form the radiographs taken under the different angles (sinogram). In the x direction is the detector line, in the y direction is the rotation angle (except dark and I0) and in the z direction is the z-direction of the scanner. If you switch the view to xz, then you can see the frames as acquired by the detector (or stacked frames all taken under the same rotation angle). Frame 1 is then the dark image and Frame 2 is the full intensity image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to AIM===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
ipl&amp;gt; rsq_to_aim in YP_IGFAMOTION_003_6.RSQ                                                                                             &lt;br /&gt;
  -pos                       [0 0 0] &amp;gt; &lt;br /&gt;
  -dim                       [-1 -1 -1] &amp;gt; &lt;br /&gt;
  -convert_to_pro            [false] &amp;gt; true&lt;br /&gt;
  -sinogram_not_frames       [true] &amp;gt; true&lt;br /&gt;
  -div_unsigned_by_2         [false] &amp;gt; true&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt; write&lt;br /&gt;
  -name                      [internal_name] &amp;gt; in&lt;br /&gt;
  -filename                  [default_file_name] &amp;gt; YP_IGFAMOTION_003_6_rsq.aim&lt;br /&gt;
  -compress_type             [bin] &amp;gt; none&lt;br /&gt;
  -version_020               [true] &amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to PSQ===&lt;br /&gt;
First, in the terminal turn on the &#039;advanced questions&#039; mode&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Second use the reconstruction EXE to convert RSQ to PSQ&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run UCT_RECONSTRUCTION.EXE&lt;br /&gt;
raw file: DISK3:[MICROCT.PROJECTS.YVES.LANDMARK.RAW]filename.RSQ&lt;br /&gt;
&lt;br /&gt;
Give slice number, or &#039;a&#039; for all&lt;br /&gt;
hit return a few times&lt;br /&gt;
&lt;br /&gt;
Write Projection [N]:   -&amp;gt; say y and it writes the PSQ and continues with reco&lt;br /&gt;
Say p if it shall just produce PSQ and NOT continue with reco!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Beam hardening correction can be turned off by doing&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UCT_RECONSTRUCTION_CALIBRATION TRUE&lt;br /&gt;
$ define uct_disable_bh_correction true&lt;br /&gt;
$ deass UCT_BEAMHARD_POWER&lt;br /&gt;
$ deass UCT_BEAMHARD_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then run &amp;lt;code&amp;gt;uct_reconstruction&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The RSQ contains the RAW projection data. The PSQ represents tilted parallel beam projections:&lt;br /&gt;
&lt;br /&gt;
[[Image:CB-Rebinned.gif]]&lt;br /&gt;
&lt;br /&gt;
The rebinning process reduces the number of projections from 836 (1 bright field, 1 dark field and 834 projections spaced at 0.24 deg/proj, spanning 200.16 deg) to 750 (spanning 180 deg) with a resolution of 0.24 deg. In addition to the geometric changes, intensities are adjusted ln(I/I0) and beam hardening correction is applied. After converting a PSQ to AIM with IPL, an image can be reconstructed with Matlab&#039;s iradon(), note that only the central slice will be geometrically &#039;correct&#039;, but differences in other slices are small (Circumference of calibration phantom differs less than 1%). in the final reconstruction these effects are accounted for reducing the number of z-slices from 124 (acquired) to 110 in the reconstructed image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Measure RSQ motion artifact===&lt;br /&gt;
Based on RSQ data, in-plane translation and rotation, and longitudinal translation can be determined. &lt;br /&gt;
&lt;br /&gt;
The RSQ is first converted to a tilted parallel-beam sinogram. Motion is measured using the bonelab_measuremotion command in the Calgary extension of IPL installed on percy. Copy the motion scripts available in &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]&amp;lt;/code&amp;gt; to your COM directory. Here is how they work:&lt;br /&gt;
&lt;br /&gt;
* RSQ_TO_PSQ.COM;1 - (optional) convert RSQ to PSQ, PSQ gets created in the same directory as RSQ. Usage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ @rsq_to_psq.com DK0:[BRUNO.DATA.00000162.00009479]C0008921.RSQ&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* IPL_MEASUREMOTION.COM;2 - Takes a PSQ and measures motion using Calgary IPL on percy&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! example of how to submit a motion measurement&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST /LOG=SYS$SCRATCH: -&lt;br /&gt;
  DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM -&lt;br /&gt;
  /PARAM=(DISK3:[MICROCT.PROJECTS.DEVEL.RECO_TEST.RAW]PHANTOM_NOMOTION.PSQ) -&lt;br /&gt;
   /LOG=DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]MEASUREMOTION.LOG&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results are save in &amp;lt;code&amp;gt;MEASUREMOTION.LOG&amp;lt;/code&amp;gt; and the following section contains all information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/bonelab_measure_motion&lt;br /&gt;
  -input                     org&lt;br /&gt;
Motion:&lt;br /&gt;
Translation = 2.135364&lt;br /&gt;
Rotation = 0.024216&lt;br /&gt;
Index = 3.694660&lt;br /&gt;
Translation weight = 0.943156&lt;br /&gt;
Rotation weight = 69.403737&lt;br /&gt;
Z_motion = 2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below with search.&lt;br /&gt;
Translation,Rotation,Index,Trans_weight,Rot_weight,Z_motion&lt;br /&gt;
2.135364,0.024216,3.694660,0.943156,69.403737,2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below for DB entry (Index*100).&lt;br /&gt;
db_motion_index=369.466034&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In-plane translation is &#039;&#039;&#039;Translation&#039;&#039;&#039;, in-plane rotation is &#039;&#039;&#039;Rotation&#039;&#039;&#039; and longitudinal translation is &#039;&#039;&#039;Z_motion&#039;&#039;&#039;. &#039;&#039;&#039;Index&#039;&#039;&#039; is the total in-plane motion as used in the IEEE ISBI 2009 paper by linear combination using the weights, not used any more, now we use in-plane translation only. &#039;&#039;&#039;db_motion_index&#039;&#039;&#039; is the motion index value multiplied by 100 and that could be written to the patient database. Multiplication by 100 is necessary since the motion field in the database is integer only.&lt;br /&gt;
&lt;br /&gt;
For more background on the algorithm look at &#039;&#039;Pauchard Y., et al, Measuring patient motion in HR-pQCT, IEEE ISBI 2009&#039;&#039;, and &#039;&#039;Pauchard Y., et.al., Automated quantification of three-dimensional subject motion to monitor image quality in high-resolution peripheral quantitative computed tomography, Phys Med Biol. vol. 56, pp 6523-6543, 2011&#039;&#039;. &#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The IPL implementation has not been validated against the Matlab implementation used in these publications. Motion Values can be different. Values can be automatically extracted as described below.&lt;br /&gt;
&lt;br /&gt;
* RSQ_MEASUREMOTION.COM;10 - The full deal: creates PSQ and measures motion all in the same directory as the RSQ.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
@DISK3:[MICROCT.PROJECTS.RESCAN.COM]RSQ_MEASUREMOTION.COM DISK3:[MICROCT.PROJECTS.RESCAN.RAW]M0003508.RSQ;1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to adjust the line:&lt;br /&gt;
&amp;lt;code&amp;gt;$ SCRIPTFILE := DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
to the location of your &amp;lt;code&amp;gt;IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The results are stored in the same directory as the RSQ in &amp;lt;RSQname&amp;gt;MOTION.LOG and can be extracted into motion_all.txt by running the search command:&lt;br /&gt;
&amp;lt;pre&amp;gt;search/output=motion_all.txt/window(0,1)/match=OR *motion.log &amp;quot;Translation,&amp;quot;,&amp;quot;Patient Name &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update RSQ&#039;s Center Information===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
username: calibration&lt;br /&gt;
password:&lt;br /&gt;
$ spb      or     $ set proc/priv=bypass  &lt;br /&gt;
$ run [.util]updh_center&lt;br /&gt;
Raw-Data-File:        enter location of raw data (with directory if necessary)&lt;br /&gt;
Center X:  [15430]:   enter new center value (e.g. 15415)&lt;br /&gt;
Press return for all other options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Determine RSQ&#039;s Centre Calibration Values===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true   ! Note: do not mistype... or the calibration program will not run&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the SAME terminal: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_reconstruction dk0:[microct.data.00004026.00004576]c0001344.rsq&lt;br /&gt;
Slice-Nr. [0...919] (Neg. to stop): 100&lt;br /&gt;
Center [207]: here enter a new number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hit return a few more times to use default values for other options.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT check these values, that they do not change:&lt;br /&gt;
Maximal possible Scan-Distance (mm) = 125.9520 &lt;br /&gt;
Cropped adjusted Scan-Distance (mm) = 125.9520 &lt;br /&gt;
See that it does not change, e.g. drop to 124 mm or such...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then do that again, $ uct_reconstruction ....rsq 100 (for the first time, for each file/scan). &lt;br /&gt;
&lt;br /&gt;
Double click on ISQ. slide to slice 101 (!) (100+1, since terminal zero based) compare with image in e.g. slice 100 or 99 (disregard funny half image shift...) &lt;br /&gt;
&lt;br /&gt;
Should already look nicer. &lt;br /&gt;
&lt;br /&gt;
Then try out with e.g. center 230 or so, with e.g. slice 101 (thus slice 102 in Ximage). (now, only one run is necessary) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
compare against image with center e.g. 200. &lt;br /&gt;
continue at libitum until you find the best center, the crispest image.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Usually the centre is determined to within about 3 to 5 points (which is 0.3 to 0.5 pixels), so e.g. test 225 and 230, and maybe 228. &lt;br /&gt;
&lt;br /&gt;
Write down your favourite. &lt;br /&gt;
&lt;br /&gt;
If you cannot decide: let Andres know which ISQ slice was reco-ed with which center (in &#039;Ximage&#039; slice numbers), and I can check - but since remote Ximage is SOOO slow, thanks for only pointing out a few options, I cannot check 20 settings...&lt;br /&gt;
&lt;br /&gt;
Then continue with next diameter scan (the first time for each scan, reco twice again) &lt;br /&gt;
&lt;br /&gt;
The different diameter centers should be a steady function, so all the new center values should be increasing as diameter decreases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Modify RSQ&#039;s BHC for in-air scans===&lt;br /&gt;
This is necessary because the beam-hardening correction factor assumes scans were done in soft tissue.  It is necessary to choose calibrations of 1200 or 700, instead of the default 200.&lt;br /&gt;
&lt;br /&gt;
Currently, the XtremeCT has options for 200 (standard) or 1200 calibration (in air). &lt;br /&gt;
&lt;br /&gt;
To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration; modification of MICROCT user data&lt;br /&gt;
$ run ut:UCT_EXT_HEADER_ADD_CALIB.EXE&lt;br /&gt;
&amp;gt; Raw-Data-File []: DISK2:[MICROCT.DATA.00000401.00001495]C0001404.RSQ&lt;br /&gt;
&amp;gt; ...&lt;br /&gt;
&amp;gt; Add another BH-Corr from file again? (Y/N) [N]:    ! Enter yes (UCTD:UCT_BH_COEFF_60KV_1200HA_3309.TXT)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, &amp;lt;b&amp;gt;delete&amp;lt;/b&amp;gt; the old ISQ.  It must be deleted or else the header information will not be changed.  Finally, reconstruct the new ISQ and analyze...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate ISQ==&lt;br /&gt;
&lt;br /&gt;
===Read an ISQ header===&lt;br /&gt;
You can either read using the standard tool&lt;br /&gt;
&lt;br /&gt;
  $ ctheader C0014141.ISQ&lt;br /&gt;
  $ sh sym ctheader&lt;br /&gt;
    CTHEADER == &amp;quot;$UT:CTHEADER.EXE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Or, use the extended header tool to show the calibration data&lt;br /&gt;
&lt;br /&gt;
  $ run ut:uct_ext_header_display.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import ISQ===&lt;br /&gt;
When you import, please note that the sample number AND measurement number are updated, so meas 10907 is now 10908.&lt;br /&gt;
&lt;br /&gt;
Suppose you have a sample 3000, meas 10000, C0001234.isq, and want to import this into sample 3001, this is what I would do:&lt;br /&gt;
&lt;br /&gt;
To make a copy of the scan (i.e., keep it in sample 3000 and make another copy in 3001)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd *3000*10000&lt;br /&gt;
$ copy C0001234.isq D0001234.isq,  also copy any other files you want imported (RSQ, GOBJs, etc)&lt;br /&gt;
$ import&lt;br /&gt;
&lt;br /&gt;
UCT_IMPORT V1.2&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
ISQ-file []: D0001234.ISQ&lt;br /&gt;
&lt;br /&gt;
Sample number [0]: 3001&lt;br /&gt;
&lt;br /&gt;
Change File Header name [Y]: Y&lt;br /&gt;
&lt;br /&gt;
Optional: Operator Measurement [0]: 1     (1 = bonelab)&lt;br /&gt;
&lt;br /&gt;
Site   20 Radius L&lt;br /&gt;
&lt;br /&gt;
Optional: Controlfile Nr. [0]:                (change if desired)&lt;br /&gt;
&lt;br /&gt;
Execute Rename Command [Y]: Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
===Ring Artifact===&lt;br /&gt;
*Refer to [[Media:Microct_ring_correction.pdf|&#039;&#039;&#039;MicroCT Ring Correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Partial Volume Effect===&lt;br /&gt;
*Refer to [[Media:Partial_Volume_Effect.pdf|&#039;&#039;&#039;Partial Volume Effect&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Beam Hardening Correction (BHC)===&lt;br /&gt;
&lt;br /&gt;
====Use the right BHC====&lt;br /&gt;
*Refer to [[Media:Beam_hardening_correction.pdf|&#039;&#039;&#039;Use the right beam hardening correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understand Scanco BHC====&lt;br /&gt;
If you see lines like &#039;CCD_CORR: Expand BH-corr to1536&#039; etc. etc.: &lt;br /&gt;
&lt;br /&gt;
then we do a polynomial correction: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uctd:*bh_coeff*.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and you see a file with the scanner ID. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--&amp;gt; $ type uctd:UCT_BH_COEFF_60KV_0200HA_3309.TXT&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
! Function 9 is Addpolynom&lt;br /&gt;
Function:           9 A&lt;br /&gt;
0:  3  0.00000000 -0.38599902  0.30870225 -0.06162301&lt;br /&gt;
--&amp;gt; 0: for all pixels. 3 --&amp;gt; 3rd degree polynom, with factors: &lt;br /&gt;
x^0 = 0&lt;br /&gt;
x^1 = -0.38...&lt;br /&gt;
x^2 = 0.308...&lt;br /&gt;
x^3 = -0.061...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This polynom is added to the PROJECTION value (not the raw counts). &lt;br /&gt;
&lt;br /&gt;
the BH-corr is doing a &#039;linearization&#039;, e.g. see&lt;br /&gt;
&lt;br /&gt;
http://iospress.metapress.com/content/twcxb9jfk8knhpq2/&lt;br /&gt;
&lt;br /&gt;
for more info. &lt;br /&gt;
&lt;br /&gt;
The values in the middle of the scan are amplified more - not just because of their position, but because the object is thicker there, thus the projection values are higher, thus the correction term is higher.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE&amp;lt;/b&amp;gt; : Linearisation, as used by Scanco, will compensate &#039;soft-tissue&#039; beam hardening (inside of water phantom appears &amp;lt;b&amp;gt;LESS&amp;lt;/b&amp;gt; dense). Bone related beam hardening, e.g. soft tissue near skull appearing &amp;lt;b&amp;gt;MORE&amp;lt;/b&amp;gt; dense, will &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; generally be compensated. See Kak and Slaney &#039;Principles of computerized tomogprahic imaging&#039; and Joseph and Spital J Comp Assist Tomo 1978 vol 2 for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
&lt;br /&gt;
==Analysis Topics==&lt;br /&gt;
&lt;br /&gt;
===Cortical thickness analysis in standard evaluation===&lt;br /&gt;
&lt;br /&gt;
!!Note - with ipl v5.42 this should be changed to &amp;lt;code&amp;gt;/dt_cortical_thickness&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the IPL command &amp;lt;code&amp;gt;/dt_cortex_obj_param&amp;lt;/code&amp;gt; to measure cortical thickness using direct methods.&lt;br /&gt;
&lt;br /&gt;
When extracting the results from the database using &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt;, specify the &amp;lt;code&amp;gt;UCT_3D_LIST_W_CTH.TXT&amp;lt;/code&amp;gt; template in directory &amp;lt;code&amp;gt;DISK0:[MICROCT_COMMMON.UIL]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
UCT_LIST.EXE Version V5.1&lt;br /&gt;
Template-File [UCT_3D_LIST_SHEET]: DISK0:[MICROCT_COMMON.UIL]UCT_3D_LIST_W_CTH.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
UCT_3D_LIST_W_CTH.TXT is now the default template as of March 2009.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical porosity and finite element analysis on XtremeCT===&lt;br /&gt;
&lt;br /&gt;
* This procedure is broken down into 3 separate components&lt;br /&gt;
* All Scripts mentioned be copied directly from DISK3:[MICROCT.PROJECTS.KYLE.SCRIPTS]&lt;br /&gt;
* Files should be copied from data to projects prior to running analysis (see bonelab procedures.doc on sodor) &lt;br /&gt;
&lt;br /&gt;
1. Autocontour the image &amp;lt;br&amp;gt;&lt;br /&gt;
2. Calculate and extract cortical measurements &amp;lt;br&amp;gt;&lt;br /&gt;
3. Create FE files and run FE &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Autocontour====&lt;br /&gt;
* The main autocontour script is located in the ue: directory, this should NOT be modified!&lt;br /&gt;
* The procedure is executed using a &amp;quot;hijack&amp;quot; script [[Media:HIJACK_AUTOCONTOUR.TXT|&#039;&#039;&#039;HIJACK_AUTOCONTOUR.TXT&#039;&#039;&#039;]], but the filename must be changed to .COM or found in the directory mentioned above.&lt;br /&gt;
* Files should already have a _SEG.AIM created and should be in the same directory as the raw .AIM file.&lt;br /&gt;
&lt;br /&gt;
* You then create a SUBMIT.COM script as you would for other files. For example:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:HIJACK_AUTOCONTOUR.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
* This command will then create various files for examination and further analysis. These include:&lt;br /&gt;
** FILENAME_COMBI.AIM - shows cortical, trabecular, and pores all in different colors&lt;br /&gt;
** FILENAME_COMBIPO.AIM - shows only the cortex with porosity as different color&lt;br /&gt;
** FILENAME_CRTXFILL.AIM - gives sold mask of cortex, porosity filled (can be used to calculate Ct.Th)&lt;br /&gt;
** FILENAME_CRTXPO.AIM - shows only the pores&lt;br /&gt;
** FILENAME_TRAB.GOBJ - gobj of trabecular region&lt;br /&gt;
** FILENAME_CRTX.GOBJ - gobj of cortical region&lt;br /&gt;
** FILENAME_AUTO2.GOBJ - gobj of whole bone region&lt;br /&gt;
&lt;br /&gt;
* Further technical details and references can be found in the following publications:&lt;br /&gt;
** Buie, H., Campbell, G., Klinck, R., MacNeil, J., &amp;amp; Boyd, S. (2007). Automatic segmentation of cortical and trabecular compartments based on a dual threshold technique for in vivo micro-CT bone analysis. Bone, 41(4), 505-515. &lt;br /&gt;
** K.K. Nishiyama, Macdonald, H., Buie, H., Hanley, D., &amp;amp; Boyd, S. (2010). Postmenopausal Women With Osteopenia Have Higher Cortical Porosity and Thinner Cortices at the Distal Radius and Tibia Than Women With Normal aBMD: An In Vivo HR-pQCT Study. Journal of Bone and Mineral Research, 25(4), 882-890.&lt;br /&gt;
&lt;br /&gt;
====Evaluate Cortex====&lt;br /&gt;
&lt;br /&gt;
*This Step 2 method of doing the cortical analysis is no longer used now that we have the IPL_UPAT_CALGARY_EVAL_XT1.COM or XT2.COM version. The problem with this approach is that it is a Frankenstein of the standard analysis and the advanced analysis. The cortical bone assessment is correct, but the trabecular compartment from the standard analysis is not a perfect match. Instead, we should be using the GOBJs described in IPL_UPAT_CALGARY_EVAL_XT1.COM so that we have a perfect mix. &lt;br /&gt;
  &lt;br /&gt;
Nevertheless, we keep this information here for now for posterity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*After the autocontour is computed we used to call IPL_EVAL_CORTEX.COM that will calculate the cortical parameters:&lt;br /&gt;
**Cortical porosity (%)&lt;br /&gt;
**Direct cortical thickness (mm)&lt;br /&gt;
**Cortical density (mg HA/ccm)&lt;br /&gt;
&lt;br /&gt;
This WAS called as the following:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_EVAL_CORTEX.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME.AIM&#039;&#039;&#039; -&lt;br /&gt;
        /LOG=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.LOG]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;_EVAL_CRTX.LOG&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The results of this script are outputed into individual log files for each file being evaluated.&lt;br /&gt;
* To extract these results into one file use:&lt;br /&gt;
 $ search/output=output_results_filename.txt *EVAL_CRTX.LOG &amp;quot;!% ov/tv&amp;quot;,&amp;quot;!&amp;gt; C.Th&amp;quot;,&amp;quot;!% mean_unit&amp;quot;&lt;br /&gt;
*A learn command in the eve editor can be used to extract the specific results desired:&lt;br /&gt;
**!% ov/tv is the amount of bone in the cortex (ie. 1- ov/tv =  cortical porosity)&lt;br /&gt;
**!&amp;gt; C.Th is the direct cortical thickness in mm&lt;br /&gt;
**!% mean_unit is the cortical density in mg HA/ccm&lt;br /&gt;
&lt;br /&gt;
====Create and run FE models====&lt;br /&gt;
&lt;br /&gt;
*The most current common FE model to run is a homogeneous model where all elements have the same material properties and the cortex and trabecular regions are labeled separately in order to determine the percentage of load carried by each region.&lt;br /&gt;
*The other option is to create a model where the material properties are scaled based on the density values and scripts for this can be found in the COM directory.&lt;br /&gt;
&lt;br /&gt;
*The script IPL_FEM_HOMOGEMOUS_LS.COM will use files created by the autocontour and appropriately label the cortex and trabecular regions as well as remove any disconnected pieces of bone.&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_FEM_HOMOGENOUS_LS.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
*Files will now be created with the suffix _HOM_LS.AIM and can be moved to Mighty-Mac or Mavis for FE analysis.  You will require user accounts for these computers and can contact Eric or Steve. If using FTP be sure to transfer the files in binary mode (further documentation on this can be found in this Wiki)&lt;br /&gt;
&lt;br /&gt;
*[[Media:2009-10-15_FEM_Tutorial.pdf|&#039;&#039;&#039;FEM tutorial main steps&#039;&#039;&#039;]] to submit the FE files with a detailed manual is recommended for first time users.&lt;br /&gt;
*This is now out of date, but is kept here because it still contains useful information about preparing AIM files and post-processing.  &lt;br /&gt;
*For running the FE itself, please refer to the current manual at [[FAIM Finite Element Solver]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical midshaft analysis with moment of inertia calculation===&lt;br /&gt;
&lt;br /&gt;
This explains what happens when you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ midshaft       ! or&lt;br /&gt;
$ eval_midshaft &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw a rough contour around your slices: open the Contouring Sub-window, double-click on the big image, and it automatically finds the best contour. Then click on &#039;Selection&#039; &#039;Forwards&#039;, then &#039;Iterate Forwards&#039;.&lt;br /&gt;
&lt;br /&gt;
Then &#039;cancel&#039; the contouring sub-window, and start the 3D evaluation.  Make sure you have already set the correct threshold, sigma, support in file&lt;br /&gt;
&amp;lt;pre&amp;gt;DISK2:[MICROCT.EVAL]IPL_FIXED_BATCH_MIDSHAFT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should find a job called UCT_EVALUATION_MIDSHAFT and a SYS$SCRATCH:*_MIDSHAFT_*.LOG&lt;br /&gt;
&lt;br /&gt;
The IPL_FIXED_BATCH_MIDSHAFT.COM by default does not calculate the direct measurement results because you must have many more than 20 slices for these to be valid.  You can uncomment these parts of the file if you contoured the whole stack (i.e., stack thickness is &amp;gt;&amp;gt; than cortex thickness).&lt;br /&gt;
&lt;br /&gt;
TILDE: Note that you will see lots of tildes (~) on the result sheets. This is to tell you that, if the measurements were trabecular bone, those values would only be approximate. But now for the cortex, they are actually correct! (see below for more explanation about this) I would now use the tildes to check the &#039;excel&#039; table that the operator has taken the correct script for the trab. or cort. evaluations for the respective measurements!&lt;br /&gt;
&lt;br /&gt;
So what&#039;s the advantage of all this?  Now, also VOX-TV is correct!  So VOX-TV is the whole area, VOX-BV the doughnut, so TV - BV is the marrow area!  And still, TRI-Tb.Th is the cortical thickness (TRI-TV is NOT correct, because the .gobj feature was turned off).&lt;br /&gt;
&lt;br /&gt;
I say &#039;area&#039; above: depending on how many slices one individual scan has,&lt;br /&gt;
VOX-BV (and VOX-TV) might be different for different scans, so you will HAVE to&lt;br /&gt;
convert the volumes to area again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
volume equals area times height&lt;br /&gt;
--&amp;gt; Bone Area = VOX-BV / height = BV / (dim.z * el_size_mm.z)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and same for Total area, of course :-)&lt;br /&gt;
&lt;br /&gt;
POROSITY: If you want porosity of the bone itself draw two contours: one around, counter-clockwise, on on the inside, clock-wise (thus a &#039;negative&#039;, excluding contour). Now, TV will be just that ring area, BV will be the bone within that ring area, and BV/TV will be 1 - porosity, thus BV/TV 94% means 6% porosity.&lt;br /&gt;
&lt;br /&gt;
METAPHYSIS: Application of this script to metaphysis scan (with trab. in middle):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ midshaft&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw one contour around the cortex, and in the same slices, a NEGATIVE contour on&lt;br /&gt;
the inside (CW contour) to exclude the trabecular bone. You may potentially work with the BP (break-point) system to be able to morph the negative contours, even though there is already an &#039;outer&#039; contour around the bone in every slice.&lt;br /&gt;
&lt;br /&gt;
Start 3D eval, read out the data-base with &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: You CANNOT give the .gobj a special name such as c0001234_cortex.gobj if you are using the automatic evaluation button on UCT_EVALUATION.  Only after the eval (or midshaft eval) has finished, you may copy it to a more meaningful name, but all of the evaluations are just taking the STANDARD gobj name!&lt;br /&gt;
&lt;br /&gt;
Afterwards (after renaming or copying the _seg.aim to _cortex.aim, and .gobj to _cortex.gobj), you may want to start the very normal eval with normal (inner) contours to evaluate the trabecular compartement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Remember: the values in our 3D result database then are OVERWRITTEN.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a large study, I would recommend to run the $ midshaft for ALL&lt;br /&gt;
samples, &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; to e.g. &amp;lt;code&amp;gt;sys$scratch:mystudy_cortex.txt&amp;lt;/code&amp;gt;, &lt;br /&gt;
rename/copy gobj and seg for all, and THEN run the trabecular evaluation for all samples.  &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and you have two nice complete excel sheets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE ON PLATE MODEL: More explanations of why the plate model is correct&lt;br /&gt;
&lt;br /&gt;
Assume a ring (cortex).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Area = thickness * &#039;middle line&#039;.&lt;br /&gt;
&#039;middle line&#039; = average of outer and inner circumference&lt;br /&gt;
--&amp;gt; &#039;middle line&#039; = 0.5 * &#039;bone surface&#039;&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; thickness = bone volume * 2 / bone surface.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And this is nothing else but the &#039;plate model&#039; formula for Tb.Th!&lt;br /&gt;
&lt;br /&gt;
NORMAL TRABECULAR EVALUATION?  And why not just run the &#039;normal trabecular eval&#039;?  Because in the &#039;normal&#039; TRI calculation, we are EXCLUDING all surfaces that are created artificially by a gobj line that cuts through a trabecula.&lt;br /&gt;
&lt;br /&gt;
However, for the midshaft, this means the whole outer (or even inner, if also&lt;br /&gt;
inner contour is there) is SUPPRESSED, because it is touching the gobj line. So&lt;br /&gt;
this is where that midshaft script comes in: it turns off that suppression.&lt;br /&gt;
&lt;br /&gt;
MORE EXPLANATIONS: Why the direct DT-Tb.Th* is NOT correct for a scan with&lt;br /&gt;
just 12 slices.&lt;br /&gt;
&lt;br /&gt;
If we fill the structure with spheres, those spheres should be bounded by the&lt;br /&gt;
width of the cortex, not just by the fact that we only have 12 slices (and even more so, we are always doing &#039;aim box&#039; suppression with the spheres) if a sphere touches the boundary of the aim box, it is suppressed!&lt;br /&gt;
&lt;br /&gt;
So this is quite crucial for Tb.Sp and Tb.N. To get meaningful Tb.Sp, you would&lt;br /&gt;
need a LOT of slices. Also, then, you cannot have the inner contour - otherwise&lt;br /&gt;
the negative inner contour will delete the Tb.Sp. spheres.&lt;br /&gt;
&lt;br /&gt;
If you have enough slices, you may opt to turn the &amp;lt;code&amp;gt;/dt_object&amp;lt;/code&amp;gt; on again in the&lt;br /&gt;
midshaft script (second half). Then DT-Tb.Th* and TRI-Tb.Th just have a slightly different behaviour if there are little pores within the cortex:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TRI: the little pore just adds a little BS, thus the influence is not that big.&lt;br /&gt;
DT: the little pore cuts the thickness sphere in half, thus at that location, the thickness is halved.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MEAN1 and MEAN2: The script is also calculating Mean1 and Mean2 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Mean1: &#039;apparent&#039; density, average over whole TV&lt;br /&gt;
Mean2: &#039;tissue&#039; density: average over what was segmented as bone only.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These mean values will be in mg HA/ccm if you have the calibration option for bone density installed (and activated for those scans).  Remember: the bone has to have some soft-tissue (or equivalent) on the inside, and preferably also on the outside then.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Joint Thickness Measurements===&lt;br /&gt;
*Sample script to search histogram files for results: [[Media:Summarize_Joint_Th_Measurements.pdf|Summarize Joint Th Measurements]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Joint Space Width (JSW) analysis===&lt;br /&gt;
The scripts published in [https://doi.org/10.21037/qims.2019.12.11 Stok et al. 2020], and released by Scanco, are available for XCT1 and XCT2.&lt;br /&gt;
&lt;br /&gt;
On XCT2 they have been installed as Tasks #112 to #116.&lt;br /&gt;
&lt;br /&gt;
Instructions to run this analysis are available here [[Media:ESD_Joint_Space_Width_v2.3.pdf]].&lt;br /&gt;
&lt;br /&gt;
The full citation for this work is: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Stok KS, Burghardt AJ, Boutroy S, Peters MPH, Manske SL, Stadelmann V, Vilayphiou N, van den Bergh JP, Geusens P, Li X, Marotte H, van Rietbergen B, Boyd SK, Barnabe C; SPECTRA Collaboration. Consensus approach for 3D joint space width of metacarpophalangeal joints of rheumatoid arthritis patients using high-resolution peripheral quantitative computed tomography. Quant Imaging Med Surg. 2020 Feb;10(2):314-325. doi: 10.21037/qims.2019.12.11. PMID: 32190559; PMCID: PMC7063288.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==UCT_EVALUATION==&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION SOP===&lt;br /&gt;
====Start 3D evaluation from terminal for XtremeCT II====&lt;br /&gt;
&lt;br /&gt;
Logged into the terminal as &amp;quot;xtremect2&amp;quot; you can see the evaluation scripts in &amp;lt;code&amp;gt;IDISK1:[XTREMECT2.EVAL]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The morphological evaluation: Control file #25. It basically runs auto contouring (#23) and then the morphological analysis.&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_EVALUATION_V6_XT2_DT61.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_CORT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TRAB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TOTAL.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_CORT_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TRAB_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TOTAL_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Contouring scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK.COM&amp;lt;/code&amp;gt;: Creates automatically the standard GOBJ. Control file #22.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPL_AUTOK_CTTB.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT, TRAB and PORE.GOBJ (previously CRTXPO). Control file #23.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK_CTTB_CORR.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT and PORE.GOBJ, after manual correction on the TRAB.GOBJ. Control file #24.&lt;br /&gt;
&lt;br /&gt;
Laplace- Hamming scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH61_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH82_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results will be generated in the &amp;lt;code&amp;gt;IDISK2:[XTREMECT2.RESULTS]&amp;lt;/code&amp;gt; directory, in the same way as they are generated for the cortical analysis on XtremeCT I, i.e. using the uct database and appended text files.&lt;br /&gt;
&lt;br /&gt;
Laplace Hamming evaluations will generate results in the upat_list database. The direct measurements will be stored in the uct_list database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Symbols for XtremeCT II vs XtremeCT I====&lt;br /&gt;
&amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; account you get&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[MICROCT.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.3309.]&amp;quot;&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;code&amp;gt;xtremect2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[XTREMECT2.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So 3309 has its own directory where the software versions for the two scanners are different, e.g.&lt;br /&gt;
&lt;br /&gt;
  xtremect: DISK0:[MICROCT_COMMON.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
  microct: DISK0:[MICROCT_COMMON.3309.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
&lt;br /&gt;
We have defined some symbols for the different ipl versions:&lt;br /&gt;
&lt;br /&gt;
  IPL&lt;br /&gt;
  IPLREG&lt;br /&gt;
  IPLFE&lt;br /&gt;
  IPL_BATCH&lt;br /&gt;
  IPLREG_BATCH&lt;br /&gt;
  IPLFE_BATCH&lt;br /&gt;
&lt;br /&gt;
In the scripts you can directly use these symbols instead of ipl_scanco_prog (old style).&lt;br /&gt;
&lt;br /&gt;
IPL and IPL_BATCH are different for the two scanners because the newest version is not officially released for XT1.&lt;br /&gt;
IPL of the microct account (XT1) cannot read data of the xtremect2 account (XT2). The other way around it works.&lt;br /&gt;
&lt;br /&gt;
IPLREG and IPLREG_BATCH point to &amp;lt;code&amp;gt;$DISK1:[XTREMECT2.MAIN]IPL_SCANCO_REGIS_V107.EXE&amp;lt;/code&amp;gt; for both accounts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Start 3D evaluation from terminal for microCTs====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;Do not change &amp;lt;code&amp;gt;uct_evaulation_v4.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ipl_fixed_batch_v4.com&amp;lt;/code&amp;gt; in .eval, but only work on your own file (i.e., eval_steve).&lt;br /&gt;
&lt;br /&gt;
First, an explanation of how the normal evaluation runs by hitting the &#039;Start 3d&#039; button.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_v4.com/para=(xxx,yyy,zzz,…)&amp;lt;/pre&amp;gt;&lt;br /&gt;
There are 8 parameters:&lt;br /&gt;
*P1: number of print outs of our results sheet&lt;br /&gt;
*P2: the ISQ filename&lt;br /&gt;
*P3-5: start x (pos x), y, z&lt;br /&gt;
*P6-8: dim x, y, z&lt;br /&gt;
The parameters p3-p8 come from the white bounding box. The problem is that when you start from the terminal you do not have these. This problem can be overcome by using the &amp;lt;code&amp;gt;isq_to_aim_gobjbox.exe&amp;lt;/code&amp;gt; and then give the relevant parameters. You can &lt;br /&gt;
&amp;lt;code&amp;gt;$ run um: isq_to_aim_gobjbox.exe &amp;lt;/code&amp;gt;&lt;br /&gt;
to see what it&#039;s asking for.&lt;br /&gt;
By using gobjbox you do not need p3-p8. Therefore you can start the evaluation by giving:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_special_josh.com –&lt;br /&gt;
/para=(1,dk0:[microct.data.0000275.0000245]c0000332.ISQ)&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You can make &amp;lt;code&amp;gt;uct_evaluation_special_josh.com&amp;lt;/code&amp;gt; such that there is no need for P1 (change p2 to p1 in the script, etc).&lt;br /&gt;
*Alternatively to using the gobjbox you could use the normal isq_to_aim, but hard code the dim and pos.&lt;br /&gt;
*Then call whatever IPL files you want to call. Look into &amp;lt;code&amp;gt;fixed_batch_v4&amp;lt;/code&amp;gt; to see how we turn on the database always on the first line of every IPL part, and how we calculate parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Temporarily change evaluation for UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
In a terminal window, we need to redefine the logical that determines which&lt;br /&gt;
3D evaluation is associated with the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool.&lt;br /&gt;
&lt;br /&gt;
For example, typing &amp;lt;code&amp;gt;VOI&amp;lt;/code&amp;gt; runs the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool&lt;br /&gt;
by executing &amp;lt;code&amp;gt;UE:UCT_EVALUATION_VOI.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show logical UCT_EVALUATION&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then you can redefine this to point to another evaluation script.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ define UCT_EVALUATION UE:UCT_EVALUATION_CUTOUT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is only redefined in the particular terminal you are using, and it&lt;br /&gt;
will reset to its default in a new terminal.  It will also not work if you&lt;br /&gt;
try to submit the job to a queue.  It only works interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Assign special evaluation to UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: This is for advanced users ONLY.  Do not attempt this without contacting Steve!&lt;br /&gt;
&lt;br /&gt;
This will show how to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt;:&lt;br /&gt;
It is easy to set up multiple .COM files for the 3D evalulation tool, one such set-up is already prepared on your computer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eval_special&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will do something similar to &amp;lt;code&amp;gt;$ voi&amp;lt;/code&amp;gt; where the normal contour program opens, but if you start the 3D eval, the special script &amp;lt;code&amp;gt;um:uct_evaluation_special.com&amp;lt;/code&amp;gt; is called (associated with eval_special), which then in turn calls &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt;, where you can specify your own set of thresholds, etc.&lt;br /&gt;
&lt;br /&gt;
So it is a daisy chain of files which we will need to follow to set up a special &amp;lt;code&amp;gt;xxx_kyle.com&amp;lt;/code&amp;gt; script, and where ever we encounter &amp;lt;code&amp;gt;_special.com&amp;lt;/code&amp;gt;, we copy and change it to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; you will need to do the following:&lt;br /&gt;
&lt;br /&gt;
*1. Edit &amp;lt;code&amp;gt;disk1:[microct]microct_setup_user.com&amp;lt;/code&amp;gt; (double-click on file), please be careful here, it&#039;s very important! (and I hope you have done your &#039;weekly full backup&#039; regularly, so you could always retrieve a good version of login.com...)&lt;br /&gt;
&lt;br /&gt;
*2. Then, towards to bottom and duplicate the line&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_special :== @com:eval_var.com um:uct_evaluation_special.com&amp;lt;/code&amp;gt;&lt;br /&gt;
and change duplicate to&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_kyle    :== @com:eval_var.com um:uct_evaluation_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make this command &amp;lt;code&amp;gt;eval_kyle&amp;lt;/code&amp;gt; available after you login freshly. Save and Exit.&lt;br /&gt;
&lt;br /&gt;
*3. Then go to &amp;lt;code&amp;gt;disk1:[microct.eval]&amp;lt;/code&amp;gt; and copy the file &amp;lt;code&amp;gt;uct_evaluation_special.com&amp;lt;/code&amp;gt; to the name &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt; (&#039;Commands&#039;, &#039;Copy ...&#039;, BUT CLICK ON THE THREE DOTS and give new output name. &lt;br /&gt;
If you do not see the &amp;lt;code&amp;gt;eval_special:&amp;lt;/code&amp;gt; go to terminal, &amp;lt;code&amp;gt;$ dir ue:*special*.com&amp;lt;/code&amp;gt; and take it from the &amp;lt;code&amp;gt;microct_common&amp;lt;/code&amp;gt; directory)&lt;br /&gt;
&lt;br /&gt;
*4. Edit the &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt; file: at the top, change &amp;lt;code&amp;gt;ipl_......_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*5. Copy &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*6. Edit &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; to your liking. If you want &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; to not perform the full evaluation, but only something akin to &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt;, then, in the steps above, copy &amp;lt;code&amp;gt;uct_eval_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;ipl_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; (thus you take the &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; script as template for the &amp;lt;code&amp;gt;_kyle&amp;lt;/code&amp;gt; script).&lt;br /&gt;
&lt;br /&gt;
*7. Then open a new terminal (&#039;applications&#039;, &#039;decterm&#039;), &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; should work now!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;: When you start the 3D eval, then&lt;br /&gt;
&amp;lt;code&amp;gt;$ que&amp;lt;/code&amp;gt;&lt;br /&gt;
will show you your batch job with your name on it now!&lt;br /&gt;
&lt;br /&gt;
And now a few more explanations how the whole thing works: in all eval programs, hitting &#039;Start 3d&#039; just submits the logical &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$ show log uct_evaluation&amp;lt;/code&amp;gt; shows you that by default, this points to &amp;lt;code&amp;gt;ue:uct_evaluation_v4.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Those little &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;eval_steve&amp;lt;/code&amp;gt; scripts then just temporarily redefine this logical so that a different script is submitted when you &amp;lt;code&amp;gt;&#039;start 3d eval&#039;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
About the &#039;&#039;&#039;corelut eval&#039;&#039;&#039;: Then we start a whole different eval program: the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt;. So, if you set up a &amp;lt;code&amp;gt;eval_steve_c&amp;lt;/code&amp;gt; (or whatever you want to call it): Produce a &amp;lt;code&amp;gt;eval_var_c.com&amp;lt;/code&amp;gt; in the directory commands (maybe copy from microct_common to [microct.commands]), and there, on the last line, instead of starting&lt;br /&gt;
&amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
(the normal program), replace by&lt;br /&gt;
&amp;lt;code&amp;gt;$ evalc&amp;lt;/code&amp;gt;&lt;br /&gt;
which starts the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt; - and because the &amp;lt;code&amp;gt;eval_var.com&amp;lt;/code&amp;gt; has over-ridden the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; logical just before, then you are starting different script upon starting 3d eval.&lt;br /&gt;
NB: we have a logical AND a symbol called &amp;lt;code&amp;gt;uct_evalution&amp;lt;/code&amp;gt;. Sorry for confusion. Symbol &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; starts normal &amp;lt;code&amp;gt;eval&amp;lt;/code&amp;gt; program, so this is what you replace by symbol &amp;lt;code&amp;gt;evalc&amp;lt;/code&amp;gt; now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION FAQ===&lt;br /&gt;
====Warning: Not all required GOBJ files found, Continue anyway?====&lt;br /&gt;
This occurs when the chosen evaluation script is looking for a contour file, but can&#039;t find it.  &lt;br /&gt;
*To see what contours the script is looking for go to &amp;quot;File&amp;quot; then &amp;quot;Save GOBJ As...&amp;quot;.  You can now see the list of required gobj files.  &lt;br /&gt;
*For some scripts, it may not be necessary to supply a gobj and you can continue with the evaluation without it.  For example, the &amp;quot;3D Segmentation of VOI, 1 solid object&amp;quot; applies the contour to isolate the region of interest, however, this may not be necessary if the object of interest can be extracted from thresholding.&lt;br /&gt;
[[File:Save_gobj_as.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Attempt to access non-existent record CODE: 36====&lt;br /&gt;
The scan is most likely still in the process of being reconstructed.  Try to access the scan again in a few hours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Insufficient logical unit numbers CODE: 1409716====&lt;br /&gt;
Exit the evaluation program and restart it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Process quota exceeded====&lt;br /&gt;
&lt;br /&gt;
[[Image:Process_quota_error.JPG|300px]]&lt;br /&gt;
&lt;br /&gt;
When running UCT_EVALUATION from a dec terminal, an error when starting an evaluation may occur if there are to many dec terminals opened. &lt;br /&gt;
*The easy fix for this is to open the terminals from the applications menu in the [[Scanco_User_Instructions#Session_Manager|&#039;&#039;&#039;session manager&#039;&#039;&#039;]] instead of using the dec command. &lt;br /&gt;
*Alternatively you can set up a new login script and add &amp;lt;code&amp;gt;/DETACH&amp;lt;/code&amp;gt; to the dec definition &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEC == &amp;quot;CREATE/TERMINAL=DECTERM/DETACH&amp;quot;. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example script can be found here @DISK5:[BONELAB.PROJECTS.BUIE]SETUP.COM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Bug: UCT_EVALUATION v6 in customizing EVAL scripts====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_k_v6&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new evaluation tool v6 should be used in place of the older v5.  Please see the Documents section of this wiki for a manual on its use.&lt;br /&gt;
&lt;br /&gt;
Known bugs:&lt;br /&gt;
&lt;br /&gt;
When you are producing your own EVAL scripts, and want to call your own ipl file&lt;br /&gt;
or such:&lt;br /&gt;
&lt;br /&gt;
The &#039;EVAL:&#039; keyword in the scripts has the filenames of the&lt;br /&gt;
uct_evaluation_v6.com, then the ipl_v6_xxxx.com, then additional filenames (such&lt;br /&gt;
as the _prs.com to print and the 3dresults_append.com)&lt;br /&gt;
&lt;br /&gt;
Now, if you are in BASIC mode in the modify window, and you change any of the 3&lt;br /&gt;
filename fields, the last of the additional filenames is &#039;dropped&#039;... ooops...&lt;br /&gt;
&lt;br /&gt;
So please go to Advanced mode and check the long &#039;EVAL:&#039; keyword that all wished&lt;br /&gt;
files are still in the list, otherwise add the last again (most of the time,&lt;br /&gt;
that&#039;s the useful _3dresult_append.com script...)&lt;br /&gt;
&lt;br /&gt;
Will correct that of course in the next version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Left mouse button====&lt;br /&gt;
When the left mouse button doesn&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.  &lt;br /&gt;
*For remote sessions, turn of the Num Lock key (this will also allow you to use Ctrl-C and Ctrl-V to copy and paste contours).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Remove and insert keys====&lt;br /&gt;
&lt;br /&gt;
The remove and insert buttons on the keyboard don&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation FAQ==&lt;br /&gt;
&lt;br /&gt;
===Customize your evaluation script===&lt;br /&gt;
The basic procedure is to create your customized evaluation script is:&lt;br /&gt;
#Clear the database of existing results&lt;br /&gt;
#Do your evaluation&lt;br /&gt;
#Extract the results&lt;br /&gt;
#Paste results into excel template.  &lt;br /&gt;
You could repeat as necessary to evaluate a measurement multiple times and write out the results to a file.  &lt;br /&gt;
*You must submit all jobs to a single queue!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Start ipl and clear the database of existing results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/db_clear_eval&lt;br /&gt;
-input        &amp;quot;IPL_AIM&lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Insert your IPL evaluation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Extract the results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;$@com:extract_results.com P1 P2&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P1 is the aim file (including path) and P2 is the result file (including path)&lt;br /&gt;
&lt;br /&gt;
Example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@com:extract_results.com   DISK5:[BONELAB.PROJECTS.BUIE]MYAIM.AIM   DISK5:[BONELAB.PROJECTS.BUIE]MYRESULTS.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P2 should be the same for all samples in your project so that results are compiled into a single file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4) Paste results into excel template.&#039;&#039;&#039;&lt;br /&gt;
*Refer to the  [[Media:Extract_Results_Template.xlsx |&#039;&#039;&#039;Excel Extract Results Template&#039;&#039;&#039;]]. &lt;br /&gt;
*Open your results text file and copy and paste the contents into cell A2.  There&#039;s no need to use paste special since the sheet is protected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create your own IPL script===&lt;br /&gt;
&lt;br /&gt;
To make a script that would submit a job to the queue with the command as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you need to create your own IPL file would be translated to the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit /noprint /que=sys$slow ue:IPL_VOI_JOSH_M.COM &lt;br /&gt;
  - /log=sys$scratch:test.log /para=(&#039;aim_file&#039;,&#039;gobj_file&#039;,&#039;seg_file&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The IPL file would look something like this…&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$   if p1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$ 	THEN &lt;br /&gt;
$	write sys$output &amp;quot;Give DK0:[xxx]C0001234_SEG.aim on the line.&amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Or: &amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Type $ scanco_submit_command um:ipl_eval_autostart/para=(dk0:[xxx]c00123_seg.aim) &amp;quot;&lt;br /&gt;
$ 	exit&lt;br /&gt;
$   endif&lt;br /&gt;
$&lt;br /&gt;
$ gobj_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.GOBJ&amp;quot;&lt;br /&gt;
$ aim_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.AIM&amp;quot;&lt;br /&gt;
$&lt;br /&gt;
$!&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some more handy IPL sequences are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then you just need to give meas. number as P1 (and maybe slice range as p2),&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR, some nice starts are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P3 .EQS. &amp;quot;&amp;quot;&lt;br /&gt;
$    THEN&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to duplicate&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: New Sample Number from Database&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: New Start Letter of ISQ file&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P4: Optional: Operator Number&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P5: Optional: Controlfile Number&amp;quot;&lt;br /&gt;
$      EXIT&lt;br /&gt;
$    ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where you say which parameters HAVE to be there (up to p3), and which ones are optional.&lt;br /&gt;
&lt;br /&gt;
All together, the script may look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$    THEN &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to reco&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: Optional: Slice number N or Range M:N. Auto:All&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: Optional: Queue. Auto: sys$slow&amp;quot; &lt;br /&gt;
$      EXIT &lt;br /&gt;
$    ENDIF &lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A &lt;br /&gt;
$ if p3 .eqs. &amp;quot;&amp;quot; then p3 := SYS$SLOW &lt;br /&gt;
$ slices  = p2 &lt;br /&gt;
$ quename = p3 &lt;br /&gt;
$ INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1) &lt;br /&gt;
$ INPUT = INPUT - F$PARSE(INPUT,,,&amp;quot;VERSION&amp;quot;) &lt;br /&gt;
$ logfile = &amp;quot;sys$scratch:RECO_&amp;quot; + f$PARSE(input,,,&amp;quot;NAME&amp;quot;) + &amp;quot;.LOG&amp;quot; &lt;br /&gt;
$ submit/noprint/queue=&#039;quename&#039; uct_reconstruction_file - &lt;br /&gt;
    /para=(&#039;input&#039;,&#039;slices&#039;,&#039;logfile&#039;) &lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that &amp;lt;code&amp;gt;uct_reconstruction_file&amp;lt;/code&amp;gt; is a logical that points to &amp;lt;code&amp;gt;um:uct_reconstruction.com&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Logicals are preferred in scripts to make them more universal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Run Scanco cut and match function (on Percy)===&lt;br /&gt;
&lt;br /&gt;
;At DATA DISK: &lt;br /&gt;
Run&amp;lt;code&amp;gt;$ upat_list&amp;lt;/code&amp;gt;&lt;br /&gt;
*mode 1, list mode.&lt;br /&gt;
*Select patients and site, etc.&lt;br /&gt;
*Select the appropriate template file, e.g. &amp;lt;code&amp;gt;UE:UPAT_TEMPL_CUTMATCH_AUTO_PATTB_CT.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
*Output to a file, then run that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;At PROJECT DISK: &lt;br /&gt;
If you have moved the files to the project directory and renamed them, you can generate a script from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM&lt;br /&gt;
-P1 = filename with device and directory&lt;br /&gt;
-P2 = site (RR, RL, TR, TL)&lt;br /&gt;
-P3 = output filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, if we run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The script will search &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]&amp;lt;/code&amp;gt; for files in the form &amp;lt;code&amp;gt;G*RR*.AIM&amp;lt;/code&amp;gt; with the same&lt;br /&gt;
length as &amp;lt;code&amp;gt;GRACE_01_00MTH_RR&amp;lt;/code&amp;gt;, then check sample numbers to determine if the file is a follow-up scan.&lt;br /&gt;
*Upat_list is called to obtain position and dimension data for matching slices.  &lt;br /&gt;
*The output file &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/code&amp;gt; is created to submit and run the cut and match.  &lt;br /&gt;
&lt;br /&gt;
Before running, open the file and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For multiple files, do something like the following.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_02_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Open MYFILE.COM and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The script assumes all follow-ups are provided.  &lt;br /&gt;
*If follow-up scans are missing, it will be necessary to modify the output file so that the position and dimension data matches the files or update the &amp;lt;code&amp;gt;SEARCH_PROJECTS_CUTMATCH.COM&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==IPL FAQ==&lt;br /&gt;
===Submit a job to the queue===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint /que=sys$slow ipl_voi_josh_m.com /log=sys$scratch:test.log&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Rotate with turn3d / turn2d===&lt;br /&gt;
&lt;br /&gt;
The turn3d function can be used to perform a single rotation about any axis in 3d.  The turnaxis_angle input is the angle between the x, y, and z axes and the line about which the rotation will be performed.  The turnangle input is the amount to be rotated about the specified line.  To use this function to perform three sequential rotations about the image&#039;s original x, y, and z axes requires compensation for the previous rotations.&lt;br /&gt;
&lt;br /&gt;
To rotate an image from the axial view in the z plane to the sagittal view in the z plane: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ipl&lt;br /&gt;
/turn3d&lt;br /&gt;
  -input &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;   in&lt;br /&gt;
  -output &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;     out&lt;br /&gt;
  -turnaxis_angles     90 0 90&lt;br /&gt;
  -turnangle           90&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No interpolation is necessary as this is &amp;quot;pure reformatting&amp;quot; (turning +-90 or 180 degrees around x,y or z axis)&lt;br /&gt;
&lt;br /&gt;
For knee images, to put the femur above the tibia, you further add the step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/turn2d&lt;br /&gt;
  -input                      out&lt;br /&gt;
  -output                     happyFemur&lt;br /&gt;
  -turnangle                  270&lt;br /&gt;
  -turnpoint_global_not_local true&lt;br /&gt;
  -turnpoint                  -1 -1&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refer to [[Media:turn3d.pdf |&#039;&#039;&#039;turn3d.pdf&#039;&#039;&#039;]] for further instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Noise removal by component labeling===&lt;br /&gt;
*Refer to [[Media:ComponentLabeling.pdf|&#039;&#039;&#039;Noise removal by using component labeling&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create MSQ image and view===&lt;br /&gt;
&lt;br /&gt;
This is based on marching cubes.  See &amp;lt;code&amp;gt;IPL_UPAT_EVAL.COM&amp;lt;/code&amp;gt; for an example as per below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/read seg C0000214_SEG.AIM&lt;br /&gt;
&lt;br /&gt;
/sup_divide                               ! careful of the order of inputs here&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -suppos_pixels_local       -1 -1 -1&lt;br /&gt;
  -supdim_numbers            1 2 1&lt;br /&gt;
  -subdim_pixels             -1 -1 -1&lt;br /&gt;
  -testoff_pixels            0 0 0&lt;br /&gt;
&lt;br /&gt;
/sub_pick&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -output                    segsub&lt;br /&gt;
  -subpos_numbers            0 1 0&lt;br /&gt;
&lt;br /&gt;
/tri&lt;br /&gt;
  -input                     segsub&lt;br /&gt;
  -output                    tri&lt;br /&gt;
  -gobj_filename             none&lt;br /&gt;
  -peel_iter                 0&lt;br /&gt;
  -ip_sigma                  0.8&lt;br /&gt;
  -ip_support                1&lt;br /&gt;
  -ip_threshold              40&lt;br /&gt;
  -nr_ave_iter               2&lt;br /&gt;
  -size_image                512 512&lt;br /&gt;
  -scale_image               0.800000&lt;br /&gt;
  -edges                     false&lt;br /&gt;
  -nr_views                  1             ! Important&lt;br /&gt;
&lt;br /&gt;
/msq_from_aim&lt;br /&gt;
  -aim_name                  tri&lt;br /&gt;
  -msq_filename              C0000123_3D.MSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, use &amp;lt;code&amp;gt;UCT_3D&amp;lt;/code&amp;gt; to view it.  If you click on &amp;quot;animations&amp;quot; it will give you the option to read the MSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===db_scanco_activate associate evaluation database===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;/db_scanco_activate&amp;lt;/code&amp;gt; is used in the IPL files, the correct association with the evaluation database is through the Index Patient and Index Measurement in the AIM header.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Index Patient                                    3095&lt;br /&gt;
Index Measurement                                5962&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using IPL&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
$ read in xxx.aim&lt;br /&gt;
$ examine in log&lt;br /&gt;
$ db true           {activates database}&lt;br /&gt;
$ dt_object         {at end &amp;quot;writing results to database for measurement 1234&amp;quot;}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===dicom_to_aim bug in IPL v5.03===&lt;br /&gt;
&lt;br /&gt;
In IPL, use the /dicom_to_aim function.  There is a bug in pre IPL v5.03 which requires that a small AIM be read in before doing the DCM conversion.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; read in tmp.aim&lt;br /&gt;
ipl&amp;gt; dicom_to_aim&lt;br /&gt;
  -aim_name                  [in] &amp;gt; &lt;br /&gt;
  -dicom_filename            [default_file_name] &amp;gt; 4F65038B3986.DCM&lt;br /&gt;
  -multifile                 [false] &amp;gt; true&lt;br /&gt;
ipl&amp;gt; write in MYFILE.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand &amp;quot;New&amp;quot; DT functions in IPL v5.42===&lt;br /&gt;
&lt;br /&gt;
This applies to:&lt;br /&gt;
&amp;lt;pre&amp;gt;/distance_map              /dt_ow_thickness           /dt_number                &lt;br /&gt;
/dt_thickness              /dt_spacing                /dt_cortical_thickness&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
XT1 (old dt) and XT2 (new dt) use 0.5 for assign_epsilon and 0.9 for&lt;br /&gt;
ridge_epsilon.&lt;br /&gt;
&lt;br /&gt;
µCT uses 1.8 for assign_epsilon and 0.9 for ridge_epsilon (old dt).&lt;br /&gt;
&lt;br /&gt;
Therefore I recommend to take 0.9 and 1.8 also for the new dt functions&lt;br /&gt;
for µCT/vivaCT measurements.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;suppress_boundary&amp;lt;/code&amp;gt; feature is new and works as follows:&lt;br /&gt;
&lt;br /&gt;
0: The ridges and spheres are calculated on the full seg AIM, also&lt;br /&gt;
outside the gobj. At the end the gobj is applied.&lt;br /&gt;
&lt;br /&gt;
1: The ridges that are on the AIM boundary are not used for the&lt;br /&gt;
calculation of the maximal spheres.&lt;br /&gt;
&lt;br /&gt;
2: The ridges are calculated on the full seg aim but then the gobj is&lt;br /&gt;
applied to the ridges. This means that at the end there are only spheres&lt;br /&gt;
that have the center inside the structure (gobj). The maximal sphere&lt;br /&gt;
filling algorithm still accounts for the structure outside the gobj, but&lt;br /&gt;
only uses center points inside the gobj.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dt_thickness&amp;lt;/code&amp;gt; for example can be used in two different ways in a script:&lt;br /&gt;
&lt;br /&gt;
1) cut out aim - apply threshold - apply gobj - dt_thickness&lt;br /&gt;
This way the suppress_boundary options do influence the results&lt;br /&gt;
because there are no ridges outside the gobj anyway.&lt;br /&gt;
&lt;br /&gt;
2) cut out aim - apply threshold - dt_thickness (with corresponding gobj)&lt;br /&gt;
This calculates the dt on the full aim first and applies then the&lt;br /&gt;
gobj and suppress options.&lt;br /&gt;
&lt;br /&gt;
If you examine for example trabecular bone only on a small area bounded&lt;br /&gt;
by a gobj then the most accurate way to calculate the dt is to cut out a&lt;br /&gt;
much larger area (still containing trabecular bone) and use way 2) above&lt;br /&gt;
with suppress_boundary 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Develop new IPL commands in C===&lt;br /&gt;
*Refer to [[Media:IPL programming.doc|&#039;&#039;&#039;A short manual on how to develop new IPL commands in C&#039;&#039;&#039;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
&lt;br /&gt;
===UPAT_LIST command===&lt;br /&gt;
&lt;br /&gt;
*Refer to Scanco specification document on using the [[Media:Specification_upat_print_list_V2.0.pdf | &#039;&#039;&#039;Upat_print_list V2.0&#039;&#039;&#039;]] on XCT2.&lt;br /&gt;
*Refer to [[Media:Using_upat.docx |&#039;&#039;&#039;Using upat_list Additional Notes&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
upat_list (version 1.9 on XCT1) is identical to 2.0 except:&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using group codes&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using evaluation types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all of the available parameters for generating results using upat_list command:  &lt;br /&gt;
  $ upat_list -h&lt;br /&gt;
&lt;br /&gt;
  Program: upat_print_list V1.9&lt;br /&gt;
  Use the following modes to run upat_print_list:&lt;br /&gt;
    upat_print_list -list  for export to spreadsheet, default mode&lt;br /&gt;
    upat_print_list -print for PostScript output&lt;br /&gt;
    upat_print_list -show  for text output&lt;br /&gt;
    upat_print_list -advanced to access advanced options interactively&lt;br /&gt;
  Standard Command-Line Arguments:&lt;br /&gt;
    -b=&amp;lt;pat_nr&amp;gt;      First patient, default = 1&lt;br /&gt;
    -e=&amp;lt;pat_nr&amp;gt;      Last patient&lt;br /&gt;
                     In list &amp;amp; show modes, default = last patient in database&lt;br /&gt;
                     In print mode, default = first patient&lt;br /&gt;
    -s=&amp;lt;site_code&amp;gt;   Site code&lt;br /&gt;
                     In list &amp;amp; show modes, RL RR R* TL TR T* CU *, default = *&lt;br /&gt;
                     In print mode, RL RR TL TR CU, default = RL&lt;br /&gt;
    -mb=&amp;lt;date&amp;gt;       Begin of measurement period, default = 1st measurement date&lt;br /&gt;
    -me=&amp;lt;date&amp;gt;       End of measurement period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -f=&amp;lt;#_followups&amp;gt; Maximum number of follow-ups to match, default = 19&lt;br /&gt;
    -t=&amp;lt;file_name&amp;gt;   Name of template file&lt;br /&gt;
                     In list mode,  default = UPAT_LIST_SHEET&lt;br /&gt;
                     In print mode, default = UPAT_EVAL_SHEETxx&lt;br /&gt;
                     In show mode,  default = UPAT_SINGLE&lt;br /&gt;
    -o=&amp;lt;file_name&amp;gt;   Name of output file (in SYS$SCRATCH by default)&lt;br /&gt;
                     In list &amp;amp; print modes, stored in SYS$SCRATCH&lt;br /&gt;
                     In show mode, written to SYS$OUTPUT&lt;br /&gt;
    -c=&amp;lt;number&amp;gt;      Number of Print copies if in print mode. default = 1&lt;br /&gt;
    -v=&amp;lt;level&amp;gt;       Verbosity from 0 (silent) to 2 (verbose), default = 1&lt;br /&gt;
    -h               Print this help and exit&lt;br /&gt;
  Advanced Command-Line Arguments:&lt;br /&gt;
    -et=&amp;lt;eval_type&amp;gt;  Type code of evaluation, default = 2&lt;br /&gt;
    -eb=&amp;lt;date&amp;gt;       Begin of evaluation period, default = 1st measurement date&lt;br /&gt;
    -ee=&amp;lt;date&amp;gt;       End of evaluation period, default = current date&lt;br /&gt;
    -tb=&amp;lt;date&amp;gt;       Begin of matching period, default = 1st measurement date&lt;br /&gt;
    -te=&amp;lt;date&amp;gt;       End of matching period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -sk=&amp;lt;#_to_skip&amp;gt;  Number of measurements to skip, default = 0&lt;br /&gt;
    -m=&amp;lt;meas_list&amp;gt;   Numbered List of measurements to take, e.g. 0,1,2,5,8&lt;br /&gt;
    -nomatch         Do not match follow up measurement, just take all slices&lt;br /&gt;
    -sb              Begin of Slice Range in % to be evaluated&lt;br /&gt;
    -se              End of Slice Range in % to be evaluated&lt;br /&gt;
    -q               Only take evaluations with quality better than (and including) this.&lt;br /&gt;
                     If positive number: all scans of better quality (incl. this) as well as all non-graded scans are taken.&lt;br /&gt;
                     If negative number: non-graded scans are NOT taken.&lt;br /&gt;
    -qs              Only take Structural evaluations with quality better than (and including) this.&lt;br /&gt;
                     Thus: between -qd and -q: only Density results are printed.&lt;br /&gt;
                     Parameter is disregarded if -qs &amp;gt;= -q.&lt;br /&gt;
    -ut=&amp;lt;unit_type&amp;gt;  0-&amp;gt;default unit, 1-&amp;gt;linatt, 2-&amp;gt;mg HA/ccm, 3-&amp;gt;HU, default = 0&lt;br /&gt;
    -cd=&amp;lt;density&amp;gt;    Value of compact density to use, default = 1200.000000&lt;br /&gt;
  If no command line arguments are specified, upat_print_list runs interactively.&lt;br /&gt;
&lt;br /&gt;
Note that using &amp;quot;TB&amp;quot; and &amp;quot;TE&amp;quot;, you can pull out exact measurements in the specified date range, while using &amp;quot;MB&amp;quot; and &amp;quot;ME&amp;quot;,  all you get is the latest measurement no matter what date range provided.&lt;br /&gt;
&lt;br /&gt;
For results of all time points for a single site and sample # without matching to Baseline, use: &lt;br /&gt;
I.e. the common region will be 100% for all measurements.&lt;br /&gt;
  $ upat_list -nomatch&lt;br /&gt;
&lt;br /&gt;
From these options, you can write out your own command (vs. using prompts) to give you the specifics you are looking for.  &lt;br /&gt;
&lt;br /&gt;
By specifying the CAMOS template of “UPAT_EVAL_CAMOS.PS”, you will get the “Camos” report style.  For example:&lt;br /&gt;
  $ upat_list -nomatch -b=1000 -e=1000 -s=TL -tb=01-MAY-2000 -te=01-AUG-2018 -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_1000_tl_camos.ps&lt;br /&gt;
&lt;br /&gt;
Note that there are actually many kinds of report templates.  These can be found via:&lt;br /&gt;
  $ dir UU:*.PS&lt;br /&gt;
&lt;br /&gt;
“SCUSA” is a short form for Scanco USA templates.  I.e. templates that fit on an 8.5” X 11” page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract followup data without slice matching===&lt;br /&gt;
Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -advanced&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Choose &#039;disable slice matching:&#039; -&amp;gt; y.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract patient results on a slice-by-slice basis===&lt;br /&gt;
&lt;br /&gt;
There is an executable that was specially installed by Andres.  Run it as user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN ut:UPAT_EXPORT_MEASUREMENT.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose from &amp;quot;Style: 0 = default, 1 = raw&amp;quot;. Default gives standard patient parameters.&lt;br /&gt;
&lt;br /&gt;
This gives you the .txt file in scratch containing the morphological parameters determined for each slice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_LIST Extract results===&lt;br /&gt;
&lt;br /&gt;
Assuming you&#039;ve used the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to initialize your evaluations (either manually or through the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool) then you can get all of your results stored into a text file that can be easily imported in Excel.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list&amp;lt;/pre&amp;gt;&lt;br /&gt;
The output text file will be stored in &amp;lt;code&amp;gt;sys$scratch&amp;lt;/code&amp;gt; and you can ftp this to a PC so that it can be imported into excel and further analysis can be performed. &lt;br /&gt;
&lt;br /&gt;
Importing into Excel requires setting a deliminator based on the space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Customizing&amp;lt;/b&amp;gt; the &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt; output.&lt;br /&gt;
&lt;br /&gt;
The default list template is set by the logical &amp;lt;code&amp;gt;UCT_3D_LIST_SHEET&amp;lt;/code&amp;gt; which is normally&lt;br /&gt;
set to point to &amp;lt;code&amp;gt;UU:UCT_3D_LIST.TXT&amp;lt;/code&amp;gt;.  See the templates by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir uu:*.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Almost all the available keywords are in &amp;lt;code&amp;gt;UCT_3D_LIST.TXT&amp;lt;/code&amp;gt; enclosed&lt;br /&gt;
by \\ and //.&lt;br /&gt;
&lt;br /&gt;
Only when you use the &#039;show directly on screen mode&#039;: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list 1234&amp;lt;/pre&amp;gt;&lt;br /&gt;
then you need to do this to override the default output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def/user uct_3d_single_sheet  my-template_file.txt&lt;br /&gt;
$ uct_list 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some example format files are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UCT_3D_LIST.TXT&lt;br /&gt;
UCT_3D_SINGLE.TXT&lt;br /&gt;
UCT_3D_LIST_W_CRH.TXT&lt;br /&gt;
UCT_3D_MEANS.TXT       --&amp;gt; Use this to get the 5 mean values (i.e., calibration)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A summary of all the available keywords is available in &amp;lt;code&amp;gt;UU:UCT_3D_SINGLE_SHEET.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Name             :\\UCTMEASFILENAME//&lt;br /&gt;
Sample-Name      :\\SAMPLENAME//&lt;br /&gt;
Sample-Nr        :\\SAMPLENUMBER//&lt;br /&gt;
Meas-Nr          :\\UCTMEASNR//&lt;br /&gt;
Date of Birth    :\\SAMPLEDOB//&lt;br /&gt;
Sample-Remarks	 :\\SAMPLEREM//&lt;br /&gt;
Meas-Remarks     :\\UCTMEASREM//&lt;br /&gt;
Meas-NrofSlices  :\\UCTMEASNUMSLI//&lt;br /&gt;
Direct: -------------------------------------------------------------------&lt;br /&gt;
TV        : \\VOX_TV//&lt;br /&gt;
BV        : \\VOX_BV//&lt;br /&gt;
BV/TV     : \\VOX_BV_TV// &lt;br /&gt;
Conn.Dens.: \\UCT_CONN//&lt;br /&gt;
SMI       : \\MC_SMI//&lt;br /&gt;
Tb.N*     : \\DT_N//&lt;br /&gt;
Tb.Th*    : \\DT_TH//&lt;br /&gt;
Tb.Sp*    : \\DT_SP//&lt;br /&gt;
Tb.1/N.SD*: \\DT_N_SD//&lt;br /&gt;
Tb.Th.SD* : \\DT_TH_SD//&lt;br /&gt;
Tb.Sp.SD* : \\DT_SP_SD//&lt;br /&gt;
Lin.Att.1 : \\UCT_MU0// +-\\UCT_MU0_SD//&lt;br /&gt;
Lin.Att.2 : \\UCT_MU1// +-\\UCT_MU1_SD//&lt;br /&gt;
Lin.Att.3 : \\UCT_MU2// +-\\UCT_MU2_SD//&lt;br /&gt;
Lin.Att.4 : \\UCT_MU3// +-\\UCT_MU3_SD//&lt;br /&gt;
Lin.Att.5 : \\UCT_MU4// +-\\UCT_MU4_SD//&lt;br /&gt;
TRI (Plate Model): --------------------------------------------------------&lt;br /&gt;
TV        : \\MC_TV//&lt;br /&gt;
BV        : \\MC_BV//&lt;br /&gt;
BS        : \\MC_BS//&lt;br /&gt;
BV/TV     : \\MC_BV_TV//&lt;br /&gt;
BS/BV     : \\MC_BS_BV//&lt;br /&gt;
Tb.Th     : \\MC_TH//&lt;br /&gt;
Tb.Sp     : \\MC_SP//&lt;br /&gt;
Tb.N      : \\MC_N//&lt;br /&gt;
Anisotropy:  --------------------------------------------------------------&lt;br /&gt;
|H1|      : \\MC_H1//  H1x: \\MC_H1X//  H1y: \\MC_H1Y//  H1z: \\MC_H1Z//&lt;br /&gt;
|H2|      : \\MC_H2//  H2x: \\MC_H2X//  H2y: \\MC_H2Y//  H2z: \\MC_H2Z//&lt;br /&gt;
|H3|      : \\MC_H3//  H3x: \\MC_H3X//  H3y: \\MC_H3Y//  H3z: \\MC_H3Z//&lt;br /&gt;
DA        : \\MC_DA//&lt;br /&gt;
Dim X	  : \\VOX_DX//&lt;br /&gt;
Dim Y	  : \\VOX_DY//&lt;br /&gt;
Dim Z	  : \\VOX_DZ//&lt;br /&gt;
Pos X	  : \\VOX_PX//&lt;br /&gt;
Pos Y	  : \\VOX_PY//&lt;br /&gt;
Pos Z	  : \\VOX_PZ//&lt;br /&gt;
El-Siz X  : \\VOX_ELSX//&lt;br /&gt;
El-Siz Y  : \\VOX_ELSY//&lt;br /&gt;
El-Siz Z  : \\VOX_ELSZ//  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tabulate LOG results from 3D evaluations===&lt;br /&gt;
&lt;br /&gt;
Only use this if you have not used the standard &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool to generate your 3D evaluations (in which case see the HowTo related to the 3D database).&lt;br /&gt;
You can tabulate the LOG files:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or whatever you want to search for can be stored in a text file&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search/output=sys$scratch:ov.txt xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
To search more than one log file, and get the output into one single file:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ fda/output=xxx.txt search *.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The fda means &#039;file do all&#039; and is a script made by Scanco to do one command (search) on a wildcard of files (*.log). Then put all the ov.txt, tv.txt, name.txt etc. files into excel.&lt;br /&gt;
Josh has made a .com file that does a similar job as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Compile evaluation LOGs into one file===&lt;br /&gt;
&lt;br /&gt;
Call the &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; with the same construction&lt;br /&gt;
as &amp;lt;code&amp;gt;$ eval_special&amp;lt;/code&amp;gt;.  If you need help with this, see the HowTo on this&lt;br /&gt;
Wiki site (HowTo: Assign special 3D evaluation to the UCT_EVALUATION tool).&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; file to call a specific ipl &lt;br /&gt;
script as you wish.&lt;br /&gt;
&lt;br /&gt;
When you run the evaluation, you will have three new files created:&lt;br /&gt;
&lt;br /&gt;
:*Two files in the measurement directory (on DK0!) (one with each eval 3D results in its own file, and one &amp;lt;code&amp;gt;APPENDED_ALL.TXT&amp;lt;/code&amp;gt; file)&lt;br /&gt;
:*Then in sys$scratch, you will have one &amp;lt;code&amp;gt;SYS$SCRATCH:UCT_LIST_ALL_3D_RESULTS.LOG&amp;lt;/code&amp;gt; file with ALL 3D evaluations of all measurements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; You may need to edit the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to specify a single queue (i.e., /que=sceval$fast)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
&lt;br /&gt;
===Examine patient databases===&lt;br /&gt;
This is for advanced users only!&lt;br /&gt;
&lt;br /&gt;
There are two patient databases that get updated every time an evaluation is performed.  Below is the name of the database, and the method used to check database values:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_EVAL_DATABASE&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! as microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_SLICE_DATABASE&lt;br /&gt;
$ set host 0  ! login as user calibration&lt;br /&gt;
$ @disk1:[microct]login.com&lt;br /&gt;
$ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UPAT_GET_DB_INFO.EXE  ! enter &#039;1&#039; to list records&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the slice database every evaluation is recorded, but only one is currently active at a time.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Manipulate scan sequence===&lt;br /&gt;
&lt;br /&gt;
Upat_list reports the baseline scan and then the percentage change of follow-up scans from the baseline scan. The order of scans in upat_list is determined from the measurement number (not the measurement date). In the case you need to manipulate the baseline and follow-up sequence, you will need to: &lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;  Use this with caution, and as little as possible!! even if the operation is reversible. Database manipulation is sensitive after all.&lt;br /&gt;
&lt;br /&gt;
1. Log in as the &amp;quot;calibration&amp;quot; user (beware which calibration account to use for the different scanners).&lt;br /&gt;
&lt;br /&gt;
How to proceed in the terminal:&lt;br /&gt;
 $ SPB&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM    or  $ @DISK1:[XTREMECT2]LOGIN.COM    !! don&#039;t miss that line, otherwise you would modify the CALIBRATION databases&lt;br /&gt;
&lt;br /&gt;
2. Use the following command to modify the measurement number:&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_SAMPLE_FIRST.EXE          !! To redefine the very first measurement in the sequence&lt;br /&gt;
&lt;br /&gt;
:* I do mean &amp;quot;First&amp;quot; measurement in the sequence, and not &amp;quot;baseline&amp;quot; measurement. You may have 2 baseline scans, one for radius and one for the tibia, but only one of them is the very &amp;quot;first in the sequence&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_PREV_NEXT.EXE        !! To redefine the follow-up sequence beyond the first measure&lt;br /&gt;
&lt;br /&gt;
:* The PREV_NEXT utility is a bit tricky to use, as for each measurement you will have to define its &amp;quot;chronological&amp;quot; previous and its next. It is not related to any anatomical site: one might think for example of defining the Radius follow-up sequence for example. It is not the case. The PREV_NEXT sequence will alternate between different anatomical sites, that is how it should be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Add placeholders for missing follow-up scans===&lt;br /&gt;
If there is NO scan at a certain time point in a series (i.e. patient did not show up), the program ut:upat_create_meas_placehoder.exe and upat_create_eval_placeholder can insert fake records, so the slice matching and timepoints/visits are still all in order.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The attached file describes how to create an manage placeholders in the case of missing follow-up visits in longitudinal studies. [[Media:SOP_Create_Placeholders_draft.pdf|&#039;&#039;&#039;SOP Create Placeholders&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a database measurement===&lt;br /&gt;
&lt;br /&gt;
It is not possible to delete an evaluation from the database, but it can be disabled.&lt;br /&gt;
&lt;br /&gt;
NOTE: QC results are stored in the UCT database, and there is no tool to disable a UCT database result.&lt;br /&gt;
&lt;br /&gt;
Log in as the normal user (e.g. XTREMECT2). Then in a terminal you may use this simple utility program:&lt;br /&gt;
  $ RUN UT:UPAT_CORRECT_VALID_FLAG&lt;br /&gt;
&lt;br /&gt;
See below a typical prompt to deactivate an entry:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_CORRECT_VALID_FLAG V2.0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 1&lt;br /&gt;
Evaluation type [2]: 5&lt;br /&gt;
Group code [0]: 0&lt;br /&gt;
&lt;br /&gt;
Found evaluation 57 for patient 4: ID003&lt;br /&gt;
&lt;br /&gt;
Value for valid flag (0=invalid, 1=valid) [1]: 0&lt;br /&gt;
Value for placeholder flag (0=write results, 1=placeholder) [0]: 0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can always re-activate the entry, by switching the valid flag from 0 to 1. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or, to make a scan invalid, you can also login as calibration user.&lt;br /&gt;
&lt;br /&gt;
Point to microct user&lt;br /&gt;
&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM&lt;br /&gt;
&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
&lt;br /&gt;
 $ SPB&lt;br /&gt;
&lt;br /&gt;
Run Correction File&lt;br /&gt;
 $ run DISK1:[CALIBRATION.UTIL]UPAT_CORRECT_VALID_FLAG.EXE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a uct_list database measurement===&lt;br /&gt;
You cannot really disable data in the UCT_LIST output. What you can do using IPL is to clear the complete result entry for a given measurement, for example:&lt;br /&gt;
&lt;br /&gt;
  $ ipl&lt;br /&gt;
  /read&lt;br /&gt;
    -name                      in&lt;br /&gt;
    -filename                  default_file_name&lt;br /&gt;
  /db_scanco_activate&lt;br /&gt;
    -write                     true&lt;br /&gt;
  /db_clear_eval&lt;br /&gt;
    -input                     in&lt;br /&gt;
&lt;br /&gt;
Then UCT_LIST might still report the &amp;quot;disabled&amp;quot; measurement, leaving only the few first meta-data columns non empty. The rest would be cleared.&lt;br /&gt;
&lt;br /&gt;
I must bring your attention to the fact that this sequence is used a lot on XtremeCT I scripts, for the cortical porosity for example.&lt;br /&gt;
This means that on XT-I, the UCT_LIST content is highly unstable, as it was used back then while UPAT_LIST was not able to handle those results.&lt;br /&gt;
In the future, when new applications come they may delete/overwrite the UCT_LIST entry for a measurement. &lt;br /&gt;
That is the rationale for using the TXT output in the RESULTS directory, that at least keeps track of past analyses. &lt;br /&gt;
As long as you have a single application on XT-II going through UCT_LIST, calling results on demand with it is fine. Later it might come complicated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Troubleshoot UPAT database===&lt;br /&gt;
&lt;br /&gt;
If there is an error (&#039;inconsistent key change or duplicate key!&#039;) in the log file during &#039;upat_filldb&#039;, this is likely caused by too many servers doing UPAT evaluations:&lt;br /&gt;
&lt;br /&gt;
Basically, the UPAT database can not be accessed by 2 evaluation jobs &amp;quot;at the same time&amp;quot;, and works on a &amp;quot;1st arrived 1st served&amp;quot; basis. It is actually one reason to have only 1 evaluation at a time running on a single workstation (the usual setup).&lt;br /&gt;
In your case (and in mine as well), when you have several workstations clustered together, you can technically run several evaluation jobs at the same time which will eventually access the very same database. &lt;br /&gt;
So what happens is that a 1st job executes the /upat_fill_db, and accesses the database for a short amount of time.&lt;br /&gt;
During this time, any unfortunate evaluation job trying to access the database will end up in the exact same error as you reported, as their access to the database is restricted. Even though the time window is short, this kind of thing is unavoidable in setup such as ours, and when lots of evaluation are started at the same time.&lt;br /&gt;
Here you have no other choice than restarting the evaluation job, in order to update the database (or ultimately you could write a small script just to run the /upat_fill_db command, but I do not think it makes sense).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Redirect to a temporary database===&lt;br /&gt;
&lt;br /&gt;
We need to temporarily redefine the logicals UPAT_EVAL_DATABASE and UPAT_SLICE_DATABASE.  Normally, the definition is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_EVAL_DATABASE = UCTD:UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
UPAT_SLICE_DATABASE = UCTD:UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Typically, we submit our jobs to the queue with an IPL script, so within the script we&#039;ll have to redefine the name of the database by adding lines such as&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
so that the results from the IPL evaluation are redirected to this temporary database.&lt;br /&gt;
&lt;br /&gt;
Then, we need to extract the results from the database.  These results are provided on a slice by slice basis (at least with the UPAT data).  As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; in a terminal window, we will again need to redefine the database and then run the program that translates the results to a text file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! give the measurement number and output file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or extract the results from the temporary database with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&lt;br /&gt;
$ def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT  ! only necessary if data came from another system&lt;br /&gt;
$ def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT                            ! only necessary if data came from another system&lt;br /&gt;
&lt;br /&gt;
$ upat_list  ! choose option [3]show, give the patient number and output file, e.g. sys$scratch:myvalues.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an example IPL script that redirects to a temporary database, see Percy:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DISK1:[MICROCT.COMMANDS]IPL_UPAT_EVAL_AIMINPUT.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import from a foreign database===&lt;br /&gt;
IF MEASUREMENTS COME FROM A TOTALLY DIFFERENT DATABASE (such as Toronto&#039;s XCT):&lt;br /&gt;
&lt;br /&gt;
You will need to redefine the logicals UCT_MEASUREMENT_DATABASE and UCT_SAMPLE_DATABASE&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it is quite possible that you won&#039;t have a copy of the foreign MEASUREMENT and SAMPLE databases. If this is the case, then you &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; import the ISQ files into our own database. Then, by setting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define UCT_EVALUATION_DATABASE SYS$SCRATCH:TEMP_EVALUATIONS_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
you could redirect the results to a temporary database (but normally, if you already imported the data, why not use our own database now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Duplicate as new import to database===&lt;br /&gt;
&lt;br /&gt;
You will need to copy ISQ and GOBJ files to a new designated location. This is done when a screening study is completed to look for potential subjects and then a main longitudinal study is completed under a different study name.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1. Make a new patient/subject ID &amp;lt;br&amp;gt;&lt;br /&gt;
2. Make a copy of the ISQ. For example: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK2:[microct.DATA.00002584.00008992]*.isq - &lt;br /&gt;
       DISK2:[microct.DATA.00002696.00009345]*.isq  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
3. Import ISQ into new patient/subject ID number by typing:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ import&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
4. Follow the prompts for the ISQ file names, changing of control file # etc. &amp;lt;br&amp;gt;&lt;br /&gt;
5. Check the data directory to see if ISQ and GOBJ files have been copied properly &amp;lt;br&amp;gt; &lt;br /&gt;
2. In uct_evaluation, open new .ISQ and copied .GOBJ and re-run the evaluation to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
3. Copy Scout Views so scanning program will load baseline scout view for followup scans &amp;lt;br&amp;gt; In DISK1:[MICROCT.DATA.SCOUTS], you&#039;ll see two series of scout views: one series with the PATIENT # followed by 020 or 021 or 038 or 039, the site code (radius or tibia, left or right respectively)&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the old patient scouts to the new patient #s&lt;br /&gt;
For example (using the same old and new #s as above): &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK1:[MICROCT.DATA.SCOUTS]00002584021.SCV -&lt;br /&gt;
       DISK1:[MICROCT.DATA.SCOUTS]00002696021.SCV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover a disappeared due to import===&lt;br /&gt;
If you need duplicate a measurement in both the original and new directories, but you forgot copying the measurement before importing as a new. The original measurement will be automatically removed from the original directory.  This can be fixed!  You will need to copy the measurement back and then fix the header information, as the header will no longer match the original directory.&lt;br /&gt;
&lt;br /&gt;
1. Manually copy all of the associated files for the measurement from the new directory to the original directory:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$copy DISK2:[xtremect2.data.00001234.00001234]*.*;* DISK2:[xtremect2.data.00004321.00004321] /log&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
2. Change the header information of the measurement files to those of the original directory.  To do this, you will need special software.  The use of this software is RESTRICTED.  Users must seek special permission to use the software from Steve, Ying, or Anne BEFORE using.  Once you have permission, the software can be found here: DISK1:[MICROCT.COMMANDS.FORBIDDEN].&lt;br /&gt;
&lt;br /&gt;
3. Run the software:&amp;lt;pre&amp;gt; &lt;br /&gt;
$r [software]&lt;br /&gt;
 &amp;lt;/pre&amp;gt; &lt;br /&gt;
4. The software will ask for: &lt;br /&gt;
a) the ISQ file&lt;br /&gt;
b) the new sample # you would like to give it (i.e. the original directory sample #)&lt;br /&gt;
c) the new measurement # you would like to give it (i.e. the original directory measurement #)&lt;br /&gt;
c) the new sample name you would like to give it (i.e. the original Study ID)&lt;br /&gt;
&lt;br /&gt;
You can view the header information for a file by using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ctheader [ISQ file]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong Study_ID/Sample_No===&lt;br /&gt;
&lt;br /&gt;
Situation: One study participate was assigned in followup scans multiple Study_ID or multiple Sample_No under the same Study_ID. &lt;br /&gt;
Action:    To correct this mistake and update the database correctly, you get to &lt;br /&gt;
&lt;br /&gt;
1. Return/Restore the RSQ from tape to measurement disk using Move (not Copy) in uct_backup program, otherwise the new location won&#039;t have its RAW backup record and thus have no idea where its RSQ was located.&lt;br /&gt;
&lt;br /&gt;
2. When there is no original ISQ in the measurement disk, you will have to reconstruct a new ISQ from this RSQ. If there is an original ISQ there, then skip this step.&lt;br /&gt;
&lt;br /&gt;
3. Import ISQ into a new designated location (correct Study_ID and Sample_No with new Measurement_No). &lt;br /&gt;
    $ import&lt;br /&gt;
Follow the prompts for the ISQ file names, changing of control file # or site # if needed. This action will import RSQ, Gobj and all the files in the folder to the new location.&lt;br /&gt;
&lt;br /&gt;
A reminder is that without an ISQ ready by importing a RSQ only will produce wrong slice no. and site location in the database as shown in the uct_backup. &lt;br /&gt;
&lt;br /&gt;
4. If the ISQ is newly reconstructed (original ISQ could skip this step), the database will show the new reconstruction date &amp;amp; time (not the original scan date &amp;amp; time) as the scan records in the uct_backup. To correct this, &lt;br /&gt;
&lt;br /&gt;
    $run ut:uct_correct_meas_measdate&lt;br /&gt;
&lt;br /&gt;
1) To see the original scan date &amp;amp; time: run this command and follow the prompt and input the original measurement No. as the Index, but don&#039;t change this by copying and pasting it back in Messdatum/Zeit.&lt;br /&gt;
&lt;br /&gt;
2) To set the new scan date &amp;amp; time: run this command again and input the new measurement No. as the Index, copy &amp;amp; paste the original scan date &amp;amp; time got from 1) in Messdatum/Zeit. &lt;br /&gt;
&lt;br /&gt;
This way will update the database as shown in the uct_backup with the original scan date &amp;amp; time with newly reconstructed ISQ in the correct Study_ID and Sample_No.&lt;br /&gt;
&lt;br /&gt;
5. Backup/Move the RSQ at the new location to tape, so that the new record will have full information of both RAW and IMA. &lt;br /&gt;
&lt;br /&gt;
6. Even though ISQ, RSQ, GOBJ and all other files have been moved over to the new location, you will still need to re-run the evaluation (in uct_evaluation, open ISQ and GOBJ) to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong account used for scanning===&lt;br /&gt;
&lt;br /&gt;
Xtremect2 (on disk2) and xt2recalib (on disk6) accounts share the same databases. However, the definition of DK0 is account specific, ie. the scans are stored on different disks. So when scanning under Xtremect2 account instead of Xt2recalib account, to correct the wrong measurement location you will need to:&lt;br /&gt;
&lt;br /&gt;
#Create the patient directory on disk6:[xtremect2.data], if needed;&lt;br /&gt;
#Create the same measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Create a save set of the measurement folder on disk2:[xtremect2.data] with the isq, rsq, rad and scv files included;&lt;br /&gt;
#Unzip the save set in the measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Delete the measurement directory on disk2:[xtremect2.data] using delete command in the terminal. Caution: Do NOT use the backup program.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; This procedure is specific to this situation between Xtremect2 and Xt2recalib accounts, Microct and Xt1recalib accounts, and vice versa, but not applicable between any other accounts!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update database after RSQ/ISQ restoration===&lt;br /&gt;
&lt;br /&gt;
If you are restoring RSQ or ISQ files from tape (or other source) it might be preferable to do your analysis without resetting the database info.  &lt;br /&gt;
&lt;br /&gt;
The database is specific to the user.  So, we have to modify the database for &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;, and be careful not to modify the &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; (or other users) database.  However, we still need to have permissions from &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; in order to do the modification.&lt;br /&gt;
&lt;br /&gt;
When we restore an ISQ or RSQ to disk, the database needs to be updated to ensure it finds it.  We have to change the database back to say it&#039;s on disk.  To do this we need to log in as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
login as calibXXXX  where XXXX is the scanner id (5019 for VivaCT or 2339 for uCT35) or calib3309 or calib3401 (for the XtremeCT and XtremeCTII system, respectively).&lt;br /&gt;
password from Steve&lt;br /&gt;
&lt;br /&gt;
$ @ADISK1:[BONELAB]microct_setup_XXXX.com    ! XXXX=scanner id, sets the logicals to point to bonelab data for SB group&lt;br /&gt;
or&lt;br /&gt;
$ @ADISK1:[VIVACT]LOGIN.COM  ! sets the logicals to point to microct data for BH group&lt;br /&gt;
or&lt;br /&gt;
$ @DISK1:[MICROCT]LOGIN.COM ! sets the logicals to point to microct data on the XtremeCT system&lt;br /&gt;
or&lt;br /&gt;
$ @IDISK1:[XTREMECT2]MICROCT_SETUP.COM ! sets the logicals to point to xtremect2 data on the XtremeCT2 system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set proc/priv=bypass      or     $ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_DIR     ! make sure to include the full path to the executable as shown here. &lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_DIR.EXE     ! on xtremect2 system, use this program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Only change those items which have to be changed (e.g. just hit RETURN for RAW fields if you only want to change the IMA location.  Also, when specifying the directories, use DK0, not DISK2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:UCT_CORRECT_DIR.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Measurement Nr.:         1234&lt;br /&gt;
MeasNr.                  1234 &lt;br /&gt;
PatientNr:               268&lt;br /&gt;
RAW: RAW004&lt;br /&gt;
TP0:00001234_RAW&lt;br /&gt;
IMA: IMA002&lt;br /&gt;
TP0:00001234_IMA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW-Label: [ RAW004 ]&lt;br /&gt;
&lt;br /&gt;
RAW-Dir  : [ TP0:00001234_RAW ]&lt;br /&gt;
&lt;br /&gt;
IMA-Label: [ IMA002 ]   DISK&lt;br /&gt;
IMA-Dir  : [ TP0:00001234_IMA ]  DK0:[microct.data.00000456.00001234]&lt;br /&gt;
&lt;br /&gt;
Measurement Nr.:            0&lt;br /&gt;
End of program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The IMA-label does not matter on disk - but we have to write something to get rid of the IMA002, so &#039;DISK&#039; makes sense.&lt;br /&gt;
&lt;br /&gt;
Using the standard backup/archiving program, you can archive (MOVE TO) that IMA again to a tape, but use a DIFFERENT TAPE than where the first instance of this scan is on.&lt;br /&gt;
&lt;br /&gt;
Background: Tapes just write file after file, without any directory structure or hierarchy, so the program will always find the first instance (the old dataset) if you try to read it again from that tape.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; One other option is to change the permissions of UCT_CORRECT_DIR.EXE so that user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; can use it directly.  To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration&lt;br /&gt;
$ set prot=g:re ut:uct_correct_dir.exe&lt;br /&gt;
$ run disk1:[calibration.util]uct_correct_dir  ! as user microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Other FAQ==&lt;br /&gt;
&lt;br /&gt;
===View Sample info===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will show you sample-name and date-of-birth of sample-number 1234&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info -m 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will give you some (stupid) info about meas 1234&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you use this function all the time, put the following into &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_info  :== $um:uct_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then the usage info will even be correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===List measurements for data and backup location===&lt;br /&gt;
&lt;br /&gt;
*To generate a list of measurements that are registered in the database, to determine where backups are stored, or if the data is still on disk:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;$ write_info&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Ask you for a range of measurement numbers or sample names.&lt;br /&gt;
*Create a &amp;lt;code&amp;gt; sys$scratch:info.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Anonymize patient name and DOB===&lt;br /&gt;
&lt;br /&gt;
Here is the link to [[Media:SOP_Anonymize_patient_name_dob.pdf | Scanco&#039;s SOP]] to change a long list of patient&#039;s name and/or DOB to de-identify the data. &lt;br /&gt;
&lt;br /&gt;
This does not affect the headers of past RSQ, ISQ or AIM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix a wrong scan site code===&lt;br /&gt;
&lt;br /&gt;
This is done if accidentally scanned using the wrong control file. &lt;br /&gt;
For example scan site RR is scanned mistakenly under RL, or TL scanned by mistake using the control file for TR ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To see our site codes, e.g. 20 = RL, 21 = RR etc using &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show log *eval*&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Scenario 1: &lt;br /&gt;
&lt;br /&gt;
If the correction commands (uct_correct_meas_site and updh_site) are already in your account (which is the case for the xtremect2 and xt2recalib accounts on the XtremeCT cluster)&lt;br /&gt;
&lt;br /&gt;
 $ cd util&lt;br /&gt;
 $ dir *site* &lt;br /&gt;
&lt;br /&gt;
and you see two programs (uct_correct_meas_site and updh_site). Set priviledge to bypass first&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
 $ run uct_correct_meas_site&lt;br /&gt;
&lt;br /&gt;
and enter the meas. number to be corrected and then enter in the correct site code (20 = RL, 21 = RR, 38 = TL, 39 = TR). &lt;br /&gt;
*This modifies the database, so the correct site is displayed in the eval program. &lt;br /&gt;
*Enter meas. number 0 to exit program.&lt;br /&gt;
&lt;br /&gt;
Then we must also correct the ISQ and RSQ files (has to be restored from tape if not on disk):&lt;br /&gt;
&lt;br /&gt;
 $ run updh_site      !&#039;updh&#039; = update header&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Enter the &amp;lt;b&amp;gt;full (i.e. pathname included)&amp;lt;/b&amp;gt; ISQ or RSQ filename. For DISK6 data should use DISK6:[xtremect2.data....]. &lt;br /&gt;
*Then enter the correct site number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Scenario 2: &lt;br /&gt;
 &lt;br /&gt;
Normally the correction commands (uct_correct_meas_site and updh_site ect.) are only provided in a calibration account to prevent from misusage. We have to login as user calibration to make the change.  &lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 $ username: [enter calibration account, e.g. calib3401]&lt;br /&gt;
   &lt;br /&gt;
Then we use the same steps in &amp;lt;b&amp;gt;Scenario 1&amp;lt;/b&amp;gt; to change the site code in both database and ISQ and RSQ files. &lt;br /&gt;
*Make sure to &amp;lt;code&amp;gt;logout&amp;lt;/code&amp;gt; from user calibration afterwards.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix for results fail to print/list/show after evaluation===&lt;br /&gt;
&lt;br /&gt;
There are a number of reasons the results may not print:&lt;br /&gt;
&lt;br /&gt;
====Incorrect first measurement number====&lt;br /&gt;
When sample information (such as patient name, DOB, remark) is changed DURING scanning, this can over write the 1st Scan measurement number, resulting in the evaluation sheet not being printed, and data not shown when running upat_list. For example, this happens when:&lt;br /&gt;
&lt;br /&gt;
1) open sample program, enter name, hit save, leave program open&lt;br /&gt;
&lt;br /&gt;
2) start scan (which would write correct record with 1st meas. in sample database)&lt;br /&gt;
&lt;br /&gt;
3) in sample program: then only enter DOB, and hit &#039;save&#039; again in the sample program --&amp;gt; it &#039;overwrites&#039; the 1st meas. with an empty string again.&lt;br /&gt;
&lt;br /&gt;
If you want to enter DOB after the scan has started, you HAVE to &#039;Find...&#039; and re-load that patient first (so it correctly loads the 1st meas. entry also). It is best to just not use the sample management program whilst scanning is taking place. &lt;br /&gt;
&lt;br /&gt;
However, if you do encounter this problem, use the following to fix (shown using patient 668 as an example. 1st scan measurement number was 2672):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 calibration&lt;br /&gt;
 xxxxx&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
 $ @[microct]microct_setup&lt;br /&gt;
 $ run [calibration.util]uct_correct_first&lt;br /&gt;
 $ r UCT_CORRECT_FIRST&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.: 668&lt;br /&gt;
 SampleNr.:          668&lt;br /&gt;
 First:            0&lt;br /&gt;
&lt;br /&gt;
 2672&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and continue with next non-working patient, give patient number 0 to exit.&lt;br /&gt;
&lt;br /&gt;
 $ logout&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Evaluation completed with results not written to database====&lt;br /&gt;
If the first measurement number and DOB are correct... check the .log file of the evaluation... However, if there is no upat*.log file available for that scan, use:&lt;br /&gt;
&lt;br /&gt;
upat_list -v=2 and you will see (for eg sample 594):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Found sample 594, CAMOS_0018&lt;br /&gt;
Found measurement 2536 made 19-MAR-2007 12:52:58.48&lt;br /&gt;
Measurement site RL found in list at index 0&lt;br /&gt;
Measurement 2536 within measurement period&lt;br /&gt;
ERROR finding evaluation for measurement 2536&lt;br /&gt;
&lt;br /&gt;
No valid evaluation found for measurement 2536&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So it seems the 3D upat eval never wrote anything to the database for that scan. In this case, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @ue:ipl_upat_eval_again_quick.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and let it run for the missing data. &lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039; it will only need the aim files and gobj files that you still have in your &#039;models&#039; directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Incorrect sequence of measurement numbers====&lt;br /&gt;
Finally, if none of these options work... check the order of measurement numbers: especially if an import has occured, first check the first measurement number is correct (as above). Then run sys$Scratch:uct_correct_prev_next.exe and correct the order of the measurements: The database keeps a &#039;daisy&#039; chain of meas. numbers, each meas. knows which one was the previous meas and the next meas.&lt;br /&gt;
&lt;br /&gt;
0 means: no prev. meas (or no next meas) So corrected the order for you like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ r UCT_CORRECT_prev_next&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop) [0]: 2821&lt;br /&gt;
MeasNo.:         2821 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]:   &amp;lt;-- leave 0&lt;br /&gt;
Next     [0]: 2828  &amp;lt;-- give next meas number&lt;br /&gt;
Measurement No. (0 to stop) [2828]:&lt;br /&gt;
MeasNo.:         2828 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]: 2821  &amp;lt;-- give prev. meas number&lt;br /&gt;
Next     [0]:  &amp;lt;-- leave 0 for very last meas.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Please note: the series of meas. numbers per patient is NOT separate per meas. site, thus radius and tibia meas. are linking to each other. &#039;&#039;&#039;Do not mess up!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Lab’s Data Responsibility==&lt;br /&gt;
*Weekly &lt;br /&gt;
#Clean up sys$scratch directory and only keep last week&#039;s data.&lt;br /&gt;
#Archive RSQ to corresponding tapes.&lt;br /&gt;
#*RSQ from temporary tests and non-project (not a formally established project) will NOT be archived unless specifically notified to lab personal.&lt;br /&gt;
#Database backup to disks.&lt;br /&gt;
*Monthly&lt;br /&gt;
#Database backup to corresponding tapes.&lt;br /&gt;
#Archive QC RSQ to corresponding tapes.&lt;br /&gt;
#Delete QC IMA and only keep last week&#039;s data.&lt;br /&gt;
*6-monthly&lt;br /&gt;
#System backup to corresponding tapes when prompted.&lt;br /&gt;
*Yearly&lt;br /&gt;
#Data Disk clean up when usage is over 90%.&lt;br /&gt;
#*Temporary tests and non-project RSQ and IMA data will be deleted during check up.  &lt;br /&gt;
#Project Disk clean up when usage is over 90%.&lt;br /&gt;
#Winston backups clean up.  &lt;br /&gt;
*Whenever requested&lt;br /&gt;
#Projects backup to Winston server and restoration.&lt;br /&gt;
#Projects archive to HOG server and restoration.&lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; STRONGLY URGE TO DO THE WEEKLY and MONHTLY BACKUP. Two users DID experience disk crashes before, and without the weekly backup, you may still have all scans on the data disk, but without the databases you cannot tell which scans belong the which sample.&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_management.pdf|&#039;&#039;&#039;XtremeCT Micro-CT Management SOP&#039;&#039;&#039;]] or [[Media:Microct_management.docx|&#039;&#039;&#039;its Word format&#039;&#039;&#039;]] for references.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==HP Server and Disk Array==&lt;br /&gt;
===HP References===&lt;br /&gt;
*[[Media:Hp-quick-specs-msa30.pdf|&#039;&#039;&#039;MSA30 Disk Array Quick Specs&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2620-sceva2-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2620 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2660-sceva3-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2660 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===HP FAQ===&lt;br /&gt;
====Change disk description for $ disks====&lt;br /&gt;
Login as the system user and change to the system commands directory.&lt;br /&gt;
&lt;br /&gt;
 $ cd scom&lt;br /&gt;
 $ eve show_disks.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Tape==&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; While the tape is running and writing to it, DO NOT LOG OUT, DO NOT INTERRUPT THE PROGRAM! This would make that tape unusable from this point on - you could still read from that tape up to this point, but could not add more scans to this tape.&lt;br /&gt;
&lt;br /&gt;
===Tape Label Convention===&lt;br /&gt;
Tape labels are 6 characters in length.  For the Bone Imaging Lab projects, the first three letters indicate if the tape is for raw (RAW) or image (IMA) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW040 = RAW date, tape #040&lt;br /&gt;
IMA001 = IMAGE data, tape #001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, the first two characters may be set to a PI&#039;s initials, the third character indicates if the tape is for raw (R) or image (I) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SBR040 = Steve Boyd RAW, tape #040 &amp;lt;br&amp;gt;&lt;br /&gt;
SBI001 = Steve Boyd IMA, tape #001 &amp;lt;br&amp;gt;&lt;br /&gt;
BHR006 = Benedikt Hallgrimsson RAW, tape #006 &amp;lt;br&amp;gt;&lt;br /&gt;
BHI017 = Benedikt Hallgrimsson IMA, tape #017 &amp;lt;br&amp;gt;&lt;br /&gt;
FJR012 = Frank Jirik RAW, tape #012 &amp;lt;br&amp;gt;&lt;br /&gt;
FJI003 = Frank Jirik IMA, tape #003 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CaMos raw data is backed up with the following naming:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CAMOS1 = CaMos RAW, tape #1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When a tape becomes full, start (initialize) a new tape, increasing the tape number by one so that each tape label is unique.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Initialize a New Tape===&lt;br /&gt;
Put a new tape into the tape drive, then press &amp;quot;Initialize&amp;quot;, this will format (erase) everything on the tape.  When prompted for a label for the tape, follow the [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]].  The tape can now be mounted for use.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic02.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Full Tape===&lt;br /&gt;
A tape automatically ejects during a backup procedure if it becomes full.  &lt;br /&gt;
*Remove the tape and write protect it (orange indicator will be displayed).  &lt;br /&gt;
*Exit the disk-utility program. &lt;br /&gt;
:*Hit &amp;lt;code&amp;gt;ctrl/c&amp;lt;/code&amp;gt; to interrupt the program if needed. &lt;br /&gt;
*Start a new instance of the program.  &lt;br /&gt;
*[[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;Initialize a New Tape&#039;&#039;&#039;]].  &lt;br /&gt;
*Backup any remaining files.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic03.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape Drive Setup on XCT cluster===&lt;br /&gt;
Both the old and new tape drives are connected to SC3309 (XCT1) and powered on. You do not need to power off one to use another.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
New tape in new drive &amp;lt;--&amp;gt; microct, xtremect2, xt2recalib, calib3401, calib3309&lt;br /&gt;
&lt;br /&gt;
:*The &#039;new&#039; Ultrium 3000 tape drive is for the new tapes and the default tape drive for all other accounts (microct, xtremect2, xt2recalib, calib3309, calib3401). &lt;br /&gt;
:*Use the following command to use the old SDLT tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sdlt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Old tape in old drive &amp;lt;--&amp;gt;  xt1recalib  &lt;br /&gt;
&lt;br /&gt;
:*The &#039;old&#039; SDLT tape drive is for the old tapes. You have to log into the default xt1recalib account to recognize this tape drive. &lt;br /&gt;
:*Restoring from old tapes in xt1recalib account will restore your data to DISK6:[MICROCT.DATA]. &lt;br /&gt;
:*By default, xt1recalib account can only see old tape drive, not the new tape drive.&lt;br /&gt;
:*Use the following command to use the new tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sas&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*With either of the above commands, you must not &amp;quot;submit&amp;quot; the tape usage jobs to the queue (i.e., cannot run a batch backup from a script), but only run them interactively in the &lt;br /&gt;
software. Any job in the queue will use the default tape drive again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract from Tape===&lt;br /&gt;
&lt;br /&gt;
====Scripts to Extract from Tape====&lt;br /&gt;
Generally, all files on the tape can be extracted, or only specific files.&lt;br /&gt;
To extract all files on a tape, for example, a tape received from a collaborator, insert the tape into the drive and do the following:&lt;br /&gt;
  $ cd ur&lt;br /&gt;
  $ create/dir [.collaborator]&lt;br /&gt;
  $ create/dir [.collaborator.com]&lt;br /&gt;
  $ create/dir [.collaborator.log]&lt;br /&gt;
  $ create/dir [.collaborator.models]&lt;br /&gt;
  $ cd ur collaborator models&lt;br /&gt;
  $ backup/log tp0:*.sav []/by=parent  ! be sure you are the user (i.e. &#039;microct&#039; or &#039;xtremect2&#039;) that has permission&lt;br /&gt;
  $ backup/log tp0:*.sav DISK4:[BONELAB.PROJECTS.FRAMINGHAM.MODELS...]/by=parent ! The &amp;quot;...&amp;quot; keeps the directory structure. The /by=parent ensures owner of the files is same as parent directory&lt;br /&gt;
&lt;br /&gt;
This will save all the files on the tape to the current directory. Alternatively, if you only want a certain file extracted from the tape, such as an RSQ file, do essentially the same as per above, except with a different final command:&lt;br /&gt;
  $ backup/log tp0:*.sav/select=*.rsq []/by=parent&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/by=parent&amp;lt;/code&amp;gt; part of the command is a qualified for the file owner, and it makes the files that are copied the same owner as the parent directory (nothing to do with how directories are structured). The &amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt; generates sub-directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A custom script is required when extracting data from tape from another micro-CT system or to extract the data to a central location (e.g., a user&#039;s directory).  &lt;br /&gt;
*The script is then submitted to the backup queue of the workstation the tape drive is connected to (i.e., SCEVA3_BACKUP)&lt;br /&gt;
*Some example scripts are provided below.&lt;br /&gt;
&lt;br /&gt;
*Extract image data for three scans to a custom folder, maintaining the sample and measurement directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for three scans to a custom folder without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for all scans on tape to a custom folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:*_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract raw data for three scans to a custom folder, without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape FAQ===&lt;br /&gt;
====Error: Can&#039;t mount tape, Medium offline====&lt;br /&gt;
This can happen if a tape is interrupted during use (e.g., due to a power failure or system restart while the tape drive is in operation).&lt;br /&gt;
&lt;br /&gt;
#Use the manual eject button to remove the tape from the drive.&lt;br /&gt;
#Turn off the tape drive, the switch is on the back of the drive.&lt;br /&gt;
#Shutdown the whole micro-CT system.&lt;br /&gt;
#Turn on the tape drive.&lt;br /&gt;
#Startup the micro-CT system, starting with the server.&lt;br /&gt;
#Try to mount the same tape again.&lt;br /&gt;
&lt;br /&gt;
If the above does not work then either the tape or the tape drive is damaged.  To determine if it is the drive, take a brand new tape and try to initialize it.  Do not use a tape with data on it in the drive unless you are certain the drive is okay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: positioning====&lt;br /&gt;
This can have two reasons usually:&lt;br /&gt;
&lt;br /&gt;
#The tape is just faulty. Try with a fresh tape.&lt;br /&gt;
#A previous tape write operation was interrupted (e.g., a user did an &#039;End Session&#039;, the power went out, or the eject button was pressed on the tape drive, which killed the backup program). In this case the drive did not write the very important &#039;End of Tape&#039; marker, and now, the tape drive cannot find the current place where it can start adding new data. &lt;br /&gt;
*Solution: either take a fresh tape, or if there were only a few scans are on the &#039;bad&#039; tape, &#039;Move to Hard Disk&#039; of ALL the scans on that tape, check that the scans have been retrieved well, then initialize that tape again (which will erase everything on the tape!) and archive those scans again. &lt;br /&gt;
*IMPORTANT: never interrupt the tape drive while it is running!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: parity====&lt;br /&gt;
Either tape or the tape drive is faulty. Take a fresh tape (potentially from a new batch of tapes), and see if the error persists. &lt;br /&gt;
*If yes: have the tape drive repaired. &lt;br /&gt;
*Further things to check: for DLT and SDLT tape drives: is the terminator (&#039;dead end&#039;) connected on the second SCSI port in the back of the tape drive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: non-responsive tape drive====&lt;br /&gt;
This can occur if the user ejects the tape with the little button (and not with the recommended &amp;quot;dismount&amp;quot; button in the uct_backup program).  This can also occur if a tape is mounted immediately after one is dismounted.  You get the same error for both cases, &amp;quot;medium offline&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
:*Check all that all cables are connected.&lt;br /&gt;
&lt;br /&gt;
:*Check that the number on the back of the drive says &amp;quot;5&amp;quot; (use +/- to adjust if necessary)&lt;br /&gt;
&lt;br /&gt;
:*Check that the top connector has a cable connecting to the computer and the bottom one has a terminator.&lt;br /&gt;
&lt;br /&gt;
:*Try turning the tape drive on and off again.&lt;br /&gt;
&lt;br /&gt;
:*Log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; (you will need a password from Steve):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto/sele=mk&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it&#039;s online again, then great.  If not, then the last resort is to reboot the entire system.  If this doesn&#039;t work, then shut down the system (see user manual for proper steps) and eject the tape.  You may need to turn the computer back on before it will eject.  The tape drive should be turned on first (no tape), then the server, and any other computers.  Check that the drive is online ($ show device mk).  If it is, then test the drive by initializing, mounting and dismounting a brand new tape.  If the drive is not online, do not insert any tapes or they will likely get stuck.  Log in as system and re-try the command lines shown above.&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a stubborn tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: stubborn tape drive====&lt;br /&gt;
If the drive cannot be mounted, or it is not visible with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then something went wrong.  For example, the server computer was booted while the tape was turned off. It then does not load the driver.&lt;br /&gt;
&lt;br /&gt;
You can &#039;force load&#039; it - but this will disconnect the scanner for a moment, so only do it while no scan is running:&lt;br /&gt;
&lt;br /&gt;
as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;, on sc3309:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto&lt;br /&gt;
&lt;br /&gt;
$ show dev tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you should see it now (otherwise turn on the tape drive, and do again)&lt;br /&gt;
&lt;br /&gt;
Then you&#039;ll also have to make it available to all users:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a non-responsive tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====SDLT320 Tape and Tape Drive FAQ====&lt;br /&gt;
Please refer to [[Media:Hp-faq-sdlt320-tape-drive-and-sdlt-tapes.pdf|&#039;&#039;&#039;SDLT320 Tape and Tape Drive FAQ&#039;&#039;&#039;]] for details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==USB Drive==&lt;br /&gt;
&lt;br /&gt;
===Use a USB drive===&lt;br /&gt;
Connect USB to VMS system and format. &lt;br /&gt;
&lt;br /&gt;
Transfer files from the terminal after plugging in the USB device&lt;br /&gt;
  $ show device dna&lt;br /&gt;
Usually the device is dna1 or dna2&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ create/dir dna2:[microct]&lt;br /&gt;
  $ copy dk0:[microct]&lt;br /&gt;
or&lt;br /&gt;
  $ backup/log dk0:[&lt;br /&gt;
and then&lt;br /&gt;
  $ dismount dna2&lt;br /&gt;
&lt;br /&gt;
Transfer files back again&lt;br /&gt;
&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ dir dna2:[microct]&lt;br /&gt;
  $ copy dna2:[microct]myfile.txt disk1:[microct.data.00000702.00001234]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===USB Device Usage with Scanco Backup/Archive Software===&lt;br /&gt;
&lt;br /&gt;
For illustrated help on Itanium rx2660s , please refer to [[Media:Scanco_TDxxx-USB_Device_Usage.pdf | &#039;&#039;&#039;Scanco_TDxxx-USB_Device_Usage.pdf&#039;&#039;&#039; ]]&lt;br /&gt;
 &lt;br /&gt;
====Initialize procedure====&lt;br /&gt;
If an external USB device is to be used to archive measurement data, the USB device must be initialized by Open-&lt;br /&gt;
VMS. The data will not be accessible from any other operating system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium rx2660.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1.1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Initialize&amp;lt;” button in the “USB Device” section to initialize the USB device.&lt;br /&gt;
&lt;br /&gt;
- Confirm the Warning message. Note: All data currently on the device will be erased!&lt;br /&gt;
&lt;br /&gt;
- Enter a six-character label&lt;br /&gt;
&lt;br /&gt;
The USB device will be initialized and mounted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Archive procedure====&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Mount” button in the “USB Device” section to mount the USB device.&lt;br /&gt;
&lt;br /&gt;
The device label of the mounted USB device will be shown in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be archived.&lt;br /&gt;
&lt;br /&gt;
- Select “Move To:” and “USB/VMS” and click “Start&amp;lt;” to archive the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
After the move procedure, the new current location of the measurement data will be shown next to the files path.&lt;br /&gt;
&lt;br /&gt;
- “Dismount” the USB device when done with archiving.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Manual file copy procedure====&lt;br /&gt;
An OpenVMS formatted USB device can also be mounted and used for file storage using commands in a DECterm.&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- List available devices. The last shown device is usually the attached USB device; dna12 in this example.&lt;br /&gt;
    $ show device dna&lt;br /&gt;
&lt;br /&gt;
- Mount the USB device using the correct device name&lt;br /&gt;
    $ mount /over=id dna12&lt;br /&gt;
&lt;br /&gt;
- Create a root directory. Ignore any messages if the directory already exists.&lt;br /&gt;
    $ create /dir dna12:[microct]&lt;br /&gt;
&lt;br /&gt;
- Copy any wished files to the USB device&lt;br /&gt;
    $ copy {source files} dna12:[microct] /log&lt;br /&gt;
&lt;br /&gt;
- Dismount the USB device&lt;br /&gt;
    $ dismount dna12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Exporting Files / FAT file system====&lt;br /&gt;
If an external USB device is to be used to export measurement data to a Windows or MAC OS, the USB device must be formatted as FAT file system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Do not “Initialize&amp;lt;” or “Mount” the USB device !&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be copied to the USB device, may be even sub-select the wished file type&lt;br /&gt;
(TIF files in the example below).&lt;br /&gt;
&lt;br /&gt;
- Select “Copy To:” and “USB/FAT” and click “Start&amp;lt;” to copy the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
Once the USB device is connected to Windows or MAC OS, it will show a ZIP file named like the copied measurement&lt;br /&gt;
number. This ZIP file contains the same directory structure like the data disk on OpenVMS: &lt;br /&gt;
&lt;br /&gt;
data\sample number\measurement number&lt;br /&gt;
&lt;br /&gt;
In the lowest sub-directory are the copied files, as selected in the backup/archive software (TIF files in this example).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Problems with connected USB devices===&lt;br /&gt;
&lt;br /&gt;
Sometimes USB configurations can be problematic, in which case log in as &amp;quot;system&amp;quot; on the server and run&lt;br /&gt;
&lt;br /&gt;
  $ dir/date SYS$SYSROOT:[SYSEXE]USB$UCM_DEVICES.DAT&lt;br /&gt;
&lt;br /&gt;
to see whether a file was created recently. If one has, delete that file and reboot the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==CDROM==&lt;br /&gt;
===Mount a CDROM===&lt;br /&gt;
&lt;br /&gt;
Device could be &amp;lt;code&amp;gt;dqa0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dqb0&amp;lt;/code&amp;gt;.  I&#039;m not sure which works:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/override=id dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dismount dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Saveset and Zip files==&lt;br /&gt;
&lt;br /&gt;
===Saveset===&lt;br /&gt;
&lt;br /&gt;
====Saveset Naming Convention====&lt;br /&gt;
The Scanco backup program stores raw (RAW) and image (IMA) data as save sets (SAV).  &lt;br /&gt;
*RAW save sets contain RSQ files and IMA savesets contain all other file types.  &lt;br /&gt;
*The saveset filename is composed of the 8-digit measurement number plus &amp;quot;_RAW.SAV&amp;quot; for raw data and &amp;quot;_IMA.SAV&amp;quot; for image data.  &lt;br /&gt;
*For example, the data for a scan with measurement number 1234 would be stored as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00001234_RAW.SAV  ?  RSQ&lt;br /&gt;
00001234_IMA.SAV  ?  all other files, ISQ, AIM, GOBJ, TXT, SCV, etc.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Create and Unpack Saveset====&lt;br /&gt;
Savesets are OpenVMS backup files, similar to a zip.  Use the backup command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG disk3:[microct.projects.buie...] disk3:[microct.projects]buie2012.sav/sav	&lt;br /&gt;
                !Creates a saveset file of disk3:[microct.projects.buie].  &lt;br /&gt;
                !The ... after the folder indicates to include all subfolders and files.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie]&lt;br /&gt;
                !Unpacks the whole saveset to disk3:[microct.projects.buie]&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie...]	&lt;br /&gt;
                !The ... at the end of the output location indicates to unpack the saveset and maintain the original directory structure.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=*.aim disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of only aim file types.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=[microct.data...] disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of the folder data and all subfolders and files.&lt;br /&gt;
$ HELP BACKUP   !More information on the backup command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====View Saveset Contents====&lt;br /&gt;
To view contents of a saveset (SAV) on disk:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/list upat_print_list_nomatch.sav/sav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the savesets (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view contents of a saveset (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list tp0:*.*  ! OR, backup/list tp0:*.SAV&lt;br /&gt;
or&lt;br /&gt;
$ backup/list=results.txt tp0:*.*  ! save output in results.txt&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An idea to get the results of the backup/list into a text file: Run the procedure in a submitted script and save the resulting log file with all the output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Extract a single file from SaveSet====&lt;br /&gt;
&lt;br /&gt;
In a large SaveSet, sometimes we only want one file extracted, not the whole archive extracted. This can be done with&lt;br /&gt;
&lt;br /&gt;
  $ backup /log /select=myfile.txt mysaveset.sav /sav disk1:[microct.scratch]&lt;br /&gt;
&lt;br /&gt;
or []  as destination will put the file in the current directory.&lt;br /&gt;
&lt;br /&gt;
This can take a while as it looks through all the saveset. Once it logs that the file has been restored, you may interrupt with F6. Else it goes on looking through the rest of the saveset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Saveset from microCT to XtremeCT====&lt;br /&gt;
&lt;br /&gt;
You can create a SAV set of your project on the VivaCT and transfer it to the Xtreme system, or vice-versa.&lt;br /&gt;
First, create the SAV set using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
$ BACKUP/LOG DISK3:[MICROCT.PROJECTS.SB.MYPROJECT...]*.*;* -&lt;br /&gt;
     SYS$SCRATCH:MYPROJECT.SAV/SAV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This creates the MYPROJECT.SAV file in the scratch directory.  Now zip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; MYPROJECT.ZIP MYPROJECT.SAV  (NOTE: must use quotes and a capital V!!!!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
FTP the .ZIP file to SODOR ( in binary mode!!!), and then FTP it off onto your destination system (Viva or Xtreme).  See the appropriate HowTo for FTP instructions.  Once you&#039;ve FTP&#039;d it, unzip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip MYPROJECT.ZIP&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, unpack the contents of the .SAV file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG MYPROJECT.SAV/SAV DISK3:[MICROCT.PROJECTS.MYPROJECT] &amp;lt;--- or whatever destination directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NOTE:  transferring a .SAV directly from VMS to VMS should work, but not via any third operating system (like SODOR) - so zipping is always the safe way to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Zip===&lt;br /&gt;
&lt;br /&gt;
====Zip and Unzip files====&lt;br /&gt;
Use the zip program to add files to a zip archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ZIP myzip.zip myfile.txt;1	                !Adds myfile.txt to myzip.zip.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip myfile.txt;1	        !Adds myfile.txt;1 to myzip.zip.  The &amp;quot;-V&amp;quot; maintains the OpenVMS version number.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip [.subdir...]*.*;*	        !Adds all files within subdir to myzip.zip, maintaining their version number.&lt;br /&gt;
$ ZIP	                                        !Displays the help for the zip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the unzip program to unzip an archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UNZIP &amp;quot;-V&amp;quot; myzip.zip		                !Extracts myzip.zip, maintaining the OpenVMS structure.&lt;br /&gt;
$ UNZIP		                                !Displays the help for the unzip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Zip between Scanco systems====&lt;br /&gt;
&lt;br /&gt;
Files must be zipped before transfer by e-mail or ftp because important attributes will be lost in the transfer otherwise.&lt;br /&gt;
&lt;br /&gt;
To transfer files from system A to B, do the following.&lt;br /&gt;
&lt;br /&gt;
On system A:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_SAMPLES_TORONTOXT.DAT  ! for each filename&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will add both files to the same zip file.&lt;br /&gt;
&lt;br /&gt;
Note: &amp;quot;-V&amp;quot; is very important, it must be capital V!&lt;br /&gt;
&lt;br /&gt;
Transfer the file by e-mail, or by ftp.&lt;br /&gt;
&lt;br /&gt;
On system B:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip -j for_calgary.zip  ! to unzip on your end them (-j to &#039;junk&#039; the original file path)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Unpack Zip sent by Scanco====&lt;br /&gt;
In the .zip file, you&#039;ll find a .sav file. Unzip the .zip just by saying&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ unzip xxxx.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxxx.sav/sav disk3:[steve.devel.temp]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will unpack everything into &amp;lt;code&amp;gt;disk3:[steve.devel.temp]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/list xxxx.sav/sav&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you see what&#039;s in the .sav.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxx.sav/sav/sel=[andres.uct.ipl_for_cust...] disk3:[steve.devel.cipl...]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will create the same diretory tree in steve.devel.cipl as it was when I &lt;br /&gt;
packed it into the .sav.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Backup and Archive==&lt;br /&gt;
&lt;br /&gt;
===UI Procedures===&lt;br /&gt;
&lt;br /&gt;
====µCT Disk-Utility====&lt;br /&gt;
The µCT Disk-Utility Program is used to archive and restore scan data. To start the program type &amp;lt;code&amp;gt;$ uct_backup&amp;lt;/code&amp;gt; in a DEC terminal, or use the disk button.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup.jpg|40px]]&lt;br /&gt;
*The backup captures both the programs and databases.&lt;br /&gt;
*A little helper terminal comes up and gives feedback of every file backed up.&lt;br /&gt;
[[File:Uct_backup_pic01.jpg|600px]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two possible ways to use &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt;:&lt;br /&gt;
:* COPY TO -&amp;gt; this does not update the database.&lt;br /&gt;
:* MOVE TO -&amp;gt; this updates the database.&lt;br /&gt;
&lt;br /&gt;
Scenario 1: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Use UCT_BACKUP to &#039;move&#039; the remainder (AIM/GOBJ) to &#039;tape&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*At operation 3, the measurement directory will be deleted from the measurement disk.  &lt;br /&gt;
*The directory will automatically be restored if you restore your data from tape.&lt;br /&gt;
&lt;br /&gt;
Scenario 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Move all the GOBJ/AIM/etc to a project directory.&lt;br /&gt;
4. Generate a .SAV file and put on the IMA tape.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You will have to delete the measurement directories (using UCT_BACKUP if you like). &lt;br /&gt;
*The disadvantage of this scenario is that the image data cannot be restored using UCT_BACKUP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Raw Data Backup====&lt;br /&gt;
*Ideally 1-2 week after scanning.&lt;br /&gt;
*RSQ files are backed up onto RAW tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  Put the most recent RAW tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
*Show &amp;quot;Current (with RAW)&amp;quot;, use the file filter (Measurement:     ) to search for your files (e.g., CAMOS) and press enter or press &amp;quot;Update List&amp;quot;.  &lt;br /&gt;
*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
*Highlight RAW, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.  &lt;br /&gt;
*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape. &lt;br /&gt;
*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
*If you select multiple files, be sure they all need to be backed up, otherwise you will get an error.&lt;br /&gt;
:[[File:Uct_backup_pic04.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Image Data Backup====&lt;br /&gt;
*Ideally 1-2 months after scanning, after contouring, onsite analysis and copied image data to project disk.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Delete ISQ After Evaluation&#039;&#039;&#039; &lt;br /&gt;
#*ISQ files are normally deleted after completing your evaluation since they are very large files and can be reconstructed from the RSQ file. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type the beginning of your sample name (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;.&lt;br /&gt;
#*Select all the files for which you have completed the evaluation (there will be a + sign next to any scan that has been evaluated).  #*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Trash&amp;quot;.  &lt;br /&gt;
#*[[File:Important.JPG|20px]] After you choose the trash symbol, you will now be given the option to select specific file types, choose &amp;quot;Select&amp;quot; and &amp;quot;ISQ&amp;quot;.  Press &amp;quot;Start...&amp;quot;.&lt;br /&gt;
#*Only choose one file type to delete at a time. The wildcard (*) indicate all files other than &amp;quot;ISQ&amp;quot; and &amp;quot;AIM&amp;quot; files.&lt;br /&gt;
#:[[File:Uct_backup_pic05.jpg|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Backup IMAGE Data&#039;&#039;&#039; &lt;br /&gt;
#*AIM, GOBJ and other evaluation files are backed up onto IMA tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  &lt;br /&gt;
#*Put the most recent IMA tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type in the beginning of your sample names (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;. &lt;br /&gt;
#*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
#*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.   &lt;br /&gt;
#*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape.  &lt;br /&gt;
#*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
#:[[File:Uct_backup_pic06.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use &#039;Script...&#039; button====&lt;br /&gt;
Usually, you will start the move/copy by clicking on &amp;lt;code&amp;gt;&#039;Start...&#039;&amp;lt;/code&amp;gt; button. The &amp;lt;code&amp;gt;&#039;Script...&#039;&amp;lt;/code&amp;gt; button is for advanced users.&lt;br /&gt;
&lt;br /&gt;
*Use of the &#039;Script...&#039; button will generate a script &amp;lt;code&amp;gt;sys$scratch:archive.com&amp;lt;/code&amp;gt;, that you may submit it in batch mode later (e.g. over night) by typing: &amp;lt;pre&amp;gt;$ scanco_submit_command sys$scratch:archive.com/after=23:59&amp;lt;/pre&amp;gt;&lt;br /&gt;
*In a multi-computer cluster setup, you may want to specify the exact queue name of the computer that has the tape hooked up by giving e.g. &amp;lt;code&amp;gt;/que=sceval_fast&amp;lt;/code&amp;gt;.&lt;br /&gt;
*Insert a tape, but do NOT mount the tape in the normal program. If necessary: if it&#039;s a new tape, [[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;initialize&#039;&#039;&#039;]] it as usual. &lt;br /&gt;
*The batch job will be started one minute before midnight in the example above. &amp;lt;code&amp;gt;$ show entry&amp;lt;/code&amp;gt; will show you that it is holding until then.&lt;br /&gt;
*See &amp;lt;code&amp;gt;$ help submit /after&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ help dcl_tips date_time example&amp;lt;/code&amp;gt; for more help on this.&lt;br /&gt;
*Sample script file (archive.com) restoring the RSQs of measurements 6452 and 6580:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
COPY&lt;br /&gt;
DISK&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6452)&lt;br /&gt;
MEAS&lt;br /&gt;
6452&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6580)&lt;br /&gt;
MEAS&lt;br /&gt;
6580&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Database Backup====&lt;br /&gt;
&lt;br /&gt;
The database (DB) backup should be performed for each user on the system. It should not be performed as user &#039;calibration&#039; or some derivative. In the case of the XtremeCT2 and XtremeCT cluster, both the &#039;microct&#039; and &#039;xtremect2&#039; user accounts must be used to backup their respective DB. &lt;br /&gt;
&lt;br /&gt;
By performing the DB backup, the warning dialog that appears when logging into the system should go away.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Operating System (OS) Backup====&lt;br /&gt;
If the following error-message appears on the screen then you can click OK to continue your work. &lt;br /&gt;
&lt;br /&gt;
     MESSAGE: No recent OS Backup found!&lt;br /&gt;
     Please perform OS backup (DISK0) in privileged account!&lt;br /&gt;
     %RMS-W-FNF file not found.&lt;br /&gt;
     CODE: 268534416&lt;br /&gt;
     Facility RTL&lt;br /&gt;
&lt;br /&gt;
This message means that no operating system (OS) backup has been performed within the last 6 months. Please perform an OS backup as soon as possible by following the steps below:&lt;br /&gt;
&lt;br /&gt;
1. Make sure there are no scans in progress and that the que is halted from all activity.&lt;br /&gt;
&lt;br /&gt;
2. Log in to the calibration account: Since we have two scanners on the same system, login as either &amp;quot;calib3401&amp;quot; or &amp;quot;calib3309&amp;quot;, depending if you need to backup the XtremeCT2 or XtremeCT, respectively. For microCT clusters, (best to do this on SCEVA3) using the username calib5019 and the password (ask Steve for this).&lt;br /&gt;
&lt;br /&gt;
3. Type in the DECterm window:&lt;br /&gt;
          $ set proc/priv=bypass&lt;br /&gt;
Or Set priviledge to bypass by &amp;lt;code&amp;gt;$ spb&amp;lt;/code&amp;gt;&lt;br /&gt;
          $ r um:uct_b     Or $ uct_backup&lt;br /&gt;
&lt;br /&gt;
4. You will now see 2 additional buttons on the bottom left that is not seen when logged in as microct user. Push either the button &amp;quot;OS Backup to Disk DK0&amp;quot; or mount the specific OS backup tape and push the &amp;quot;OS Backup to Tape&amp;quot; button.&lt;br /&gt;
* A system backup to tape and to DK0 should both be performed. &lt;br /&gt;
&lt;br /&gt;
5. Check the command line &amp;amp; queue to ensure that the backup is being carried out. If you submit the job as &#039;batch mode&#039; the backup is submitted to SYS$BACKUP queue and allows you to close the backup program and &#039;end session&#039; without interrupting a running backup. Check with &#039;show queue&#039; to see the backup job on the queue.&lt;br /&gt;
&lt;br /&gt;
6. Exit the Backup Program and log out of the calibration account.&lt;br /&gt;
&lt;br /&gt;
After a successful OS backup the message above will not appear for the next six months.&lt;br /&gt;
&lt;br /&gt;
Alternatively a system backup can be completed using the command line, without using the uct_backup program. The instructions from Scanco can be found here. The advantage to this method is that you will be able to name the specific backup save set.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Using Scripts for Backup/Archive===&lt;br /&gt;
&lt;br /&gt;
====Project Backup/Archive====&lt;br /&gt;
*Refer to [[Media:Microct_project_backup.pdf|&#039;&#039;&#039;Project Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_project_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Backup Project=====&lt;br /&gt;
Regularly backup projects on a monthly basis using command &amp;lt;code&amp;gt;$ @com:BACKUP_PROJECT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
*The script is submitted to the queue and upon completion the log is emailed to the user.&lt;br /&gt;
*a SAVset (an OpenVMS file type similar to a zip file), a project info file and a file list are created in DISK5:[BONELAB.PROJECTS.BACKUP] for the microCTs and DISK4:[BONELAB.PROJECTS.ARCHIVE.ARCHIVE] for the XtremeCTs.&lt;br /&gt;
*The saveset along with two TXT files created will be automatically SFTP to Winston:\\Backups\backup\&lt;br /&gt;
*After the transfer, the saveset file on disk are deleted, leaving only two TXT files on the project disk.&lt;br /&gt;
*Only keep the two most recent backups for each project, A or B version name appended on the project name:&lt;br /&gt;
:*Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
:*Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
*The user MUST verify that the backup completed successfully.&lt;br /&gt;
*SAVsets greater than 250 GB cannot be transferred by automatic SFTP, use interactive/manual SFTP instead to transfer to Winston. &lt;br /&gt;
*If you are backing up a very large project, please check the server disk space before starting the backup. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:BACKUP_PROJECT.COM&lt;br /&gt;
===========================================================&lt;br /&gt;
BACKUP PROJECT TOOL V1.2 (XtremeCT)&lt;br /&gt;
 P1:LOCATION        DISK4:[BONELAB.PROJECTS.DUNCAN]&lt;br /&gt;
 P2:TYPE            1=MOUSE,2=RAT,3=HUMAN,4=OTHER&lt;br /&gt;
 P3:PROJECT         CAMOS&lt;br /&gt;
 P4:PERSON          Ying Zhu&lt;br /&gt;
 P5:DESCRIPTION     A monthly backup&lt;br /&gt;
 P6:EMAIL           me@ucalgary.ca&lt;br /&gt;
 P7:SFTP            y,n&lt;br /&gt;
 P8:START           y,n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Restore Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_RESTORE.COM script which will automatically generate a script to restore a user&#039;s project.  &lt;br /&gt;
*The saveset file has to be moved to Winston:\\Backups\archive folder to be restored.&lt;br /&gt;
*The user will be asked if they wish to restore to the original location, or to a new location.&lt;br /&gt;
*The script is submitted to the queue and the log from the restore job is emailed to the user. &lt;br /&gt;
*The user MUST verify that the job completed successfully.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_RESTORE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Delete Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_DELETE.COM script which will automatically generate a script to delete all the files and subdirectories of a specified path.&lt;br /&gt;
*The command script is opened so that the user can check the files to be removed to go ahead.&lt;br /&gt;
*You will need to manually delete the root project directory after it&#039;s empty.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_DELETE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Known Bugs in Project Tools=====&lt;br /&gt;
*Long file name won&#039;t work (28 letters work but not 32 letters).&lt;br /&gt;
*if the user specifies too long a file name, the Project Backup Scripts will fail with the following error:&lt;br /&gt;
     RMS-E-CRE, ACP file create failed&lt;br /&gt;
     SYSTEM-W-BADFILENAME, bad file name syntax&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Archive Project Saveset to Tape=====&lt;br /&gt;
Projects should be stored safely onto a backup tape once complete.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Summary&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps summarize the process:&lt;br /&gt;
:* Archive the project directory to the tape (detailed instructions below).&lt;br /&gt;
:* Change tape to &amp;quot;read only&amp;quot; to protect contents&lt;br /&gt;
:* Check tape saveset to ensure proper backup&lt;br /&gt;
:* Write name of tape on the project LOG sheet&lt;br /&gt;
:* Copy project LOG sheet and bring to Bone Imaging Laboratory &amp;quot;completed&amp;quot; project book&lt;br /&gt;
:* Bring copy of tape to the Bone Imaging Laboratory for safe keeping&lt;br /&gt;
:* &amp;lt;b&amp;gt;Delete&amp;lt;/b&amp;gt; the contents of the project from the disk&lt;br /&gt;
&lt;br /&gt;
In the project, there should be the regular set of directories including DOC, COM, MODELS, LOG.  Once the project is stored to tape, ensure that the log sheet for that project include a note stating which tape it was backed up to.  Take a photocopy of the log sheet and add it to our Bone Imaging Laboratory project book for COMPLETED projects.&lt;br /&gt;
&lt;br /&gt;
In the following example, a project titled BERN is backed up onto tape.  Ideally, the name of the SAV file on tape is the same as the project (i.e., BERN).  Note that &amp;lt;b&amp;gt;SAV files must have names with no more than 13 characters (including the .SAV)!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example backs the BERN project/directory onto tape IMA001.  For large projects and/or critical projects, it is advisable to dedicate an entire tape.  The three dots (...) indicate that ALL subfolders of DK0:[MICROCT.PROJECTS.BERN] will be included.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
&lt;br /&gt;
$ backup/log dk0:[microct.projects.bern...]*.*;* tp0:proj_bern.sav -  ! writes a saveset to tape&lt;br /&gt;
        /block=65534 /label=IMA001 -&lt;br /&gt;
        /media_format=nocompaction     ! NEVER use the /rewind option here&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.sav/select=*.isq DISK4:[BONELAB.PROJECTS.TBONE.ISQ_FROM_TAPE...]/by=parent  ! extracts all ISQ files from the tape&lt;br /&gt;
&lt;br /&gt;
$ dismount tp0:  &lt;br /&gt;
$ dismount tp0: /nounload ! same as previous command, but does not eject the tape (i.e. if you want to read the tape once more)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the &amp;lt;code&amp;gt;/rewind&amp;lt;/code&amp;gt; option should never be used for backup as it instructs the tape drive to rewind after backup is complete causing a major risk of over writing.&lt;br /&gt;
&lt;br /&gt;
Sometimes it might be handy to exclude certain files.  For example, to exclude RSQ files: &amp;lt;code&amp;gt;/excl=*.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A good reference for backup commands and ideas are available in the &amp;lt;code&amp;gt;UM:UCT_MOVE_FILES.COM&amp;lt;/code&amp;gt; script which is used by the &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt; program.  See also the &amp;lt;code&amp;gt;help backup&amp;lt;/code&amp;gt; instructions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help backup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the contents of a tape to ensure you&#039;ve successfully stored your project use the following commands (further details in &amp;quot;HowTo: View save set (SAV) contents&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
To just view if the saveset is on tape (but not its contents):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: you can also save the saveset list in a text file using the /output qualifier.&lt;br /&gt;
&lt;br /&gt;
To view the files within a saveset on tape, and save the results in a file called &amp;lt;code&amp;gt;results.txt&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list=results.txt tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete a set of directories, use the &amp;lt;code&amp;gt;dl&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ur BERN&lt;br /&gt;
$ del *.*;*   ! Deletes ALL files in a directory&lt;br /&gt;
$ dl *.dir;*  ! Will only delete empty directories (not nested directories)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Extract Project Saveset from Tape=====&lt;br /&gt;
To restore a project, you have two choices:&lt;br /&gt;
*1. Login as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then go to the projects directory. From there:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ spb (bypass priv)&lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind [*...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This puts all the files back in their original directory structure.&lt;br /&gt;
&lt;br /&gt;
*2. As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
 &lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind/select=[microct.projects.davison...]&lt;br /&gt;
     disk2:[microct.projects.davison...]&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.*/rewind disk3:[microct.projects.vitamink.models]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure to write the &amp;lt;b&amp;gt;same&amp;lt;/b&amp;gt; path in the /select as the output (except for the &lt;br /&gt;
actual disk2 portion).  Alternatively, you could unpack it into a slightly different root&lt;br /&gt;
directory (i.e., TMP) by changing the output path.&lt;br /&gt;
&lt;br /&gt;
The three dots infers to use the same paths in the saveset as the file structure put onto disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scripts to Backup RAW and IMA====&lt;br /&gt;
A script can be output from the backup tool to backup and restore data using the backup program.  &lt;br /&gt;
*When restoring data using this method, choose the COPY to DISK option. The data will be restored to its original location on the data disk.  &lt;br /&gt;
*You must manually submit the script to the backup queue.  &lt;br /&gt;
*The command procedures are written to SYS$SCRATCH:ARCHIVE.COM.  &lt;br /&gt;
*Here is the sample script for backing up RAW data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Here is the sample script for backing up IMA data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
IMA&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Usage information====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:DISK_MOUNTIES.COM	                !Give data disk usage information on an account.&lt;br /&gt;
$ eve sys$scratch:disk_mounties_output_summary.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template file for summarizing the disk mounties results: [[Media:BoneLab_Data_Disc_Usage.xlsx|&#039;&#039;&#039;BoneLab_Data_Disc_Usage.xlsx&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To look at the RSQs in the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir/siz dk0:[microct.data...]*.rsq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
the three dots means all subdirectories.&lt;br /&gt;
&lt;br /&gt;
Other useful commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.isq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
shows you header.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fda command file-wildcard&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
does a &#039;file do all&#039; of the command on all the given wildcard filenames.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe xxxx | search sys$pipe &amp;quot;patient&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
is the pipe command in VMS.&lt;br /&gt;
&lt;br /&gt;
So all three combined:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe fda ctheader dk0:[microct.data...]*.rsq | search sys$pipe &amp;quot;patient name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or any other field you want to search for! &lt;br /&gt;
&lt;br /&gt;
If you have a more complex program to run (e.g. with an argument), use the double quotes as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pipe fda &amp;quot;aix -l&amp;quot; *.AIM | search sys$pipe &amp;quot;Patient Name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other ideas&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ write_info&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives you a file &amp;lt;code&amp;gt;sys$scratch:info.txt&amp;lt;/code&amp;gt; with info in it (leave defaults to get all samples ever scanned, otherwise &#039;zoom&#039; in on some samples.)&lt;br /&gt;
&lt;br /&gt;
Check out the &amp;lt;code&amp;gt;search&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help search&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and &amp;lt;code&amp;gt;/match=and&amp;lt;/code&amp;gt;&lt;br /&gt;
or &amp;lt;code&amp;gt;/match=or&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Backup====&lt;br /&gt;
In the commands directory (com) is a BACKUPDISK script which will automatically generate scripts to backup all the directories on the projects disk.  &lt;br /&gt;
*As the backup requires significant amounts of space, please check the server disk space before starting the backup. &lt;br /&gt;
*Each directory is saved as a separate save set (an OpenVMS file type similar to a zip file) on Winston://Bonelab/Backup/.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUPDISK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_disk_backup.pdf|&#039;&#039;&#039;Disk Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_disk_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Process, Printer and System=&lt;br /&gt;
&lt;br /&gt;
==Processes and Jobs==&lt;br /&gt;
&lt;br /&gt;
===Manage jobs in the queue===&lt;br /&gt;
Use the DELETE/ENTRY and SET ENTRY commands to manage a batch job.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SH QUE                                        !Get process info&lt;br /&gt;
$ SH QUE /all/by_job_status=executing           !Get all executing process info&lt;br /&gt;
$ SHOW ENTRY 1131 /full                         !Get full process info of entry 1131&lt;br /&gt;
$ SE 1311                                       !Get full process info of entry 1131&lt;br /&gt;
&lt;br /&gt;
$ DELETE /ENTRY=251                             !Deletes batch job number 251.&lt;br /&gt;
&lt;br /&gt;
$ SET ENTRY 251/PRIORITY=50                     !Changes the priority of batch job number 251. &lt;br /&gt;
                                                !Default priority is 100 for all jobs, max is 200.&lt;br /&gt;
$ SET ENTRY 251/REQUEUE=SCEVAL_FAST             !Moves to queue sceval_fast. &lt;br /&gt;
                                                !The job cannot be executing to do this, has to be in pending status.&lt;br /&gt;
$ SET ENTRY 251/AFTER=TOMORROW                  !Holds entry 251 until the following day (midnight).&lt;br /&gt;
&lt;br /&gt;
$ HELP SET ENTRY                                !More information on the SET ENTRY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Control processors # on multi-processor machines===&lt;br /&gt;
&lt;br /&gt;
For example, on the itanium there are two processors.  By default, only one takes reconstruction jobs.  The other is left for so that evaluations can take place without competing for the CPU. &lt;br /&gt;
&lt;br /&gt;
But if a bottleneck is the reconstruction, it can be switched as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set que sceva2_slow/job=2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so that it will do two reconstruction jobs simultaneously.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create a new queue===&lt;br /&gt;
This may be useful to separate jobs for a project.  The following will create a queue called BUIE$FAST, which will submit jobs to SCEVAL_FAST and SC3309_FAST.&lt;br /&gt;
&lt;br /&gt;
 $ initialize/queue/GENERIC=(SCEVAL_FAST,SC3309_FAST)/OWNER=[SYSTEM] -&lt;br /&gt;
   /PROTECTION=(S:M,O:D,G:R,W:S)/BATCH/START BUIE$FAST&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Clear out all entries in a queue===&lt;br /&gt;
First create a dummy queue, then merge (i.e., move) all the entries from the queue to be cleared into it, then delete the dummy queue.&lt;br /&gt;
&lt;br /&gt;
Example:  Clear out the printer queue.&lt;br /&gt;
 $ stop/reset printer1&lt;br /&gt;
 $ initialize/que dummy&lt;br /&gt;
 $ assign/merge dummy printer1&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
 &lt;br /&gt;
Example:  Clear out a batch queue, e.g., sys$fast.&lt;br /&gt;
 $ initialize/que/batch dummy&lt;br /&gt;
 $ assign/merge dummy sys$fast&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart queues===&lt;br /&gt;
There are three methods.  First the nice method.&lt;br /&gt;
&lt;br /&gt;
1. As for the printer queue, a normal user can stop and start other queues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/reset sceval_slow&lt;br /&gt;
$ start sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This kills the current process running.  If you want to let the current process complete before stopping the queue, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use the web browser Mozilla.&lt;br /&gt;
&lt;br /&gt;
:*Open mozilla&lt;br /&gt;
:*&#039;batch queues&#039;&lt;br /&gt;
&lt;br /&gt;
:*Resize the window so it occupies the right half of the screen&lt;br /&gt;
&lt;br /&gt;
:*Click on &#039;delete job&#039; once with the MIDDLE mouse button, this will open a new window on the right half of the screen. Ensure the two windows do not overlap, if they do resize the window which contains the batch queues list. Once window locations are correct MIDDLE click on the rest of the jobs which you wish to delete (click on &#039;Delete Job&#039; in the batch queue list). The reason for locating the widows is because each successive click on &#039;Delete Job&#039; will open a new window and you don&#039;t want it to cover the batch queues list.&lt;br /&gt;
&lt;br /&gt;
:*Then Exit from mozilla, this will delete all the open windows, it may take a bit if you are deleting lots.&lt;br /&gt;
&lt;br /&gt;
3. Now the harsh method.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Completely remove the queue and re-generate, as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset sc3309_slow&lt;br /&gt;
$ delete/queue sc3309_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you must restart the queue.  To learn how to do this refer to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eve sys$startup:dcps_hpljet_ip.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Kill hunging processes===&lt;br /&gt;
&lt;br /&gt;
Sometimes jobs need to be stopped manually, such as when FTP or TCPIP is hung. This is done as follows:&lt;br /&gt;
&lt;br /&gt;
Checked processes with  &lt;br /&gt;
  $ show sys&lt;br /&gt;
where the FTP jobs are running. Doing it as &amp;lt;b&amp;gt;system&amp;lt;/b&amp;gt; with these commands would show all the FTP jobs on all nodes:&lt;br /&gt;
  $ mcr sysman&lt;br /&gt;
  SYSMAN&amp;gt; set env /cluster&lt;br /&gt;
  SYSMAN&amp;gt; do pipe sh sys|sear sys$pipe ftpc&lt;br /&gt;
It showed that they all were running on SCEVA1 only. So I logged in there and using the IDs given at the list from above&#039;s command:&lt;br /&gt;
  $ stop/id=29804056&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Check CPU usage and kill a process===&lt;br /&gt;
Determine what process is using all the CPU (e.g., SYMBIONT, a print process) using the monitor command, then use the show system command to determin the Pid, which can be used to stop the process.&lt;br /&gt;
&lt;br /&gt;
The print (SYMBIONT) process is known to consume excessive CPU when the clocks are advanced for daylight savings on the alpha systems.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor process/topcpu&lt;br /&gt;
$ show system&lt;br /&gt;
OpenVMS V7.3-2 on node SCEVAL 6-APR-2009 12:42:22.82 Uptime 124 23:16:08&lt;br /&gt;
Pid      Process Name     State  Pri  I/O         CPU         Page flts Pages&lt;br /&gt;
20C00081 SWAPPER          HIB    16   0      0 01:07:05.63     0         0&lt;br /&gt;
20C00087 CLUSTER_SERVER   HIB    14   2218   0 00:00:00.54    63        77&lt;br /&gt;
20C00088 CONFIGURE        HIB    10   23     0 00:00:00.02    54        20&lt;br /&gt;
20C00089 LANACP           HIBO   13   -- swapped out --                 32&lt;br /&gt;
20C0008B FASTPATH_SERVER  HIB    10   9      0 00:00:00.01    79        94&lt;br /&gt;
20C0008C IPCACP           HIB    10   10     0 00:00:00.02    37        28&lt;br /&gt;
$ show process/all/id=Pid&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ stop/id=Pid&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Process Name = BATCH_122  means entry 122 in the queue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Printer==&lt;br /&gt;
&lt;br /&gt;
===Set up TCPIP printer queue on a VMS workstation===&lt;br /&gt;
  $ stop/que/res hpljet&lt;br /&gt;
  $ tcpip set nohost hpljet&lt;br /&gt;
  $ tcpip set host &amp;quot;hpljet&amp;quot; /address= xxx.xxx.xxx.xxx&lt;br /&gt;
  $ start hpljet&lt;br /&gt;
&lt;br /&gt;
Note that many HP printers will not work with OpenVMS. Checking for compatibility is important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart the printer queue===&lt;br /&gt;
&lt;br /&gt;
How to fix the printer queue when hung, not working or giving an error.&lt;br /&gt;
A full printer queue can seriously affect system performance.  &lt;br /&gt;
Be sure that the queue is cleaned up from time to time.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to first find out the real name of your printer queue. &lt;br /&gt;
* Replace &amp;quot;hpljet&amp;quot; and &amp;quot;...dcps_hpljet...&amp;quot; by your own queue (i.e., PRINTER1 for XtremeCT) name below. &lt;br /&gt;
* First approach, as normal user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset hpljet&lt;br /&gt;
$ start/queue hpljet&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to release a job&lt;br /&gt;
  $ set entry/release 123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==System==&lt;br /&gt;
&lt;br /&gt;
===Monitor System===&lt;br /&gt;
====Monitor system usage====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor/interval=1 processes/topcpu&lt;br /&gt;
$ monitor/interval=1 system&lt;br /&gt;
$ show error&lt;br /&gt;
$ show system&lt;br /&gt;
$ @SCOM:SHOW_DISKS.COM (or simply $ DISKS)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;show error&amp;lt;/code&amp;gt; may indicate errors.  One or two errors is OK.&lt;br /&gt;
&lt;br /&gt;
To see what processes are running (specific to the machine, not cluster wide).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device disk2/file&lt;br /&gt;
$ show user /full&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of OpenVMS system====&lt;br /&gt;
&lt;br /&gt;
If when rebooting a VMS system there is a failure, sometimes a message can be repeated many times. The way to stop this repeating message is to press &amp;lt;code&amp;gt;ctrl-C&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ctrl-P&amp;lt;/code&amp;gt; to get to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
&lt;br /&gt;
Then show some of the device information, either specifically&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device py*&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device dy*&lt;br /&gt;
&lt;br /&gt;
or in general&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
&lt;br /&gt;
which might show more than needed. The output of&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show bootdef_dev&lt;br /&gt;
&lt;br /&gt;
can also be useful.&lt;br /&gt;
&lt;br /&gt;
Once settings are all good, you can reboot the system with&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set bootbios pyb0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disk status====&lt;br /&gt;
Login as the system user on the workstation connected to the disk array that you want to check.&lt;br /&gt;
&lt;br /&gt;
 $ run sys$system:msa$util.exe&lt;br /&gt;
 MSA&amp;gt; set controller&lt;br /&gt;
&lt;br /&gt;
Show the raid volumes (e.g., to check if it failed or is recovering).&lt;br /&gt;
 MSA&amp;gt; show unit&lt;br /&gt;
&lt;br /&gt;
Locate disks associated with a raid volume (e.g., unit0).&lt;br /&gt;
 MSA&amp;gt; locate unit0&lt;br /&gt;
&lt;br /&gt;
Accept a failed unit (e.g., unit0) - only for itanium workstations, which use a newer version of OpenVMS.&lt;br /&gt;
 MSA&amp;gt; accept unit0&lt;br /&gt;
&lt;br /&gt;
Show disk information.&lt;br /&gt;
 MSA&amp;gt; show disks&lt;br /&gt;
&lt;br /&gt;
Get information on MSA utility functions.&lt;br /&gt;
 MSA&amp;gt; help&lt;br /&gt;
&lt;br /&gt;
Exit the MSA utility.&lt;br /&gt;
 MSA&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of disk array====&lt;br /&gt;
To look at the disks in an MSA30 tower:&lt;br /&gt;
There are several options to check the status of the disks. One is, if it is installed, to use the command-line utility&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr msa$util&amp;lt;/pre&amp;gt;&lt;br /&gt;
as &amp;quot;system&amp;quot;. Enter&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
MSA&amp;gt; set controller&lt;br /&gt;
MSA&amp;gt; show unit&lt;br /&gt;
MSA&amp;gt; show disks&lt;br /&gt;
MSA&amp;gt; exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another is to start the WBEM web interface, which shows the status of the hardware graphically.&lt;br /&gt;
&lt;br /&gt;
It is possible to fix a disk array that hasn&#039;t booted by doing the following:&lt;br /&gt;
&lt;br /&gt;
  At the login prompt, type &#039;shutdown&#039;. This will get you to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
There should be a RAID card, for example on Percy, named &amp;lt;code&amp;gt;pya0&amp;lt;/code&amp;gt;. Try:&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action halt&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; run bios pya0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action restart&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disks status in enclosure====&lt;br /&gt;
&lt;br /&gt;
Periodically connect to http://10.148.64.254/ (user name: manage, password same as system password) and check if there are any errors or warnings, like failed disks. You can easily see which disk has failed in the graphical view of &amp;quot;Physical&amp;quot; -&amp;gt; &amp;quot;Enclosure X&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Consider not all web browsers allow connection to this rather old web server. Firefox and Mozilla on the workstations do work fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover System===&lt;br /&gt;
====Consistently needs warm-up scanner - Shutter-failsave-Job====&lt;br /&gt;
&lt;br /&gt;
If the scanner is consistently needing to warm-up on consecutive days, and was not powered off, this is likely due to the Shutter-failsave-Job disappearing from the 3309-Batch queue (for XT1). The job must be re-submitted. &lt;br /&gt;
&lt;br /&gt;
The executing file is located in the CALIB3309 ($ um:submit_shutter_test.com) and the command to submit the job is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/after=&amp;quot;tomorrow&amp;quot;/noprint/que=uct_measurement_queue um:submit_shutter_test.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check the status by typing: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show que *3309_batch*/all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This job tends to disappear now and then, perhaps because of an abrupt shutdown of the workstation or maybe when stop/pause/re-start the queue. Contact Scanco if this does not resolve.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk not mounted/unavailable, directory not found, volume not enabled====&lt;br /&gt;
Disk is not mounted or is unavailable.  Error opening ...., directory not found, volume is not software enabled.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
%DIRECT-E-OPENIN, error opening DISK4:[MICROCT.PROJECTS]*.*;* as input&lt;br /&gt;
-RMS-E-DNF, directory not found&lt;br /&gt;
-SYSTEM-F-VOLINV, volume is not software enabled&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen if communication is broken between workstations, causing the disk mount to time out.  Check if this is by showing the devices, then dismount and remount the disk.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev&lt;br /&gt;
&lt;br /&gt;
Device                  Device           Error    Volume         Free  Trans Mnt&lt;br /&gt;
 Name                   Status           Count     Label         Space Count Cnt&lt;br /&gt;
SC3309$DKA100:          Online               0&lt;br /&gt;
SC3309$DKD0:            Mounted              0  ALPHASYS        3.18GB   642   2&lt;br /&gt;
SC3309$DKD1:            Mounted              0  AUSER_01       42.84GB     4   2&lt;br /&gt;
SC3309$DKD2:            Mounted              0  ADATA_01      173.00GB     4   2&lt;br /&gt;
SC3309$DKD3:            Mounted              0  ADATA_02A     215.80GB     1   2&lt;br /&gt;
SC3309$DKD4:            Mounted              0  ADATA_02B     215.85GB     1   2&lt;br /&gt;
SC3309$DKD5:            Mounted              0  ADATA_02C     215.81GB     1   2&lt;br /&gt;
SC3309$DQA0:            Online               0&lt;br /&gt;
SC3309$DQA1:            Offline              1&lt;br /&gt;
SC3309$DQB0:            Offline              1&lt;br /&gt;
SC3309$DQB1:            Offline              1&lt;br /&gt;
SCEVAL$DKA0:            Online               0&lt;br /&gt;
SCEVAL$DKA1500:         Mounted              0  (remote mount)                 1&lt;br /&gt;
SCEVAL$DKC0: MntVerifyTimeout 0 ADATA_03A 541.62GB 1 2 &lt;br /&gt;
SCEVAL$DKC1: MntVerifyTimeout 0 ADATA_03B 541.38GB 1 2 &lt;br /&gt;
SCEVAL$DKC2: MntVerifyTimeout 0 ADATA_03C 541.60GB 1 2 &lt;br /&gt;
SCEVAL$DQA0:            Online               0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set host 0&lt;br /&gt;
system&lt;br /&gt;
&lt;br /&gt;
$ dismount SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC0: ADATA_03A&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03A mounted on _SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC1: ADATA_03B&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03B mounted on _SCEVAL$DKC1:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC2: ADATA_03C&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03C mounted on _SCEVAL$DKC2:&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this does not restore the disk, then shutdown the computer.  At the blue screen...&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; init&amp;lt;/code&amp;gt;&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; run bios pya0&amp;lt;/code&amp;gt;&lt;br /&gt;
Press F2 at the prompt to accept potential data loss.&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Press power button to turn off.&lt;br /&gt;
Press power button to turn on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Kill hanging program====&lt;br /&gt;
&lt;br /&gt;
If a program is hunging, it may not be necessary to shut down the system and restart. For example, if the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
program is hung, do the following&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev/full microct_scsi&lt;br /&gt;
&lt;br /&gt;
$ stop/id=&amp;lt;Owner process ID&amp;gt; (Replace the &amp;lt;&amp;gt; with the actual ID)&lt;br /&gt;
&lt;br /&gt;
for example: &lt;br /&gt;
&lt;br /&gt;
$ stop/id=2280091C &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reset the display/GUI====&lt;br /&gt;
These commands will terminate the current login session and may restore a frozen or messed up screen.  You will need to remotely access the problem workstation either from another micro-ct workstation or using a personal computer.&lt;br /&gt;
&lt;br /&gt;
Use the set host command to connect to the problem workstation (e.g., thomas) using the node name (e.g., sc3309) or the IP address (e.g., thomas.kin.ucalgary.ca). &lt;br /&gt;
&lt;br /&gt;
$ set host sc3309&lt;br /&gt;
login:  system&lt;br /&gt;
password: &lt;br /&gt;
&lt;br /&gt;
Issue the reset display command.&lt;br /&gt;
$ @sys$startup:decw$startup restart&lt;br /&gt;
&lt;br /&gt;
At the prompt, type &amp;quot;y&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart screen server====&lt;br /&gt;
&lt;br /&gt;
If the monitor fails to show the login prompt and displays a blank gray screen...telnet to the computer from another computer (e.g. a PC or so) and login as user system. Run the restart command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set host gordon.ucalgary.ca.    [or other computer name]&lt;br /&gt;
$username: system&lt;br /&gt;
$password: [system password]&lt;br /&gt;
$@sys$startup:decw$startup restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
confirm (answer &amp;quot;yes&amp;quot; at the prompt) and logout.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$y&lt;br /&gt;
$logout&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will kill all programs on your screen, but it will leave all batch jobs running, so if you do a BATCH measurement, this will survive! (but interactive scan will be killed).&lt;br /&gt;
&lt;br /&gt;
If you are restarting a monitor connected to a KVM box, unplug and re-plug in the box.&lt;br /&gt;
&lt;br /&gt;
This command also helps when the mouse/keyboard freezes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart Alpha stations====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Do not do this unless absolutely necessary.&lt;br /&gt;
&lt;br /&gt;
For shutdown&lt;br /&gt;
&lt;br /&gt;
At the login screen, type &amp;quot;shutdown&amp;quot;/no password and hit enter. &lt;br /&gt;
Then, you can turn the computer off at the prompt.&lt;br /&gt;
&lt;br /&gt;
Then, you may turn the disk array off (unplug it as there is no power switch).&lt;br /&gt;
&lt;br /&gt;
After you move the computer, power on the disk array and then the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow/non-responsive computer====&lt;br /&gt;
&lt;br /&gt;
This is usually caused by people logging in via SSH multiple times.  The solution involves resetting the SSH/TCPIP daemon.&lt;br /&gt;
&lt;br /&gt;
:*If you are local at the computer:&lt;br /&gt;
&lt;br /&gt;
You will need to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;.  ONLY EXPERIENCED USERS SHOULD EVER LOG IN AS SYSTEM!&lt;br /&gt;
&lt;br /&gt;
The system will be extremely slow (it will take 5 minutes just to get a log in prompt).  This is expected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_shutdown    ! shutdown SSH&lt;br /&gt;
$&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_startup     ! restart SSH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can reboot the system to reset the SSH.  This is not an appropriate solution and it is solving the problem by hitting it with a jack hammer.  Sometimes it is the only choice though.&lt;br /&gt;
&lt;br /&gt;
:*If you are remotely logged in:&lt;br /&gt;
&lt;br /&gt;
You will have to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; and run a script called STOP_START_TCPIP.COM.  &lt;br /&gt;
&lt;br /&gt;
This works essentially the same as for the above method, except that since it would be impossible to restart SSH remotely once it is shut down, two separate scripts are called and submitted on SCEVAL_FAST (make sure the queue isn&#039;t clogged) separated by a 1 minute delay. The first script called is STOP_TCPIP.COM and the second is START_TCPIP.COM.&lt;br /&gt;
&lt;br /&gt;
To execute this process, you must log in as system, go to the SYS$SCRATCH directory, and interactively execute the script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @STOP_START_TCPIP.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Shutdown a workstation remotely====&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard power off.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Remote shutdown from another micro-ct workstation&#039;&#039;&#039;.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 user:  system&lt;br /&gt;
 password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
 $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
 SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
 SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
*You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2. Remote shutdown from a personal computer&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
 &lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
 $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming). &lt;br /&gt;
 &lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
 $ shutdown&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow computers - Change RAID battery for Itanium computers====&lt;br /&gt;
&lt;br /&gt;
If computers become sluggish, particularly when saving data after a scan, have Scanco check the batteries in the RAID drive. The batteries in SCEVA3 were changed 2014-11-10. There are two batteries. Order the HP brand (should look like the ones in the image).&lt;br /&gt;
*Instructions to open the Itanium work station and access the PCI card: [[Media:HP_rx2660_PCI_card.pdf |&#039;&#039;&#039;Change PCI card&#039;&#039;&#039;]].&lt;br /&gt;
*Instructions to change the batteries after accessing the PCI card: [[Media:HP_SA6402_Batteries.pdf |&#039;&#039;&#039;Change batteries&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Frozen computer - &amp;quot;bootstrap failure&amp;quot; on boot up==== &lt;br /&gt;
The micro-CT computer is frozen or there is a &amp;quot;bootstrap failure&amp;quot; on boot up, This happens to the client computers (those connected to the scanners) when there is interruption in the network.  The only option is to restart the computer.&lt;br /&gt;
&lt;br /&gt;
====Crash of XtremeCT II workstation computer====&lt;br /&gt;
&lt;br /&gt;
For a non-responsive monitor and/or a mouse and/or a keyboard of the XtremeCT II workstation (sometimes caused by a lost of connection to server, or an internet outage):&lt;br /&gt;
&lt;br /&gt;
:*1. The first thing to do is to check system logs for any indication of the cause of the issue, if you have the &amp;quot;Administrator&amp;quot; user privilege.&lt;br /&gt;
:*2. The next thing to do is to soft-reboot by remote-login and using command line to reboot the workstation, if you have the &amp;quot;system&amp;quot; user privilege.&lt;br /&gt;
:*3. If no success, try hard-reboot by pressing the power button as indicated below.&lt;br /&gt;
:*4. If no success, try hard-reboot by unplugging both power cords as indicated below.&lt;br /&gt;
:*5. If still no success, contact Scanco immediately.&lt;br /&gt;
:*6. The last thing to do is to record the issue and any possible reasons.&lt;br /&gt;
&lt;br /&gt;
1.  Checking system logs:&lt;br /&gt;
 &lt;br /&gt;
:*1) Remotely log into the iLO (the management console of the workstation) using SSH as user &amp;quot;Administrator&amp;quot; with the system password. &lt;br /&gt;
Both user/pw are case sensitive. For XtremeCT II workstation (James) it is SSH to 10.148.64.231. For others, consult the network diagram. &lt;br /&gt;
&lt;br /&gt;
A trick: This connection only succeeds through a MAC or PC (via putty) direct login, not through an OpenVMS or Scanco system.&lt;br /&gt;
   $ ssh -l Administrator 10.148.64.231&lt;br /&gt;
:*2) Then you get to a   MP&amp;gt;   prompt here:&lt;br /&gt;
&lt;br /&gt;
   MP MAIN MENU:&lt;br /&gt;
         CO: Console&lt;br /&gt;
        VFP: Virtual Front Panel&lt;br /&gt;
         CM: Command Menu&lt;br /&gt;
         CL: Console Log&lt;br /&gt;
         SL: Show Event Logs&lt;br /&gt;
         HE: Main Help Menu&lt;br /&gt;
          X: Exit Connection&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*3) Type in &#039;SL&#039; to show event logs, then you could choose &#039;E&#039; for system event:&lt;br /&gt;
&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt; SL&lt;br /&gt;
     Event Log Viewer Menu:&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
   F - Forward Progress     20000      100 %        13 Sep 2018 11:17:43&lt;br /&gt;
   I - iLO Event              500      100 %        18 Sep 2018 07:46:42&lt;br /&gt;
   C - Clear SEL and FPL&lt;br /&gt;
   L - Live Events&lt;br /&gt;
&lt;br /&gt;
   Enter menu item or [Ctrl-B] to Quit: E&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
     Event Log Navigation Help:&lt;br /&gt;
   +       View next block     (forward in time,  e.g. from 3 to 4)&lt;br /&gt;
   -       View previous block (backward in time, e.g. from 3 to 2)&lt;br /&gt;
   &amp;lt;CR&amp;gt;    Continue to the next or previous block&lt;br /&gt;
   D       Dump the entire log&lt;br /&gt;
   F       First entry&lt;br /&gt;
   L       Last entry&lt;br /&gt;
   J       Jump to entry number&lt;br /&gt;
   H       View mode configuration - Hex&lt;br /&gt;
   K       View mode configuration - Keyword&lt;br /&gt;
   T       View mode configuration - Text&lt;br /&gt;
   A       Alert Level Filter options&lt;br /&gt;
   U       Alert Level Unfiltered&lt;br /&gt;
   ?       Display this Help menu&lt;br /&gt;
   Q       Quit and return to the Event Log Viewer Menu&lt;br /&gt;
   Ctrl-B  Exit command, and return to the MP Main Menu&lt;br /&gt;
&lt;br /&gt;
:*4) From here you can use -  and  +  to go through the log history back and forth. Not all logs do make a lot of sense though, as they are mainly meant for HPE engineers. &lt;br /&gt;
:*5) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*6) Use  MP&amp;gt; co   to get to the console, where you see at what stage the booting process is, in case it does not boot properly.&lt;br /&gt;
:*7) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*8) Use  MP&amp;gt; x   to end the connection.&lt;br /&gt;
&lt;br /&gt;
2. Soft-reboot by remote login:&lt;br /&gt;
&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard-reboot.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
:*2.A) Remote shutdown from another micro-ct workstation.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
   $ set host 0&lt;br /&gt;
   user:  system&lt;br /&gt;
   password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
   $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
   SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
   SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
:*2.B) Remote shutdown from a personal computer.&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
&lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
   $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming).  &lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
   $ shutdown&lt;br /&gt;
&lt;br /&gt;
3. Hard-reboot by power button:&lt;br /&gt;
&lt;br /&gt;
:*1) Hold the power button until it turns yellow.&lt;br /&gt;
:*2) Wait a minutes or two, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly. &lt;br /&gt;
  &lt;br /&gt;
4. Hard-reboot by unplugging both power cords:&lt;br /&gt;
&lt;br /&gt;
:*1) Hard-reboot by unplugging both the power cords. This will reset the console and controllers.&lt;br /&gt;
:*2) Wait for 5~10 minutes, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
==For Scanco support==&lt;br /&gt;
===Send a terminal to a remote computer===&lt;br /&gt;
&lt;br /&gt;
To send a terminal from XCT clusters to Scanco for maintenance, you need to know the ip address for the terminal location.&lt;br /&gt;
Such as For Mark Blanchard:&lt;br /&gt;
&lt;br /&gt;
  $ set display/create/transport=tcpip/node=193.72.60.24&lt;br /&gt;
  $ create/terminal/detach&lt;br /&gt;
&lt;br /&gt;
The cursor will disappear for a minute or so, and reappear with the $ prompt indicating sent already.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Access VMS filesystem==&lt;br /&gt;
===Access XtremeCT VMS filesystem on a Mac===&lt;br /&gt;
&lt;br /&gt;
In finder, select Go --&amp;gt; Connect to Server &lt;br /&gt;
&lt;br /&gt;
This opens up a window that allows you to enter a server address. Enter the following information: &lt;br /&gt;
&amp;lt;pre&amp;gt;smb://136.159.130.28&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click connect. If the internet connection is working, you will then be prompted to enter in login info:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select the volumes you want to mount.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View XtremeCT VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station (i.e., .130) enter the following IP address for Thomas (SC3309):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.130.28\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.130.28\UCT_DATA1&lt;br /&gt;
or&lt;br /&gt;
\\136.159.130.28\UCT_DATA2&lt;br /&gt;
&lt;br /&gt;
User name: xtremect@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View VivaCT40/uCT35 VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: vct_40&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station enter the following IP address for SCEVAL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.74.140\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.74.140\SB_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\SB_PROJ&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_PROJ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
User name: vct_40@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Map a Network Drive to the VMS filesystem from Windows===&lt;br /&gt;
&lt;br /&gt;
To do this you must be on the same network as the OpenVMS system. For main campus and the XtremeCT, you will map the drive to Thomas (136.159.130.28), the workstation connected to the scanner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on My Computer and choose Map Network Drive... &lt;br /&gt;
&lt;br /&gt;
Folder:  \\136.159.130.28\uct_data1     !FOR THE PROJECTS DISK&lt;br /&gt;
&lt;br /&gt;
         and/or &lt;br /&gt;
&lt;br /&gt;
         \\136.159.130.28\uct_data2     !FOR THE DATA DISK&lt;br /&gt;
&lt;br /&gt;
User name: microct\xtremect&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note:  You must use the numerical IP address and not the host name (i.e. thomas.kin.ucalgary.ca).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Setup remote access FAQ==&lt;br /&gt;
===Access data remotely===&lt;br /&gt;
Refer to [[Media:Scanco-faq-accessing-data-remotely.pdf|&#039;&#039;&#039;Scanco tutorial on accessing your data remotely&#039;&#039;&#039;]] for&lt;br /&gt;
&lt;br /&gt;
*A quick refresher course on accessing files&lt;br /&gt;
**Web browser&lt;br /&gt;
**File sharing&lt;br /&gt;
**File transfer protocol (FTP)&lt;br /&gt;
*Network file system NFS&lt;br /&gt;
*Running Scanco programs remotely&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use Hummingbird Exceed for remote access===&lt;br /&gt;
&lt;br /&gt;
*Screen definition&lt;br /&gt;
:Server visual = PseudoColor&lt;br /&gt;
:Window mode = multiple&lt;br /&gt;
&lt;br /&gt;
*Keyboard input&lt;br /&gt;
:Primary = decemus&lt;br /&gt;
:Alternate = us&lt;br /&gt;
&lt;br /&gt;
*EVE commands&lt;br /&gt;
:select = &amp;quot;end&amp;quot;&lt;br /&gt;
:cut = &amp;quot;delete&amp;quot;&lt;br /&gt;
:paste = &amp;quot;insert&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:move forward a word = CTRL + right_arrow&lt;br /&gt;
:move to start of document = CTRL + up_arrow&lt;br /&gt;
:move to end of document = CTRL + down_arrow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use XWin32 for remote access===&lt;br /&gt;
&lt;br /&gt;
Run XWin32.  Run Putty and connect to sceval.ucalgary.ca.  Use the terminal normally to run programs, which should open with XWin32.  &lt;br /&gt;
&lt;br /&gt;
Additional terminal windows can be opened with &amp;lt;code&amp;gt;$ dec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you try to connect from somewhere other than the university, you will probably get the following error when trying to open a window:&lt;br /&gt;
&lt;br /&gt;
   Xlib: connection to &amp;quot;sceval.ucalgary.ca:10.0&amp;quot; refused by server&lt;br /&gt;
   Xlib: Can not connect to a host on a restricted network&lt;br /&gt;
   X Toolkit Error: Cannot Open Display&lt;br /&gt;
   %DWT-F-DWTABORT, xtoolkit fatal error&lt;br /&gt;
&lt;br /&gt;
Type the following at the command prompt to direct the display:&lt;br /&gt;
&lt;br /&gt;
   $ set display/create/transport=tcpip/node=Your_IP_Address/server=0&lt;br /&gt;
&lt;br /&gt;
You can find your IP address from:   http://www.ip-adress.com/&lt;br /&gt;
&lt;br /&gt;
If you&#039;re running XWin32 from off campus and behind a router, forward ports 6000 - 6010 TCP and 177 UDP to your computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Set up Putty with gold-key access===&lt;br /&gt;
&lt;br /&gt;
Refer [http://bone.wiki/index.php?title=Scanco_User_Instructions#PuTTY_and_Xming &#039;&#039;&#039;PuTTY and Xming&#039;&#039;&#039;] to download putty.&lt;br /&gt;
&lt;br /&gt;
Set &#039;keyboard&#039; to Vt400, and &#039;initial state of numeric keyapad&#039; to &#039;Application&#039;, and now the &#039;NumLock&#039; key is the gold key (like PF1), and the editor can repeat stuff.&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set term/vt100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to enable the editor in the terminal.&lt;br /&gt;
&lt;br /&gt;
And duplication of a line is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
- (which would be PF4) to erase a line, &lt;br /&gt;
then twice &amp;quot;numlock, then -&amp;quot;  (gold-PF4 is &#039;restore line&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===SSH tricks===&lt;br /&gt;
====RSA and DSA Authentication====&lt;br /&gt;
&lt;br /&gt;
The main advantage of setting up RSA authentication is that you will no longer have to type your password each time you access a host with ssh.  There are some technical reasons why RSA and DSA access is more secure than password access.&lt;br /&gt;
&lt;br /&gt;
These instructions work on both Linux and OS-X.  &lt;br /&gt;
&lt;br /&gt;
# Create your public/private key pair on your local computer&lt;br /&gt;
#* At the command prompt type: ssh-keygen -t rsa&lt;br /&gt;
#* You will be asked to create a passphrase.&lt;br /&gt;
#* This will create the files .ssh/id_rsa and .ssh/id_rsa.pub .  Once you have these files, you never have to repeat this step.&lt;br /&gt;
# Copy your public key contents into the .ssh/authorized_keys2 file on the remote server&lt;br /&gt;
#* You can email yourself the file .ssh/id_rsa.pub from the local computer.&lt;br /&gt;
#* Alternatively, you could do this: ssh username@remoteserver.com &#039;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys2&#039; &amp;lt; /Users/Youruser/.ssh/id_rsa.pub&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTES ABOUT KEYS&amp;lt;/u&amp;gt;&lt;br /&gt;
Remember, the &amp;quot;authorized_keys&amp;quot; file is a concatenation of public (id_rsa.pub) keys, &lt;br /&gt;
and the &amp;quot;id_rsa&amp;quot; is the private key.  &lt;br /&gt;
Every user on every computer should only have ONE &amp;quot;id_rsa&amp;quot; file, &lt;br /&gt;
but can have multiple &amp;quot;id_rsa.pub&amp;quot; files concatenated into&lt;br /&gt;
their &amp;quot;authorized_keys&amp;quot; file.&lt;br /&gt;
&lt;br /&gt;
=====SSH Agent=====&lt;br /&gt;
&lt;br /&gt;
SSH-Agent is a tool to store your passphrase so you don&#039;t have type it every time.&lt;br /&gt;
&lt;br /&gt;
On OS-X, it is integrated into the system Keychain - you will be asked once if it should remember your passphrase, and after that you don&#039;t have to worry about it.&lt;br /&gt;
&lt;br /&gt;
Most Linux systems also have ssh-agent configured to start with every session. You may however have to do this once:&lt;br /&gt;
 ssh-add ~/.ssh/ida_rsa&lt;br /&gt;
&lt;br /&gt;
====SSH Tunneling====&lt;br /&gt;
&lt;br /&gt;
This is an alternative to VPN through kinesiology.  It may come in handy if for some reason VPN is not working.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re outside the university system and want to access, for example, svn on mike.kin, which is normally blocked by the university firewall, you can do that with ssh tunneling.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
 ssh eric@mighty-mac.kin.ucalgary.ca -L 2000:mike.kin.ucalgary.ca:443 -N&lt;br /&gt;
&lt;br /&gt;
Here is what is going on:&lt;br /&gt;
* I want to access port 443 (which is https) on mike.kin.ucalgary.ca.&lt;br /&gt;
* I have an account on mighty-mac, so I&#039;m using that server to create an ssh tunnel inside the university firewall.  I could use any machine I had an account on inside the university system, even mike.kin.ucalgary.ca, the one I&#039;m trying to get to (in fact, that would be best, but for purposes of demonstration I&#039;m using a different machine).&lt;br /&gt;
* I&#039;m mapping the local port 2000 to port 443 on mike.  Anything I send to localhost:2000 will by sent by ssh or the ssh tunnel to mighty-mac, which will then send it on to port 443 on mike.&lt;br /&gt;
* 2000 is a random 4-digit port number.  If by some fluke you happen to choose one that is in use, ssh will complain and you will have to try another port number.&lt;br /&gt;
&lt;br /&gt;
Now I can fire up my browser and point it to&lt;br /&gt;
&lt;br /&gt;
 https://localhost:200/trac/&lt;br /&gt;
&lt;br /&gt;
And what I get is the trac site on mike.&lt;br /&gt;
&lt;br /&gt;
If I want to get the code, I can do this:&lt;br /&gt;
&lt;br /&gt;
 svn checkout https://localhost:2000/svn/numerics88/trunk trunk_tunnel&lt;br /&gt;
&lt;br /&gt;
(&amp;quot;trunk_tunnel&amp;quot; is just the directory name where it will end up.  It can be named anything, but this will remind me that it only works when the tunnel is up.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Physical connections==&lt;br /&gt;
===Connect to VMS station with a serial port cable===&lt;br /&gt;
&lt;br /&gt;
To do this, you will need to connect from a PC using a PC-to-PC (NULL modem) serial cable, 9600 baud. Install PuTTY and connect with the &#039;serial&#039; option. You will need to know the COM port that is used by the PC to connect the serial cable. You can do this by checking on the PC the [Hardware][Device] settings.&lt;br /&gt;
&lt;br /&gt;
Typical login is &amp;quot;Admin&amp;quot; and password is usually same as the &#039;system&#039; password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Export VMS display to SUN or LINUX terminal===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# - temple&lt;br /&gt;
$ - sceval&lt;br /&gt;
# xhost +temple.ucalgary.ca&lt;br /&gt;
# ssh -X microct@sceval.ucalgary.ca&lt;br /&gt;
$ set display /create /transport=tcpip /node=temple.ucalgary.ca&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Do not use &amp;lt;code&amp;gt;xhost+&amp;lt;/code&amp;gt;.  Always specific exactly which computer is being&lt;br /&gt;
allowed X access.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Dose=&lt;br /&gt;
&lt;br /&gt;
==Dose Calculations==&lt;br /&gt;
&lt;br /&gt;
===XtremeCT radiation dose===&lt;br /&gt;
Some notes about radiation dose to help decide acceptable scanning protocols.  These comments are based on scanning an adult (not children having significant red marrow at the scan region).&lt;br /&gt;
&lt;br /&gt;
:*The annual dose limit for the hand for an occupational user is 500 mSv (as per the ICRP), and with the x-ray energy of our XtremeCT that translates to 500 mGy local dose per year. For non-occupational subjects, the limit is generally 10x lower (i.e., our volunteers should not have more than 50 mGy local dose per year).&lt;br /&gt;
:*Our scanner delivers a local dose of about 5.3 mGy per scan.  However, if we have adjacent scans, there is some overlap due to the penumbra of the x-ray beam which results in about double the local dose (a conservative guess would be 10 mGy) for a ~1mm overlap region. Averaging over the whole scanned regions (overlap and non-overlap regions) we can say that the average delivered local dose is about 7-8 mGy. The local dose is not additive.  If we&#039;re very conservative, and we take 10 mGy as the local dose, then we could theoretically scan a person 5 times before exceeding the 50 mGy limit based on a tenth of the occupational limit (500 mGy).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===vivaCT CTDI dose===&lt;br /&gt;
====Dose calculation====&lt;br /&gt;
&lt;br /&gt;
Assuming the following settings on the vivaCT for &amp;quot;high mode&amp;quot;, we will calculate the CTDI dose.&lt;br /&gt;
&lt;br /&gt;
 2000 projections (360 degrees)&lt;br /&gt;
 0.109 mA&lt;br /&gt;
 200 ms IT&lt;br /&gt;
&lt;br /&gt;
I calculate the time current value as:&lt;br /&gt;
&lt;br /&gt;
 0.109 mA * (0.200 + 0.012) S * 2000 proj= 46.22 mAs&lt;br /&gt;
&lt;br /&gt;
The 0.012 is the integration time between projections.&lt;br /&gt;
&lt;br /&gt;
Taking the proportion of the 68 mAs at 55 kV resulting in 720 mGy (see the document on example&lt;br /&gt;
dose calculation on this Wiki site), we have:&lt;br /&gt;
&lt;br /&gt;
 46.22 / 68 * 720 = 490 mGy&lt;br /&gt;
&lt;br /&gt;
Since CTDI in air is approximately two times the weighted CTDI, and since our setup is more like in air, we get:&lt;br /&gt;
&lt;br /&gt;
 2 * 490 = 980 mGy per scan.&lt;br /&gt;
&lt;br /&gt;
It&#039;s always a good idea to look at the time-current product in the control file to get an approximate estimate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Dose chart and example====&lt;br /&gt;
*Refer to [[Media:VivaCT dose information-fyi.pdf|&#039;&#039;&#039;VivaCT CTDI Dose Calculation Example&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
We have measured the following CT dose indices (CTDI). &lt;br /&gt;
:*CTDIw:   Weighted CTDI (chart below)&lt;br /&gt;
:*CTDIair: CTDI in air (2 times CTDIw - calculate from chart below).&lt;br /&gt;
&lt;br /&gt;
The detector was placed in the center of a 35 mm PMMA cylinder which was placed in the center of rotation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 70kV  300ms 85uA  Field of view 38.9mm 1000 Proj./180°:   CTDI = 260 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 220 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 190 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 30.7mm 1000 Proj./180°:   CTDI = 420 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 350 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 305 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 21.5mm 1000 Proj./180°:   CTDI = 850 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 720 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 620 mGy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 high res = 1000 Proj./180°&lt;br /&gt;
 medium  = 500 Proj./180°&lt;br /&gt;
 standard  = 250 Proj./180°&lt;br /&gt;
&lt;br /&gt;
The CTDI scales linear with the integration time (s), with the current (uA) and number of projections. If you have different settings there, it is easy to calculate the CTDI.&lt;br /&gt;
&lt;br /&gt;
CTDI Definition:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Integral from +50mm to -50mm of D(z)/NxT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*where D(z) is the dose profile along a line z which is perpendicular to the tomographic plane&lt;br /&gt;
:*N is the number of tomographic sections produced in a single rotation&lt;br /&gt;
:*T is the nominal tomographic section thickness&lt;br /&gt;
&lt;br /&gt;
Example: How to estimate how much radiation would be incurred by a mouse scanned at 25&lt;br /&gt;
um resolution (medium resolution -- MR) at 55 kVp, 109 uA, 150 ms IT, for about 30 minutes?&lt;br /&gt;
&lt;br /&gt;
If you take your settings you can calculate the CTDI.  First thing you have to be aware is that the CTDI is something like the local dose but it takes the cone beam geometry and the not perfect collimation of the x-ray beam into account (The CTDI value is always higher than a local dose measurement with for example TLDs). It does not matter how many stacks you are scanning. The dose you have at one point which is within the volume you are scanning gets the same local dose if you are performing a 1 stack or a 4 stack measurement.&lt;br /&gt;
&lt;br /&gt;
With the 55kVp/109uA HR with 300ms we have a value at the 30.7 mm position of 350 mGy. Because you have MR we can divide the values by a factor of 2; and because you have 150ms instead of 300ms there is an other factor of 2. You would get 87.5 mGy for the position 30.7 mm. Because of the cone beam the dose has a quadratic dependency to the diameter of the field of view. (30.7 mm/25 mm)2 = 1.5. The CTDI value for your settings is in the order of 87.5 mGy * 1.5 = 132 mGy.&lt;br /&gt;
&lt;br /&gt;
Note that for in vivo measurements, we should multiply the result by a factor of two since we are doing the measurement in AIR, not WATER.  The charts above are assuming the CTDI done in water.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Optimize Scan for Low Dose==&lt;br /&gt;
*Refer to [[Media:Scanco-faq-optimization-for-dose.pdf|&#039;&#039;&#039;Optimize Scan Protocols for Low Dose&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7120</id>
		<title>Scanco Administration</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7120"/>
		<updated>2021-03-26T23:22:02Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Other FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS=&lt;br /&gt;
&lt;br /&gt;
==OpenVMS References==&lt;br /&gt;
*[[Media:OpenVMS Users Manual.PDF| OpenVMS User Manual]]&lt;br /&gt;
*[[Media:Vmsfaq.pdf| OpenVMS FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Unix related==&lt;br /&gt;
*[[Media:Vms-unix-commands.pdf| OpenVMS Commands with UNIX equivalents]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix filenames on VMS with multiple &#039;.&#039;===&lt;br /&gt;
&lt;br /&gt;
The directory names would have been cvs-1.11.21.dir on Linux.  However VMS doesn&#039;t allow more than 1 . in the name.  If you enter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set process/parse=extended&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in a terminal you&#039;ll be able to access these files.  You could consider renaming them i.e. cvs-1_11_21.dir.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix command line basics===&lt;br /&gt;
====Twelve Essential Commands====&lt;br /&gt;
&lt;br /&gt;
These are the commands which you have to know in order to be basically functional with a shell (command line).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;&lt;br /&gt;
| List directory contents.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -l&amp;lt;/tt&amp;gt; long listing with dates and permissions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -a&amp;lt;/tt&amp;gt; list all, including hidden files (hidden files start with a period)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Change directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt; change to previous directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ~&amp;lt;/tt&amp;gt; change to home directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ..&amp;lt;/tt&amp;gt; change to parent directory&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;pwd&amp;lt;/tt&amp;gt;	&lt;br /&gt;
| Print current (working) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cp&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Copy file(s).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cp -r somedir somedest&amp;lt;/tt&amp;gt; Copy recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mv&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Move (or rename) a file (or directory)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rm&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Delete (remove) a file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -r somedir&amp;lt;/tt&amp;gt; Delete recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -ri somedir&amp;lt;/tt&amp;gt; Delete recursively, but prompt before each removal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -rf somedir&amp;lt;/tt&amp;gt; Delete recursively, never prompt&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mkdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Create directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rmdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Remove (empty) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cat&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Print file contents (to console).&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;less&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Scroll through file contents, one page at a time. SPACEBAR to advance a page, B to go back a page, Q to quit, /pattern to search for pattern&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;man&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Get help on &amp;lt;tt&amp;gt;command&amp;lt;/tt&amp;gt;. (eg. &amp;lt;tt&amp;gt;man ls&amp;lt;/tt&amp;gt; for help on &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;).  You move around in man as you do with less: SPACEBAR is forward a page, and so on.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;exit&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Close shell (i.e. the terminal). If this is your login shell, you will log out.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File names with spaces====&lt;br /&gt;
&lt;br /&gt;
Spaces on the command line separate arguments. Therefore file names containing spaces require special treatment to avoid being interpreted as two separate files. There are a couple of methods. You can use quotes:&lt;br /&gt;
&lt;br /&gt;
 cp &amp;quot;file name with spaces&amp;quot; file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
You can also use the backslash, which indicates that any special significance is to be removed from the following character. Thus a space, instead of being the delimiter for arguments on a command line, is to be interpreted as a regular character.&lt;br /&gt;
&lt;br /&gt;
 cp file\ name\ with\ spaces file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Copying and pasting====&lt;br /&gt;
&lt;br /&gt;
Copying and pasting in a terminal is generally done with the middle mouse button.  Just mark the text you want to copy with the mouse, holding down the left mouse button in the usual way. Then move the cursor (which is different than the mouse pointer - move the cursor with arrow keys typically) to where you want to insert and click the middle mouse button (on a wheel mouse the middle button is the wheel).&lt;br /&gt;
&lt;br /&gt;
Tip: You can double-click to mark a whole work, or triple-click to mark a whole line. Remember - you haven&#039;t only marked it, you&#039;ve put it in the clipboard.&lt;br /&gt;
&lt;br /&gt;
Note: This applies to X11, for example on Linux.  If using OS-X, just use Option-C and Option-V as usual.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Recalling previous commands====&lt;br /&gt;
&lt;br /&gt;
You can scroll though your previous commands (command history) by using the UP and DOWN arrow keys.&lt;br /&gt;
&lt;br /&gt;
A more advanced trick is to use CTRL-R, which is particularly useful when you want to recall a command you used some time ago. Hit CTRL-R and then start typing some fragment of the command you&#039;re searching for. The prompt will automatically update to show you the most recent match to the fragment you&#039;ve typed so far. If you want the matching command previous to the one shown, hit CTRL-R again. Once you&#039;ve got the previous command you&#039;re looking for, hit ENTER to run it again, or start editing it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Be lazy: use TAB to minimize typing====&lt;br /&gt;
&lt;br /&gt;
Some commands and especially some file names can be pretty long. Don&#039;t want to type it all? Type the first few letters, then hit TAB. The shell will fill in the rest, as far as there is a unique completion (either command or filename). If there is not a unique completion to the end, you might have to type another character or two and then hit TAB again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Keyboard Shortcuts====&lt;br /&gt;
&lt;br /&gt;
Here are some common command line keyboard shortcuts.  Some of these are bash-specific shortcuts, so not all of them will work on all systems.&lt;br /&gt;
&lt;br /&gt;
Note: If you&#039;re using OS-X, a number of the editing shortcuts below work in ALL programs in OS-X.  (With the sad exception of Microsoft Office, which overrides the system-wide key bindings.)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Common editing key bindings&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-A&amp;lt;/tt&amp;gt; || Move to the end of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-E&amp;lt;/tt&amp;gt; || Move to the beginning of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-F&amp;lt;/tt&amp;gt; || Move forward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-B&amp;lt;/tt&amp;gt; || Move backward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-F&amp;lt;/tt&amp;gt; || Move forward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-B&amp;lt;/tt&amp;gt; || Move backward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || Delete one character forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-H&amp;lt;/tt&amp;gt; || Delete one character backward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-D&amp;lt;/tt&amp;gt; || Delete one word forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-W&amp;lt;/tt&amp;gt; || Delete one word backwards.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-K&amp;lt;/tt&amp;gt; || Delete (Kill) everything from the cursor forwards (to the end of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-U&amp;lt;/tt&amp;gt; || Delete everything from the cursor backwards (to the beginning of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-T&amp;lt;/tt&amp;gt; || Transpose two characters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-T&amp;lt;/tt&amp;gt; ||	Transpose two words.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ESC .&amp;lt;/tt&amp;gt; || Insert the last argument (word) from the previous command.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-X-X&amp;lt;/tt&amp;gt; || Move between end of line and current cursor position&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 2. Common control key bindings&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; || Terminate the current program, or sometimes cancel some operation.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-\&amp;lt;/tt&amp;gt; || Seriously kill the current program! Use only after &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; has failed.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || End-of-file. This is often used to signal the end of input, or to exit a program.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-G&amp;lt;/tt&amp;gt; || Cancel the current operation. An occasionally useful command to get yourself out of things.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-L&amp;lt;/tt&amp;gt; || Redraw the console. Mostly useful if some program running in the background spews a lot of stuff onto your terminal.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Q&amp;lt;/tt&amp;gt; || The only time you need this is if you accidently hit &amp;lt;tt&amp;gt;CTRL-S&amp;lt;/tt&amp;gt;. In that case the console is locked until you hit CTRL-Q to unlock it. Apparently once a long long time ago this was actually a useful feature.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; || Recall command containing characters. After hitting &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt;, type the fragment you want to search for. If it returns a command which isn&#039;t the one one want, hit &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; again to cycle through matches.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Z&amp;lt;/tt&amp;gt; || Suspend the current program and put it in the background. This is very useful once you figure out how it works. Refer to the section on putting jobs in the background.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Using scp to copy files between computers====&lt;br /&gt;
&lt;br /&gt;
scp is a secure copy command that works bewteen computers.  Typically any computer that supports ssh also supports scp.  You must have an actual user account on the target computer, so for example you typically won&#039;t be able to scp to mike.kin .&lt;br /&gt;
&lt;br /&gt;
scp works just like the cp command, with a few extra decorations:&lt;br /&gt;
&lt;br /&gt;
 scp eric@mighty-mac.kin.ucalgary.ca:Documents/important_file.txt .&lt;br /&gt;
&lt;br /&gt;
In this example the file I want to copy is on the computer mighty-mac.kin.ucalgary.ca, and I used eric@ to specify my user name.  You can leave off the user name if it is the same on both computers.  The period as the destination is just standard Unix short-hand for the current directory.  You can use the -r flag to copy whole directories.  For example:&lt;br /&gt;
&lt;br /&gt;
 scp -r calculations mighty-mac.kin.ucalgary.ca:Documents/Projects&lt;br /&gt;
&lt;br /&gt;
In this example calculations is a directory containing many files, and possibly subdirectories.  This example copies files to mighty-mac instead of from it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Running long calculations====&lt;br /&gt;
&lt;br /&gt;
Here are some useful tips for running long jobs.&lt;br /&gt;
&lt;br /&gt;
=====Getting the prompt back after starting a job=====&lt;br /&gt;
&lt;br /&gt;
Use &amp;amp; at the end of the command. This puts the job in the background. For example:&lt;br /&gt;
&lt;br /&gt;
 ./myjob someargs &amp;amp;&lt;br /&gt;
&lt;br /&gt;
To see all your background jobs (the ones started in the current shell), enter:&lt;br /&gt;
&lt;br /&gt;
 jobs&lt;br /&gt;
&lt;br /&gt;
To bring one of these to the foreground, use:&lt;br /&gt;
&lt;br /&gt;
 fg %n&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;n&amp;lt;/tt&amp;gt; is the job number (yes it needs a &amp;lt;tt&amp;gt;%&amp;lt;/tt&amp;gt; in front of it). To move it to the background again, hit CTRL-Z. This however doesn&#039;t just move the job to the background, it suspends it. To get it running again, use&lt;br /&gt;
&lt;br /&gt;
 bg %n&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Keeping a job running after you log out=====&lt;br /&gt;
&lt;br /&gt;
Use nohup. For example, suppose you want to run &amp;lt;tt&amp;gt;./myjob 20&amp;lt;/tt&amp;gt;. In this case, you could use:&lt;br /&gt;
&lt;br /&gt;
 nohup nice ./myjob 20 &amp;amp;&amp;gt; output &amp;amp;&lt;br /&gt;
&lt;br /&gt;
There are several things to note here:&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;tt&amp;gt;&amp;amp;&amp;lt;/tt&amp;gt; at the end of the command line is there so you get the command prompt back immediately (see the previous section).&lt;br /&gt;
* We have redirected the output to a file out_file with &amp;lt;tt&amp;gt;&amp;amp;&amp;gt; output&amp;lt;/tt&amp;gt;. If you don&#039;t do this, any output to STDIN (normally the console) will automatically go into a file called &amp;lt;tt&amp;gt;nohup.out&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* We&#039;ve niced the job to reduce it&#039;s execution priority. This is courteous if you&#039;re a multiuser system. &lt;br /&gt;
&lt;br /&gt;
If you want to see what&#039;s in nohup.out (or whatever you called it) at any time, you can do the usual&lt;br /&gt;
&lt;br /&gt;
 cat nohup.out&lt;br /&gt;
&lt;br /&gt;
Here&#039;s another potentially more useful command:&lt;br /&gt;
&lt;br /&gt;
 tail -f nohup.out&lt;br /&gt;
&lt;br /&gt;
tail shows you the last few lines of the files. In addition, the -f flag (&amp;quot;follow&amp;quot;) means that as lines get added to the file, they are displayed on the screen. This looks just like when you run the program without nohup, except when you hit CTRL-C, the program keeps on running in the background.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Finding out if any of your jobs are still running=====&lt;br /&gt;
&lt;br /&gt;
This command will show all jobs that belong to user &amp;quot;eric&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
Another useful command is &amp;quot;top&amp;quot;, which will show interactively which processes are using the most processor cycles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Terminating a job prematurely=====&lt;br /&gt;
&lt;br /&gt;
If you decide that you want to kill the job before it completes, this is the command:&lt;br /&gt;
&lt;br /&gt;
 kill PID&lt;br /&gt;
&lt;br /&gt;
where PID is the actual PID (a number) of the process.  You find the PID with &#039;top&#039; or &#039;ps -u eric&#039;  (replace eric by your user ID of course).&lt;br /&gt;
&lt;br /&gt;
Occasionally a process will decline to terminate when you request it to.  This is the more brutal, never-fails method to kill a job immediately:&lt;br /&gt;
&lt;br /&gt;
 kill -s KILL PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Suspending a long-running job and restarting it later=====&lt;br /&gt;
&lt;br /&gt;
First find the PID (process ID) with top or with ps. For example, I might list all jobs belonging to me with:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
To stop the job, send it a STOP signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s STOP PID&lt;br /&gt;
&lt;br /&gt;
(replace PID with the actual PID number). It is now no longer running, but it still occupies memory (although the memory it uses will probably be swapped out to disk). When you want to resume execution, give it a CONT signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s CONT PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Graphical Applications==&lt;br /&gt;
&lt;br /&gt;
===Calendar - Fix corruption===&lt;br /&gt;
&lt;br /&gt;
Sometimes the calendar file can be corrupted, which is annoying every time you log onto the system. &lt;br /&gt;
&lt;br /&gt;
When we login to a server through a workstation, there is a &amp;quot;File is not a Calendar Datafile.&amp;quot; information message pops up.&lt;br /&gt;
&lt;br /&gt;
This means that the calendar database got corrupted during an improper interruption such as a system crash due to a power outage.&lt;br /&gt;
&lt;br /&gt;
To fix this, you will need to login to the Server through the Workstation&lt;br /&gt;
&lt;br /&gt;
Once logged in:&lt;br /&gt;
 cd xdefaults&lt;br /&gt;
 dir *calendar*.dat  /date&lt;br /&gt;
&lt;br /&gt;
Delete the calendar file for the workstation, such as the following James workstation:&lt;br /&gt;
 del decw$calendar_sc3401.dat&lt;br /&gt;
&lt;br /&gt;
Once logged out and logged in again, you will be asked if you want to create a new calendar file. &lt;br /&gt;
Say &amp;quot;yes&amp;quot; there and a new calendar will open. &lt;br /&gt;
&lt;br /&gt;
In the calendar window menu &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;general&amp;quot; set the &amp;quot;start iconized&amp;quot; -&amp;gt; apply and &amp;quot;ok&amp;quot;, then &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;save settings&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
So next time you log in, the calendar window will be minimized in the right lower corner.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Session Manager - Create a customized button===&lt;br /&gt;
The session manager part to enable the double-click on the AIM file:&lt;br /&gt;
Session Manager, &#039;Options&#039;, &#039;Menu&#039;, enter new item&lt;br /&gt;
SAP&lt;br /&gt;
with command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@decw$user_defaults:sap$vue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then move that menu point into &#039;Applications&#039; menu.&lt;br /&gt;
Also:&lt;br /&gt;
&#039;Options&#039;, &#039;File types&#039;, Create &#039;AIM&#039; file type.&lt;br /&gt;
Move &#039;rename&#039;, &#039;copy&#039;, &#039;purge&#039; etc. into menu, Select &#039;SAP&#039;, click  on&lt;br /&gt;
&#039;Change double click&#039;, and also move SAP into menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===EVE Editor===&lt;br /&gt;
&lt;br /&gt;
====Launch EVE editor====&lt;br /&gt;
&lt;br /&gt;
On the command line&lt;br /&gt;
  $ edit/display=decwindows/tpu fname.txt&lt;br /&gt;
&lt;br /&gt;
Or to set it up permanently, edit &amp;lt;code&amp;gt;DISK1:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; to include &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Configure EVE editor====&lt;br /&gt;
&lt;br /&gt;
The following file, called &amp;lt;code&amp;gt;tpu.dat&amp;lt;/code&amp;gt;, should be installed in &amp;lt;code&amp;gt;disk1:[microct.xdefaults]:&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# DECTPU V3.1 1993-04-22 15:50 defaults&lt;br /&gt;
# CHANGED B.KOLLER 21-JUN-90&lt;br /&gt;
#&lt;br /&gt;
# Copyright (c) 1993 Digital Equipment Corporation.  All rights reserved.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# The following are all the resource names that DECTPU supports.&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Title:		DECTPU Copyright © Digital Equipment Corporation 1992.  All Rights Reserved.&lt;br /&gt;
Tpu.Tpu$MainWindow.ApplicationTitle:	DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.IconName:		DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.X:			610&lt;br /&gt;
Tpu.Tpu$MainWindow.Y:			0&lt;br /&gt;
#&lt;br /&gt;
# The following resource names are commented out so that users can specify&lt;br /&gt;
# *rows and *columns and have DECTPU obey those directives.  If DECTPU finds&lt;br /&gt;
# finds no resource names governing the number of rows and columns it should&lt;br /&gt;
# have, it uses 24 rows and 80 columns.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Columns:	80&lt;br /&gt;
Tpu.Tpu$MainWindow.Rows:	56&lt;br /&gt;
*EVE_MENU_BAR*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmScrollBar*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmDialogShell*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmMenuShell*background:	#ADADADADADAD&lt;br /&gt;
*background:			white&lt;br /&gt;
Tpu*condensedFont: OFF&lt;br /&gt;
Tpu*fontSetSelection: 0&lt;br /&gt;
&lt;br /&gt;
# 0 = big font&lt;br /&gt;
# 1 = little font&lt;br /&gt;
# 2 = GS font (German Standard)&lt;br /&gt;
# 3 = Fine font (used only for non-latin 1 fonts?)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====EVE editor Commands====&lt;br /&gt;
&lt;br /&gt;
* mark -&amp;gt; ctrl-space&lt;br /&gt;
* delete -&amp;gt; remove (delete)&lt;br /&gt;
* insert -&amp;gt; insert here (insert)&lt;br /&gt;
* learn -&amp;gt; ctrl-k (ctrl-r to stop)&lt;br /&gt;
* The right &#039;alt&#039; key on the PC accesses the menu for EVE.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| copy&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;Remove&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;Insert Here&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt; &amp;lt;code&amp;gt; &amp;lt;ctrl&amp;amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| cut&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;Remove&amp;amp;gt; &amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;delete&amp;amp;gt; &amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt; &amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;#&amp;amp;gt;&amp;amp;lt;(CTRL-Q)&amp;amp;gt; &amp;lt;/code&amp;gt; (the &amp;lt;code&amp;gt;CTRL-Q &amp;lt;/code&amp;gt; depends on the given key sequence).&lt;br /&gt;
|-&lt;br /&gt;
| find next&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter search string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| replace string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;S&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| margins&lt;br /&gt;
| Mouse click bottom of window type: &amp;lt;code&amp;gt;set right 999&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF4&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*To avoid having the EVE editor automatically create multiple lines from a long input sequence set the margins [FORMAT - SET MARGINS] to some high number eg. 500.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use Commands Remotely with XWin32====&lt;br /&gt;
&lt;br /&gt;
Default key settings:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| remove (cut) and append to previous paste buffer&lt;br /&gt;
| &amp;lt;code&amp;gt;9&amp;lt;/code&amp;gt; (nine on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt;&amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;-Q&amp;lt;/code&amp;gt; or given key sequence&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| go to end of line&lt;br /&gt;
| &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; (two on number pad) or &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;E&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;backspace&amp;amp;gt; or &amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;H&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of word&lt;br /&gt;
| &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; (one on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| delete line to left of cursor&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;U&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt; or .&amp;lt;/code&amp;gt; (on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select all text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;O&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off overstrike&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;A&amp;amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| save and exit&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Z&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter command&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may find it useful to define keys. For example, define keys to cut, copy and paste:&lt;br /&gt;
&lt;br /&gt;
*To Cut &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;X&amp;amp;gt;&amp;lt;/code&amp;gt;:    &lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/x cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Copy &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;C&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/c copy&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Paste &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;V&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/v paste&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use terminal based editor (EVE)====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ edit file.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you are using this from a remote terminal, you will need to initiate a vt100 terminal.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set term /vt100&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some useful commands:&lt;br /&gt;
:* ctrl-z -&amp;gt; exit with save&lt;br /&gt;
:* ctrl-y -&amp;gt; kill without saving&lt;br /&gt;
:* do-key, then type &#039;quit&#039; or &#039;exit&#039; (what is the do key on a remote terminal?)&lt;br /&gt;
:* PF2 -&amp;gt; shows special keypad functions&lt;br /&gt;
:* GoldKey -&amp;gt; PF1&lt;br /&gt;
&lt;br /&gt;
====Use EVE editor Remotely====&lt;br /&gt;
For remote sessions, once used $ EVE to start the text editor, press Ctrl-B to bring up a command line at the bottom of the screen.&lt;br /&gt;
&lt;br /&gt;
*Command: @eveconfig&lt;br /&gt;
&lt;br /&gt;
This will set backspace to delete normally.&lt;br /&gt;
*Ctrl-X cut&lt;br /&gt;
*Ctrl-C copy&lt;br /&gt;
*Ctrl-V paste&lt;br /&gt;
*Ctrl-S save file&lt;br /&gt;
*Ctrl-L learn command&lt;br /&gt;
*Ctrl-F find next&lt;br /&gt;
*Ctrl-Q quit&lt;br /&gt;
*Ctrl-O open&lt;br /&gt;
*Ctrl-space to select&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout Views===&lt;br /&gt;
====View scout views in two locations====&lt;br /&gt;
Go to scout view directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT side:&lt;br /&gt;
$ cd DISK1:[MICROCT.DATA.SCOUTS]&lt;br /&gt;
&lt;br /&gt;
VivaCT side:&lt;br /&gt;
$ cd ADISK1:[VIVACT.DATA.SCOUTS]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the program ximage&lt;br /&gt;
&amp;lt;pre&amp;gt;$ x asdf.SCV&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For XtremeCT users, 2 sets of scout views are saved. Scout views can be viewed from the main scouts directory (above) and in the data directory under specific patient and measurement numbers. For example using patient #: 2795 and meas#:9933: &lt;br /&gt;
 $ cd DISK2:[MICROCT.DATA.00002795.00009933]&lt;br /&gt;
 $ x C00008848.SCV&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reuse old scout views====&lt;br /&gt;
Reference SCV files are not overwritten. When you Save a new reference within the scout view Dialog, it writes a new version that is read by the measurement program.&lt;br /&gt;
&lt;br /&gt;
If you want to return to an old scout view reference, you will have to manipulate files manually.&lt;br /&gt;
&lt;br /&gt;
Typically all the scouts are accessible here:&lt;br /&gt;
  DISK1:[MICROCT.DATA.SCOUTS]0000PPPPSS.SCV&lt;br /&gt;
&lt;br /&gt;
PPPP being the patient number, and SS the Site Code number [i.e. 20,21,38,39 = RL, RR, TL, TR].&lt;br /&gt;
&lt;br /&gt;
Assuming you have only version;1 and ;2 what you can do is to rename/delete version;2, so that it is not read anymore by the measurement program.&lt;br /&gt;
Or copy version;1 as version;3, but this is rather messy.&lt;br /&gt;
&lt;br /&gt;
Note: Do not look in the measurement directories. There are copies of the SCV files, but those are not the one called by the measurement program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==File Operations==&lt;br /&gt;
&lt;br /&gt;
===Copy and Move===&lt;br /&gt;
====Copy files between accounts/users====&lt;br /&gt;
&lt;br /&gt;
As user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; you can copy files between accounts (e.g., microct and devel).  There is no need to set user/priv=bypass as this is set by default as user system.&lt;br /&gt;
&lt;br /&gt;
If you want to copy between two users (i.e. normal users, not calibration or system), then you can only write on the user directories for which you are logged in. So, if you want&lt;br /&gt;
to copy files from account xtremect2 to microct, you need to log into microct account and copy the file from xtremect2 to microct&lt;br /&gt;
&lt;br /&gt;
If you want to use the backup command for copying multiple subdirectories with &lt;br /&gt;
the three dots (e.g., &amp;lt;code&amp;gt;disk2:[microct.data.00000034...]&amp;lt;/code&amp;gt;) then you HAVE to put an &amp;lt;code&amp;gt;/owner=devel&amp;lt;/code&amp;gt; at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/log disk2:[microct.data.00000034...] -&lt;br /&gt;
        disk2:[devel.data.00000034...]/own=devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a directory on the same device====&lt;br /&gt;
&lt;br /&gt;
You can simply use the rename command to move a directory on the same device, but you need to set DELETE protection for the file owner for this to work&lt;br /&gt;
 $ set prot=o:rwed &amp;lt;dir&amp;gt;.dir&lt;br /&gt;
 $ ren &amp;lt;dir&amp;gt;.dir new:[parent.directory]&lt;br /&gt;
 $ set prot=o:rwe new:[parent.directory]&amp;lt;dir&amp;gt;.dir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a whole directory structure with BACKUP command====&lt;br /&gt;
&lt;br /&gt;
Sometimes we want to move entire directories. For example, moving a measurement directory from DISK2 to DISK6, or moving a project to another disk. &lt;br /&gt;
&lt;br /&gt;
Here is how to move a project:&lt;br /&gt;
  $ BACKUP DISK2:[MICROCT.PROJECTS...] DISK3:[MICROCT.PROJECTS...]/VERIFY&lt;br /&gt;
&lt;br /&gt;
Note the use of &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; in both places.&lt;br /&gt;
&lt;br /&gt;
If you move a data measurement, you could do it as follows:&lt;br /&gt;
  $ BACKUP DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
In both cases, you can add a &amp;lt;code&amp;gt;/DELETE&amp;lt;/code&amp;gt; command to so that it deletes after the move is completed and verified.&lt;br /&gt;
  $ BACKUP/VERIFY/DELETE DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can simply check that the move was successful, and then delete the original files:&lt;br /&gt;
  $ delete disk2:[microctt.projects...]*.*;*&lt;br /&gt;
  $ dl disk2:[microctt.projects...]*.dir     ! A for all; do until sub-dirs are gone&lt;br /&gt;
&lt;br /&gt;
Note that I&#039;ve misspelled &amp;quot;microctt&amp;quot; on purpose as these commands are VERY dangerous. You could wipe out a lot of data by accident. Be careful!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix corrupted VMS files when moved to or from a PC====&lt;br /&gt;
&lt;br /&gt;
We start by getting good file format/attributes from a good aim/isq/gobj, etc.&lt;br /&gt;
&lt;br /&gt;
  $ ana/rms/fdl/out=correct.fdl good.aim&lt;br /&gt;
&lt;br /&gt;
Then we edit the file correct.fdl, leaving only 5 lines:&lt;br /&gt;
  RECORD&lt;br /&gt;
        BLOCK_SPAN                        yes&lt;br /&gt;
        CARRIAGE_CONTROL                  none&lt;br /&gt;
        FORMAT                            fixed&lt;br /&gt;
        SIZE                              512&lt;br /&gt;
 &lt;br /&gt;
Now we have to set the file attributes of the affected aim (isq, gobi) file:&lt;br /&gt;
&lt;br /&gt;
  $ set file/attr=lrl=514 bad.aim    ! Yes, 514&lt;br /&gt;
  $ set file/attr=lrl=514 *.AIM        ! do a bunch at a time&lt;br /&gt;
&lt;br /&gt;
Finally we create a fixed file&lt;br /&gt;
&lt;br /&gt;
  $ convert/fdl=correct.fdl/trunc bad.aim converted.aim&lt;br /&gt;
&lt;br /&gt;
This process discards the superfluous 2 bytes, usually caused by transferring to/from a PC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Delete===&lt;br /&gt;
&lt;br /&gt;
====Delete older versions of files====&lt;br /&gt;
Use the PURGE command.[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ PURGE	                                        !Removes older versions of all files in the directory! CAREFUL!!!!&lt;br /&gt;
$ PURGE myfile.aim                              !Removes older versions of myfile.aim.&lt;br /&gt;
$ PURGE /KEEP=3                                 !Removes all but the three most recent versions of all files.&lt;br /&gt;
$ HELP PURGE	                                !More information on the PURGE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Undelete Files====&lt;br /&gt;
&lt;br /&gt;
The Disk/File Utility (DFU) will allow you to restore files that have been deleted, however, you will only be able to do so if the disk space hasn&#039;t been overwritten.  This means that unless all scanning and access to the disk is stopped, you likely only have a couple of hours at most to undelete the files. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the system user and start the disk file utility program, DFU. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dfu&lt;br /&gt;
DFU&amp;gt; undelete diskX: /file=myfile OR undelete filepath/filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, suppose we want to restore an RSQ (C0001234.RSQ) that was deleted from the BH data disk (disk2):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; undelete disk2:/file=C0001234.RSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If the file can be undeleted successfully (i.e., without corruption), then you will be asked if you wish to restore the file.  Type &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
When done restoring desired files, to get out of dfu: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; exit&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*The undelete function will lock access to the disk while it searches for a file and until you respond &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot; to restoring it.  This means that all programs and commands trying to access the disk (i.e., by other people using the system) will appear to freeze momentarily until the disk is unlocked.  &lt;br /&gt;
*If you search for a specific file, the lock period will be very short (maybe 15-30 seconds).  If you search for files in general (e.g., *.RSQ), the lock period will be longer (maybe 5 to 10 minutes).  &lt;br /&gt;
*You cannot search specific locations for files (i.e., a folder on a disk).  &lt;br /&gt;
*Files are restored to their original location on disk.&lt;br /&gt;
*More information on DFU can be found here: http://digiater.nl/dfu.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Delete a directory====&lt;br /&gt;
Use the DL command (this calls the script $ @SCOM:DL.COM), but first remove all files from the directory.&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  	                                        &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ DL subdir.dir;	                        !Deletes subdir.dir with confirmation.&lt;br /&gt;
$ DL disk:[dir.subdir...]*.dir                  !* for all; do until subdirs are gone.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the DELETE command, but first remove all files from the directory and set file protections to enable deletion of the directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROT=O:RWED [.subdir...]*.*;*        !Changes protections so you can delete the files.  O is short for OWNER and RWED refers to Read, Write, Edit, Delete.&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED subdir.dir         !Changes protections so you can delete the subdirectory subdir.dir.  &lt;br /&gt;
$ DEL subdir.dir;                               !Deletes the subdirectory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the file cannot be deleted to due a permission error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ purge 12_RAD_FX.AIM&lt;br /&gt;
%PURGE-W-FILNOTPUR, error deleting DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
-RMS-E-FLK, file currently locked by another user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set ho 0                                      ! log in as calibration&lt;br /&gt;
$ spb &lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that still doesn&#039;t work, then maybe you need to kill a process first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device  disk4 /file                      ! shows all the files currently involved in a process&lt;br /&gt;
$ set ho 0                                      ! log in as &#039;system&#039;&lt;br /&gt;
$ stop /id=2081F1EC&lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Authorizations===&lt;br /&gt;
&lt;br /&gt;
====Can not access a Projects directory====&lt;br /&gt;
In principal, all Scanco user accounts (even including the calibration ones) should have read and write access to the Projects directories. While it (denied reading or writing access to a Project folder) did happen for a reason (used different accounts to create a file or a subfolder within a Projects folder), you could let lab administrator know and carefully run the following command to overwrite the authority, or switch to microct or xtremct2 account to perform as a walkaround. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set file/prot=(g:rwe,o:rwe) disk4:[bonelab.projects.danielle...]*.*;*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To avoid this happening again, make use always using the same account consistently to create all files and subfolders within their Project folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Administrative Commands==&lt;br /&gt;
&lt;br /&gt;
===Query commands===&lt;br /&gt;
====Check licenses on VMS system====&lt;br /&gt;
&lt;br /&gt;
This can be used to see what educational licenses (and other licenses) are currently on the system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW LICENSE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply for an educational license go to http://www.openvmsedu.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check MAC address of VMS system====&lt;br /&gt;
You can check them using the command&lt;br /&gt;
  $ mcr lancp sh dev/char&lt;br /&gt;
For example, the result on percy.kin.ucalgary.ca gives&lt;br /&gt;
&lt;br /&gt;
  Device Characteristics EIA0:&lt;br /&gt;
                  Value  Characteristic&lt;br /&gt;
                  -----  --------------&lt;br /&gt;
                   1500  Device buffer size&lt;br /&gt;
                 Normal  Controller mode&lt;br /&gt;
               External  Internal loopback mode&lt;br /&gt;
      00-02-A5-20-29-99  Hardware LAN address&lt;br /&gt;
                         Multicast address list&lt;br /&gt;
                CSMA/CD  Communication medium&lt;br /&gt;
      FF-FF-FF-FF-FF-FF  Current LAN address&lt;br /&gt;
                    128  Minimum receive buffers&lt;br /&gt;
                    256  Maximum receive buffers&lt;br /&gt;
                    Yes  Full duplex enable&lt;br /&gt;
                    Yes  Full duplex operational&lt;br /&gt;
            TwistedPair  Line media type&lt;br /&gt;
                    100  Line speed (mbps)&lt;br /&gt;
    Disabled/No Failset  Logical LAN state&lt;br /&gt;
                      0  Failover priority&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update commands===&lt;br /&gt;
&lt;br /&gt;
====Change hosts====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr latcp show service *                      ! and if it shows you SCTHIN:&lt;br /&gt;
$ set host scthin                               ! or&lt;br /&gt;
$ set host scthin/lat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update OpenVMS Licenses====&lt;br /&gt;
This needs to be done on all the Calgary workstations, XtremeCT, vivaCT40/uCT35, and uCT100.&amp;lt;br&amp;gt;&lt;br /&gt;
Request licenses from HP:&lt;br /&gt;
*School Identification (for U of C): 855803-9502&lt;br /&gt;
*License type: OpenVMS VAX/Alpha (uCT100: OpenVMW Integrity) Layered Products?  (Or try others)&lt;br /&gt;
*Member of DSPP or AlicanceONE: No&lt;br /&gt;
*Do you use a VAX or Alpha Emulator: No&lt;br /&gt;
&lt;br /&gt;
On every workstation, you need to check which licenses are loaded and update those with a termination date.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show license&lt;br /&gt;
&lt;br /&gt;
Active licenses on node SCEVA3:&lt;br /&gt;
&lt;br /&gt;
------- Product ID --------    ---- Rating ----- -- Version --&lt;br /&gt;
Product            Producer    Units PCL   Activ Version Release    Termination&lt;br /&gt;
C                  DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CXX-V              DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
FORTRAN            DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
LSE                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
MMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
VMSCLUSTER         DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
OPENVMS-I64-FOE    HP              4  1     0      0.0  (none)      (none)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
*HP will provide you with a script file ([[media:Openvms_license_update_hp.docx |&#039;&#039;&#039;Example script from HP&#039;&#039;&#039; ]]) containing a large number of licenses. &lt;br /&gt;
*Modify the script to contain only the relevant licenses and load the licenses ([[Media:Openvms_license_update.docx |&#039;&#039;&#039;Example modified script&#039;&#039;&#039;]]).&lt;br /&gt;
*Login as user: system&lt;br /&gt;
*Re-check the licenses on the workstation to ensure that the termination date has been updated.&lt;br /&gt;
*The date after expiry, if cannot log in, then there is a problem with the VMS Cluster license, which was installed by Scanco. Contact Mark Blanchard (mblanchard@scanco.ch) about this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understanding how to set default parameters with OpenVMS====&lt;br /&gt;
&lt;br /&gt;
Here is how the files all hang together...&lt;br /&gt;
&lt;br /&gt;
LOGIN.COM is called automatically during login and calls&lt;br /&gt;
::MICROCT_SETUP.COM, which sets the scanner ID, data device, etc. This file calls&lt;br /&gt;
::::MICROCT_SETUP_COMMON.COM to create general settings. This file is located in DISK0:[MICROCT_COMMON] and calls&lt;br /&gt;
::::::MICROCT_FE.COM, if present, to setup the environment for Bert&#039;s FE program&lt;br /&gt;
::::::MICROCT_SETUP_SITE_SPECIFIC.COM to create local settings for all accounts (e.g. ICALC)&lt;br /&gt;
::::::MICROCT_SETUP_COMMON_*.COM, if present, typically to create application-specific settings for all accounts&lt;br /&gt;
::::::MICROCT_SETUP_GROUP_*.COM, if present, to create local settings for specific groups (e.g. group 3401)&lt;br /&gt;
::MICROCT_SETUP_USER.COM to create user-specific settings.&lt;br /&gt;
&lt;br /&gt;
Note that the $UM designation is the MAIN directory, and the location of the binary files. To see a list: &lt;br /&gt;
&lt;br /&gt;
  $ dir DISK0:[MICROCT_COMMON.MAIN]&lt;br /&gt;
&lt;br /&gt;
This is where you&#039;ll find IPL_SCANCO_FE.EXE, IPL_SCANCO_M.EXE, etc.&lt;br /&gt;
&lt;br /&gt;
Lots of stuff here:&lt;br /&gt;
&lt;br /&gt;
  Directory DISK0:[MICROCT_COMMON]&lt;br /&gt;
&lt;br /&gt;
  3309.DIR;1          DATABASE.DIR;1      DEMO.DIR;1          EVAL.DIR;1         &lt;br /&gt;
  MAIN.DIR;1          TEMPLATES.DIR;1     TIPS.DIR;1          UIL.DIR;1          &lt;br /&gt;
  UTIL.DIR;1          WWW.DIR;1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Edit Symbol====&lt;br /&gt;
&lt;br /&gt;
=====Edit SCANCO_SUBMIT_COMMAND=====&lt;br /&gt;
&lt;br /&gt;
*Check the current setting:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show sym *submit*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In directory &amp;lt;code&amp;gt;DISK2:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; add the following line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SCANCO_SUBMIT_COMMAND :== SUBMIT/NOPRINT/QUE=SYS$SLOW /NOTIFY/LOG=SYS$SCRATCH:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then end session and log in again.  Definition of the symbol in the &lt;br /&gt;
&amp;lt;code&amp;gt;MICRO_SETUP_USER.COM&amp;lt;/code&amp;gt; supersedes the standard setting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Edit AIX=====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Log in as user calibration (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user.&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
 $ set proc/priv=bypass&lt;br /&gt;
Or &lt;br /&gt;
 $ spb&lt;br /&gt;
Change to the MICROCT_COMMANDS directory.&lt;br /&gt;
 $ cdc &lt;br /&gt;
 $ sea *.com aix&lt;br /&gt;
 $ eve microct_setup_common.com&lt;br /&gt;
Edit the file which is called &amp;lt;code&amp;gt;MICROCT_SETUP_COMMON.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Another example&#039;&#039;: To make the backspace/insert keys work properly, edit the &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt; and insert the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set terminal/insert&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Anywhere suitable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Time====&lt;br /&gt;
=====Change system date and time=====&lt;br /&gt;
The OpenVMS system should adjust for daylight savings, however, this is currently incorrect for the alpha systems.  The alpha systems will need to be manually moved forward in March and moved back in April. To do this, you will need to login as system&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ show time&lt;br /&gt;
$ set time=dd-mmm-yyyy:hh:mm:ss/cluster   !/cluster to change the time on all computers at once&lt;br /&gt;
$ set time=01-APR-2012:18:00/cluster      !Example:  Set the system to April 1, 2012, 6 pm.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Set time zone=====&lt;br /&gt;
As user system:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:utc$time_setup&lt;br /&gt;
Choose &amp;quot;CANADA&amp;quot; from the menu.&lt;br /&gt;
Choose &amp;quot;MOUNTAIN&amp;quot; from the menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Disable Distributed Time Synchronization Service (DTSS)=====&lt;br /&gt;
DTSS will automatically adjust the clocks for daylight savings (i.e., 2am to 1am on the 2nd Sunday in March, 2am to 3am on the 1st Sunday in November).  As user system:&lt;br /&gt;
&lt;br /&gt;
 $ mcr ncl disable dtss&lt;br /&gt;
 $ mcr ncl delete dtss&lt;br /&gt;
 $ eve sys$startup:sylogicals.com&lt;br /&gt;
&lt;br /&gt;
Add line to disable DTSS&lt;br /&gt;
  $ DEFINE/SYSTEM/EXEC NET$DISABLE_DTSS TRUE&lt;br /&gt;
Save and exit.&lt;br /&gt;
Now re-set the time zone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Configure Network Time Protocol (NTP) server to synchronize clocks=====&lt;br /&gt;
*NTP must be configured for each node (computer).  Login as user system.&lt;br /&gt;
NTP can only synchronize the system clock if the error is less than 1000 seconds. &lt;br /&gt;
 &lt;br /&gt;
Synchronize the system clock to UofC&#039;s NTP server (ensures time is correct to within 1000s):&lt;br /&gt;
&lt;br /&gt;
 $ mcr sys$system:tcpip$ntpdate ntp.cpsc.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
Enable NTP:&lt;br /&gt;
&lt;br /&gt;
 $ cd sys$startup&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
   3 - Server components&lt;br /&gt;
   12 - NTP&lt;br /&gt;
   1 – Enable service on this node&lt;br /&gt;
   E – Exit menu&lt;br /&gt;
   E – Exit configuration procedure&lt;br /&gt;
   N – don’t start service&lt;br /&gt;
&lt;br /&gt;
Create the NTP configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ sys$sysroot:[tcpip$ntp]&lt;br /&gt;
 $ copy/log tcpip$ntp.template tcpip$ntp.conf&lt;br /&gt;
 $ eve tcpip$ntp.conf&lt;br /&gt;
&lt;br /&gt;
Comment out existing peer and server entries (# for comments).&lt;br /&gt;
Add entries for local servers.&lt;br /&gt;
        server ntp.cpsc.ucalgary.ca&lt;br /&gt;
        server ntp1.cpsc.ucalgary.ca&lt;br /&gt;
Save and exit.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Start NTP:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:tcpip$ntp_startup&lt;br /&gt;
&lt;br /&gt;
Check the log:&lt;br /&gt;
&lt;br /&gt;
 $ type/cont/int=1 sys$sysroot:[tcpip$ntp]tcpip$ntp_run.log&lt;br /&gt;
&lt;br /&gt;
Sample log file:&lt;br /&gt;
&lt;br /&gt;
 $ Set NoOn&lt;br /&gt;
 $ VERIFY = F$VERIFY(F$TRNLNM(&amp;quot;SYLOGIN_VERIFY&amp;quot;))&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: ntpd version = 4.1.0&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: precision = 976 usec&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: drift file &#039;SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT&#039; does not exist: no such file or directory&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: will attempt to create drift file &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Email====&lt;br /&gt;
=====Setup email server=====&lt;br /&gt;
The SMTP protocol is not enabled by default. If you use &amp;lt;code&amp;gt;tcpip$config&amp;lt;/code&amp;gt; you can switch on the mail server under Client Components. As system:&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
 $ @SYS$MANAGER:TCPIP$CONFIG&lt;br /&gt;
Or&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
 -&amp;gt; 2 (client components)&lt;br /&gt;
 -&amp;gt; 6 (SMTP)&lt;br /&gt;
 -&amp;gt; 2 (Enable &amp;amp; Start services)&lt;br /&gt;
&lt;br /&gt;
*Select option 2 (client components) from the menu.&lt;br /&gt;
*Select option 6 (SMTP) from the next menu to enable and start it.&lt;br /&gt;
&lt;br /&gt;
Since your smtp server is not registered anywhere, it can be that emails sent from this server will be filtered out as spam on the way to your mailbox. In that case you would need a so called MX record for your mail server. Contact UofC IT to resolve this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Send an email=====&lt;br /&gt;
Example:  Send an email without an attachment.&lt;br /&gt;
 $ mail sys$scratch:email_message.txt/subject=&amp;quot;email subject&amp;quot; &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example:  Send an email with an attachment.&lt;br /&gt;
 $ MIME :== $MIME.EXE&lt;br /&gt;
 $ MIME MIME&amp;gt; NEW /NOEDIT sys$scratch:file.txt&lt;br /&gt;
 MIME&amp;gt; ADD /TEXT thisattached.txt&lt;br /&gt;
 MIME&amp;gt; ADD /BINARY thatattached.zip&lt;br /&gt;
 MIME&amp;gt; ADD /MESSAGE this_is_written.txt&lt;br /&gt;
 MIME&amp;gt; SAVE&lt;br /&gt;
 MIME&amp;gt; EXIT&lt;br /&gt;
 $ MAIL /SUBJECT=&amp;quot;MIME-encoded Message&amp;quot; - sys$scratch:file.txt &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
 $&lt;br /&gt;
*MIME&amp;gt; ADD /TEXT *.txt does not work&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Action commands===&lt;br /&gt;
====Send a message to terminals====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ reply /all &amp;quot;Merry Christmas to Bone Imaging Lab!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  Reply received on SCEVA2 from user XTREMECT2 at _SCEVA2$FTA8473:   09:21:58 &lt;br /&gt;
  Merry Christmas to Bone Imaging Lab!&lt;br /&gt;
&lt;br /&gt;
  4 terminals have been notified on SCEVA2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SCSRV2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SC3309.&lt;br /&gt;
$&lt;br /&gt;
  3 terminals have been notified on SCEVA1.&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt; command====&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;, but only with mcr you can hand over &#039;in-line&#039; parameters to an .exe file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
does not work, but you  have to say&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But funnily if you define a symbol in &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;),&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ctheader :== $ut:ctheader.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with just neither run nor mcr, but the &#039;funny&#039; $ sign, then you can also hand over the ISQ name in-line.&lt;br /&gt;
&lt;br /&gt;
Small detail with big effect...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File Do All (fda) - apply a command to a set of files====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda ctheader dk0:[microct.data.0001234...]*.isq &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the header of all isq files of sample 1234 (the three dots ... means all subdirectories)&lt;br /&gt;
&lt;br /&gt;
Or: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data.0001234.00005678]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the processing log of all aim files of scan 5678&lt;br /&gt;
&lt;br /&gt;
Wildcard &amp;quot;*&amp;quot; means multiple characters, &amp;quot;%&amp;quot; is for ONE character: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data...]C%%%%%%%.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, 7 %&#039;s)&lt;br /&gt;
&lt;br /&gt;
to show the aim header of the gray-scale c0000135.aim (etc) files only, and NOT from the _seg.aims also.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning: CAUTION! &amp;lt;/b&amp;gt; Always test the wildcard expression first with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dir dk0:[xxx...]*.aim &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &#039;file do all&#039; fda command can even be combined with a pipe, or an /output qualifier: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix dk0:[microct...]*.aim | search sys$pipe &amp;quot;Slope&amp;quot; &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will show you all &amp;quot;Slopes&amp;quot; in a row. (but you may not see which slope belongs to which aim file anymore...)&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda/output=sys$scratch:all_headers.log aix dk0:[microct...]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will write all the output into the .log file - which you can then either edit, or &lt;br /&gt;
&amp;lt;code&amp;gt;$ search sys$scratch:all_headers.log &amp;quot;String&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or whatever you want. &lt;br /&gt;
&lt;br /&gt;
Another example with output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ pipe fda type *.log | search sys$pipe &amp;quot;BV/TV&amp;quot; /output=BVTV.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;fda&amp;quot; is our self-written script, so you may have to try-n-error a bit...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda command file_wildcard [Optional: further parameters]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the command consists of multiple words with spaces inbetween (e.g. mcr ut:xxx.exe), then enclose the command in double-quotes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda &amp;quot;mcr ut:uct_ext_header_display&amp;quot; dk0:[microct...]*.isq 8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grab more than one line using pipe and search command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix *.aim | search sys$pipe &amp;quot;dim&amp;quot;, &amp;quot;pos&amp;quot;, &amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The further parameters may not contain wildcards - so unfortunately, the fda can NOT be used to &#039;adaptively&#039; rename a whole bunch of files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Make commands available to all users with symbols or paths====&lt;br /&gt;
&lt;br /&gt;
DCL$PATH is one way to do that, WE don&#039;t use it...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def dcl$path disk1:[microct.main],disk1:[microct.util]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then, if you type&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ uct_t&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
it will first try to&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ @uct_t.com&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and then&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ r uct_t.exe&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
however, we usually define it by giving full path:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ progx :== $disk1:[microct.main]progx.exe&lt;br /&gt;
$ com_proc_x :== @disk1:[microct.main]procedure.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then, you can just type the shortcut (&#039;symbol&#039; in VMS language)&lt;br /&gt;
&lt;br /&gt;
We use the &#039;cd&#039; to set the default path, you may also use this in your command procedure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;proc.com&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd &#039;p1&#039;&lt;br /&gt;
$ dir *.*/size&lt;br /&gt;
&lt;br /&gt;
$ define COM disk1:[microct.commands]&lt;br /&gt;
$ p :== @COM:PROC.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
these both go into &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;, but see the Wiki entry above to confirm exactly where...&lt;br /&gt;
&lt;br /&gt;
then, you can just type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ p disk4:[microct.data.0000007.000009]*.ISQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Calibration and QC=&lt;br /&gt;
&lt;br /&gt;
==System Updates==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT II&lt;br /&gt;
|&lt;br /&gt;
*22-OCT-2020:  Recalibration&lt;br /&gt;
*01-OCT-2020:  Recalibration&lt;br /&gt;
*31-JUL-2020:  Pixel Correction&lt;br /&gt;
*21-Feb-2019:  New X-ray source, recalibration&lt;br /&gt;
*28-Apr-2016:  Recalibration&lt;br /&gt;
*04-Nov-2014:  Recalibration&lt;br /&gt;
*21-May-2014:  New Daily QC Phantom (Scanco concluded minimal differences from previous)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT I&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT80&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  Filter changer replaced, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT40&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*09-NOV-2010:  Recalibration (70KV energy only)&lt;br /&gt;
*01-NOV-2010:  New x-ray source, Pixel Correction, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µCT35&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*15-JUN-2011:  Recalibration&lt;br /&gt;
*21-MAR-2011:  Recalibration&lt;br /&gt;
*10-FEB-2011:  Recalibration&lt;br /&gt;
*26-NOV-2010:  Pixel Correction&lt;br /&gt;
*29-OCT-2010:  Recalibration &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Calibration and Conversion==&lt;br /&gt;
===Attenuation measured by µCT===&lt;br /&gt;
A micro-CT 3D image of an object is basically a 3D map of local x-ray absorption in the object. The reconstruction from multiple angular views provides information on how much x-ray absorption is happening within each cubic voxel element of the scanned volume.&lt;br /&gt;
&lt;br /&gt;
It is important to understand what is meant by “density” in a µCT image. The reconstructed grey-scale intensity of each image voxel does not relate directly to mass density alone, thus do not expect it to correspond with measurements of weight per volume, e.g. g.cm-3. The primary entity that is measured is x-ray absorption, defined as the x-ray linear attenuation coefficient in units of&lt;br /&gt;
1/distance, specifically, 1/cm. This is determined both by mass density and x-ray mass attenuation coefficient which is determined by the elemental composition of the material. The x-ray linear attenuation coefficients of typical material is shown blow.&lt;br /&gt;
&lt;br /&gt;
[[File:Mu_comparison.JPG|thumb|center|600px|X-ray linear attenuation coefficient µ of typical material (image curtesy of Dr. Ying Zhu)]]&lt;br /&gt;
&lt;br /&gt;
The images we obtain from the scanner are in a special scanner manufacturer format called AIM files. Each voxel in these images contains a scaled linear attenuation value (mu-value) to save disk space. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µ&lt;br /&gt;
| x-ray linear attenuation coefficient&lt;br /&gt;
| 1/cm&lt;br /&gt;
| µ &amp;gt; 0 &lt;br /&gt;
| A constant that describes the fraction of attenuated incident photons in a monoenergetic beam per unit thickness of a material&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| mu_value&lt;br /&gt;
| linear attenuation in Scanco images&lt;br /&gt;
| 1/cm&lt;br /&gt;
| -8～8 typically&lt;br /&gt;
| mu value represented in Scanco images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_Scanco&lt;br /&gt;
| pixel intensity value in Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| −32768～32767&lt;br /&gt;
| Original format of Scanco images in 16-bit signed&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_uint&lt;br /&gt;
| pixel intensity value in converted Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| 0～65535&lt;br /&gt;
| Converted format of Scanco images in 16-bit unsigned, using the same slope (unscaled) but an updated intercept&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = mu-value * scaling_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration by BMD===&lt;br /&gt;
When we know that the x-ray absorption of a material is dominated by one specific material, then we can relate the measured x-ray linear attenuation coefficient (mu_value) to the mass density of that material. The calibration of [[Scanco_User_Instructions#Descriptive_Statistics_.28Mean.2C_Median.2C_SD.29_of_Calibrated_Voxel_Values| &#039;&#039;&#039;Bone Mineral Density (BMD)&#039;&#039;&#039;]] is an example of this. We assume that the x-ray attenuation within mineralized tissues such as bone, dentine and enamel is dominated by, and can be approximated as, the x-ray attenuation of the mineral compound calcium hydroxyapatite (CaHA) which has the formula Ca5(PO4)3(OH). &lt;br /&gt;
&lt;br /&gt;
Then we obtain “phantoms” with two or more known mass concentrations of CaHA. By linking these mass concentrations of CaHA with measured mu_value in the micro-CT images, we can establish calibration linking the two quantities, allowing us to infer from the micro-CT measured linear attenuation coefficient (mu_value) in a mineralized tissue, to the density of CaHA in mg.cm-3. &lt;br /&gt;
&lt;br /&gt;
*The assumption of linear correlation between the two quantities is based on a well-applied beam hardening correction and the phantoms&#039; diameter matching with the size of bone within the sample.&lt;br /&gt;
&lt;br /&gt;
*This calibration system could be used to calibrate measurement of other substances apart from CaHA and bone, where x-ray absorption is known to be dominated by a certain substance and phantoms can be prepared with known concentrations of that substance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD &lt;br /&gt;
| Bone Mineral Density &lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| 0～3000 &lt;br /&gt;
| Volumetric density of calcium hydroxyapatite (CaHA) in a biological tissue in terms of mg/cm^3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD_value&lt;br /&gt;
| Bone Mineral Density in Scanco images&lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| -1500～3000 typically&lt;br /&gt;
| BMD value in Scanco images&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Conversion between Attenuation and Bone Density===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = mu-value * slope + intercept&lt;br /&gt;
&lt;br /&gt;
mu-value = (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
pixel_Scanco = scaling_factor * (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert mu_value of 1.7923 (1/cm) to BMD (mg HA/ccm):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = 1.7923 * 3.67162994e+02 + -2.06399002e+02 = 451.667 (mg HA/ccm)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert the lower threshold of 125 mg HA/ccm that is in the IPL script to pixel intensity in Scanco images:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = 4096 * (125 - -2.06399002e+02) / 3.67162994e+02 = 3697 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*You could get the scaling_factor, intercept and slope values from the AIM header of your scan by using aix -l command:&lt;br /&gt;
[[File:Aix.JPG|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Reference: [[Media:Jbmr.141.pdf|Bouxsein ML, Boyd SK, Christiansen BA, Guldberg RE, Jepsen KJ, Müller R, Guidelines for assessment of bone microstructure in rodents using micro-computed tomography. J Bone Miner Res. 25(7): 1468-86. 2010.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert CT numbers to mg HA/ccm / Houndsfield units (HU)===&lt;br /&gt;
&lt;br /&gt;
The two byte numbers (short) can be converted to mu values by first dividing by mu_scaling which is probably 4096 (uCT35, vivaCT40) or 8192 (XtremeCT). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Houndsfield units (HU)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the conversion formula from mu (lin.att. in 1/cm, our original, &#039;physical&#039; image numbers) to HU:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU(pixel) = -1000 + mu(pixel) * 1000/mu(water)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so the mu(water) is the &#039;constant&#039; that is needed for this conversion of any pixel value mu(pixel) to HU of that pixel.&lt;br /&gt;
&lt;br /&gt;
divide the 2-byte numbers in our dicom/aim/isq files by 4096 to get mu. (4096 --&amp;gt;  &#039;mu_scaling&#039; in our headers). E.g. you see&lt;br /&gt;
gray-scale number 8192 in our files --&amp;gt;  mu = 2 [1/cm].&lt;br /&gt;
&lt;br /&gt;
A reasonable result for the uCT35 is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU = (CT / 4096) * 1718.19 - 1000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and that means 1000/mu(water) = 1718.19 --&amp;gt; mu(water) = 0.58299 which is a reasonable number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;mg HA/ccm&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mg HA/ccm = (AIM/mu_scaling) * slope + intercept&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 295.494 - 189.695    ! vivaCT40&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 256.51 - 172.99         ! uCT35&lt;br /&gt;
mg HA/ccm = (AIM/8192) * 1402.549 - 340.953  ! XtremeCT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These numbers are available in the AIM header, or the ISQ header (&amp;lt;code&amp;gt;$ run ut:ctheader&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
To look up slope, intercept and mu_scaling, check either the AIM header&lt;br /&gt;
&amp;lt;pre&amp;gt;$ aix C1234567.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:uct_update_calibration&amp;lt;/pre&amp;gt;&lt;br /&gt;
and look at a record, and you&#039;ll find slope and intercept and mu-water.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vivaCT40&lt;br /&gt;
!---------------------------------------------------------------------- &lt;br /&gt;
Mu_Scaling                    4096 &lt;br /&gt;
Calibration Data              55 kVp, 200mg HA wedge, 4096 scaling &lt;br /&gt;
Calib. default unit type      2 (Density) &lt;br /&gt;
Density: unit                 mg HA/ccm &lt;br /&gt;
Density: slope                2.95493988e+02 &lt;br /&gt;
Density: intercept            -1.89695007e+02 &lt;br /&gt;
HU: mu water                  0.58200 &lt;br /&gt;
!----------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
Mu_Scaling                                       8192&lt;br /&gt;
Calibration Data              60kVp, BH: 200 mg HA/ccm, Scaling 8192            &lt;br /&gt;
Calib. default unit type      2 (Density)                                       &lt;br /&gt;
Density: unit                 mg HA/ccm                                         &lt;br /&gt;
Density: slope                         1.40254895e+03&lt;br /&gt;
Density: intercept                    -3.40953003e+02&lt;br /&gt;
HU: mu water                                  0.23900&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration FAQ===&lt;br /&gt;
====Change brightness scaling====&lt;br /&gt;
*Refer to [[Media:Mu-scaling.pdf|&#039;&#039;&#039;Change the brightness scaling&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan after pixel correction====&lt;br /&gt;
Contact Lab personnel with system-level priviledges to perform&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
                 !  Username: calib2339       (µCT35)          &lt;br /&gt;
                 !  Username: calib5019       (vivaCT40)           &lt;br /&gt;
$ spb            ! set priviledge bypass to write in other user accounts&lt;br /&gt;
$ run ut:pixel_corr_apply&lt;br /&gt;
&lt;br /&gt;
        PIXEL_CORR_APPLY Version 1.5&lt;br /&gt;
        Scanner ID from UCTD:UCT_SCANNER_2339.DAT : 2339       !2339 for µCT 35,  5019 for vivaCT 40&lt;br /&gt;
        Is this Scanner ID correct ? [?]:  y&lt;br /&gt;
        Give RSQ-Filename (leave empty to exit)  []: DISK4:[BONELAB.DATA.00005283.00011668]C0005128.RSQ&lt;br /&gt;
        ...&lt;br /&gt;
        ...&lt;br /&gt;
        Copy .RSQ to _CORRECTED.RSQ befor correction ? [?]:   y&lt;br /&gt;
&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update calibration in ISQ====&lt;br /&gt;
If DICOM files are converted to ISQ with IPL and then used for patient evaluation, the calibration data in the ISQ header needs to be present and correct. If this information is missing, utilizing upat_list to extract the values will say &#039;Error: Density calibration not valid&#039;. In order to add calibration data to an ISQ file, do the following as user calibration:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set proc/priv=bypass ! gain read/write access to the files&lt;br /&gt;
$mcr ut:uct_ext_header_add_calib ! provide ISQ file name and header type (I chose [2])&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to adjust the calibration of a file, without changing the system calibration data, copy the calibration database into a different directory, e.g. sys$scratch. Then, add a new calibration record to this temporary calibration database. This way your new, temporary values will not show up in the scan program.&lt;br /&gt;
&lt;br /&gt;
  $ copy uctd:uct_calibration_3401.dat sys$scratch:&lt;br /&gt;
&lt;br /&gt;
Define the following logical in a terminal MAKE SURE TO DO THIS!!!!&lt;br /&gt;
&lt;br /&gt;
  $ def UCT_CALIBRATION_DATABASE sys$scratch:uct_calibration_3401.dat&lt;br /&gt;
&lt;br /&gt;
Run uct_update_calibration and click trough the current calibration record (always enter).&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
  select current calibration record&lt;br /&gt;
  enter...&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
&lt;br /&gt;
Then select the last number (New Record), copy all values from above, change slope and intercept.&lt;br /&gt;
&lt;br /&gt;
Then use&lt;br /&gt;
&lt;br /&gt;
  $ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
&lt;br /&gt;
for ISQ and RSQ.&lt;br /&gt;
&lt;br /&gt;
At the end, close the terminal!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Quality Control (QC)==&lt;br /&gt;
===Scope===&lt;br /&gt;
*Only Authorized XCT and µCT Operators are permitted to perform QC scans, including both scan acquisition and analysis.    &lt;br /&gt;
*Authorization is a formal process. If you are not sure whether you have or should have authorization, speak to Dr. Boyd or Dr. Hallgrimsson or the MoJo Operations Manager. &lt;br /&gt;
*Authorized XCT and µCT Operators are responsible for ensuring a QC schedule is maintained.&lt;br /&gt;
*Only the manufacturer can calibrate the scanner!  QC only checks the calibration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
*Micro-CT systems cannot directly measure the density of a material, however, the density is linearly correlated to the x-ray absorption (assuming a proper beam-hardening correction is applied), which can be measured by micro-CT.  Density is therefore determined by measuring a reference material of known density (i.e., a phantom) to define a conversion function to relate x-ray absorption to density. Quality control of density and structural measurements for the micro-CT systems is achieved through weekly checks of phantom values to their reference values and recalibrating the system (i.e., defining a new conversion function) as necessary. &lt;br /&gt;
&lt;br /&gt;
*Performing QC is essential to the:&lt;br /&gt;
# Safety of our study participants and lab members&lt;br /&gt;
# Validity of our research data&lt;br /&gt;
&lt;br /&gt;
[[File:QC_phantom.jpg|thumb|center|600px|Scanco Medical quality control phantom (a) and its CT scans of the density QC1 (b) and the structural QC2 (c)]]&lt;br /&gt;
&lt;br /&gt;
*Reference:  Koller B, Laib A (2007) Calibration of micro-CT data for quantifying bone mineral and biomaterial density and microarchitecture. In: Advanced bioimaging technologies in assessment of the quality of bone and scaffold materials: techniques and applications. Springer, pp 79-84.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Density QC1===  &lt;br /&gt;
QC1 measures the density of 5 different rods of known hydroxyapatite (HA) densities within the QC phantom: approximately 0, 100, 200, 400, and 800 mg HA/cm3.  This tests 3 things:&lt;br /&gt;
&lt;br /&gt;
# That the scanner’s last calibration is still valid.  This is done by comparing daily QC values to an acceptable range.&lt;br /&gt;
# The presence of drifts and shifts in the calibration.  This is done by plotting daily QC results over time and using Shewart’s Controls to mathematically look for drifts and shifts.  (Shewart’s Controls replaces visual assessment.)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC1 is checked daily or 3 times a week on XtremeCT scanners whenever used and weekly on microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Structural QC2===  &lt;br /&gt;
QC2 measures the volume of 3 fine aluminum rods within the QC phantom (Al rod volume measurement).  This tests for:&lt;br /&gt;
&lt;br /&gt;
# Alignment of the gantry (or stability of architectural parameters)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC2 is checked weekly on both XtremeCT and microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC Scan Instructions===&lt;br /&gt;
*XtremeCT QC Scan Instructions: Boyd Drive:\02 - Operations\01 - Scanner QC, Specifications, &amp;amp; Maintenance\QC Workflows\QC 001.2 - XCT Quality Control.docx&lt;br /&gt;
*[[Media:Calibration-instructions-for-uct35.pdf |µCT35 QC Instructions]] or  [[Media:uCT35_Calibration.pdf|µCT35 QC another Instructions]]&lt;br /&gt;
*[[Media:Calibration-instructions-for-vivact40.pdf |VivaCT40 QC Instructions]] or [[Media:VivaCT40_Calibration.pdf| VivaCT40 QC another Instructions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out QC reports===&lt;br /&gt;
After running a QC1 or QC2 analysis, the results are output to: &lt;br /&gt;
*DISK4:[BONELAB.PROJECTS.QC] for XtremeCT QC results&lt;br /&gt;
*DISK3:[MICROCT.PROJECTS.CALIBRATION] for microCT QC results performed by BH lab&lt;br /&gt;
:*login with microct account &lt;br /&gt;
*DISK5:[BONELAB.PROJECTS.CALIBRATION] for microCT QC results performed by Bone Imaging lab&lt;br /&gt;
:*RESULTS_QC1_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC1_VIVACT.TXT;4 &lt;br /&gt;
:*RESULTS_QC2_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC2_VIVACT.TXT;2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As usual as [[Scanco_User_Instructions#Print_out_report_sheets|&#039;&#039;&#039;print out report sheets&#039;&#039;&#039;]], you use&lt;br /&gt;
  $ upat_list&lt;br /&gt;
When it asks for a template, you can select for a graphical report&lt;br /&gt;
  template = UU:UCT_EVAL_PHANTOM_SCANCO.PS&lt;br /&gt;
or for a text output&lt;br /&gt;
  template = UU:UCT_3D_LIST.TXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===System Stability and Precision===&lt;br /&gt;
System Stability and Precision here is based on the QC measurement, QC1 for density variations and QC2 for structure variations.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| System Stability and Precision&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| vivaCT40&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Long Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 1.6%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Short Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.9%&lt;br /&gt;
(Ref term: 4-MAR-2011 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 6-MAR-2011 to 8-APR-2011)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC FAQ===&lt;br /&gt;
====Determine calibration drift for microCT QC1====&lt;br /&gt;
The microCT QC1 analyses provide an estimate of the calibration drift by considering &#039;mean5&#039; values.  Use &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and make sure to use UU:UCT_3D_MEANS.TXT as the template.  Then give the measurement numbers of the QC1 measurements (or all of them and remove what&#039;s not needed later).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update QC1 contours====&lt;br /&gt;
If the QC contours don&#039;t line up on the phantom, then the contours need to be updated on the system.  Normally this should not happen unless the phantom has become loose - if this is the case, re-fix it.&lt;br /&gt;
&lt;br /&gt;
1. Login as user system.  Do not use the &amp;lt;code&amp;gt;$ set host 0 &amp;lt;/code&amp;gt; command since you will not be able to open windows for program.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Run the login script for the user that does the QC scans so that Scanco logicals point to that scan database.&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the XtremeCT cluster&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the vivaCT cluster&lt;br /&gt;
          $ @disk1:[microct]login.com       on the µCT100 cluster&lt;br /&gt;
&lt;br /&gt;
3. Run the evaluation program.&lt;br /&gt;
          $ uct_evaluation&lt;br /&gt;
4. Load the most recent QC scan and locate the contours. File--&amp;gt;Load Gobj... Filter:  &amp;lt;code&amp;gt;uctd:*.GOBJ&amp;lt;/code&amp;gt;. Locate the contours for the phantom: &amp;lt;code&amp;gt; UCT_PHANTOM_KP_HA_XXXX_Y.GOBJ  &amp;lt;/code&amp;gt; where XXXX corresponds with the scanner ID (XtremeCT 3309, vivaCT 5019, µCT35 2339, µCT100 6002) and Y corresponds with the rod number (1-5 and results mean1 - mean5. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Adjust the contours to centre on the rods.&lt;br /&gt;
    Load a contour.&lt;br /&gt;
    Move the contour on the first slice to be centred on the rod.&lt;br /&gt;
    Copy the contour.&lt;br /&gt;
    Delete the contours on slices 2 to the end.&lt;br /&gt;
    Paste the contour on the last slice.&lt;br /&gt;
    Morph between the two contours.&lt;br /&gt;
    Save the contours.  They should be saved to (A)DISK0:[000000.MICROCT_COMMON.DATABASE].&lt;br /&gt;
6. Perform a new QC scan as the standard (i.e., microct) user.  Check that the contours line up for the evaluation.  Evaluate and check the results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update Gobj for QC1 Analysis====&lt;br /&gt;
Refer to  [[Media:Fix_QC1_gobj.pdf| &#039;&#039;&#039;Fix QC1 Gobj&#039;&#039;&#039; ]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update XtremeCT QC1 calibration====&lt;br /&gt;
This procedure needs to be done for each beam hardening correction (e.g., QC1 with 200 mg HA/cm3, QC1 with 1200 mg HA/cm3) and for each scan energy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Perform 3 back-to-back QC1 scans, which ensures the x-ray tube is very warm.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Evaluate the last QC1 scan.&amp;lt;br&amp;gt;&lt;br /&gt;
3. After the evaluation is done, determine parameters for the new calibration&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_calib_phantom&lt;br /&gt;
UCT_CALIB_PHANTOM Version V1.0&lt;br /&gt;
 &lt;br /&gt;
Reading UCTD:UCT_CALIB_PHANTOM_KP_HA_3309.TXT&lt;br /&gt;
Phantom Type in file:              6&lt;br /&gt;
Phantom Number in file:          304&lt;br /&gt;
Voltage in file:                   0&lt;br /&gt;
No of Materials in file:           1&lt;br /&gt;
With each, no of  steps:           5&lt;br /&gt;
and mus:                    1.000000&lt;br /&gt;
No. of Cylinders:                  5&lt;br /&gt;
Measurement No. (0 to Stop)     [0]: 11404&lt;br /&gt;
 &lt;br /&gt;
Mus: 0.2382 0.3163 0.3823 0.5358 0.8112&lt;br /&gt;
*****************************************************&lt;br /&gt;
Calibration: Slope Intercept:      1398.628  -339.819&lt;br /&gt;
Enter in Calibration Records if wished.&lt;br /&gt;
*****************************************************&lt;br /&gt;
Measurement No. (0 to Stop)     [0]:&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD.TXT.&lt;br /&gt;
&lt;br /&gt;
5. Now update the calibration.  For most settings, you will use the default value by pressing return.  You need to choose the correct calibration record, the one that corresponds with the energy and beam hardening correction used in the QC1 scans you did.  Next, you need to update the slope, intercept, and mu water values to those determined in step 3 (copy and paste values to avoid typos).  The new values should be similar to the old ones.  Finally, if you have not made any mistakes, then save the record.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:uct_update_calibration&lt;br /&gt;
UCT_UPDATE_CALIBRATION V2.5&lt;br /&gt;
 &lt;br /&gt;
 IDX Calib/Rec. Description&lt;br /&gt;
  1      1/42   60kVp, BH: 200 mg HA/ccm, Scaling 8192&lt;br /&gt;
  2      2/43   60kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  3      3/0    New Record&lt;br /&gt;
Choose Calibration Record (IDX): [2]: 1&lt;br /&gt;
Valid Flag [1]:&lt;br /&gt;
Scanner-ID [3309]:&lt;br /&gt;
Energy [V] [59400]:&lt;br /&gt;
Intensity [µA] [0]:&lt;br /&gt;
Description [60kVp, BH: 200 mg HA/ccm, Scaling 8192]:&lt;br /&gt;
 &lt;br /&gt;
Antiring Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
Beamhardening Enable [1]:&lt;br /&gt;
Beamhardening Coeff file [MICROCT_COMMON:[DATABASE]UCT_BH_COEFF_60KV_0200HA_3309.TXT;5]:&lt;br /&gt;
Beamhardening Checksum [0]:&lt;br /&gt;
CCD_CORR: Read to mem: 500 bytes to correct 1 pixels (588 bytes allocated)&lt;br /&gt;
 &lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom) [2]:&lt;br /&gt;
µ Enable [1]:&lt;br /&gt;
µ-scaling [8192]:&lt;br /&gt;
 &lt;br /&gt;
Density Enable [1]:&lt;br /&gt;
Density units [mg HA/ccm]:&lt;br /&gt;
Density Slope [1402.549]: 1398.628&lt;br /&gt;
Density Intercept [-340.953]: -339.819&lt;br /&gt;
 &lt;br /&gt;
HU Enable [1]:&lt;br /&gt;
µ of water [0.239]: 0.2382&lt;br /&gt;
 &lt;br /&gt;
CUSTOM Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
HW Filter Code [0]:&lt;br /&gt;
HW Filter Description []:&lt;br /&gt;
 &lt;br /&gt;
Save Record ? [Y]: Y&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD_ENTERED.TXT.  Send both text files to support@scanco.ch for them to archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update microCT QC1 calibration====&lt;br /&gt;
Refer to [[Media:QC1_Calibration_Update.pdf|&#039;&#039;&#039;QC1 Calibration Update&#039;&#039;&#039;]] for instructions for the VivaCT40 and uCT35.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new calibration or BHC====&lt;br /&gt;
If the QC1 range was out of range but it was not possible to update the system calibration before scanning, you can update the scan with the new density calibration (i.e., slope and intercept).  It is also possible to change the beam hardening correction that is applied (e.g., from 200 mg HA/cm3 to 1200 mg HA/cm3).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Type of Update ||RSQ||ISQ||AIM&lt;br /&gt;
|-&lt;br /&gt;
|QC1 was out of range, need new slope and intercept &lt;br /&gt;
(e.g., after updating the system calibration)&lt;br /&gt;
|Yes||Yes||No, Create New&lt;br /&gt;
|-&lt;br /&gt;
|Change beam hardening correction type &lt;br /&gt;
(e.g., 200 mg HA/cm3 to 1200 mg HA/cm3)&lt;br /&gt;
|Yes||No, Reconstruct||No, Create New&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Use the UCT_EXT_HEADER_ADD_CALIB program to update an RSQ and, if appropriate, repeat for the ISQ.  &lt;br /&gt;
*Use default values for all prompts except those commented after !.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
 &lt;br /&gt;
UCT_EXT_HEADER_ADD_CALIB V 1.1&lt;br /&gt;
Raw-Data-File []:    !give the name of the RSQ/ISQ with full path if not in that directory&lt;br /&gt;
 &lt;br /&gt;
Reading Raw Data ...&lt;br /&gt;
 IDX Calib Description&lt;br /&gt;
  1      1 45 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  2      2 55 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  3      3 70 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  4      4 General, non-bone-density-calibrated scan, scale 4096&lt;br /&gt;
  5      5 45 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  6      6 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  7      7 70 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
 &lt;br /&gt;
Calibration Record No [0]: !specify the new calibration, e.g. 6&lt;br /&gt;
 &lt;br /&gt;
Calibration No.           6&lt;br /&gt;
Description 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
Scanner-ID        5019&lt;br /&gt;
Energy [V]       55000&lt;br /&gt;
Antiring Enable             0&lt;br /&gt;
Beamhardening Enable            1&lt;br /&gt;
Beamhardening Coeff file UCTD:UCT_BH_COEFF_55KV_1200HA_5019.TXT&lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom)           2&lt;br /&gt;
Same type already found. Setting old to invalid&lt;br /&gt;
SUCCESS: calib hext written&lt;br /&gt;
updating header...&lt;br /&gt;
SUCCESS: Header successfully updated.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Calib record indicates that BH-Corr is usually applied.&lt;br /&gt;
Info: There is a BH-Corr corr already in hext.&lt;br /&gt;
Add another BH-Corr from file again? (Y/N) [N]:  Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new QC1 calibration====&lt;br /&gt;
Refer to  [[Media:Update_Scan_with_new_QC1.pdf|&#039;&#039;&#039;Update Scan with new QC1&#039;&#039;&#039;]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: un-centered QC1 Gobj====&lt;br /&gt;
The contour for the QC1 scan is not centered on the on hydroxyapatite rod, which will result in erroneous low density values.  &lt;br /&gt;
&lt;br /&gt;
This can occur for a couple of reasons:&lt;br /&gt;
*The metal spindle has come loose on the phantom, in which case re-glue it and update the contours&lt;br /&gt;
*The slot on the phantom&#039;s spindle was not correctly aligned&lt;br /&gt;
*For the vivaCT 40, the sample bed was not pushed to the right before locking it in place&lt;br /&gt;
[[File:Phantom_not_pushed_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: rods in QC2 images====&lt;br /&gt;
The QC2 scan has aluminum rods AND hydroxyapatite rods.  This happens because the slot on the phantom&#039;s spindle was not correctly aligned and the phantom positioning is off slightly.  Adjust the phantom and re-scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Phantom_spindle_not_in_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
&lt;br /&gt;
==Scanner User Manual==&lt;br /&gt;
For XtremeCTs:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Scanco - Manual_XtremeCTII_2.5.pdf |XtremeCT II User&#039;s Guide V2.5]]&lt;br /&gt;
* [[Media:XtremeCT User Guide XCT I.pdf |XtremeCT I  User&#039;s Guide V6.4]]&lt;br /&gt;
&lt;br /&gt;
For microCTs:&lt;br /&gt;
* [[Media:Manual_vivaCT_80.pdf |VivaCT80 User&#039;s Guide V1.5]]&lt;br /&gt;
* [[Media:scanco-manual-vivact40.pdf |VivaCT40 User&#039;s Guide V4.05]]&lt;br /&gt;
* [[Media:Scanco-manual-uct35.pdf |MicroCT35 User&#039;s Guide V4.05]]&lt;br /&gt;
&lt;br /&gt;
==Scanco&#039;s FAQ==&lt;br /&gt;
Navigate to the manufacturer [http://www.scanco.ch/index.php?id=customer_login Scanco Medical FAQ].&lt;br /&gt;
&lt;br /&gt;
* Username:  users@scanco.ch&lt;br /&gt;
* Password:  basser5dorf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan==&lt;br /&gt;
===Scan SOP===&lt;br /&gt;
====Image Quality====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-image-quality.pdf|&#039;&#039;&#039;Image Quality: Resolution vs. Noise&#039;&#039;&#039;]] by Scanco Medical.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Control File Settings====&lt;br /&gt;
*Refer to [[Media:ControlFileSettingsUserMeeting2014Final.pdf|&#039;&#039;&#039;Optimize Control File Settings&#039;&#039;&#039;]] with regards to resolution, contrast and scan time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scan materials of different densities====&lt;br /&gt;
*Refer to [[Media:UM_HongKong_DifferentDensityMaterials.pdf|&#039;&#039;&#039;Scan materials of different densities&#039;&#039;&#039;]]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Scan for Soft and Adipose Tissue Separability====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-adipose-vs-soft-tissue.pdf|&#039;&#039;&#039;Scan Protocol Optimization for Soft and Adipose Tissue Separability&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Measure multiple samples in one scan====&lt;br /&gt;
&lt;br /&gt;
This quite often happens when you want to scan 6 rat bones, for example, but using our six-gun sample holder you scan them in one go.  But, you want to analyse them separately, so you have to import the ISQ multiple times as new MEASUREMENTS into each SAMPLE.&lt;br /&gt;
&lt;br /&gt;
There are two options: manual and auto.  &amp;lt;b&amp;gt;Read this entire HowTo before proceeding.  There is significant potential for mistakes!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:import_manual.com&lt;br /&gt;
&lt;br /&gt;
P1: Measurement Number to duplicate&lt;br /&gt;
P2: New Sample Number from Database&lt;br /&gt;
P3: New Start Letter of ISQ file&lt;br /&gt;
P4: Optional: Operator Number&lt;br /&gt;
P5: Optional: Controlfile Number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @com:import_manual.com 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will copy the ISQ from measurement 1234, import it into the database to sample 342, give some feedback lines with &#039;old&#039; and the new samplename, CHECK IT, and at the end it gives the feedback line on the terminal which you take with the mouse and drop to rename the data over to the new location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;IMPORTANT: BE VERY SURE NOT TO MIX UP MEASUREMENT AND SAMPLE NUMBER !!!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This distiction needs to be VERY clear in your mind! Of course, you can duplicate one scan and give it to the same samplenumber again (e.g. to evaluate different parts of the same sample, and each has its database&lt;br /&gt;
entry).&lt;br /&gt;
&lt;br /&gt;
Please build up some system so you see immediately that the right meas. goes to the right sample. E.g. all four bones in one scan have the same part in the name, distinct from other 4 bones. If there is any trace of a doubt later on that somebody MAY have messed up the samples in this duplication step, you&#039;ll most probably have to start from scratch again...&lt;br /&gt;
&lt;br /&gt;
Of course, I&#039;ll have to make you aware that Scanco declines all responsibility - this program is NOT in the normal user-friendly, quite fool-proof Scanco controlbox, but it&#039;s up to you to use it carefully, and not on Friday night when you&#039;re sleepy and mistakenly mix up sample and meas. numbers...&lt;br /&gt;
&lt;br /&gt;
The new startletter I built in so you always know which one was the &#039;original&#039; measurement (which has an RSQ), and which are the duplicated ones.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Backup&amp;lt;/b&amp;gt;&lt;br /&gt;
And the organization of how you know which duplicated scan is which part is&lt;br /&gt;
completely up to you - as well as how you want to handle the backup - our&lt;br /&gt;
software allows you to back-up each duplicated scan (but this might be an&lt;br /&gt;
overkill, since it&#039;s the same ISQ always) so you may choose to delete the&lt;br /&gt;
duplicated ISQ by hand in the session manager (only keep the &#039;original&#039; ISQ), and only backup the .gobj, .aim and _seg.aim etc. (but then you will need to know not to get scared if you retrieve a scan, and the ISQ is missing...) (Or you just &#039;move to trash&#039; the duplicated scans to nicely delete them with the backup program if you want to remove them completely (but you still have the 3D results in the evaluation database))&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Autosubmit&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please use the manual one for a while. Then, if you feel comfortable, use the autosubmit one (which also does the last command automatically, the renaming of the isq to the new location.) Because it goes into a batch que, you can quickly submit all duplications, and do not have to wait for the whole file-copying like in the manual one.&lt;br /&gt;
&lt;br /&gt;
One thing you should check there:&lt;br /&gt;
$ show que sys$fast/full&lt;br /&gt;
&lt;br /&gt;
This needs to be one single queue (/job_limit=1). In a clustered enviroment,&lt;br /&gt;
this might be a &#039;/generic=&#039; que that then gives the jobs to multiple queues in the cluster. This is NOT good. If this is the case, please edit the autosubmit script, and replace sys$fast in the following line at the end by ONE of the generic fast queues, e.g. SC4240_FAST or whatever the name is (preferrable the one computer where also the data disk DK0 is sitting:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$!&lt;br /&gt;
$      SUBMIT/NOPRINT/QUE=SYS$FAST/DELETE/NOTIFY/LOG=SYS$SCRATCH: &#039;COMMANDFILE&#039;&lt;br /&gt;
$!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Reason: if multiple uct_imports would run at exactly totally the very same time, both jobs might get the same new measurement number... bad...)&lt;br /&gt;
&lt;br /&gt;
I also suggest to add the following line to your login.com&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl*icate :== @com:import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you can just start it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And I also recommend to put into login.com:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ check_dup :== search sys$scratch:import*.log &amp;quot;&amp;quot;&amp;quot; name:&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, with all these double-quotes)&lt;br /&gt;
&lt;br /&gt;
Then use it to check the feedback that the right scans were given to the right samples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scan FAQ===&lt;br /&gt;
====Unlock a locked controlfile====&lt;br /&gt;
If you accidentally locked a controlfile, it is possible to unlock it so that it can again be modified.&lt;br /&gt;
&lt;br /&gt;
Login as the calibration user (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user, Set priviledges to bypass.&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
Set the controlfile database to the microct, or other, user where the controlfile is locked.  &lt;br /&gt;
*The file is usually located on (a)disk1:[username.database] and may be accessible using the uctd logical.  &lt;br /&gt;
*The database file contains the scanner ID (e.g., 3309 for the XtremeCT, note there&#039;s no SC before 3309).&lt;br /&gt;
 $ def uct_controlfiles_database adisk1:[microct.database]uct_controlfiles_3309.dat&lt;br /&gt;
 $ run ut:uct_upd_controlfiles&lt;br /&gt;
&lt;br /&gt;
Choose the controlfile.Use T and F to indicate true and false.&lt;br /&gt;
*YOU MUST SAY YES TO UPDATE CTRL-FILE! There is a bug so do this even if you make a mistake.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Selected operator is not an operator CODE: 24====&lt;br /&gt;
You must enter an operator name in the micro-CT control panel. &lt;br /&gt;
*You only need to enter the beginning part of your operator name (e.g., Bo for Bone Imaging Lab) or your operator number.  &lt;br /&gt;
*You can also press &amp;quot;Edit...&amp;quot; and then press the &amp;quot;Find...&amp;quot; and press &amp;quot;OK&amp;quot; to show a list of all the operators that have been registered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Error assigning IO-channel for UCT_ACQ_LINE, device already allocated to another user CODE: 2112====&lt;br /&gt;
Only one person can be given control of the scanner at any time.  Most likely the scanning program is already open.  Check the minimized icons on the desktop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: ROT (M1) end switch detected, Motor stopped CODE: 3031====&lt;br /&gt;
We&#039;re not sure why motor errors occur occasionally.  The solution is to exit the scanning program and turn off the scanner (the switch is on the side of the machine).  Wait 30 seconds.  Turn the scanner on again.  Re-start the scanning program.  Wait for the scanner to warm up (20 min).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Acquisition error, Buffer overrun CODE: 1005====&lt;br /&gt;
This error occurs if the computer hooked up to the scanner is overloaded and does not accept the stream of CT data quickly enough.  Check that no large calculations are running interactively (e.g., loading a large dataset into the 3D viewer while the scan is running).  If you happen to be there at the very exact second when the buffer overrun happens, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show user/node/full             !check how many users/processes there are&lt;br /&gt;
$ monitor system/int=1            !check the process that is using the most cpu and page file quota&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Advise lab personal of the problem. If nobody is around, put the output of the above commands into a text document, stop the queues for the computer, and repeat the scan.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sc5019_fast       !for the vivaCT 40&lt;br /&gt;
$ stop/que/next sc5019_slow       !for the vivaCT 40&lt;br /&gt;
&lt;br /&gt;
$ stop/que/next sceva2_fast       !for the µCT35&lt;br /&gt;
$ stop/que/next sceva2_slow       !for the µCT35&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When finished, restart the queues that you stopped by &amp;lt;code&amp;gt;$ start/que queue_name &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Shutter fail safety test timeout CODE: 2101====&lt;br /&gt;
This happens if the scanning program has accidentally be left on overnight and the shutter fail safe test cannot be performed. Ensure that uct_tomography is closed at the end of the day and the scanner computer is logged out at the end of the day to avoid this error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Input error detected, Z protection detected CODE: 4001====&lt;br /&gt;
This means the big plate that you can see through the gantry has moved or been touched, activating one of the Z protection switches. This can happen during positioning a patient for a tibia scan if the person&#039;s leg isn&#039;t pushed into the scanner straight. The cast can potentially touch the plates and cause this error.&lt;br /&gt;
&lt;br /&gt;
In the rare case where this error occurs spontaneously during or at the end of a scan, or during a precalibration, one of the switches may have become activated due to the position of the Z plate. To determine the position(s) this error is triggered, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0                                                                                                                                                                                            Username: calibration                                                                                                                                                                                        Password:&lt;br /&gt;
&lt;br /&gt;
$ sdl&lt;br /&gt;
$ spb&lt;br /&gt;
$ run um:ccd_2d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Scanco test programs will open. First click on the Reset Z button (upper left corner). Then move the Z slider all the way to the right and hit move. If the Z-protection error appears, record exactly which Z position triggers the error (should be a red number on the left hand side of the slider). When you are done with this test, hit Reset Z again, wait until the motor comes to a complete stop (max. 15 seconds), close the software and in the same terminal by &amp;lt;code&amp;gt;$ logout &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contact Scanco regarding this error and provide the details from running the ccd program. They will provide further instructions on how to proceed and fix the problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: CCD frame timeout, HOTLink reframing CODE: 1007====&lt;br /&gt;
Take a screenshot of the error message and email Scanco immediately. Message indicates that X-ray tube is arcing. Try and warm up the X-ray tube again, and notify Scanco if there is any abnormal activity and whether the tube was able to warm up.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Invalid Scanner ID CODE: 24====&lt;br /&gt;
You have logged in with the incorrect user name.  End the session and login with the correct user name (vivaCT 40: vivact or invivo;  µCT 35: microct or invitro).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Unable to create shared memory, global page table full CODE: 196====&lt;br /&gt;
The temporary fix is to reboot the system.  But before you restart, if you have system access, do the following and save the output to a text to send to Scanco.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
Username: system&lt;br /&gt;
Password:&lt;br /&gt;
&lt;br /&gt;
$ search sys$system:agen$feedback.dat gblpages&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;contig_gblpages&amp;quot;)&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;free_gblsects&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reconstruction==&lt;br /&gt;
&lt;br /&gt;
===Standard Reconstruction===&lt;br /&gt;
Scans are automatically submitted for reconstruction, so manual submission is usually only necessary if there was a problem during reconstruction (e.g., a power failure).&lt;br /&gt;
&lt;br /&gt;
*To reconstruct all slices from the RSQ, first delete or rename the old ISQ. &lt;br /&gt;
*To reconstruct a selection of slices, a valid ISQ must exist. There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&#039;&#039;&#039;General Usage for Interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
P1: RSQ Filename&lt;br /&gt;
P2: Slice number (A – all, start:finish)&lt;br /&gt;
P3: Log file of batch job&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;General Usage for Non-interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
  $ submit/noprint/que=sys$slow um:uct_reconstruction.com/params=(&amp;lt;b&amp;gt;DISK2:MICROCT.DATA.00000610.00002449]C000####.RSQ &amp;lt;/b&amp;gt;, a)&lt;br /&gt;
*Normally jobs are submitted to sys$slow queue instead of running them interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
Here are examples of how to reconstruct a single RSQ file: C0007655.RSQ, sample 4111 and measurement 9899. &amp;lt;br&amp;gt;&lt;br /&gt;
To reconstruct slices 101 to 201 and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com /log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, 100:200, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The command must be all on one line (or use hyphen), and it wants the 3 parameters: filename, slices, and log.file name&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
To reconstruct all slices, use “a” for all slices and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ delete C0007655.ISQ;*&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com/log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, a, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The .log filename is up to you, as long as it&#039;s the same at both places. &lt;br /&gt;
*Give full pathname for RSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct multiple files====&lt;br /&gt;
For multiple files, create a script and submit the job to the sys$slow queue. For example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ eve reco_all.com   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or open editor (command &#039;Edit&#039;), put the following lines in the file and save it as .e.g sys$scratch:reco_all.com:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009899]C0007655.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009900]C0007656.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009001]C0007657.rsq a&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit the text editor, then submit the job (e.g. to sys$slow):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow/log=sys$scratch:reco4111.log sys$scratch:reco_all.com&lt;br /&gt;
All the files will be reconstructed as a single job, with one log file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch reconstruction on XtremeCT2====&lt;br /&gt;
The reconstruction software available for the XT2 supports the /batch syntax that replaces reco_all.com. &lt;br /&gt;
You can split a manual reconstruction into several jobs using&lt;br /&gt;
&lt;br /&gt;
 $ uct_reconstruction DK0:[XTREMECT2.DATA.00001234.00005678]D0123456.RSQ a/batch=16&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update to uct_reconstruction V6.2-5, March 2019====&lt;br /&gt;
&lt;br /&gt;
As of March 2019, we should only use uct_reconstruction v6.2-5 on xtremect2. &lt;br /&gt;
For studies with baseline and follow-up scans overlapping this time, the old version (V6.2-2) can still be accessed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_old_recon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Changing reconstruction versions can lead to small systematic differences in the result parameters of a trabecular bone analysis. The old version should only be accessed by those who absolutely need to use it. (Scanco recommends re-reconstructing all measurements of a study with version 6.2-5 instead).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== Rotated Reconstruction (about z-axis)===&lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to measure the angle for the rotated reconstruction. &lt;br /&gt;
#*To start the program type &amp;lt;code&amp;gt;$ uct_evaluation &amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. &lt;br /&gt;
#*Load your sample and select the angle measurement button.  &lt;br /&gt;
#*Drag the ends and the intersection of the green lines to measure the desired rotation angle. &lt;br /&gt;
#:[[File:Angle meas.preview.jpg|600px]]&lt;br /&gt;
#Rotate and reconstruct&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:reco_all &amp;lt;/code&amp;gt; to reconstruct all slices.&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:uct_reconstruction_angle &amp;lt;/code&amp;gt; to reconstruct selected slices from an RSQ. &lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to check the sample after the rotated reconstruction:&lt;br /&gt;
#:[[File:Rotated_reconstruction.preview.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;General Usage&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
      P1: Angle in degrees&lt;br /&gt;
      P2: Sample number&lt;br /&gt;
      P3: Measurement number&lt;br /&gt;
&lt;br /&gt;
$ @com:uct_reconstruction_angle.com P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
      P1: RSQ Filename&lt;br /&gt;
      P2: Slice number (A – all, start:finish)&lt;br /&gt;
      P3: Log file of batch job&lt;br /&gt;
      P4: Delete log file (true/false)&lt;br /&gt;
      P5: Angle in degrees&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The angle of rotation uses the right-hand rule:  a counterclockwise rotation is positive and a clockwise rotation is negative.&lt;br /&gt;
*The angle of rotation uses a single decimal place.  &lt;br /&gt;
*By default the reconstruction jobs will be placed in the sceva3_slow queue.&lt;br /&gt;
*Both functions are executed from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
The following examples are for a 19.1 degree counterclockwise rotation of sample 6876, measurement 15417, C0005086.RSQ.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com 19.1 6876 15417&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Delete the ISQ file from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
*A valid ISQ must exist.&lt;br /&gt;
*There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&lt;br /&gt;
To reconstruct slices 36 to 41:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 sys$scratch:reco610.log true 19.1&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 &amp;quot;&amp;quot; &amp;quot;&amp;quot; 19.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*&amp;quot;&amp;quot; is used as a null input for optional parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Other Reconstruction===&lt;br /&gt;
&lt;br /&gt;
====Reconstruct at a new voxel size====&lt;br /&gt;
See a script in:&lt;br /&gt;
  DISK1:[XTREMECT2.EVAL]UPDATE_HEADER.COM&lt;br /&gt;
&lt;br /&gt;
This script includes the following type of information:&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000010.00000050]D0000068.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000011.00000054]D0000072.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
&lt;br /&gt;
This is what one would do in a terminal. The only requirement is that this &amp;lt;code&amp;gt;updh_voxelsize.exe&amp;lt;/code&amp;gt; cannot be executed as the normal user.&lt;br /&gt;
Prior to that, one has to log as calibration, and do:&lt;br /&gt;
  $ set proc/priv=bypass&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate RSQ==&lt;br /&gt;
&lt;br /&gt;
===View RSQ projections and flat field===&lt;br /&gt;
&lt;br /&gt;
It can be very useful to examine the projections that are contained in the RSQ file, as well as to see the flat field correction frames.&lt;br /&gt;
&lt;br /&gt;
In the session manager, double click the RSQ file and the program ximage will open. Or, type:&lt;br /&gt;
  $ sh sym x&lt;br /&gt;
    X == &amp;quot;$UM:XIMAGE.EXE&amp;quot;&lt;br /&gt;
  $ x D0000018.RSQ&lt;br /&gt;
Then switch to xz view and go to the second slice (in this order). Then you should see a frame of the none attenuated beam (nothing in the beam, or Scanco calls it the I0 frame). If it is a multi stack measurement then there will be several copys of this frame in this image.&lt;br /&gt;
&lt;br /&gt;
In an RSQ you have for each slice of the detector one dark current line and then the full intensity line followed form the radiographs taken under the different angles (sinogram). In the x direction is the detector line, in the y direction is the rotation angle (except dark and I0) and in the z direction is the z-direction of the scanner. If you switch the view to xz, then you can see the frames as acquired by the detector (or stacked frames all taken under the same rotation angle). Frame 1 is then the dark image and Frame 2 is the full intensity image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to AIM===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
ipl&amp;gt; rsq_to_aim in YP_IGFAMOTION_003_6.RSQ                                                                                             &lt;br /&gt;
  -pos                       [0 0 0] &amp;gt; &lt;br /&gt;
  -dim                       [-1 -1 -1] &amp;gt; &lt;br /&gt;
  -convert_to_pro            [false] &amp;gt; true&lt;br /&gt;
  -sinogram_not_frames       [true] &amp;gt; true&lt;br /&gt;
  -div_unsigned_by_2         [false] &amp;gt; true&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt; write&lt;br /&gt;
  -name                      [internal_name] &amp;gt; in&lt;br /&gt;
  -filename                  [default_file_name] &amp;gt; YP_IGFAMOTION_003_6_rsq.aim&lt;br /&gt;
  -compress_type             [bin] &amp;gt; none&lt;br /&gt;
  -version_020               [true] &amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to PSQ===&lt;br /&gt;
First, in the terminal turn on the &#039;advanced questions&#039; mode&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Second use the reconstruction EXE to convert RSQ to PSQ&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run UCT_RECONSTRUCTION.EXE&lt;br /&gt;
raw file: DISK3:[MICROCT.PROJECTS.YVES.LANDMARK.RAW]filename.RSQ&lt;br /&gt;
&lt;br /&gt;
Give slice number, or &#039;a&#039; for all&lt;br /&gt;
hit return a few times&lt;br /&gt;
&lt;br /&gt;
Write Projection [N]:   -&amp;gt; say y and it writes the PSQ and continues with reco&lt;br /&gt;
Say p if it shall just produce PSQ and NOT continue with reco!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Beam hardening correction can be turned off by doing&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UCT_RECONSTRUCTION_CALIBRATION TRUE&lt;br /&gt;
$ define uct_disable_bh_correction true&lt;br /&gt;
$ deass UCT_BEAMHARD_POWER&lt;br /&gt;
$ deass UCT_BEAMHARD_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then run &amp;lt;code&amp;gt;uct_reconstruction&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The RSQ contains the RAW projection data. The PSQ represents tilted parallel beam projections:&lt;br /&gt;
&lt;br /&gt;
[[Image:CB-Rebinned.gif]]&lt;br /&gt;
&lt;br /&gt;
The rebinning process reduces the number of projections from 836 (1 bright field, 1 dark field and 834 projections spaced at 0.24 deg/proj, spanning 200.16 deg) to 750 (spanning 180 deg) with a resolution of 0.24 deg. In addition to the geometric changes, intensities are adjusted ln(I/I0) and beam hardening correction is applied. After converting a PSQ to AIM with IPL, an image can be reconstructed with Matlab&#039;s iradon(), note that only the central slice will be geometrically &#039;correct&#039;, but differences in other slices are small (Circumference of calibration phantom differs less than 1%). in the final reconstruction these effects are accounted for reducing the number of z-slices from 124 (acquired) to 110 in the reconstructed image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Measure RSQ motion artifact===&lt;br /&gt;
Based on RSQ data, in-plane translation and rotation, and longitudinal translation can be determined. &lt;br /&gt;
&lt;br /&gt;
The RSQ is first converted to a tilted parallel-beam sinogram. Motion is measured using the bonelab_measuremotion command in the Calgary extension of IPL installed on percy. Copy the motion scripts available in &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]&amp;lt;/code&amp;gt; to your COM directory. Here is how they work:&lt;br /&gt;
&lt;br /&gt;
* RSQ_TO_PSQ.COM;1 - (optional) convert RSQ to PSQ, PSQ gets created in the same directory as RSQ. Usage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ @rsq_to_psq.com DK0:[BRUNO.DATA.00000162.00009479]C0008921.RSQ&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* IPL_MEASUREMOTION.COM;2 - Takes a PSQ and measures motion using Calgary IPL on percy&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! example of how to submit a motion measurement&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST /LOG=SYS$SCRATCH: -&lt;br /&gt;
  DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM -&lt;br /&gt;
  /PARAM=(DISK3:[MICROCT.PROJECTS.DEVEL.RECO_TEST.RAW]PHANTOM_NOMOTION.PSQ) -&lt;br /&gt;
   /LOG=DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]MEASUREMOTION.LOG&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results are save in &amp;lt;code&amp;gt;MEASUREMOTION.LOG&amp;lt;/code&amp;gt; and the following section contains all information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/bonelab_measure_motion&lt;br /&gt;
  -input                     org&lt;br /&gt;
Motion:&lt;br /&gt;
Translation = 2.135364&lt;br /&gt;
Rotation = 0.024216&lt;br /&gt;
Index = 3.694660&lt;br /&gt;
Translation weight = 0.943156&lt;br /&gt;
Rotation weight = 69.403737&lt;br /&gt;
Z_motion = 2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below with search.&lt;br /&gt;
Translation,Rotation,Index,Trans_weight,Rot_weight,Z_motion&lt;br /&gt;
2.135364,0.024216,3.694660,0.943156,69.403737,2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below for DB entry (Index*100).&lt;br /&gt;
db_motion_index=369.466034&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In-plane translation is &#039;&#039;&#039;Translation&#039;&#039;&#039;, in-plane rotation is &#039;&#039;&#039;Rotation&#039;&#039;&#039; and longitudinal translation is &#039;&#039;&#039;Z_motion&#039;&#039;&#039;. &#039;&#039;&#039;Index&#039;&#039;&#039; is the total in-plane motion as used in the IEEE ISBI 2009 paper by linear combination using the weights, not used any more, now we use in-plane translation only. &#039;&#039;&#039;db_motion_index&#039;&#039;&#039; is the motion index value multiplied by 100 and that could be written to the patient database. Multiplication by 100 is necessary since the motion field in the database is integer only.&lt;br /&gt;
&lt;br /&gt;
For more background on the algorithm look at &#039;&#039;Pauchard Y., et al, Measuring patient motion in HR-pQCT, IEEE ISBI 2009&#039;&#039;, and &#039;&#039;Pauchard Y., et.al., Automated quantification of three-dimensional subject motion to monitor image quality in high-resolution peripheral quantitative computed tomography, Phys Med Biol. vol. 56, pp 6523-6543, 2011&#039;&#039;. &#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The IPL implementation has not been validated against the Matlab implementation used in these publications. Motion Values can be different. Values can be automatically extracted as described below.&lt;br /&gt;
&lt;br /&gt;
* RSQ_MEASUREMOTION.COM;10 - The full deal: creates PSQ and measures motion all in the same directory as the RSQ.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
@DISK3:[MICROCT.PROJECTS.RESCAN.COM]RSQ_MEASUREMOTION.COM DISK3:[MICROCT.PROJECTS.RESCAN.RAW]M0003508.RSQ;1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to adjust the line:&lt;br /&gt;
&amp;lt;code&amp;gt;$ SCRIPTFILE := DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
to the location of your &amp;lt;code&amp;gt;IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The results are stored in the same directory as the RSQ in &amp;lt;RSQname&amp;gt;MOTION.LOG and can be extracted into motion_all.txt by running the search command:&lt;br /&gt;
&amp;lt;pre&amp;gt;search/output=motion_all.txt/window(0,1)/match=OR *motion.log &amp;quot;Translation,&amp;quot;,&amp;quot;Patient Name &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update RSQ&#039;s Center Information===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
username: calibration&lt;br /&gt;
password:&lt;br /&gt;
$ spb      or     $ set proc/priv=bypass  &lt;br /&gt;
$ run [.util]updh_center&lt;br /&gt;
Raw-Data-File:        enter location of raw data (with directory if necessary)&lt;br /&gt;
Center X:  [15430]:   enter new center value (e.g. 15415)&lt;br /&gt;
Press return for all other options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Determine RSQ&#039;s Centre Calibration Values===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true   ! Note: do not mistype... or the calibration program will not run&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the SAME terminal: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_reconstruction dk0:[microct.data.00004026.00004576]c0001344.rsq&lt;br /&gt;
Slice-Nr. [0...919] (Neg. to stop): 100&lt;br /&gt;
Center [207]: here enter a new number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hit return a few more times to use default values for other options.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT check these values, that they do not change:&lt;br /&gt;
Maximal possible Scan-Distance (mm) = 125.9520 &lt;br /&gt;
Cropped adjusted Scan-Distance (mm) = 125.9520 &lt;br /&gt;
See that it does not change, e.g. drop to 124 mm or such...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then do that again, $ uct_reconstruction ....rsq 100 (for the first time, for each file/scan). &lt;br /&gt;
&lt;br /&gt;
Double click on ISQ. slide to slice 101 (!) (100+1, since terminal zero based) compare with image in e.g. slice 100 or 99 (disregard funny half image shift...) &lt;br /&gt;
&lt;br /&gt;
Should already look nicer. &lt;br /&gt;
&lt;br /&gt;
Then try out with e.g. center 230 or so, with e.g. slice 101 (thus slice 102 in Ximage). (now, only one run is necessary) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
compare against image with center e.g. 200. &lt;br /&gt;
continue at libitum until you find the best center, the crispest image.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Usually the centre is determined to within about 3 to 5 points (which is 0.3 to 0.5 pixels), so e.g. test 225 and 230, and maybe 228. &lt;br /&gt;
&lt;br /&gt;
Write down your favourite. &lt;br /&gt;
&lt;br /&gt;
If you cannot decide: let Andres know which ISQ slice was reco-ed with which center (in &#039;Ximage&#039; slice numbers), and I can check - but since remote Ximage is SOOO slow, thanks for only pointing out a few options, I cannot check 20 settings...&lt;br /&gt;
&lt;br /&gt;
Then continue with next diameter scan (the first time for each scan, reco twice again) &lt;br /&gt;
&lt;br /&gt;
The different diameter centers should be a steady function, so all the new center values should be increasing as diameter decreases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Modify RSQ&#039;s BHC for in-air scans===&lt;br /&gt;
This is necessary because the beam-hardening correction factor assumes scans were done in soft tissue.  It is necessary to choose calibrations of 1200 or 700, instead of the default 200.&lt;br /&gt;
&lt;br /&gt;
Currently, the XtremeCT has options for 200 (standard) or 1200 calibration (in air). &lt;br /&gt;
&lt;br /&gt;
To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration; modification of MICROCT user data&lt;br /&gt;
$ run ut:UCT_EXT_HEADER_ADD_CALIB.EXE&lt;br /&gt;
&amp;gt; Raw-Data-File []: DISK2:[MICROCT.DATA.00000401.00001495]C0001404.RSQ&lt;br /&gt;
&amp;gt; ...&lt;br /&gt;
&amp;gt; Add another BH-Corr from file again? (Y/N) [N]:    ! Enter yes (UCTD:UCT_BH_COEFF_60KV_1200HA_3309.TXT)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, &amp;lt;b&amp;gt;delete&amp;lt;/b&amp;gt; the old ISQ.  It must be deleted or else the header information will not be changed.  Finally, reconstruct the new ISQ and analyze...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate ISQ==&lt;br /&gt;
&lt;br /&gt;
===Read an ISQ header===&lt;br /&gt;
You can either read using the standard tool&lt;br /&gt;
&lt;br /&gt;
  $ ctheader C0014141.ISQ&lt;br /&gt;
  $ sh sym ctheader&lt;br /&gt;
    CTHEADER == &amp;quot;$UT:CTHEADER.EXE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Or, use the extended header tool to show the calibration data&lt;br /&gt;
&lt;br /&gt;
  $ run ut:uct_ext_header_display.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import ISQ===&lt;br /&gt;
When you import, please note that the sample number AND measurement number are updated, so meas 10907 is now 10908.&lt;br /&gt;
&lt;br /&gt;
Suppose you have a sample 3000, meas 10000, C0001234.isq, and want to import this into sample 3001, this is what I would do:&lt;br /&gt;
&lt;br /&gt;
To make a copy of the scan (i.e., keep it in sample 3000 and make another copy in 3001)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd *3000*10000&lt;br /&gt;
$ copy C0001234.isq D0001234.isq,  also copy any other files you want imported (RSQ, GOBJs, etc)&lt;br /&gt;
$ import&lt;br /&gt;
&lt;br /&gt;
UCT_IMPORT V1.2&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
ISQ-file []: D0001234.ISQ&lt;br /&gt;
&lt;br /&gt;
Sample number [0]: 3001&lt;br /&gt;
&lt;br /&gt;
Change File Header name [Y]: Y&lt;br /&gt;
&lt;br /&gt;
Optional: Operator Measurement [0]: 1     (1 = bonelab)&lt;br /&gt;
&lt;br /&gt;
Site   20 Radius L&lt;br /&gt;
&lt;br /&gt;
Optional: Controlfile Nr. [0]:                (change if desired)&lt;br /&gt;
&lt;br /&gt;
Execute Rename Command [Y]: Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
===Ring Artifact===&lt;br /&gt;
*Refer to [[Media:Microct_ring_correction.pdf|&#039;&#039;&#039;MicroCT Ring Correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Partial Volume Effect===&lt;br /&gt;
*Refer to [[Media:Partial_Volume_Effect.pdf|&#039;&#039;&#039;Partial Volume Effect&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Beam Hardening Correction (BHC)===&lt;br /&gt;
&lt;br /&gt;
====Use the right BHC====&lt;br /&gt;
*Refer to [[Media:Beam_hardening_correction.pdf|&#039;&#039;&#039;Use the right beam hardening correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understand Scanco BHC====&lt;br /&gt;
If you see lines like &#039;CCD_CORR: Expand BH-corr to1536&#039; etc. etc.: &lt;br /&gt;
&lt;br /&gt;
then we do a polynomial correction: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uctd:*bh_coeff*.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and you see a file with the scanner ID. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--&amp;gt; $ type uctd:UCT_BH_COEFF_60KV_0200HA_3309.TXT&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
! Function 9 is Addpolynom&lt;br /&gt;
Function:           9 A&lt;br /&gt;
0:  3  0.00000000 -0.38599902  0.30870225 -0.06162301&lt;br /&gt;
--&amp;gt; 0: for all pixels. 3 --&amp;gt; 3rd degree polynom, with factors: &lt;br /&gt;
x^0 = 0&lt;br /&gt;
x^1 = -0.38...&lt;br /&gt;
x^2 = 0.308...&lt;br /&gt;
x^3 = -0.061...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This polynom is added to the PROJECTION value (not the raw counts). &lt;br /&gt;
&lt;br /&gt;
the BH-corr is doing a &#039;linearization&#039;, e.g. see&lt;br /&gt;
&lt;br /&gt;
http://iospress.metapress.com/content/twcxb9jfk8knhpq2/&lt;br /&gt;
&lt;br /&gt;
for more info. &lt;br /&gt;
&lt;br /&gt;
The values in the middle of the scan are amplified more - not just because of their position, but because the object is thicker there, thus the projection values are higher, thus the correction term is higher.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE&amp;lt;/b&amp;gt; : Linearisation, as used by Scanco, will compensate &#039;soft-tissue&#039; beam hardening (inside of water phantom appears &amp;lt;b&amp;gt;LESS&amp;lt;/b&amp;gt; dense). Bone related beam hardening, e.g. soft tissue near skull appearing &amp;lt;b&amp;gt;MORE&amp;lt;/b&amp;gt; dense, will &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; generally be compensated. See Kak and Slaney &#039;Principles of computerized tomogprahic imaging&#039; and Joseph and Spital J Comp Assist Tomo 1978 vol 2 for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
&lt;br /&gt;
==Analysis Topics==&lt;br /&gt;
&lt;br /&gt;
===Cortical thickness analysis in standard evaluation===&lt;br /&gt;
&lt;br /&gt;
!!Note - with ipl v5.42 this should be changed to &amp;lt;code&amp;gt;/dt_cortical_thickness&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the IPL command &amp;lt;code&amp;gt;/dt_cortex_obj_param&amp;lt;/code&amp;gt; to measure cortical thickness using direct methods.&lt;br /&gt;
&lt;br /&gt;
When extracting the results from the database using &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt;, specify the &amp;lt;code&amp;gt;UCT_3D_LIST_W_CTH.TXT&amp;lt;/code&amp;gt; template in directory &amp;lt;code&amp;gt;DISK0:[MICROCT_COMMMON.UIL]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
UCT_LIST.EXE Version V5.1&lt;br /&gt;
Template-File [UCT_3D_LIST_SHEET]: DISK0:[MICROCT_COMMON.UIL]UCT_3D_LIST_W_CTH.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
UCT_3D_LIST_W_CTH.TXT is now the default template as of March 2009.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical porosity and finite element analysis on XtremeCT===&lt;br /&gt;
&lt;br /&gt;
* This procedure is broken down into 3 separate components&lt;br /&gt;
* All Scripts mentioned be copied directly from DISK3:[MICROCT.PROJECTS.KYLE.SCRIPTS]&lt;br /&gt;
* Files should be copied from data to projects prior to running analysis (see bonelab procedures.doc on sodor) &lt;br /&gt;
&lt;br /&gt;
1. Autocontour the image &amp;lt;br&amp;gt;&lt;br /&gt;
2. Calculate and extract cortical measurements &amp;lt;br&amp;gt;&lt;br /&gt;
3. Create FE files and run FE &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Autocontour====&lt;br /&gt;
* The main autocontour script is located in the ue: directory, this should NOT be modified!&lt;br /&gt;
* The procedure is executed using a &amp;quot;hijack&amp;quot; script [[Media:HIJACK_AUTOCONTOUR.TXT|&#039;&#039;&#039;HIJACK_AUTOCONTOUR.TXT&#039;&#039;&#039;]], but the filename must be changed to .COM or found in the directory mentioned above.&lt;br /&gt;
* Files should already have a _SEG.AIM created and should be in the same directory as the raw .AIM file.&lt;br /&gt;
&lt;br /&gt;
* You then create a SUBMIT.COM script as you would for other files. For example:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:HIJACK_AUTOCONTOUR.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
* This command will then create various files for examination and further analysis. These include:&lt;br /&gt;
** FILENAME_COMBI.AIM - shows cortical, trabecular, and pores all in different colors&lt;br /&gt;
** FILENAME_COMBIPO.AIM - shows only the cortex with porosity as different color&lt;br /&gt;
** FILENAME_CRTXFILL.AIM - gives sold mask of cortex, porosity filled (can be used to calculate Ct.Th)&lt;br /&gt;
** FILENAME_CRTXPO.AIM - shows only the pores&lt;br /&gt;
** FILENAME_TRAB.GOBJ - gobj of trabecular region&lt;br /&gt;
** FILENAME_CRTX.GOBJ - gobj of cortical region&lt;br /&gt;
** FILENAME_AUTO2.GOBJ - gobj of whole bone region&lt;br /&gt;
&lt;br /&gt;
* Further technical details and references can be found in the following publications:&lt;br /&gt;
** Buie, H., Campbell, G., Klinck, R., MacNeil, J., &amp;amp; Boyd, S. (2007). Automatic segmentation of cortical and trabecular compartments based on a dual threshold technique for in vivo micro-CT bone analysis. Bone, 41(4), 505-515. &lt;br /&gt;
** K.K. Nishiyama, Macdonald, H., Buie, H., Hanley, D., &amp;amp; Boyd, S. (2010). Postmenopausal Women With Osteopenia Have Higher Cortical Porosity and Thinner Cortices at the Distal Radius and Tibia Than Women With Normal aBMD: An In Vivo HR-pQCT Study. Journal of Bone and Mineral Research, 25(4), 882-890.&lt;br /&gt;
&lt;br /&gt;
====Evaluate Cortex====&lt;br /&gt;
&lt;br /&gt;
*This Step 2 method of doing the cortical analysis is no longer used now that we have the IPL_UPAT_CALGARY_EVAL_XT1.COM or XT2.COM version. The problem with this approach is that it is a Frankenstein of the standard analysis and the advanced analysis. The cortical bone assessment is correct, but the trabecular compartment from the standard analysis is not a perfect match. Instead, we should be using the GOBJs described in IPL_UPAT_CALGARY_EVAL_XT1.COM so that we have a perfect mix. &lt;br /&gt;
  &lt;br /&gt;
Nevertheless, we keep this information here for now for posterity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*After the autocontour is computed we used to call IPL_EVAL_CORTEX.COM that will calculate the cortical parameters:&lt;br /&gt;
**Cortical porosity (%)&lt;br /&gt;
**Direct cortical thickness (mm)&lt;br /&gt;
**Cortical density (mg HA/ccm)&lt;br /&gt;
&lt;br /&gt;
This WAS called as the following:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_EVAL_CORTEX.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME.AIM&#039;&#039;&#039; -&lt;br /&gt;
        /LOG=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.LOG]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;_EVAL_CRTX.LOG&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The results of this script are outputed into individual log files for each file being evaluated.&lt;br /&gt;
* To extract these results into one file use:&lt;br /&gt;
 $ search/output=output_results_filename.txt *EVAL_CRTX.LOG &amp;quot;!% ov/tv&amp;quot;,&amp;quot;!&amp;gt; C.Th&amp;quot;,&amp;quot;!% mean_unit&amp;quot;&lt;br /&gt;
*A learn command in the eve editor can be used to extract the specific results desired:&lt;br /&gt;
**!% ov/tv is the amount of bone in the cortex (ie. 1- ov/tv =  cortical porosity)&lt;br /&gt;
**!&amp;gt; C.Th is the direct cortical thickness in mm&lt;br /&gt;
**!% mean_unit is the cortical density in mg HA/ccm&lt;br /&gt;
&lt;br /&gt;
====Create and run FE models====&lt;br /&gt;
&lt;br /&gt;
*The most current common FE model to run is a homogeneous model where all elements have the same material properties and the cortex and trabecular regions are labeled separately in order to determine the percentage of load carried by each region.&lt;br /&gt;
*The other option is to create a model where the material properties are scaled based on the density values and scripts for this can be found in the COM directory.&lt;br /&gt;
&lt;br /&gt;
*The script IPL_FEM_HOMOGEMOUS_LS.COM will use files created by the autocontour and appropriately label the cortex and trabecular regions as well as remove any disconnected pieces of bone.&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_FEM_HOMOGENOUS_LS.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
*Files will now be created with the suffix _HOM_LS.AIM and can be moved to Mighty-Mac or Mavis for FE analysis.  You will require user accounts for these computers and can contact Eric or Steve. If using FTP be sure to transfer the files in binary mode (further documentation on this can be found in this Wiki)&lt;br /&gt;
&lt;br /&gt;
*[[Media:2009-10-15_FEM_Tutorial.pdf|&#039;&#039;&#039;FEM tutorial main steps&#039;&#039;&#039;]] to submit the FE files with a detailed manual is recommended for first time users.&lt;br /&gt;
*This is now out of date, but is kept here because it still contains useful information about preparing AIM files and post-processing.  &lt;br /&gt;
*For running the FE itself, please refer to the current manual at [[FAIM Finite Element Solver]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical midshaft analysis with moment of inertia calculation===&lt;br /&gt;
&lt;br /&gt;
This explains what happens when you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ midshaft       ! or&lt;br /&gt;
$ eval_midshaft &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw a rough contour around your slices: open the Contouring Sub-window, double-click on the big image, and it automatically finds the best contour. Then click on &#039;Selection&#039; &#039;Forwards&#039;, then &#039;Iterate Forwards&#039;.&lt;br /&gt;
&lt;br /&gt;
Then &#039;cancel&#039; the contouring sub-window, and start the 3D evaluation.  Make sure you have already set the correct threshold, sigma, support in file&lt;br /&gt;
&amp;lt;pre&amp;gt;DISK2:[MICROCT.EVAL]IPL_FIXED_BATCH_MIDSHAFT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should find a job called UCT_EVALUATION_MIDSHAFT and a SYS$SCRATCH:*_MIDSHAFT_*.LOG&lt;br /&gt;
&lt;br /&gt;
The IPL_FIXED_BATCH_MIDSHAFT.COM by default does not calculate the direct measurement results because you must have many more than 20 slices for these to be valid.  You can uncomment these parts of the file if you contoured the whole stack (i.e., stack thickness is &amp;gt;&amp;gt; than cortex thickness).&lt;br /&gt;
&lt;br /&gt;
TILDE: Note that you will see lots of tildes (~) on the result sheets. This is to tell you that, if the measurements were trabecular bone, those values would only be approximate. But now for the cortex, they are actually correct! (see below for more explanation about this) I would now use the tildes to check the &#039;excel&#039; table that the operator has taken the correct script for the trab. or cort. evaluations for the respective measurements!&lt;br /&gt;
&lt;br /&gt;
So what&#039;s the advantage of all this?  Now, also VOX-TV is correct!  So VOX-TV is the whole area, VOX-BV the doughnut, so TV - BV is the marrow area!  And still, TRI-Tb.Th is the cortical thickness (TRI-TV is NOT correct, because the .gobj feature was turned off).&lt;br /&gt;
&lt;br /&gt;
I say &#039;area&#039; above: depending on how many slices one individual scan has,&lt;br /&gt;
VOX-BV (and VOX-TV) might be different for different scans, so you will HAVE to&lt;br /&gt;
convert the volumes to area again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
volume equals area times height&lt;br /&gt;
--&amp;gt; Bone Area = VOX-BV / height = BV / (dim.z * el_size_mm.z)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and same for Total area, of course :-)&lt;br /&gt;
&lt;br /&gt;
POROSITY: If you want porosity of the bone itself draw two contours: one around, counter-clockwise, on on the inside, clock-wise (thus a &#039;negative&#039;, excluding contour). Now, TV will be just that ring area, BV will be the bone within that ring area, and BV/TV will be 1 - porosity, thus BV/TV 94% means 6% porosity.&lt;br /&gt;
&lt;br /&gt;
METAPHYSIS: Application of this script to metaphysis scan (with trab. in middle):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ midshaft&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw one contour around the cortex, and in the same slices, a NEGATIVE contour on&lt;br /&gt;
the inside (CW contour) to exclude the trabecular bone. You may potentially work with the BP (break-point) system to be able to morph the negative contours, even though there is already an &#039;outer&#039; contour around the bone in every slice.&lt;br /&gt;
&lt;br /&gt;
Start 3D eval, read out the data-base with &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: You CANNOT give the .gobj a special name such as c0001234_cortex.gobj if you are using the automatic evaluation button on UCT_EVALUATION.  Only after the eval (or midshaft eval) has finished, you may copy it to a more meaningful name, but all of the evaluations are just taking the STANDARD gobj name!&lt;br /&gt;
&lt;br /&gt;
Afterwards (after renaming or copying the _seg.aim to _cortex.aim, and .gobj to _cortex.gobj), you may want to start the very normal eval with normal (inner) contours to evaluate the trabecular compartement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Remember: the values in our 3D result database then are OVERWRITTEN.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a large study, I would recommend to run the $ midshaft for ALL&lt;br /&gt;
samples, &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; to e.g. &amp;lt;code&amp;gt;sys$scratch:mystudy_cortex.txt&amp;lt;/code&amp;gt;, &lt;br /&gt;
rename/copy gobj and seg for all, and THEN run the trabecular evaluation for all samples.  &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and you have two nice complete excel sheets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE ON PLATE MODEL: More explanations of why the plate model is correct&lt;br /&gt;
&lt;br /&gt;
Assume a ring (cortex).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Area = thickness * &#039;middle line&#039;.&lt;br /&gt;
&#039;middle line&#039; = average of outer and inner circumference&lt;br /&gt;
--&amp;gt; &#039;middle line&#039; = 0.5 * &#039;bone surface&#039;&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; thickness = bone volume * 2 / bone surface.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And this is nothing else but the &#039;plate model&#039; formula for Tb.Th!&lt;br /&gt;
&lt;br /&gt;
NORMAL TRABECULAR EVALUATION?  And why not just run the &#039;normal trabecular eval&#039;?  Because in the &#039;normal&#039; TRI calculation, we are EXCLUDING all surfaces that are created artificially by a gobj line that cuts through a trabecula.&lt;br /&gt;
&lt;br /&gt;
However, for the midshaft, this means the whole outer (or even inner, if also&lt;br /&gt;
inner contour is there) is SUPPRESSED, because it is touching the gobj line. So&lt;br /&gt;
this is where that midshaft script comes in: it turns off that suppression.&lt;br /&gt;
&lt;br /&gt;
MORE EXPLANATIONS: Why the direct DT-Tb.Th* is NOT correct for a scan with&lt;br /&gt;
just 12 slices.&lt;br /&gt;
&lt;br /&gt;
If we fill the structure with spheres, those spheres should be bounded by the&lt;br /&gt;
width of the cortex, not just by the fact that we only have 12 slices (and even more so, we are always doing &#039;aim box&#039; suppression with the spheres) if a sphere touches the boundary of the aim box, it is suppressed!&lt;br /&gt;
&lt;br /&gt;
So this is quite crucial for Tb.Sp and Tb.N. To get meaningful Tb.Sp, you would&lt;br /&gt;
need a LOT of slices. Also, then, you cannot have the inner contour - otherwise&lt;br /&gt;
the negative inner contour will delete the Tb.Sp. spheres.&lt;br /&gt;
&lt;br /&gt;
If you have enough slices, you may opt to turn the &amp;lt;code&amp;gt;/dt_object&amp;lt;/code&amp;gt; on again in the&lt;br /&gt;
midshaft script (second half). Then DT-Tb.Th* and TRI-Tb.Th just have a slightly different behaviour if there are little pores within the cortex:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TRI: the little pore just adds a little BS, thus the influence is not that big.&lt;br /&gt;
DT: the little pore cuts the thickness sphere in half, thus at that location, the thickness is halved.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MEAN1 and MEAN2: The script is also calculating Mean1 and Mean2 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Mean1: &#039;apparent&#039; density, average over whole TV&lt;br /&gt;
Mean2: &#039;tissue&#039; density: average over what was segmented as bone only.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These mean values will be in mg HA/ccm if you have the calibration option for bone density installed (and activated for those scans).  Remember: the bone has to have some soft-tissue (or equivalent) on the inside, and preferably also on the outside then.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Joint Thickness Measurements===&lt;br /&gt;
*Sample script to search histogram files for results: [[Media:Summarize_Joint_Th_Measurements.pdf|Summarize Joint Th Measurements]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Joint Space Width (JSW) analysis===&lt;br /&gt;
The scripts published in [https://doi.org/10.21037/qims.2019.12.11 Stok et al. 2020], and released by Scanco, are available for XCT1 and XCT2.&lt;br /&gt;
&lt;br /&gt;
On XCT2 they have been installed as Tasks #112 to #116.&lt;br /&gt;
&lt;br /&gt;
Instructions to run this analysis are available here [[Media:ESD_Joint_Space_Width_v2.3.pdf]].&lt;br /&gt;
&lt;br /&gt;
The full citation for this work is: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Stok KS, Burghardt AJ, Boutroy S, Peters MPH, Manske SL, Stadelmann V, Vilayphiou N, van den Bergh JP, Geusens P, Li X, Marotte H, van Rietbergen B, Boyd SK, Barnabe C; SPECTRA Collaboration. Consensus approach for 3D joint space width of metacarpophalangeal joints of rheumatoid arthritis patients using high-resolution peripheral quantitative computed tomography. Quant Imaging Med Surg. 2020 Feb;10(2):314-325. doi: 10.21037/qims.2019.12.11. PMID: 32190559; PMCID: PMC7063288.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==UCT_EVALUATION==&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION SOP===&lt;br /&gt;
====Start 3D evaluation from terminal for XtremeCT II====&lt;br /&gt;
&lt;br /&gt;
Logged into the terminal as &amp;quot;xtremect2&amp;quot; you can see the evaluation scripts in &amp;lt;code&amp;gt;IDISK1:[XTREMECT2.EVAL]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The morphological evaluation: Control file #25. It basically runs auto contouring (#23) and then the morphological analysis.&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_EVALUATION_V6_XT2_DT61.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_CORT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TRAB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TOTAL.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_CORT_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TRAB_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TOTAL_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Contouring scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK.COM&amp;lt;/code&amp;gt;: Creates automatically the standard GOBJ. Control file #22.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPL_AUTOK_CTTB.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT, TRAB and PORE.GOBJ (previously CRTXPO). Control file #23.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK_CTTB_CORR.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT and PORE.GOBJ, after manual correction on the TRAB.GOBJ. Control file #24.&lt;br /&gt;
&lt;br /&gt;
Laplace- Hamming scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH61_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH82_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results will be generated in the &amp;lt;code&amp;gt;IDISK2:[XTREMECT2.RESULTS]&amp;lt;/code&amp;gt; directory, in the same way as they are generated for the cortical analysis on XtremeCT I, i.e. using the uct database and appended text files.&lt;br /&gt;
&lt;br /&gt;
Laplace Hamming evaluations will generate results in the upat_list database. The direct measurements will be stored in the uct_list database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Symbols for XtremeCT II vs XtremeCT I====&lt;br /&gt;
&amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; account you get&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[MICROCT.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.3309.]&amp;quot;&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;code&amp;gt;xtremect2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[XTREMECT2.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So 3309 has its own directory where the software versions for the two scanners are different, e.g.&lt;br /&gt;
&lt;br /&gt;
  xtremect: DISK0:[MICROCT_COMMON.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
  microct: DISK0:[MICROCT_COMMON.3309.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
&lt;br /&gt;
We have defined some symbols for the different ipl versions:&lt;br /&gt;
&lt;br /&gt;
  IPL&lt;br /&gt;
  IPLREG&lt;br /&gt;
  IPLFE&lt;br /&gt;
  IPL_BATCH&lt;br /&gt;
  IPLREG_BATCH&lt;br /&gt;
  IPLFE_BATCH&lt;br /&gt;
&lt;br /&gt;
In the scripts you can directly use these symbols instead of ipl_scanco_prog (old style).&lt;br /&gt;
&lt;br /&gt;
IPL and IPL_BATCH are different for the two scanners because the newest version is not officially released for XT1.&lt;br /&gt;
IPL of the microct account (XT1) cannot read data of the xtremect2 account (XT2). The other way around it works.&lt;br /&gt;
&lt;br /&gt;
IPLREG and IPLREG_BATCH point to &amp;lt;code&amp;gt;$DISK1:[XTREMECT2.MAIN]IPL_SCANCO_REGIS_V107.EXE&amp;lt;/code&amp;gt; for both accounts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Start 3D evaluation from terminal for microCTs====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;Do not change &amp;lt;code&amp;gt;uct_evaulation_v4.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ipl_fixed_batch_v4.com&amp;lt;/code&amp;gt; in .eval, but only work on your own file (i.e., eval_steve).&lt;br /&gt;
&lt;br /&gt;
First, an explanation of how the normal evaluation runs by hitting the &#039;Start 3d&#039; button.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_v4.com/para=(xxx,yyy,zzz,…)&amp;lt;/pre&amp;gt;&lt;br /&gt;
There are 8 parameters:&lt;br /&gt;
*P1: number of print outs of our results sheet&lt;br /&gt;
*P2: the ISQ filename&lt;br /&gt;
*P3-5: start x (pos x), y, z&lt;br /&gt;
*P6-8: dim x, y, z&lt;br /&gt;
The parameters p3-p8 come from the white bounding box. The problem is that when you start from the terminal you do not have these. This problem can be overcome by using the &amp;lt;code&amp;gt;isq_to_aim_gobjbox.exe&amp;lt;/code&amp;gt; and then give the relevant parameters. You can &lt;br /&gt;
&amp;lt;code&amp;gt;$ run um: isq_to_aim_gobjbox.exe &amp;lt;/code&amp;gt;&lt;br /&gt;
to see what it&#039;s asking for.&lt;br /&gt;
By using gobjbox you do not need p3-p8. Therefore you can start the evaluation by giving:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_special_josh.com –&lt;br /&gt;
/para=(1,dk0:[microct.data.0000275.0000245]c0000332.ISQ)&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You can make &amp;lt;code&amp;gt;uct_evaluation_special_josh.com&amp;lt;/code&amp;gt; such that there is no need for P1 (change p2 to p1 in the script, etc).&lt;br /&gt;
*Alternatively to using the gobjbox you could use the normal isq_to_aim, but hard code the dim and pos.&lt;br /&gt;
*Then call whatever IPL files you want to call. Look into &amp;lt;code&amp;gt;fixed_batch_v4&amp;lt;/code&amp;gt; to see how we turn on the database always on the first line of every IPL part, and how we calculate parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Temporarily change evaluation for UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
In a terminal window, we need to redefine the logical that determines which&lt;br /&gt;
3D evaluation is associated with the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool.&lt;br /&gt;
&lt;br /&gt;
For example, typing &amp;lt;code&amp;gt;VOI&amp;lt;/code&amp;gt; runs the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool&lt;br /&gt;
by executing &amp;lt;code&amp;gt;UE:UCT_EVALUATION_VOI.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show logical UCT_EVALUATION&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then you can redefine this to point to another evaluation script.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ define UCT_EVALUATION UE:UCT_EVALUATION_CUTOUT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is only redefined in the particular terminal you are using, and it&lt;br /&gt;
will reset to its default in a new terminal.  It will also not work if you&lt;br /&gt;
try to submit the job to a queue.  It only works interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Assign special evaluation to UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: This is for advanced users ONLY.  Do not attempt this without contacting Steve!&lt;br /&gt;
&lt;br /&gt;
This will show how to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt;:&lt;br /&gt;
It is easy to set up multiple .COM files for the 3D evalulation tool, one such set-up is already prepared on your computer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eval_special&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will do something similar to &amp;lt;code&amp;gt;$ voi&amp;lt;/code&amp;gt; where the normal contour program opens, but if you start the 3D eval, the special script &amp;lt;code&amp;gt;um:uct_evaluation_special.com&amp;lt;/code&amp;gt; is called (associated with eval_special), which then in turn calls &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt;, where you can specify your own set of thresholds, etc.&lt;br /&gt;
&lt;br /&gt;
So it is a daisy chain of files which we will need to follow to set up a special &amp;lt;code&amp;gt;xxx_kyle.com&amp;lt;/code&amp;gt; script, and where ever we encounter &amp;lt;code&amp;gt;_special.com&amp;lt;/code&amp;gt;, we copy and change it to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; you will need to do the following:&lt;br /&gt;
&lt;br /&gt;
*1. Edit &amp;lt;code&amp;gt;disk1:[microct]microct_setup_user.com&amp;lt;/code&amp;gt; (double-click on file), please be careful here, it&#039;s very important! (and I hope you have done your &#039;weekly full backup&#039; regularly, so you could always retrieve a good version of login.com...)&lt;br /&gt;
&lt;br /&gt;
*2. Then, towards to bottom and duplicate the line&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_special :== @com:eval_var.com um:uct_evaluation_special.com&amp;lt;/code&amp;gt;&lt;br /&gt;
and change duplicate to&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_kyle    :== @com:eval_var.com um:uct_evaluation_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make this command &amp;lt;code&amp;gt;eval_kyle&amp;lt;/code&amp;gt; available after you login freshly. Save and Exit.&lt;br /&gt;
&lt;br /&gt;
*3. Then go to &amp;lt;code&amp;gt;disk1:[microct.eval]&amp;lt;/code&amp;gt; and copy the file &amp;lt;code&amp;gt;uct_evaluation_special.com&amp;lt;/code&amp;gt; to the name &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt; (&#039;Commands&#039;, &#039;Copy ...&#039;, BUT CLICK ON THE THREE DOTS and give new output name. &lt;br /&gt;
If you do not see the &amp;lt;code&amp;gt;eval_special:&amp;lt;/code&amp;gt; go to terminal, &amp;lt;code&amp;gt;$ dir ue:*special*.com&amp;lt;/code&amp;gt; and take it from the &amp;lt;code&amp;gt;microct_common&amp;lt;/code&amp;gt; directory)&lt;br /&gt;
&lt;br /&gt;
*4. Edit the &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt; file: at the top, change &amp;lt;code&amp;gt;ipl_......_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*5. Copy &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*6. Edit &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; to your liking. If you want &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; to not perform the full evaluation, but only something akin to &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt;, then, in the steps above, copy &amp;lt;code&amp;gt;uct_eval_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;ipl_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; (thus you take the &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; script as template for the &amp;lt;code&amp;gt;_kyle&amp;lt;/code&amp;gt; script).&lt;br /&gt;
&lt;br /&gt;
*7. Then open a new terminal (&#039;applications&#039;, &#039;decterm&#039;), &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; should work now!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;: When you start the 3D eval, then&lt;br /&gt;
&amp;lt;code&amp;gt;$ que&amp;lt;/code&amp;gt;&lt;br /&gt;
will show you your batch job with your name on it now!&lt;br /&gt;
&lt;br /&gt;
And now a few more explanations how the whole thing works: in all eval programs, hitting &#039;Start 3d&#039; just submits the logical &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$ show log uct_evaluation&amp;lt;/code&amp;gt; shows you that by default, this points to &amp;lt;code&amp;gt;ue:uct_evaluation_v4.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Those little &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;eval_steve&amp;lt;/code&amp;gt; scripts then just temporarily redefine this logical so that a different script is submitted when you &amp;lt;code&amp;gt;&#039;start 3d eval&#039;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
About the &#039;&#039;&#039;corelut eval&#039;&#039;&#039;: Then we start a whole different eval program: the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt;. So, if you set up a &amp;lt;code&amp;gt;eval_steve_c&amp;lt;/code&amp;gt; (or whatever you want to call it): Produce a &amp;lt;code&amp;gt;eval_var_c.com&amp;lt;/code&amp;gt; in the directory commands (maybe copy from microct_common to [microct.commands]), and there, on the last line, instead of starting&lt;br /&gt;
&amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
(the normal program), replace by&lt;br /&gt;
&amp;lt;code&amp;gt;$ evalc&amp;lt;/code&amp;gt;&lt;br /&gt;
which starts the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt; - and because the &amp;lt;code&amp;gt;eval_var.com&amp;lt;/code&amp;gt; has over-ridden the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; logical just before, then you are starting different script upon starting 3d eval.&lt;br /&gt;
NB: we have a logical AND a symbol called &amp;lt;code&amp;gt;uct_evalution&amp;lt;/code&amp;gt;. Sorry for confusion. Symbol &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; starts normal &amp;lt;code&amp;gt;eval&amp;lt;/code&amp;gt; program, so this is what you replace by symbol &amp;lt;code&amp;gt;evalc&amp;lt;/code&amp;gt; now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION FAQ===&lt;br /&gt;
====Warning: Not all required GOBJ files found, Continue anyway?====&lt;br /&gt;
This occurs when the chosen evaluation script is looking for a contour file, but can&#039;t find it.  &lt;br /&gt;
*To see what contours the script is looking for go to &amp;quot;File&amp;quot; then &amp;quot;Save GOBJ As...&amp;quot;.  You can now see the list of required gobj files.  &lt;br /&gt;
*For some scripts, it may not be necessary to supply a gobj and you can continue with the evaluation without it.  For example, the &amp;quot;3D Segmentation of VOI, 1 solid object&amp;quot; applies the contour to isolate the region of interest, however, this may not be necessary if the object of interest can be extracted from thresholding.&lt;br /&gt;
[[File:Save_gobj_as.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Attempt to access non-existent record CODE: 36====&lt;br /&gt;
The scan is most likely still in the process of being reconstructed.  Try to access the scan again in a few hours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Insufficient logical unit numbers CODE: 1409716====&lt;br /&gt;
Exit the evaluation program and restart it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Process quota exceeded====&lt;br /&gt;
&lt;br /&gt;
[[Image:Process_quota_error.JPG|300px]]&lt;br /&gt;
&lt;br /&gt;
When running UCT_EVALUATION from a dec terminal, an error when starting an evaluation may occur if there are to many dec terminals opened. &lt;br /&gt;
*The easy fix for this is to open the terminals from the applications menu in the [[Scanco_User_Instructions#Session_Manager|&#039;&#039;&#039;session manager&#039;&#039;&#039;]] instead of using the dec command. &lt;br /&gt;
*Alternatively you can set up a new login script and add &amp;lt;code&amp;gt;/DETACH&amp;lt;/code&amp;gt; to the dec definition &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEC == &amp;quot;CREATE/TERMINAL=DECTERM/DETACH&amp;quot;. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example script can be found here @DISK5:[BONELAB.PROJECTS.BUIE]SETUP.COM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Bug: UCT_EVALUATION v6 in customizing EVAL scripts====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_k_v6&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new evaluation tool v6 should be used in place of the older v5.  Please see the Documents section of this wiki for a manual on its use.&lt;br /&gt;
&lt;br /&gt;
Known bugs:&lt;br /&gt;
&lt;br /&gt;
When you are producing your own EVAL scripts, and want to call your own ipl file&lt;br /&gt;
or such:&lt;br /&gt;
&lt;br /&gt;
The &#039;EVAL:&#039; keyword in the scripts has the filenames of the&lt;br /&gt;
uct_evaluation_v6.com, then the ipl_v6_xxxx.com, then additional filenames (such&lt;br /&gt;
as the _prs.com to print and the 3dresults_append.com)&lt;br /&gt;
&lt;br /&gt;
Now, if you are in BASIC mode in the modify window, and you change any of the 3&lt;br /&gt;
filename fields, the last of the additional filenames is &#039;dropped&#039;... ooops...&lt;br /&gt;
&lt;br /&gt;
So please go to Advanced mode and check the long &#039;EVAL:&#039; keyword that all wished&lt;br /&gt;
files are still in the list, otherwise add the last again (most of the time,&lt;br /&gt;
that&#039;s the useful _3dresult_append.com script...)&lt;br /&gt;
&lt;br /&gt;
Will correct that of course in the next version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Left mouse button====&lt;br /&gt;
When the left mouse button doesn&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.  &lt;br /&gt;
*For remote sessions, turn of the Num Lock key (this will also allow you to use Ctrl-C and Ctrl-V to copy and paste contours).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Remove and insert keys====&lt;br /&gt;
&lt;br /&gt;
The remove and insert buttons on the keyboard don&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation FAQ==&lt;br /&gt;
&lt;br /&gt;
===Customize your evaluation script===&lt;br /&gt;
The basic procedure is to create your customized evaluation script is:&lt;br /&gt;
#Clear the database of existing results&lt;br /&gt;
#Do your evaluation&lt;br /&gt;
#Extract the results&lt;br /&gt;
#Paste results into excel template.  &lt;br /&gt;
You could repeat as necessary to evaluate a measurement multiple times and write out the results to a file.  &lt;br /&gt;
*You must submit all jobs to a single queue!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Start ipl and clear the database of existing results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/db_clear_eval&lt;br /&gt;
-input        &amp;quot;IPL_AIM&lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Insert your IPL evaluation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Extract the results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;$@com:extract_results.com P1 P2&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P1 is the aim file (including path) and P2 is the result file (including path)&lt;br /&gt;
&lt;br /&gt;
Example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@com:extract_results.com   DISK5:[BONELAB.PROJECTS.BUIE]MYAIM.AIM   DISK5:[BONELAB.PROJECTS.BUIE]MYRESULTS.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P2 should be the same for all samples in your project so that results are compiled into a single file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4) Paste results into excel template.&#039;&#039;&#039;&lt;br /&gt;
*Refer to the  [[Media:Extract_Results_Template.xlsx |&#039;&#039;&#039;Excel Extract Results Template&#039;&#039;&#039;]]. &lt;br /&gt;
*Open your results text file and copy and paste the contents into cell A2.  There&#039;s no need to use paste special since the sheet is protected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create your own IPL script===&lt;br /&gt;
&lt;br /&gt;
To make a script that would submit a job to the queue with the command as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you need to create your own IPL file would be translated to the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit /noprint /que=sys$slow ue:IPL_VOI_JOSH_M.COM &lt;br /&gt;
  - /log=sys$scratch:test.log /para=(&#039;aim_file&#039;,&#039;gobj_file&#039;,&#039;seg_file&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The IPL file would look something like this…&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$   if p1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$ 	THEN &lt;br /&gt;
$	write sys$output &amp;quot;Give DK0:[xxx]C0001234_SEG.aim on the line.&amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Or: &amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Type $ scanco_submit_command um:ipl_eval_autostart/para=(dk0:[xxx]c00123_seg.aim) &amp;quot;&lt;br /&gt;
$ 	exit&lt;br /&gt;
$   endif&lt;br /&gt;
$&lt;br /&gt;
$ gobj_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.GOBJ&amp;quot;&lt;br /&gt;
$ aim_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.AIM&amp;quot;&lt;br /&gt;
$&lt;br /&gt;
$!&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some more handy IPL sequences are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then you just need to give meas. number as P1 (and maybe slice range as p2),&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR, some nice starts are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P3 .EQS. &amp;quot;&amp;quot;&lt;br /&gt;
$    THEN&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to duplicate&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: New Sample Number from Database&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: New Start Letter of ISQ file&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P4: Optional: Operator Number&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P5: Optional: Controlfile Number&amp;quot;&lt;br /&gt;
$      EXIT&lt;br /&gt;
$    ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where you say which parameters HAVE to be there (up to p3), and which ones are optional.&lt;br /&gt;
&lt;br /&gt;
All together, the script may look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$    THEN &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to reco&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: Optional: Slice number N or Range M:N. Auto:All&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: Optional: Queue. Auto: sys$slow&amp;quot; &lt;br /&gt;
$      EXIT &lt;br /&gt;
$    ENDIF &lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A &lt;br /&gt;
$ if p3 .eqs. &amp;quot;&amp;quot; then p3 := SYS$SLOW &lt;br /&gt;
$ slices  = p2 &lt;br /&gt;
$ quename = p3 &lt;br /&gt;
$ INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1) &lt;br /&gt;
$ INPUT = INPUT - F$PARSE(INPUT,,,&amp;quot;VERSION&amp;quot;) &lt;br /&gt;
$ logfile = &amp;quot;sys$scratch:RECO_&amp;quot; + f$PARSE(input,,,&amp;quot;NAME&amp;quot;) + &amp;quot;.LOG&amp;quot; &lt;br /&gt;
$ submit/noprint/queue=&#039;quename&#039; uct_reconstruction_file - &lt;br /&gt;
    /para=(&#039;input&#039;,&#039;slices&#039;,&#039;logfile&#039;) &lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that &amp;lt;code&amp;gt;uct_reconstruction_file&amp;lt;/code&amp;gt; is a logical that points to &amp;lt;code&amp;gt;um:uct_reconstruction.com&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Logicals are preferred in scripts to make them more universal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Run Scanco cut and match function (on Percy)===&lt;br /&gt;
&lt;br /&gt;
;At DATA DISK: &lt;br /&gt;
Run&amp;lt;code&amp;gt;$ upat_list&amp;lt;/code&amp;gt;&lt;br /&gt;
*mode 1, list mode.&lt;br /&gt;
*Select patients and site, etc.&lt;br /&gt;
*Select the appropriate template file, e.g. &amp;lt;code&amp;gt;UE:UPAT_TEMPL_CUTMATCH_AUTO_PATTB_CT.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
*Output to a file, then run that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;At PROJECT DISK: &lt;br /&gt;
If you have moved the files to the project directory and renamed them, you can generate a script from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM&lt;br /&gt;
-P1 = filename with device and directory&lt;br /&gt;
-P2 = site (RR, RL, TR, TL)&lt;br /&gt;
-P3 = output filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, if we run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The script will search &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]&amp;lt;/code&amp;gt; for files in the form &amp;lt;code&amp;gt;G*RR*.AIM&amp;lt;/code&amp;gt; with the same&lt;br /&gt;
length as &amp;lt;code&amp;gt;GRACE_01_00MTH_RR&amp;lt;/code&amp;gt;, then check sample numbers to determine if the file is a follow-up scan.&lt;br /&gt;
*Upat_list is called to obtain position and dimension data for matching slices.  &lt;br /&gt;
*The output file &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/code&amp;gt; is created to submit and run the cut and match.  &lt;br /&gt;
&lt;br /&gt;
Before running, open the file and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For multiple files, do something like the following.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_02_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Open MYFILE.COM and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The script assumes all follow-ups are provided.  &lt;br /&gt;
*If follow-up scans are missing, it will be necessary to modify the output file so that the position and dimension data matches the files or update the &amp;lt;code&amp;gt;SEARCH_PROJECTS_CUTMATCH.COM&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==IPL FAQ==&lt;br /&gt;
===Submit a job to the queue===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint /que=sys$slow ipl_voi_josh_m.com /log=sys$scratch:test.log&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Rotate with turn3d / turn2d===&lt;br /&gt;
&lt;br /&gt;
The turn3d function can be used to perform a single rotation about any axis in 3d.  The turnaxis_angle input is the angle between the x, y, and z axes and the line about which the rotation will be performed.  The turnangle input is the amount to be rotated about the specified line.  To use this function to perform three sequential rotations about the image&#039;s original x, y, and z axes requires compensation for the previous rotations.&lt;br /&gt;
&lt;br /&gt;
To rotate an image from the axial view in the z plane to the sagittal view in the z plane: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ipl&lt;br /&gt;
/turn3d&lt;br /&gt;
  -input &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;   in&lt;br /&gt;
  -output &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;     out&lt;br /&gt;
  -turnaxis_angles     90 0 90&lt;br /&gt;
  -turnangle           90&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No interpolation is necessary as this is &amp;quot;pure reformatting&amp;quot; (turning +-90 or 180 degrees around x,y or z axis)&lt;br /&gt;
&lt;br /&gt;
For knee images, to put the femur above the tibia, you further add the step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/turn2d&lt;br /&gt;
  -input                      out&lt;br /&gt;
  -output                     happyFemur&lt;br /&gt;
  -turnangle                  270&lt;br /&gt;
  -turnpoint_global_not_local true&lt;br /&gt;
  -turnpoint                  -1 -1&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refer to [[Media:turn3d.pdf |&#039;&#039;&#039;turn3d.pdf&#039;&#039;&#039;]] for further instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Noise removal by component labeling===&lt;br /&gt;
*Refer to [[Media:ComponentLabeling.pdf|&#039;&#039;&#039;Noise removal by using component labeling&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create MSQ image and view===&lt;br /&gt;
&lt;br /&gt;
This is based on marching cubes.  See &amp;lt;code&amp;gt;IPL_UPAT_EVAL.COM&amp;lt;/code&amp;gt; for an example as per below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/read seg C0000214_SEG.AIM&lt;br /&gt;
&lt;br /&gt;
/sup_divide                               ! careful of the order of inputs here&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -suppos_pixels_local       -1 -1 -1&lt;br /&gt;
  -supdim_numbers            1 2 1&lt;br /&gt;
  -subdim_pixels             -1 -1 -1&lt;br /&gt;
  -testoff_pixels            0 0 0&lt;br /&gt;
&lt;br /&gt;
/sub_pick&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -output                    segsub&lt;br /&gt;
  -subpos_numbers            0 1 0&lt;br /&gt;
&lt;br /&gt;
/tri&lt;br /&gt;
  -input                     segsub&lt;br /&gt;
  -output                    tri&lt;br /&gt;
  -gobj_filename             none&lt;br /&gt;
  -peel_iter                 0&lt;br /&gt;
  -ip_sigma                  0.8&lt;br /&gt;
  -ip_support                1&lt;br /&gt;
  -ip_threshold              40&lt;br /&gt;
  -nr_ave_iter               2&lt;br /&gt;
  -size_image                512 512&lt;br /&gt;
  -scale_image               0.800000&lt;br /&gt;
  -edges                     false&lt;br /&gt;
  -nr_views                  1             ! Important&lt;br /&gt;
&lt;br /&gt;
/msq_from_aim&lt;br /&gt;
  -aim_name                  tri&lt;br /&gt;
  -msq_filename              C0000123_3D.MSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, use &amp;lt;code&amp;gt;UCT_3D&amp;lt;/code&amp;gt; to view it.  If you click on &amp;quot;animations&amp;quot; it will give you the option to read the MSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===db_scanco_activate associate evaluation database===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;/db_scanco_activate&amp;lt;/code&amp;gt; is used in the IPL files, the correct association with the evaluation database is through the Index Patient and Index Measurement in the AIM header.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Index Patient                                    3095&lt;br /&gt;
Index Measurement                                5962&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using IPL&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
$ read in xxx.aim&lt;br /&gt;
$ examine in log&lt;br /&gt;
$ db true           {activates database}&lt;br /&gt;
$ dt_object         {at end &amp;quot;writing results to database for measurement 1234&amp;quot;}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===dicom_to_aim bug in IPL v5.03===&lt;br /&gt;
&lt;br /&gt;
In IPL, use the /dicom_to_aim function.  There is a bug in pre IPL v5.03 which requires that a small AIM be read in before doing the DCM conversion.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; read in tmp.aim&lt;br /&gt;
ipl&amp;gt; dicom_to_aim&lt;br /&gt;
  -aim_name                  [in] &amp;gt; &lt;br /&gt;
  -dicom_filename            [default_file_name] &amp;gt; 4F65038B3986.DCM&lt;br /&gt;
  -multifile                 [false] &amp;gt; true&lt;br /&gt;
ipl&amp;gt; write in MYFILE.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand &amp;quot;New&amp;quot; DT functions in IPL v5.42===&lt;br /&gt;
&lt;br /&gt;
This applies to:&lt;br /&gt;
&amp;lt;pre&amp;gt;/distance_map              /dt_ow_thickness           /dt_number                &lt;br /&gt;
/dt_thickness              /dt_spacing                /dt_cortical_thickness&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
XT1 (old dt) and XT2 (new dt) use 0.5 for assign_epsilon and 0.9 for&lt;br /&gt;
ridge_epsilon.&lt;br /&gt;
&lt;br /&gt;
µCT uses 1.8 for assign_epsilon and 0.9 for ridge_epsilon (old dt).&lt;br /&gt;
&lt;br /&gt;
Therefore I recommend to take 0.9 and 1.8 also for the new dt functions&lt;br /&gt;
for µCT/vivaCT measurements.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;suppress_boundary&amp;lt;/code&amp;gt; feature is new and works as follows:&lt;br /&gt;
&lt;br /&gt;
0: The ridges and spheres are calculated on the full seg AIM, also&lt;br /&gt;
outside the gobj. At the end the gobj is applied.&lt;br /&gt;
&lt;br /&gt;
1: The ridges that are on the AIM boundary are not used for the&lt;br /&gt;
calculation of the maximal spheres.&lt;br /&gt;
&lt;br /&gt;
2: The ridges are calculated on the full seg aim but then the gobj is&lt;br /&gt;
applied to the ridges. This means that at the end there are only spheres&lt;br /&gt;
that have the center inside the structure (gobj). The maximal sphere&lt;br /&gt;
filling algorithm still accounts for the structure outside the gobj, but&lt;br /&gt;
only uses center points inside the gobj.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dt_thickness&amp;lt;/code&amp;gt; for example can be used in two different ways in a script:&lt;br /&gt;
&lt;br /&gt;
1) cut out aim - apply threshold - apply gobj - dt_thickness&lt;br /&gt;
This way the suppress_boundary options do influence the results&lt;br /&gt;
because there are no ridges outside the gobj anyway.&lt;br /&gt;
&lt;br /&gt;
2) cut out aim - apply threshold - dt_thickness (with corresponding gobj)&lt;br /&gt;
This calculates the dt on the full aim first and applies then the&lt;br /&gt;
gobj and suppress options.&lt;br /&gt;
&lt;br /&gt;
If you examine for example trabecular bone only on a small area bounded&lt;br /&gt;
by a gobj then the most accurate way to calculate the dt is to cut out a&lt;br /&gt;
much larger area (still containing trabecular bone) and use way 2) above&lt;br /&gt;
with suppress_boundary 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Develop new IPL commands in C===&lt;br /&gt;
*Refer to [[Media:IPL programming.doc|&#039;&#039;&#039;A short manual on how to develop new IPL commands in C&#039;&#039;&#039;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
&lt;br /&gt;
===UPAT_LIST command===&lt;br /&gt;
&lt;br /&gt;
*Refer to Scanco specification document on using the [[Media:Specification_upat_print_list_V2.0.pdf | &#039;&#039;&#039;Upat_print_list V2.0&#039;&#039;&#039;]] on XCT2.&lt;br /&gt;
*Refer to [[Media:Using_upat.docx |&#039;&#039;&#039;Using upat_list Additional Notes&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
upat_list (version 1.9 on XCT1) is identical to 2.0 except:&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using group codes&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using evaluation types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all of the available parameters for generating results using upat_list command:  &lt;br /&gt;
  $ upat_list -h&lt;br /&gt;
&lt;br /&gt;
  Program: upat_print_list V1.9&lt;br /&gt;
  Use the following modes to run upat_print_list:&lt;br /&gt;
    upat_print_list -list  for export to spreadsheet, default mode&lt;br /&gt;
    upat_print_list -print for PostScript output&lt;br /&gt;
    upat_print_list -show  for text output&lt;br /&gt;
    upat_print_list -advanced to access advanced options interactively&lt;br /&gt;
  Standard Command-Line Arguments:&lt;br /&gt;
    -b=&amp;lt;pat_nr&amp;gt;      First patient, default = 1&lt;br /&gt;
    -e=&amp;lt;pat_nr&amp;gt;      Last patient&lt;br /&gt;
                     In list &amp;amp; show modes, default = last patient in database&lt;br /&gt;
                     In print mode, default = first patient&lt;br /&gt;
    -s=&amp;lt;site_code&amp;gt;   Site code&lt;br /&gt;
                     In list &amp;amp; show modes, RL RR R* TL TR T* CU *, default = *&lt;br /&gt;
                     In print mode, RL RR TL TR CU, default = RL&lt;br /&gt;
    -mb=&amp;lt;date&amp;gt;       Begin of measurement period, default = 1st measurement date&lt;br /&gt;
    -me=&amp;lt;date&amp;gt;       End of measurement period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -f=&amp;lt;#_followups&amp;gt; Maximum number of follow-ups to match, default = 19&lt;br /&gt;
    -t=&amp;lt;file_name&amp;gt;   Name of template file&lt;br /&gt;
                     In list mode,  default = UPAT_LIST_SHEET&lt;br /&gt;
                     In print mode, default = UPAT_EVAL_SHEETxx&lt;br /&gt;
                     In show mode,  default = UPAT_SINGLE&lt;br /&gt;
    -o=&amp;lt;file_name&amp;gt;   Name of output file (in SYS$SCRATCH by default)&lt;br /&gt;
                     In list &amp;amp; print modes, stored in SYS$SCRATCH&lt;br /&gt;
                     In show mode, written to SYS$OUTPUT&lt;br /&gt;
    -c=&amp;lt;number&amp;gt;      Number of Print copies if in print mode. default = 1&lt;br /&gt;
    -v=&amp;lt;level&amp;gt;       Verbosity from 0 (silent) to 2 (verbose), default = 1&lt;br /&gt;
    -h               Print this help and exit&lt;br /&gt;
  Advanced Command-Line Arguments:&lt;br /&gt;
    -et=&amp;lt;eval_type&amp;gt;  Type code of evaluation, default = 2&lt;br /&gt;
    -eb=&amp;lt;date&amp;gt;       Begin of evaluation period, default = 1st measurement date&lt;br /&gt;
    -ee=&amp;lt;date&amp;gt;       End of evaluation period, default = current date&lt;br /&gt;
    -tb=&amp;lt;date&amp;gt;       Begin of matching period, default = 1st measurement date&lt;br /&gt;
    -te=&amp;lt;date&amp;gt;       End of matching period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -sk=&amp;lt;#_to_skip&amp;gt;  Number of measurements to skip, default = 0&lt;br /&gt;
    -m=&amp;lt;meas_list&amp;gt;   Numbered List of measurements to take, e.g. 0,1,2,5,8&lt;br /&gt;
    -nomatch         Do not match follow up measurement, just take all slices&lt;br /&gt;
    -sb              Begin of Slice Range in % to be evaluated&lt;br /&gt;
    -se              End of Slice Range in % to be evaluated&lt;br /&gt;
    -q               Only take evaluations with quality better than (and including) this.&lt;br /&gt;
                     If positive number: all scans of better quality (incl. this) as well as all non-graded scans are taken.&lt;br /&gt;
                     If negative number: non-graded scans are NOT taken.&lt;br /&gt;
    -qs              Only take Structural evaluations with quality better than (and including) this.&lt;br /&gt;
                     Thus: between -qd and -q: only Density results are printed.&lt;br /&gt;
                     Parameter is disregarded if -qs &amp;gt;= -q.&lt;br /&gt;
    -ut=&amp;lt;unit_type&amp;gt;  0-&amp;gt;default unit, 1-&amp;gt;linatt, 2-&amp;gt;mg HA/ccm, 3-&amp;gt;HU, default = 0&lt;br /&gt;
    -cd=&amp;lt;density&amp;gt;    Value of compact density to use, default = 1200.000000&lt;br /&gt;
  If no command line arguments are specified, upat_print_list runs interactively.&lt;br /&gt;
&lt;br /&gt;
Note that using &amp;quot;TB&amp;quot; and &amp;quot;TE&amp;quot;, you can pull out exact measurements in the specified date range, while using &amp;quot;MB&amp;quot; and &amp;quot;ME&amp;quot;,  all you get is the latest measurement no matter what date range provided.&lt;br /&gt;
&lt;br /&gt;
For results of all time points for a single site and sample # without matching to Baseline, use: &lt;br /&gt;
I.e. the common region will be 100% for all measurements.&lt;br /&gt;
  $ upat_list -nomatch&lt;br /&gt;
&lt;br /&gt;
From these options, you can write out your own command (vs. using prompts) to give you the specifics you are looking for.  &lt;br /&gt;
&lt;br /&gt;
By specifying the CAMOS template of “UPAT_EVAL_CAMOS.PS”, you will get the “Camos” report style.  For example:&lt;br /&gt;
  $ upat_list -nomatch -b=1000 -e=1000 -s=TL -tb=01-MAY-2000 -te=01-AUG-2018 -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_1000_tl_camos.ps&lt;br /&gt;
&lt;br /&gt;
Note that there are actually many kinds of report templates.  These can be found via:&lt;br /&gt;
  $ dir UU:*.PS&lt;br /&gt;
&lt;br /&gt;
“SCUSA” is a short form for Scanco USA templates.  I.e. templates that fit on an 8.5” X 11” page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract followup data without slice matching===&lt;br /&gt;
Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -advanced&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Choose &#039;disable slice matching:&#039; -&amp;gt; y.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract patient results on a slice-by-slice basis===&lt;br /&gt;
&lt;br /&gt;
There is an executable that was specially installed by Andres.  Run it as user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN ut:UPAT_EXPORT_MEASUREMENT.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose from &amp;quot;Style: 0 = default, 1 = raw&amp;quot;. Default gives standard patient parameters.&lt;br /&gt;
&lt;br /&gt;
This gives you the .txt file in scratch containing the morphological parameters determined for each slice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_LIST Extract results===&lt;br /&gt;
&lt;br /&gt;
Assuming you&#039;ve used the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to initialize your evaluations (either manually or through the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool) then you can get all of your results stored into a text file that can be easily imported in Excel.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list&amp;lt;/pre&amp;gt;&lt;br /&gt;
The output text file will be stored in &amp;lt;code&amp;gt;sys$scratch&amp;lt;/code&amp;gt; and you can ftp this to a PC so that it can be imported into excel and further analysis can be performed. &lt;br /&gt;
&lt;br /&gt;
Importing into Excel requires setting a deliminator based on the space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Customizing&amp;lt;/b&amp;gt; the &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt; output.&lt;br /&gt;
&lt;br /&gt;
The default list template is set by the logical &amp;lt;code&amp;gt;UCT_3D_LIST_SHEET&amp;lt;/code&amp;gt; which is normally&lt;br /&gt;
set to point to &amp;lt;code&amp;gt;UU:UCT_3D_LIST.TXT&amp;lt;/code&amp;gt;.  See the templates by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir uu:*.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Almost all the available keywords are in &amp;lt;code&amp;gt;UCT_3D_LIST.TXT&amp;lt;/code&amp;gt; enclosed&lt;br /&gt;
by \\ and //.&lt;br /&gt;
&lt;br /&gt;
Only when you use the &#039;show directly on screen mode&#039;: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list 1234&amp;lt;/pre&amp;gt;&lt;br /&gt;
then you need to do this to override the default output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def/user uct_3d_single_sheet  my-template_file.txt&lt;br /&gt;
$ uct_list 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some example format files are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UCT_3D_LIST.TXT&lt;br /&gt;
UCT_3D_SINGLE.TXT&lt;br /&gt;
UCT_3D_LIST_W_CRH.TXT&lt;br /&gt;
UCT_3D_MEANS.TXT       --&amp;gt; Use this to get the 5 mean values (i.e., calibration)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A summary of all the available keywords is available in &amp;lt;code&amp;gt;UU:UCT_3D_SINGLE_SHEET.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Name             :\\UCTMEASFILENAME//&lt;br /&gt;
Sample-Name      :\\SAMPLENAME//&lt;br /&gt;
Sample-Nr        :\\SAMPLENUMBER//&lt;br /&gt;
Meas-Nr          :\\UCTMEASNR//&lt;br /&gt;
Date of Birth    :\\SAMPLEDOB//&lt;br /&gt;
Sample-Remarks	 :\\SAMPLEREM//&lt;br /&gt;
Meas-Remarks     :\\UCTMEASREM//&lt;br /&gt;
Meas-NrofSlices  :\\UCTMEASNUMSLI//&lt;br /&gt;
Direct: -------------------------------------------------------------------&lt;br /&gt;
TV        : \\VOX_TV//&lt;br /&gt;
BV        : \\VOX_BV//&lt;br /&gt;
BV/TV     : \\VOX_BV_TV// &lt;br /&gt;
Conn.Dens.: \\UCT_CONN//&lt;br /&gt;
SMI       : \\MC_SMI//&lt;br /&gt;
Tb.N*     : \\DT_N//&lt;br /&gt;
Tb.Th*    : \\DT_TH//&lt;br /&gt;
Tb.Sp*    : \\DT_SP//&lt;br /&gt;
Tb.1/N.SD*: \\DT_N_SD//&lt;br /&gt;
Tb.Th.SD* : \\DT_TH_SD//&lt;br /&gt;
Tb.Sp.SD* : \\DT_SP_SD//&lt;br /&gt;
Lin.Att.1 : \\UCT_MU0// +-\\UCT_MU0_SD//&lt;br /&gt;
Lin.Att.2 : \\UCT_MU1// +-\\UCT_MU1_SD//&lt;br /&gt;
Lin.Att.3 : \\UCT_MU2// +-\\UCT_MU2_SD//&lt;br /&gt;
Lin.Att.4 : \\UCT_MU3// +-\\UCT_MU3_SD//&lt;br /&gt;
Lin.Att.5 : \\UCT_MU4// +-\\UCT_MU4_SD//&lt;br /&gt;
TRI (Plate Model): --------------------------------------------------------&lt;br /&gt;
TV        : \\MC_TV//&lt;br /&gt;
BV        : \\MC_BV//&lt;br /&gt;
BS        : \\MC_BS//&lt;br /&gt;
BV/TV     : \\MC_BV_TV//&lt;br /&gt;
BS/BV     : \\MC_BS_BV//&lt;br /&gt;
Tb.Th     : \\MC_TH//&lt;br /&gt;
Tb.Sp     : \\MC_SP//&lt;br /&gt;
Tb.N      : \\MC_N//&lt;br /&gt;
Anisotropy:  --------------------------------------------------------------&lt;br /&gt;
|H1|      : \\MC_H1//  H1x: \\MC_H1X//  H1y: \\MC_H1Y//  H1z: \\MC_H1Z//&lt;br /&gt;
|H2|      : \\MC_H2//  H2x: \\MC_H2X//  H2y: \\MC_H2Y//  H2z: \\MC_H2Z//&lt;br /&gt;
|H3|      : \\MC_H3//  H3x: \\MC_H3X//  H3y: \\MC_H3Y//  H3z: \\MC_H3Z//&lt;br /&gt;
DA        : \\MC_DA//&lt;br /&gt;
Dim X	  : \\VOX_DX//&lt;br /&gt;
Dim Y	  : \\VOX_DY//&lt;br /&gt;
Dim Z	  : \\VOX_DZ//&lt;br /&gt;
Pos X	  : \\VOX_PX//&lt;br /&gt;
Pos Y	  : \\VOX_PY//&lt;br /&gt;
Pos Z	  : \\VOX_PZ//&lt;br /&gt;
El-Siz X  : \\VOX_ELSX//&lt;br /&gt;
El-Siz Y  : \\VOX_ELSY//&lt;br /&gt;
El-Siz Z  : \\VOX_ELSZ//  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tabulate LOG results from 3D evaluations===&lt;br /&gt;
&lt;br /&gt;
Only use this if you have not used the standard &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool to generate your 3D evaluations (in which case see the HowTo related to the 3D database).&lt;br /&gt;
You can tabulate the LOG files:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or whatever you want to search for can be stored in a text file&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search/output=sys$scratch:ov.txt xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
To search more than one log file, and get the output into one single file:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ fda/output=xxx.txt search *.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The fda means &#039;file do all&#039; and is a script made by Scanco to do one command (search) on a wildcard of files (*.log). Then put all the ov.txt, tv.txt, name.txt etc. files into excel.&lt;br /&gt;
Josh has made a .com file that does a similar job as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Compile evaluation LOGs into one file===&lt;br /&gt;
&lt;br /&gt;
Call the &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; with the same construction&lt;br /&gt;
as &amp;lt;code&amp;gt;$ eval_special&amp;lt;/code&amp;gt;.  If you need help with this, see the HowTo on this&lt;br /&gt;
Wiki site (HowTo: Assign special 3D evaluation to the UCT_EVALUATION tool).&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; file to call a specific ipl &lt;br /&gt;
script as you wish.&lt;br /&gt;
&lt;br /&gt;
When you run the evaluation, you will have three new files created:&lt;br /&gt;
&lt;br /&gt;
:*Two files in the measurement directory (on DK0!) (one with each eval 3D results in its own file, and one &amp;lt;code&amp;gt;APPENDED_ALL.TXT&amp;lt;/code&amp;gt; file)&lt;br /&gt;
:*Then in sys$scratch, you will have one &amp;lt;code&amp;gt;SYS$SCRATCH:UCT_LIST_ALL_3D_RESULTS.LOG&amp;lt;/code&amp;gt; file with ALL 3D evaluations of all measurements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; You may need to edit the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to specify a single queue (i.e., /que=sceval$fast)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
&lt;br /&gt;
===Examine patient databases===&lt;br /&gt;
This is for advanced users only!&lt;br /&gt;
&lt;br /&gt;
There are two patient databases that get updated every time an evaluation is performed.  Below is the name of the database, and the method used to check database values:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_EVAL_DATABASE&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! as microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_SLICE_DATABASE&lt;br /&gt;
$ set host 0  ! login as user calibration&lt;br /&gt;
$ @disk1:[microct]login.com&lt;br /&gt;
$ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UPAT_GET_DB_INFO.EXE  ! enter &#039;1&#039; to list records&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the slice database every evaluation is recorded, but only one is currently active at a time.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Manipulate scan sequence===&lt;br /&gt;
&lt;br /&gt;
Upat_list reports the baseline scan and then the percentage change of follow-up scans from the baseline scan. The order of scans in upat_list is determined from the measurement number (not the measurement date). In the case you need to manipulate the baseline and follow-up sequence, you will need to: &lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;  Use this with caution, and as little as possible!! even if the operation is reversible. Database manipulation is sensitive after all.&lt;br /&gt;
&lt;br /&gt;
1. Log in as the &amp;quot;calibration&amp;quot; user (beware which calibration account to use for the different scanners).&lt;br /&gt;
&lt;br /&gt;
How to proceed in the terminal:&lt;br /&gt;
 $ SPB&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM    or  $ @DISK1:[XTREMECT2]LOGIN.COM    !! don&#039;t miss that line, otherwise you would modify the CALIBRATION databases&lt;br /&gt;
&lt;br /&gt;
2. Use the following command to modify the measurement number:&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_SAMPLE_FIRST.EXE          !! To redefine the very first measurement in the sequence&lt;br /&gt;
&lt;br /&gt;
:* I do mean &amp;quot;First&amp;quot; measurement in the sequence, and not &amp;quot;baseline&amp;quot; measurement. You may have 2 baseline scans, one for radius and one for the tibia, but only one of them is the very &amp;quot;first in the sequence&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_PREV_NEXT.EXE        !! To redefine the follow-up sequence beyond the first measure&lt;br /&gt;
&lt;br /&gt;
:* The PREV_NEXT utility is a bit tricky to use, as for each measurement you will have to define its &amp;quot;chronological&amp;quot; previous and its next. It is not related to any anatomical site: one might think for example of defining the Radius follow-up sequence for example. It is not the case. The PREV_NEXT sequence will alternate between different anatomical sites, that is how it should be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Add placeholders for missing follow-up scans===&lt;br /&gt;
If there is NO scan at a certain time point in a series (i.e. patient did not show up), the program ut:upat_create_meas_placehoder.exe and upat_create_eval_placeholder can insert fake records, so the slice matching and timepoints/visits are still all in order.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The attached file describes how to create an manage placeholders in the case of missing follow-up visits in longitudinal studies. [[Media:SOP_Create_Placeholders_draft.pdf|&#039;&#039;&#039;SOP Create Placeholders&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a database measurement===&lt;br /&gt;
&lt;br /&gt;
It is not possible to delete an evaluation from the database, but it can be disabled.&lt;br /&gt;
&lt;br /&gt;
NOTE: QC results are stored in the UCT database, and there is no tool to disable a UCT database result.&lt;br /&gt;
&lt;br /&gt;
Log in as the normal user (e.g. XTREMECT2). Then in a terminal you may use this simple utility program:&lt;br /&gt;
  $ RUN UT:UPAT_CORRECT_VALID_FLAG&lt;br /&gt;
&lt;br /&gt;
See below a typical prompt to deactivate an entry:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_CORRECT_VALID_FLAG V2.0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 1&lt;br /&gt;
Evaluation type [2]: 5&lt;br /&gt;
Group code [0]: 0&lt;br /&gt;
&lt;br /&gt;
Found evaluation 57 for patient 4: ID003&lt;br /&gt;
&lt;br /&gt;
Value for valid flag (0=invalid, 1=valid) [1]: 0&lt;br /&gt;
Value for placeholder flag (0=write results, 1=placeholder) [0]: 0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can always re-activate the entry, by switching the valid flag from 0 to 1. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or, to make a scan invalid, you can also login as calibration user.&lt;br /&gt;
&lt;br /&gt;
Point to microct user&lt;br /&gt;
&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM&lt;br /&gt;
&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
&lt;br /&gt;
 $ SPB&lt;br /&gt;
&lt;br /&gt;
Run Correction File&lt;br /&gt;
 $ run DISK1:[CALIBRATION.UTIL]UPAT_CORRECT_VALID_FLAG.EXE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a uct_list database measurement===&lt;br /&gt;
You cannot really disable data in the UCT_LIST output. What you can do using IPL is to clear the complete result entry for a given measurement, for example:&lt;br /&gt;
&lt;br /&gt;
  $ ipl&lt;br /&gt;
  /read&lt;br /&gt;
    -name                      in&lt;br /&gt;
    -filename                  default_file_name&lt;br /&gt;
  /db_scanco_activate&lt;br /&gt;
    -write                     true&lt;br /&gt;
  /db_clear_eval&lt;br /&gt;
    -input                     in&lt;br /&gt;
&lt;br /&gt;
Then UCT_LIST might still report the &amp;quot;disabled&amp;quot; measurement, leaving only the few first meta-data columns non empty. The rest would be cleared.&lt;br /&gt;
&lt;br /&gt;
I must bring your attention to the fact that this sequence is used a lot on XtremeCT I scripts, for the cortical porosity for example.&lt;br /&gt;
This means that on XT-I, the UCT_LIST content is highly unstable, as it was used back then while UPAT_LIST was not able to handle those results.&lt;br /&gt;
In the future, when new applications come they may delete/overwrite the UCT_LIST entry for a measurement. &lt;br /&gt;
That is the rationale for using the TXT output in the RESULTS directory, that at least keeps track of past analyses. &lt;br /&gt;
As long as you have a single application on XT-II going through UCT_LIST, calling results on demand with it is fine. Later it might come complicated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Troubleshoot UPAT database===&lt;br /&gt;
&lt;br /&gt;
If there is an error (&#039;inconsistent key change or duplicate key!&#039;) in the log file during &#039;upat_filldb&#039;, this is likely caused by too many servers doing UPAT evaluations:&lt;br /&gt;
&lt;br /&gt;
Basically, the UPAT database can not be accessed by 2 evaluation jobs &amp;quot;at the same time&amp;quot;, and works on a &amp;quot;1st arrived 1st served&amp;quot; basis. It is actually one reason to have only 1 evaluation at a time running on a single workstation (the usual setup).&lt;br /&gt;
In your case (and in mine as well), when you have several workstations clustered together, you can technically run several evaluation jobs at the same time which will eventually access the very same database. &lt;br /&gt;
So what happens is that a 1st job executes the /upat_fill_db, and accesses the database for a short amount of time.&lt;br /&gt;
During this time, any unfortunate evaluation job trying to access the database will end up in the exact same error as you reported, as their access to the database is restricted. Even though the time window is short, this kind of thing is unavoidable in setup such as ours, and when lots of evaluation are started at the same time.&lt;br /&gt;
Here you have no other choice than restarting the evaluation job, in order to update the database (or ultimately you could write a small script just to run the /upat_fill_db command, but I do not think it makes sense).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Redirect to a temporary database===&lt;br /&gt;
&lt;br /&gt;
We need to temporarily redefine the logicals UPAT_EVAL_DATABASE and UPAT_SLICE_DATABASE.  Normally, the definition is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_EVAL_DATABASE = UCTD:UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
UPAT_SLICE_DATABASE = UCTD:UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Typically, we submit our jobs to the queue with an IPL script, so within the script we&#039;ll have to redefine the name of the database by adding lines such as&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
so that the results from the IPL evaluation are redirected to this temporary database.&lt;br /&gt;
&lt;br /&gt;
Then, we need to extract the results from the database.  These results are provided on a slice by slice basis (at least with the UPAT data).  As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; in a terminal window, we will again need to redefine the database and then run the program that translates the results to a text file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! give the measurement number and output file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or extract the results from the temporary database with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&lt;br /&gt;
$ def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT  ! only necessary if data came from another system&lt;br /&gt;
$ def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT                            ! only necessary if data came from another system&lt;br /&gt;
&lt;br /&gt;
$ upat_list  ! choose option [3]show, give the patient number and output file, e.g. sys$scratch:myvalues.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an example IPL script that redirects to a temporary database, see Percy:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DISK1:[MICROCT.COMMANDS]IPL_UPAT_EVAL_AIMINPUT.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import from a foreign database===&lt;br /&gt;
IF MEASUREMENTS COME FROM A TOTALLY DIFFERENT DATABASE (such as Toronto&#039;s XCT):&lt;br /&gt;
&lt;br /&gt;
You will need to redefine the logicals UCT_MEASUREMENT_DATABASE and UCT_SAMPLE_DATABASE&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it is quite possible that you won&#039;t have a copy of the foreign MEASUREMENT and SAMPLE databases. If this is the case, then you &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; import the ISQ files into our own database. Then, by setting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define UCT_EVALUATION_DATABASE SYS$SCRATCH:TEMP_EVALUATIONS_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
you could redirect the results to a temporary database (but normally, if you already imported the data, why not use our own database now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Duplicate as new import to database===&lt;br /&gt;
&lt;br /&gt;
You will need to copy ISQ and GOBJ files to a new designated location. This is done when a screening study is completed to look for potential subjects and then a main longitudinal study is completed under a different study name.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1. Make a new patient/subject ID &amp;lt;br&amp;gt;&lt;br /&gt;
2. Make a copy of the ISQ. For example: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK2:[microct.DATA.00002584.00008992]*.isq - &lt;br /&gt;
       DISK2:[microct.DATA.00002696.00009345]*.isq  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
3. Import ISQ into new patient/subject ID number by typing:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ import&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
4. Follow the prompts for the ISQ file names, changing of control file # etc. &amp;lt;br&amp;gt;&lt;br /&gt;
5. Check the data directory to see if ISQ and GOBJ files have been copied properly &amp;lt;br&amp;gt; &lt;br /&gt;
2. In uct_evaluation, open new .ISQ and copied .GOBJ and re-run the evaluation to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
3. Copy Scout Views so scanning program will load baseline scout view for followup scans &amp;lt;br&amp;gt; In DISK1:[MICROCT.DATA.SCOUTS], you&#039;ll see two series of scout views: one series with the PATIENT # followed by 020 or 021 or 038 or 039, the site code (radius or tibia, left or right respectively)&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the old patient scouts to the new patient #s&lt;br /&gt;
For example (using the same old and new #s as above): &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK1:[MICROCT.DATA.SCOUTS]00002584021.SCV -&lt;br /&gt;
       DISK1:[MICROCT.DATA.SCOUTS]00002696021.SCV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover a disappeared due to import===&lt;br /&gt;
If you need duplicate a measurement in both the original and new directories, but you forgot copying the measurement before importing as a new. The original measurement will be automatically removed from the original directory.  This can be fixed!  You will need to copy the measurement back and then fix the header information, as the header will no longer match the original directory.&lt;br /&gt;
&lt;br /&gt;
1. Manually copy all of the associated files for the measurement from the new directory to the original directory:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$copy DISK2:[xtremect2.data.00001234.00001234]*.*;* DISK2:[xtremect2.data.00004321.00004321] /log&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
2. Change the header information of the measurement files to those of the original directory.  To do this, you will need special software.  The use of this software is RESTRICTED.  Users must seek special permission to use the software from Steve, Ying, or Anne BEFORE using.  Once you have permission, the software can be found here: DISK1:[MICROCT.COMMANDS.FORBIDDEN].&lt;br /&gt;
&lt;br /&gt;
3. Run the software:&amp;lt;pre&amp;gt; &lt;br /&gt;
$r [software]&lt;br /&gt;
 &amp;lt;/pre&amp;gt; &lt;br /&gt;
4. The software will ask for: &lt;br /&gt;
a) the ISQ file&lt;br /&gt;
b) the new sample # you would like to give it (i.e. the original directory sample #)&lt;br /&gt;
c) the new measurement # you would like to give it (i.e. the original directory measurement #)&lt;br /&gt;
c) the new sample name you would like to give it (i.e. the original Study ID)&lt;br /&gt;
&lt;br /&gt;
You can view the header information for a file by using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ctheader [ISQ file]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong Study_ID/Sample_No===&lt;br /&gt;
&lt;br /&gt;
Situation: One study participate was assigned in followup scans multiple Study_ID or multiple Sample_No under the same Study_ID. &lt;br /&gt;
Action:    To correct this mistake and update the database correctly, you get to &lt;br /&gt;
&lt;br /&gt;
1. Return/Restore the RSQ from tape to measurement disk using Move (not Copy) in uct_backup program, otherwise the new location won&#039;t have its RAW backup record and thus have no idea where its RSQ was located.&lt;br /&gt;
&lt;br /&gt;
2. When there is no original ISQ in the measurement disk, you will have to reconstruct a new ISQ from this RSQ. If there is an original ISQ there, then skip this step.&lt;br /&gt;
&lt;br /&gt;
3. Import ISQ into a new designated location (correct Study_ID and Sample_No with new Measurement_No). &lt;br /&gt;
    $ import&lt;br /&gt;
Follow the prompts for the ISQ file names, changing of control file # or site # if needed. This action will import RSQ, Gobj and all the files in the folder to the new location.&lt;br /&gt;
&lt;br /&gt;
A reminder is that without an ISQ ready by importing a RSQ only will produce wrong slice no. and site location in the database as shown in the uct_backup. &lt;br /&gt;
&lt;br /&gt;
4. If the ISQ is newly reconstructed (original ISQ could skip this step), the database will show the new reconstruction date &amp;amp; time (not the original scan date &amp;amp; time) as the scan records in the uct_backup. To correct this, &lt;br /&gt;
&lt;br /&gt;
    $run ut:uct_correct_meas_measdate&lt;br /&gt;
&lt;br /&gt;
1) To see the original scan date &amp;amp; time: run this command and follow the prompt and input the original measurement No. as the Index, but don&#039;t change this by copying and pasting it back in Messdatum/Zeit.&lt;br /&gt;
&lt;br /&gt;
2) To set the new scan date &amp;amp; time: run this command again and input the new measurement No. as the Index, copy &amp;amp; paste the original scan date &amp;amp; time got from 1) in Messdatum/Zeit. &lt;br /&gt;
&lt;br /&gt;
This way will update the database as shown in the uct_backup with the original scan date &amp;amp; time with newly reconstructed ISQ in the correct Study_ID and Sample_No.&lt;br /&gt;
&lt;br /&gt;
5. Backup/Move the RSQ at the new location to tape, so that the new record will have full information of both RAW and IMA. &lt;br /&gt;
&lt;br /&gt;
6. Even though ISQ, RSQ, GOBJ and all other files have been moved over to the new location, you will still need to re-run the evaluation (in uct_evaluation, open ISQ and GOBJ) to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong account used for scanning===&lt;br /&gt;
&lt;br /&gt;
Xtremect2 (on disk2) and xt2recalib (on disk6) accounts share the same databases. However, the definition of DK0 is account specific, ie. the scans are stored on different disks. So when scanning under Xtremect2 account instead of Xt2recalib account, to correct the wrong measurement location you will need to:&lt;br /&gt;
&lt;br /&gt;
#Create the patient directory on disk6:[xtremect2.data], if needed;&lt;br /&gt;
#Create the same measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Create a save set of the measurement folder on disk2:[xtremect2.data] with the isq, rsq, rad and scv files included;&lt;br /&gt;
#Unzip the save set in the measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Delete the measurement directory on disk2:[xtremect2.data] using delete command in the terminal. Caution: Do NOT use the backup program.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; This procedure is specific to this situation between Xtremect2 and Xt2recalib accounts, Microct and Xt1recalib accounts, and vice versa, but not applicable between any other accounts!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update database after RSQ/ISQ restoration===&lt;br /&gt;
&lt;br /&gt;
If you are restoring RSQ or ISQ files from tape (or other source) it might be preferable to do your analysis without resetting the database info.  &lt;br /&gt;
&lt;br /&gt;
The database is specific to the user.  So, we have to modify the database for &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;, and be careful not to modify the &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; (or other users) database.  However, we still need to have permissions from &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; in order to do the modification.&lt;br /&gt;
&lt;br /&gt;
When we restore an ISQ or RSQ to disk, the database needs to be updated to ensure it finds it.  We have to change the database back to say it&#039;s on disk.  To do this we need to log in as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
login as calibXXXX  where XXXX is the scanner id (5019 for VivaCT or 2339 for uCT35) or calib3309 or calib3401 (for the XtremeCT and XtremeCTII system, respectively).&lt;br /&gt;
password from Steve&lt;br /&gt;
&lt;br /&gt;
$ @ADISK1:[BONELAB]microct_setup_XXXX.com    ! XXXX=scanner id, sets the logicals to point to bonelab data for SB group&lt;br /&gt;
or&lt;br /&gt;
$ @ADISK1:[VIVACT]LOGIN.COM  ! sets the logicals to point to microct data for BH group&lt;br /&gt;
or&lt;br /&gt;
$ @DISK1:[MICROCT]LOGIN.COM ! sets the logicals to point to microct data on the XtremeCT system&lt;br /&gt;
or&lt;br /&gt;
$ @IDISK1:[XTREMECT2]MICROCT_SETUP.COM ! sets the logicals to point to xtremect2 data on the XtremeCT2 system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set proc/priv=bypass      or     $ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_DIR     ! make sure to include the full path to the executable as shown here. &lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_DIR.EXE     ! on xtremect2 system, use this program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Only change those items which have to be changed (e.g. just hit RETURN for RAW fields if you only want to change the IMA location.  Also, when specifying the directories, use DK0, not DISK2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:UCT_CORRECT_DIR.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Measurement Nr.:         1234&lt;br /&gt;
MeasNr.                  1234 &lt;br /&gt;
PatientNr:               268&lt;br /&gt;
RAW: RAW004&lt;br /&gt;
TP0:00001234_RAW&lt;br /&gt;
IMA: IMA002&lt;br /&gt;
TP0:00001234_IMA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW-Label: [ RAW004 ]&lt;br /&gt;
&lt;br /&gt;
RAW-Dir  : [ TP0:00001234_RAW ]&lt;br /&gt;
&lt;br /&gt;
IMA-Label: [ IMA002 ]   DISK&lt;br /&gt;
IMA-Dir  : [ TP0:00001234_IMA ]  DK0:[microct.data.00000456.00001234]&lt;br /&gt;
&lt;br /&gt;
Measurement Nr.:            0&lt;br /&gt;
End of program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The IMA-label does not matter on disk - but we have to write something to get rid of the IMA002, so &#039;DISK&#039; makes sense.&lt;br /&gt;
&lt;br /&gt;
Using the standard backup/archiving program, you can archive (MOVE TO) that IMA again to a tape, but use a DIFFERENT TAPE than where the first instance of this scan is on.&lt;br /&gt;
&lt;br /&gt;
Background: Tapes just write file after file, without any directory structure or hierarchy, so the program will always find the first instance (the old dataset) if you try to read it again from that tape.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; One other option is to change the permissions of UCT_CORRECT_DIR.EXE so that user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; can use it directly.  To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration&lt;br /&gt;
$ set prot=g:re ut:uct_correct_dir.exe&lt;br /&gt;
$ run disk1:[calibration.util]uct_correct_dir  ! as user microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Other FAQ==&lt;br /&gt;
&lt;br /&gt;
===View Sample info===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will show you sample-name and date-of-birth of sample-number 1234&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info -m 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will give you some (stupid) info about meas 1234&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you use this function all the time, put the following into &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_info  :== $um:uct_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then the usage info will even be correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===List measurements for data and backup location===&lt;br /&gt;
&lt;br /&gt;
*To generate a list of measurements that are registered in the database, to determine where backups are stored, or if the data is still on disk:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;$ write_info&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Ask you for a range of measurement numbers or sample names.&lt;br /&gt;
*Create a &amp;lt;code&amp;gt; sys$scratch:info.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Anonymize patient name and DOB===&lt;br /&gt;
&lt;br /&gt;
Here is the link to [[Media:SOP_Anonymize_patient_name_dob.pdf | Scanco&#039;s SOP]] to change a long list of patient&#039;s name and/or DOB to de-identify the data. &lt;br /&gt;
&lt;br /&gt;
This does not affect the headers of past RSQ, ISQ or AIM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix a wrong scan site code===&lt;br /&gt;
&lt;br /&gt;
This is done if accidentally scanned using the wrong control file. &lt;br /&gt;
For example scan site RR is scanned mistakenly under RL, or TL scanned by mistake using the control file for TR ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To see our site codes, e.g. 20 = RL, 21 = RR etc using &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show log *eval*&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Login as user calibration.  (Note that &#039;microct&#039; in the 3rd line below does NOT refer to XCT I.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
$ username: [enter calibration account, e.g. calib3401]&lt;br /&gt;
$ @disk1:[xtremect2]microct_setup.com     &lt;br /&gt;
&lt;br /&gt;
$ cd util&lt;br /&gt;
$ dir *site* &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you see two programs:&lt;br /&gt;
&lt;br /&gt;
Set priviledge to bypass first&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
 $ run uct_correct_meas_site&lt;br /&gt;
&lt;br /&gt;
and enter the meas. number to be corrected and then enter in the correct site code (20 = RL, 21 = RR, 38 = TL, 39 = TR). This modifies the database (of user microct), so the correct site is displayed in the eval program. (Enter meas. number 0 to exit program)&lt;br /&gt;
&lt;br /&gt;
Then we must also correct the ISQ and RSQ files (has to be restored from tape if not on disk):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run updh_site      !&#039;updh&#039; = update header&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and enter the &amp;lt;b&amp;gt;full (i.e. pathname included)&amp;lt;/b&amp;gt; ISQ or RSQ filename. For DISK6 data should use DISK6:[xtremect2.data....]. Then enter the correct site number.&lt;br /&gt;
&lt;br /&gt;
make sure to &amp;lt;b&amp;gt;logout!&amp;lt;/b&amp;gt; as user calibration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix for results fail to print/list/show after evaluation===&lt;br /&gt;
&lt;br /&gt;
There are a number of reasons the results may not print:&lt;br /&gt;
&lt;br /&gt;
====Incorrect first measurement number====&lt;br /&gt;
When sample information (such as patient name, DOB, remark) is changed DURING scanning, this can over write the 1st Scan measurement number, resulting in the evaluation sheet not being printed, and data not shown when running upat_list. For example, this happens when:&lt;br /&gt;
&lt;br /&gt;
1) open sample program, enter name, hit save, leave program open&lt;br /&gt;
&lt;br /&gt;
2) start scan (which would write correct record with 1st meas. in sample database)&lt;br /&gt;
&lt;br /&gt;
3) in sample program: then only enter DOB, and hit &#039;save&#039; again in the sample program --&amp;gt; it &#039;overwrites&#039; the 1st meas. with an empty string again.&lt;br /&gt;
&lt;br /&gt;
If you want to enter DOB after the scan has started, you HAVE to &#039;Find...&#039; and re-load that patient first (so it correctly loads the 1st meas. entry also). It is best to just not use the sample management program whilst scanning is taking place. &lt;br /&gt;
&lt;br /&gt;
However, if you do encounter this problem, use the following to fix (shown using patient 668 as an example. 1st scan measurement number was 2672):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 calibration&lt;br /&gt;
 xxxxx&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
 $ @[microct]microct_setup&lt;br /&gt;
 $ run [calibration.util]uct_correct_first&lt;br /&gt;
 $ r UCT_CORRECT_FIRST&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.: 668&lt;br /&gt;
 SampleNr.:          668&lt;br /&gt;
 First:            0&lt;br /&gt;
&lt;br /&gt;
 2672&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and continue with next non-working patient, give patient number 0 to exit.&lt;br /&gt;
&lt;br /&gt;
 $ logout&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Evaluation completed with results not written to database====&lt;br /&gt;
If the first measurement number and DOB are correct... check the .log file of the evaluation... However, if there is no upat*.log file available for that scan, use:&lt;br /&gt;
&lt;br /&gt;
upat_list -v=2 and you will see (for eg sample 594):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Found sample 594, CAMOS_0018&lt;br /&gt;
Found measurement 2536 made 19-MAR-2007 12:52:58.48&lt;br /&gt;
Measurement site RL found in list at index 0&lt;br /&gt;
Measurement 2536 within measurement period&lt;br /&gt;
ERROR finding evaluation for measurement 2536&lt;br /&gt;
&lt;br /&gt;
No valid evaluation found for measurement 2536&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So it seems the 3D upat eval never wrote anything to the database for that scan. In this case, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @ue:ipl_upat_eval_again_quick.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and let it run for the missing data. &lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039; it will only need the aim files and gobj files that you still have in your &#039;models&#039; directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Incorrect sequence of measurement numbers====&lt;br /&gt;
Finally, if none of these options work... check the order of measurement numbers: especially if an import has occured, first check the first measurement number is correct (as above). Then run sys$Scratch:uct_correct_prev_next.exe and correct the order of the measurements: The database keeps a &#039;daisy&#039; chain of meas. numbers, each meas. knows which one was the previous meas and the next meas.&lt;br /&gt;
&lt;br /&gt;
0 means: no prev. meas (or no next meas) So corrected the order for you like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ r UCT_CORRECT_prev_next&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop) [0]: 2821&lt;br /&gt;
MeasNo.:         2821 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]:   &amp;lt;-- leave 0&lt;br /&gt;
Next     [0]: 2828  &amp;lt;-- give next meas number&lt;br /&gt;
Measurement No. (0 to stop) [2828]:&lt;br /&gt;
MeasNo.:         2828 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]: 2821  &amp;lt;-- give prev. meas number&lt;br /&gt;
Next     [0]:  &amp;lt;-- leave 0 for very last meas.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Please note: the series of meas. numbers per patient is NOT separate per meas. site, thus radius and tibia meas. are linking to each other. &#039;&#039;&#039;Do not mess up!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Lab’s Data Responsibility==&lt;br /&gt;
*Weekly &lt;br /&gt;
#Clean up sys$scratch directory and only keep last week&#039;s data.&lt;br /&gt;
#Archive RSQ to corresponding tapes.&lt;br /&gt;
#*RSQ from temporary tests and non-project (not a formally established project) will NOT be archived unless specifically notified to lab personal.&lt;br /&gt;
#Database backup to disks.&lt;br /&gt;
*Monthly&lt;br /&gt;
#Database backup to corresponding tapes.&lt;br /&gt;
#Archive QC RSQ to corresponding tapes.&lt;br /&gt;
#Delete QC IMA and only keep last week&#039;s data.&lt;br /&gt;
*6-monthly&lt;br /&gt;
#System backup to corresponding tapes when prompted.&lt;br /&gt;
*Yearly&lt;br /&gt;
#Data Disk clean up when usage is over 90%.&lt;br /&gt;
#*Temporary tests and non-project RSQ and IMA data will be deleted during check up.  &lt;br /&gt;
#Project Disk clean up when usage is over 90%.&lt;br /&gt;
#Winston backups clean up.  &lt;br /&gt;
*Whenever requested&lt;br /&gt;
#Projects backup to Winston server and restoration.&lt;br /&gt;
#Projects archive to HOG server and restoration.&lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; STRONGLY URGE TO DO THE WEEKLY and MONHTLY BACKUP. Two users DID experience disk crashes before, and without the weekly backup, you may still have all scans on the data disk, but without the databases you cannot tell which scans belong the which sample.&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_management.pdf|&#039;&#039;&#039;XtremeCT Micro-CT Management SOP&#039;&#039;&#039;]] or [[Media:Microct_management.docx|&#039;&#039;&#039;its Word format&#039;&#039;&#039;]] for references.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==HP Server and Disk Array==&lt;br /&gt;
===HP References===&lt;br /&gt;
*[[Media:Hp-quick-specs-msa30.pdf|&#039;&#039;&#039;MSA30 Disk Array Quick Specs&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2620-sceva2-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2620 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2660-sceva3-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2660 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===HP FAQ===&lt;br /&gt;
====Change disk description for $ disks====&lt;br /&gt;
Login as the system user and change to the system commands directory.&lt;br /&gt;
&lt;br /&gt;
 $ cd scom&lt;br /&gt;
 $ eve show_disks.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Tape==&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; While the tape is running and writing to it, DO NOT LOG OUT, DO NOT INTERRUPT THE PROGRAM! This would make that tape unusable from this point on - you could still read from that tape up to this point, but could not add more scans to this tape.&lt;br /&gt;
&lt;br /&gt;
===Tape Label Convention===&lt;br /&gt;
Tape labels are 6 characters in length.  For the Bone Imaging Lab projects, the first three letters indicate if the tape is for raw (RAW) or image (IMA) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW040 = RAW date, tape #040&lt;br /&gt;
IMA001 = IMAGE data, tape #001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, the first two characters may be set to a PI&#039;s initials, the third character indicates if the tape is for raw (R) or image (I) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SBR040 = Steve Boyd RAW, tape #040 &amp;lt;br&amp;gt;&lt;br /&gt;
SBI001 = Steve Boyd IMA, tape #001 &amp;lt;br&amp;gt;&lt;br /&gt;
BHR006 = Benedikt Hallgrimsson RAW, tape #006 &amp;lt;br&amp;gt;&lt;br /&gt;
BHI017 = Benedikt Hallgrimsson IMA, tape #017 &amp;lt;br&amp;gt;&lt;br /&gt;
FJR012 = Frank Jirik RAW, tape #012 &amp;lt;br&amp;gt;&lt;br /&gt;
FJI003 = Frank Jirik IMA, tape #003 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CaMos raw data is backed up with the following naming:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CAMOS1 = CaMos RAW, tape #1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When a tape becomes full, start (initialize) a new tape, increasing the tape number by one so that each tape label is unique.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Initialize a New Tape===&lt;br /&gt;
Put a new tape into the tape drive, then press &amp;quot;Initialize&amp;quot;, this will format (erase) everything on the tape.  When prompted for a label for the tape, follow the [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]].  The tape can now be mounted for use.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic02.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Full Tape===&lt;br /&gt;
A tape automatically ejects during a backup procedure if it becomes full.  &lt;br /&gt;
*Remove the tape and write protect it (orange indicator will be displayed).  &lt;br /&gt;
*Exit the disk-utility program. &lt;br /&gt;
:*Hit &amp;lt;code&amp;gt;ctrl/c&amp;lt;/code&amp;gt; to interrupt the program if needed. &lt;br /&gt;
*Start a new instance of the program.  &lt;br /&gt;
*[[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;Initialize a New Tape&#039;&#039;&#039;]].  &lt;br /&gt;
*Backup any remaining files.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic03.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape Drive Setup on XCT cluster===&lt;br /&gt;
Both the old and new tape drives are connected to SC3309 (XCT1) and powered on. You do not need to power off one to use another.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
New tape in new drive &amp;lt;--&amp;gt; microct, xtremect2, xt2recalib, calib3401, calib3309&lt;br /&gt;
&lt;br /&gt;
:*The &#039;new&#039; Ultrium 3000 tape drive is for the new tapes and the default tape drive for all other accounts (microct, xtremect2, xt2recalib, calib3309, calib3401). &lt;br /&gt;
:*Use the following command to use the old SDLT tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sdlt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Old tape in old drive &amp;lt;--&amp;gt;  xt1recalib  &lt;br /&gt;
&lt;br /&gt;
:*The &#039;old&#039; SDLT tape drive is for the old tapes. You have to log into the default xt1recalib account to recognize this tape drive. &lt;br /&gt;
:*Restoring from old tapes in xt1recalib account will restore your data to DISK6:[MICROCT.DATA]. &lt;br /&gt;
:*By default, xt1recalib account can only see old tape drive, not the new tape drive.&lt;br /&gt;
:*Use the following command to use the new tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sas&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*With either of the above commands, you must not &amp;quot;submit&amp;quot; the tape usage jobs to the queue (i.e., cannot run a batch backup from a script), but only run them interactively in the &lt;br /&gt;
software. Any job in the queue will use the default tape drive again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract from Tape===&lt;br /&gt;
&lt;br /&gt;
====Scripts to Extract from Tape====&lt;br /&gt;
Generally, all files on the tape can be extracted, or only specific files.&lt;br /&gt;
To extract all files on a tape, for example, a tape received from a collaborator, insert the tape into the drive and do the following:&lt;br /&gt;
  $ cd ur&lt;br /&gt;
  $ create/dir [.collaborator]&lt;br /&gt;
  $ create/dir [.collaborator.com]&lt;br /&gt;
  $ create/dir [.collaborator.log]&lt;br /&gt;
  $ create/dir [.collaborator.models]&lt;br /&gt;
  $ cd ur collaborator models&lt;br /&gt;
  $ backup/log tp0:*.sav []/by=parent  ! be sure you are the user (i.e. &#039;microct&#039; or &#039;xtremect2&#039;) that has permission&lt;br /&gt;
  $ backup/log tp0:*.sav DISK4:[BONELAB.PROJECTS.FRAMINGHAM.MODELS...]/by=parent ! The &amp;quot;...&amp;quot; keeps the directory structure. The /by=parent ensures owner of the files is same as parent directory&lt;br /&gt;
&lt;br /&gt;
This will save all the files on the tape to the current directory. Alternatively, if you only want a certain file extracted from the tape, such as an RSQ file, do essentially the same as per above, except with a different final command:&lt;br /&gt;
  $ backup/log tp0:*.sav/select=*.rsq []/by=parent&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/by=parent&amp;lt;/code&amp;gt; part of the command is a qualified for the file owner, and it makes the files that are copied the same owner as the parent directory (nothing to do with how directories are structured). The &amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt; generates sub-directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A custom script is required when extracting data from tape from another micro-CT system or to extract the data to a central location (e.g., a user&#039;s directory).  &lt;br /&gt;
*The script is then submitted to the backup queue of the workstation the tape drive is connected to (i.e., SCEVA3_BACKUP)&lt;br /&gt;
*Some example scripts are provided below.&lt;br /&gt;
&lt;br /&gt;
*Extract image data for three scans to a custom folder, maintaining the sample and measurement directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for three scans to a custom folder without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for all scans on tape to a custom folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:*_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract raw data for three scans to a custom folder, without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape FAQ===&lt;br /&gt;
====Error: Can&#039;t mount tape, Medium offline====&lt;br /&gt;
This can happen if a tape is interrupted during use (e.g., due to a power failure or system restart while the tape drive is in operation).&lt;br /&gt;
&lt;br /&gt;
#Use the manual eject button to remove the tape from the drive.&lt;br /&gt;
#Turn off the tape drive, the switch is on the back of the drive.&lt;br /&gt;
#Shutdown the whole micro-CT system.&lt;br /&gt;
#Turn on the tape drive.&lt;br /&gt;
#Startup the micro-CT system, starting with the server.&lt;br /&gt;
#Try to mount the same tape again.&lt;br /&gt;
&lt;br /&gt;
If the above does not work then either the tape or the tape drive is damaged.  To determine if it is the drive, take a brand new tape and try to initialize it.  Do not use a tape with data on it in the drive unless you are certain the drive is okay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: positioning====&lt;br /&gt;
This can have two reasons usually:&lt;br /&gt;
&lt;br /&gt;
#The tape is just faulty. Try with a fresh tape.&lt;br /&gt;
#A previous tape write operation was interrupted (e.g., a user did an &#039;End Session&#039;, the power went out, or the eject button was pressed on the tape drive, which killed the backup program). In this case the drive did not write the very important &#039;End of Tape&#039; marker, and now, the tape drive cannot find the current place where it can start adding new data. &lt;br /&gt;
*Solution: either take a fresh tape, or if there were only a few scans are on the &#039;bad&#039; tape, &#039;Move to Hard Disk&#039; of ALL the scans on that tape, check that the scans have been retrieved well, then initialize that tape again (which will erase everything on the tape!) and archive those scans again. &lt;br /&gt;
*IMPORTANT: never interrupt the tape drive while it is running!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: parity====&lt;br /&gt;
Either tape or the tape drive is faulty. Take a fresh tape (potentially from a new batch of tapes), and see if the error persists. &lt;br /&gt;
*If yes: have the tape drive repaired. &lt;br /&gt;
*Further things to check: for DLT and SDLT tape drives: is the terminator (&#039;dead end&#039;) connected on the second SCSI port in the back of the tape drive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: non-responsive tape drive====&lt;br /&gt;
This can occur if the user ejects the tape with the little button (and not with the recommended &amp;quot;dismount&amp;quot; button in the uct_backup program).  This can also occur if a tape is mounted immediately after one is dismounted.  You get the same error for both cases, &amp;quot;medium offline&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
:*Check all that all cables are connected.&lt;br /&gt;
&lt;br /&gt;
:*Check that the number on the back of the drive says &amp;quot;5&amp;quot; (use +/- to adjust if necessary)&lt;br /&gt;
&lt;br /&gt;
:*Check that the top connector has a cable connecting to the computer and the bottom one has a terminator.&lt;br /&gt;
&lt;br /&gt;
:*Try turning the tape drive on and off again.&lt;br /&gt;
&lt;br /&gt;
:*Log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; (you will need a password from Steve):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto/sele=mk&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it&#039;s online again, then great.  If not, then the last resort is to reboot the entire system.  If this doesn&#039;t work, then shut down the system (see user manual for proper steps) and eject the tape.  You may need to turn the computer back on before it will eject.  The tape drive should be turned on first (no tape), then the server, and any other computers.  Check that the drive is online ($ show device mk).  If it is, then test the drive by initializing, mounting and dismounting a brand new tape.  If the drive is not online, do not insert any tapes or they will likely get stuck.  Log in as system and re-try the command lines shown above.&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a stubborn tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: stubborn tape drive====&lt;br /&gt;
If the drive cannot be mounted, or it is not visible with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then something went wrong.  For example, the server computer was booted while the tape was turned off. It then does not load the driver.&lt;br /&gt;
&lt;br /&gt;
You can &#039;force load&#039; it - but this will disconnect the scanner for a moment, so only do it while no scan is running:&lt;br /&gt;
&lt;br /&gt;
as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;, on sc3309:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto&lt;br /&gt;
&lt;br /&gt;
$ show dev tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you should see it now (otherwise turn on the tape drive, and do again)&lt;br /&gt;
&lt;br /&gt;
Then you&#039;ll also have to make it available to all users:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a non-responsive tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====SDLT320 Tape and Tape Drive FAQ====&lt;br /&gt;
Please refer to [[Media:Hp-faq-sdlt320-tape-drive-and-sdlt-tapes.pdf|&#039;&#039;&#039;SDLT320 Tape and Tape Drive FAQ&#039;&#039;&#039;]] for details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==USB Drive==&lt;br /&gt;
&lt;br /&gt;
===Use a USB drive===&lt;br /&gt;
Connect USB to VMS system and format. &lt;br /&gt;
&lt;br /&gt;
Transfer files from the terminal after plugging in the USB device&lt;br /&gt;
  $ show device dna&lt;br /&gt;
Usually the device is dna1 or dna2&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ create/dir dna2:[microct]&lt;br /&gt;
  $ copy dk0:[microct]&lt;br /&gt;
or&lt;br /&gt;
  $ backup/log dk0:[&lt;br /&gt;
and then&lt;br /&gt;
  $ dismount dna2&lt;br /&gt;
&lt;br /&gt;
Transfer files back again&lt;br /&gt;
&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ dir dna2:[microct]&lt;br /&gt;
  $ copy dna2:[microct]myfile.txt disk1:[microct.data.00000702.00001234]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===USB Device Usage with Scanco Backup/Archive Software===&lt;br /&gt;
&lt;br /&gt;
For illustrated help on Itanium rx2660s , please refer to [[Media:Scanco_TDxxx-USB_Device_Usage.pdf | &#039;&#039;&#039;Scanco_TDxxx-USB_Device_Usage.pdf&#039;&#039;&#039; ]]&lt;br /&gt;
 &lt;br /&gt;
====Initialize procedure====&lt;br /&gt;
If an external USB device is to be used to archive measurement data, the USB device must be initialized by Open-&lt;br /&gt;
VMS. The data will not be accessible from any other operating system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium rx2660.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1.1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Initialize&amp;lt;” button in the “USB Device” section to initialize the USB device.&lt;br /&gt;
&lt;br /&gt;
- Confirm the Warning message. Note: All data currently on the device will be erased!&lt;br /&gt;
&lt;br /&gt;
- Enter a six-character label&lt;br /&gt;
&lt;br /&gt;
The USB device will be initialized and mounted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Archive procedure====&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Mount” button in the “USB Device” section to mount the USB device.&lt;br /&gt;
&lt;br /&gt;
The device label of the mounted USB device will be shown in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be archived.&lt;br /&gt;
&lt;br /&gt;
- Select “Move To:” and “USB/VMS” and click “Start&amp;lt;” to archive the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
After the move procedure, the new current location of the measurement data will be shown next to the files path.&lt;br /&gt;
&lt;br /&gt;
- “Dismount” the USB device when done with archiving.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Manual file copy procedure====&lt;br /&gt;
An OpenVMS formatted USB device can also be mounted and used for file storage using commands in a DECterm.&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- List available devices. The last shown device is usually the attached USB device; dna12 in this example.&lt;br /&gt;
    $ show device dna&lt;br /&gt;
&lt;br /&gt;
- Mount the USB device using the correct device name&lt;br /&gt;
    $ mount /over=id dna12&lt;br /&gt;
&lt;br /&gt;
- Create a root directory. Ignore any messages if the directory already exists.&lt;br /&gt;
    $ create /dir dna12:[microct]&lt;br /&gt;
&lt;br /&gt;
- Copy any wished files to the USB device&lt;br /&gt;
    $ copy {source files} dna12:[microct] /log&lt;br /&gt;
&lt;br /&gt;
- Dismount the USB device&lt;br /&gt;
    $ dismount dna12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Exporting Files / FAT file system====&lt;br /&gt;
If an external USB device is to be used to export measurement data to a Windows or MAC OS, the USB device must be formatted as FAT file system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Do not “Initialize&amp;lt;” or “Mount” the USB device !&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be copied to the USB device, may be even sub-select the wished file type&lt;br /&gt;
(TIF files in the example below).&lt;br /&gt;
&lt;br /&gt;
- Select “Copy To:” and “USB/FAT” and click “Start&amp;lt;” to copy the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
Once the USB device is connected to Windows or MAC OS, it will show a ZIP file named like the copied measurement&lt;br /&gt;
number. This ZIP file contains the same directory structure like the data disk on OpenVMS: &lt;br /&gt;
&lt;br /&gt;
data\sample number\measurement number&lt;br /&gt;
&lt;br /&gt;
In the lowest sub-directory are the copied files, as selected in the backup/archive software (TIF files in this example).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Problems with connected USB devices===&lt;br /&gt;
&lt;br /&gt;
Sometimes USB configurations can be problematic, in which case log in as &amp;quot;system&amp;quot; on the server and run&lt;br /&gt;
&lt;br /&gt;
  $ dir/date SYS$SYSROOT:[SYSEXE]USB$UCM_DEVICES.DAT&lt;br /&gt;
&lt;br /&gt;
to see whether a file was created recently. If one has, delete that file and reboot the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==CDROM==&lt;br /&gt;
===Mount a CDROM===&lt;br /&gt;
&lt;br /&gt;
Device could be &amp;lt;code&amp;gt;dqa0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dqb0&amp;lt;/code&amp;gt;.  I&#039;m not sure which works:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/override=id dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dismount dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Saveset and Zip files==&lt;br /&gt;
&lt;br /&gt;
===Saveset===&lt;br /&gt;
&lt;br /&gt;
====Saveset Naming Convention====&lt;br /&gt;
The Scanco backup program stores raw (RAW) and image (IMA) data as save sets (SAV).  &lt;br /&gt;
*RAW save sets contain RSQ files and IMA savesets contain all other file types.  &lt;br /&gt;
*The saveset filename is composed of the 8-digit measurement number plus &amp;quot;_RAW.SAV&amp;quot; for raw data and &amp;quot;_IMA.SAV&amp;quot; for image data.  &lt;br /&gt;
*For example, the data for a scan with measurement number 1234 would be stored as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00001234_RAW.SAV  ?  RSQ&lt;br /&gt;
00001234_IMA.SAV  ?  all other files, ISQ, AIM, GOBJ, TXT, SCV, etc.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Create and Unpack Saveset====&lt;br /&gt;
Savesets are OpenVMS backup files, similar to a zip.  Use the backup command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG disk3:[microct.projects.buie...] disk3:[microct.projects]buie2012.sav/sav	&lt;br /&gt;
                !Creates a saveset file of disk3:[microct.projects.buie].  &lt;br /&gt;
                !The ... after the folder indicates to include all subfolders and files.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie]&lt;br /&gt;
                !Unpacks the whole saveset to disk3:[microct.projects.buie]&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie...]	&lt;br /&gt;
                !The ... at the end of the output location indicates to unpack the saveset and maintain the original directory structure.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=*.aim disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of only aim file types.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=[microct.data...] disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of the folder data and all subfolders and files.&lt;br /&gt;
$ HELP BACKUP   !More information on the backup command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====View Saveset Contents====&lt;br /&gt;
To view contents of a saveset (SAV) on disk:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/list upat_print_list_nomatch.sav/sav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the savesets (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view contents of a saveset (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list tp0:*.*  ! OR, backup/list tp0:*.SAV&lt;br /&gt;
or&lt;br /&gt;
$ backup/list=results.txt tp0:*.*  ! save output in results.txt&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An idea to get the results of the backup/list into a text file: Run the procedure in a submitted script and save the resulting log file with all the output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Extract a single file from SaveSet====&lt;br /&gt;
&lt;br /&gt;
In a large SaveSet, sometimes we only want one file extracted, not the whole archive extracted. This can be done with&lt;br /&gt;
&lt;br /&gt;
  $ backup /log /select=myfile.txt mysaveset.sav /sav disk1:[microct.scratch]&lt;br /&gt;
&lt;br /&gt;
or []  as destination will put the file in the current directory.&lt;br /&gt;
&lt;br /&gt;
This can take a while as it looks through all the saveset. Once it logs that the file has been restored, you may interrupt with F6. Else it goes on looking through the rest of the saveset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Saveset from microCT to XtremeCT====&lt;br /&gt;
&lt;br /&gt;
You can create a SAV set of your project on the VivaCT and transfer it to the Xtreme system, or vice-versa.&lt;br /&gt;
First, create the SAV set using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
$ BACKUP/LOG DISK3:[MICROCT.PROJECTS.SB.MYPROJECT...]*.*;* -&lt;br /&gt;
     SYS$SCRATCH:MYPROJECT.SAV/SAV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This creates the MYPROJECT.SAV file in the scratch directory.  Now zip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; MYPROJECT.ZIP MYPROJECT.SAV  (NOTE: must use quotes and a capital V!!!!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
FTP the .ZIP file to SODOR ( in binary mode!!!), and then FTP it off onto your destination system (Viva or Xtreme).  See the appropriate HowTo for FTP instructions.  Once you&#039;ve FTP&#039;d it, unzip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip MYPROJECT.ZIP&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, unpack the contents of the .SAV file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG MYPROJECT.SAV/SAV DISK3:[MICROCT.PROJECTS.MYPROJECT] &amp;lt;--- or whatever destination directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NOTE:  transferring a .SAV directly from VMS to VMS should work, but not via any third operating system (like SODOR) - so zipping is always the safe way to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Zip===&lt;br /&gt;
&lt;br /&gt;
====Zip and Unzip files====&lt;br /&gt;
Use the zip program to add files to a zip archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ZIP myzip.zip myfile.txt;1	                !Adds myfile.txt to myzip.zip.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip myfile.txt;1	        !Adds myfile.txt;1 to myzip.zip.  The &amp;quot;-V&amp;quot; maintains the OpenVMS version number.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip [.subdir...]*.*;*	        !Adds all files within subdir to myzip.zip, maintaining their version number.&lt;br /&gt;
$ ZIP	                                        !Displays the help for the zip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the unzip program to unzip an archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UNZIP &amp;quot;-V&amp;quot; myzip.zip		                !Extracts myzip.zip, maintaining the OpenVMS structure.&lt;br /&gt;
$ UNZIP		                                !Displays the help for the unzip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Zip between Scanco systems====&lt;br /&gt;
&lt;br /&gt;
Files must be zipped before transfer by e-mail or ftp because important attributes will be lost in the transfer otherwise.&lt;br /&gt;
&lt;br /&gt;
To transfer files from system A to B, do the following.&lt;br /&gt;
&lt;br /&gt;
On system A:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_SAMPLES_TORONTOXT.DAT  ! for each filename&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will add both files to the same zip file.&lt;br /&gt;
&lt;br /&gt;
Note: &amp;quot;-V&amp;quot; is very important, it must be capital V!&lt;br /&gt;
&lt;br /&gt;
Transfer the file by e-mail, or by ftp.&lt;br /&gt;
&lt;br /&gt;
On system B:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip -j for_calgary.zip  ! to unzip on your end them (-j to &#039;junk&#039; the original file path)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Unpack Zip sent by Scanco====&lt;br /&gt;
In the .zip file, you&#039;ll find a .sav file. Unzip the .zip just by saying&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ unzip xxxx.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxxx.sav/sav disk3:[steve.devel.temp]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will unpack everything into &amp;lt;code&amp;gt;disk3:[steve.devel.temp]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/list xxxx.sav/sav&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you see what&#039;s in the .sav.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxx.sav/sav/sel=[andres.uct.ipl_for_cust...] disk3:[steve.devel.cipl...]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will create the same diretory tree in steve.devel.cipl as it was when I &lt;br /&gt;
packed it into the .sav.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Backup and Archive==&lt;br /&gt;
&lt;br /&gt;
===UI Procedures===&lt;br /&gt;
&lt;br /&gt;
====µCT Disk-Utility====&lt;br /&gt;
The µCT Disk-Utility Program is used to archive and restore scan data. To start the program type &amp;lt;code&amp;gt;$ uct_backup&amp;lt;/code&amp;gt; in a DEC terminal, or use the disk button.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup.jpg|40px]]&lt;br /&gt;
*The backup captures both the programs and databases.&lt;br /&gt;
*A little helper terminal comes up and gives feedback of every file backed up.&lt;br /&gt;
[[File:Uct_backup_pic01.jpg|600px]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two possible ways to use &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt;:&lt;br /&gt;
:* COPY TO -&amp;gt; this does not update the database.&lt;br /&gt;
:* MOVE TO -&amp;gt; this updates the database.&lt;br /&gt;
&lt;br /&gt;
Scenario 1: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Use UCT_BACKUP to &#039;move&#039; the remainder (AIM/GOBJ) to &#039;tape&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*At operation 3, the measurement directory will be deleted from the measurement disk.  &lt;br /&gt;
*The directory will automatically be restored if you restore your data from tape.&lt;br /&gt;
&lt;br /&gt;
Scenario 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Move all the GOBJ/AIM/etc to a project directory.&lt;br /&gt;
4. Generate a .SAV file and put on the IMA tape.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You will have to delete the measurement directories (using UCT_BACKUP if you like). &lt;br /&gt;
*The disadvantage of this scenario is that the image data cannot be restored using UCT_BACKUP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Raw Data Backup====&lt;br /&gt;
*Ideally 1-2 week after scanning.&lt;br /&gt;
*RSQ files are backed up onto RAW tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  Put the most recent RAW tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
*Show &amp;quot;Current (with RAW)&amp;quot;, use the file filter (Measurement:     ) to search for your files (e.g., CAMOS) and press enter or press &amp;quot;Update List&amp;quot;.  &lt;br /&gt;
*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
*Highlight RAW, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.  &lt;br /&gt;
*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape. &lt;br /&gt;
*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
*If you select multiple files, be sure they all need to be backed up, otherwise you will get an error.&lt;br /&gt;
:[[File:Uct_backup_pic04.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Image Data Backup====&lt;br /&gt;
*Ideally 1-2 months after scanning, after contouring, onsite analysis and copied image data to project disk.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Delete ISQ After Evaluation&#039;&#039;&#039; &lt;br /&gt;
#*ISQ files are normally deleted after completing your evaluation since they are very large files and can be reconstructed from the RSQ file. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type the beginning of your sample name (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;.&lt;br /&gt;
#*Select all the files for which you have completed the evaluation (there will be a + sign next to any scan that has been evaluated).  #*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Trash&amp;quot;.  &lt;br /&gt;
#*[[File:Important.JPG|20px]] After you choose the trash symbol, you will now be given the option to select specific file types, choose &amp;quot;Select&amp;quot; and &amp;quot;ISQ&amp;quot;.  Press &amp;quot;Start...&amp;quot;.&lt;br /&gt;
#*Only choose one file type to delete at a time. The wildcard (*) indicate all files other than &amp;quot;ISQ&amp;quot; and &amp;quot;AIM&amp;quot; files.&lt;br /&gt;
#:[[File:Uct_backup_pic05.jpg|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Backup IMAGE Data&#039;&#039;&#039; &lt;br /&gt;
#*AIM, GOBJ and other evaluation files are backed up onto IMA tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  &lt;br /&gt;
#*Put the most recent IMA tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type in the beginning of your sample names (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;. &lt;br /&gt;
#*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
#*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.   &lt;br /&gt;
#*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape.  &lt;br /&gt;
#*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
#:[[File:Uct_backup_pic06.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use &#039;Script...&#039; button====&lt;br /&gt;
Usually, you will start the move/copy by clicking on &amp;lt;code&amp;gt;&#039;Start...&#039;&amp;lt;/code&amp;gt; button. The &amp;lt;code&amp;gt;&#039;Script...&#039;&amp;lt;/code&amp;gt; button is for advanced users.&lt;br /&gt;
&lt;br /&gt;
*Use of the &#039;Script...&#039; button will generate a script &amp;lt;code&amp;gt;sys$scratch:archive.com&amp;lt;/code&amp;gt;, that you may submit it in batch mode later (e.g. over night) by typing: &amp;lt;pre&amp;gt;$ scanco_submit_command sys$scratch:archive.com/after=23:59&amp;lt;/pre&amp;gt;&lt;br /&gt;
*In a multi-computer cluster setup, you may want to specify the exact queue name of the computer that has the tape hooked up by giving e.g. &amp;lt;code&amp;gt;/que=sceval_fast&amp;lt;/code&amp;gt;.&lt;br /&gt;
*Insert a tape, but do NOT mount the tape in the normal program. If necessary: if it&#039;s a new tape, [[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;initialize&#039;&#039;&#039;]] it as usual. &lt;br /&gt;
*The batch job will be started one minute before midnight in the example above. &amp;lt;code&amp;gt;$ show entry&amp;lt;/code&amp;gt; will show you that it is holding until then.&lt;br /&gt;
*See &amp;lt;code&amp;gt;$ help submit /after&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ help dcl_tips date_time example&amp;lt;/code&amp;gt; for more help on this.&lt;br /&gt;
*Sample script file (archive.com) restoring the RSQs of measurements 6452 and 6580:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
COPY&lt;br /&gt;
DISK&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6452)&lt;br /&gt;
MEAS&lt;br /&gt;
6452&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6580)&lt;br /&gt;
MEAS&lt;br /&gt;
6580&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Database Backup====&lt;br /&gt;
&lt;br /&gt;
The database (DB) backup should be performed for each user on the system. It should not be performed as user &#039;calibration&#039; or some derivative. In the case of the XtremeCT2 and XtremeCT cluster, both the &#039;microct&#039; and &#039;xtremect2&#039; user accounts must be used to backup their respective DB. &lt;br /&gt;
&lt;br /&gt;
By performing the DB backup, the warning dialog that appears when logging into the system should go away.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Operating System (OS) Backup====&lt;br /&gt;
If the following error-message appears on the screen then you can click OK to continue your work. &lt;br /&gt;
&lt;br /&gt;
     MESSAGE: No recent OS Backup found!&lt;br /&gt;
     Please perform OS backup (DISK0) in privileged account!&lt;br /&gt;
     %RMS-W-FNF file not found.&lt;br /&gt;
     CODE: 268534416&lt;br /&gt;
     Facility RTL&lt;br /&gt;
&lt;br /&gt;
This message means that no operating system (OS) backup has been performed within the last 6 months. Please perform an OS backup as soon as possible by following the steps below:&lt;br /&gt;
&lt;br /&gt;
1. Make sure there are no scans in progress and that the que is halted from all activity.&lt;br /&gt;
&lt;br /&gt;
2. Log in to the calibration account: Since we have two scanners on the same system, login as either &amp;quot;calib3401&amp;quot; or &amp;quot;calib3309&amp;quot;, depending if you need to backup the XtremeCT2 or XtremeCT, respectively. For microCT clusters, (best to do this on SCEVA3) using the username calib5019 and the password (ask Steve for this).&lt;br /&gt;
&lt;br /&gt;
3. Type in the DECterm window:&lt;br /&gt;
          $ set proc/priv=bypass&lt;br /&gt;
Or Set priviledge to bypass by &amp;lt;code&amp;gt;$ spb&amp;lt;/code&amp;gt;&lt;br /&gt;
          $ r um:uct_b     Or $ uct_backup&lt;br /&gt;
&lt;br /&gt;
4. You will now see 2 additional buttons on the bottom left that is not seen when logged in as microct user. Push either the button &amp;quot;OS Backup to Disk DK0&amp;quot; or mount the specific OS backup tape and push the &amp;quot;OS Backup to Tape&amp;quot; button.&lt;br /&gt;
* A system backup to tape and to DK0 should both be performed. &lt;br /&gt;
&lt;br /&gt;
5. Check the command line &amp;amp; queue to ensure that the backup is being carried out. If you submit the job as &#039;batch mode&#039; the backup is submitted to SYS$BACKUP queue and allows you to close the backup program and &#039;end session&#039; without interrupting a running backup. Check with &#039;show queue&#039; to see the backup job on the queue.&lt;br /&gt;
&lt;br /&gt;
6. Exit the Backup Program and log out of the calibration account.&lt;br /&gt;
&lt;br /&gt;
After a successful OS backup the message above will not appear for the next six months.&lt;br /&gt;
&lt;br /&gt;
Alternatively a system backup can be completed using the command line, without using the uct_backup program. The instructions from Scanco can be found here. The advantage to this method is that you will be able to name the specific backup save set.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Using Scripts for Backup/Archive===&lt;br /&gt;
&lt;br /&gt;
====Project Backup/Archive====&lt;br /&gt;
*Refer to [[Media:Microct_project_backup.pdf|&#039;&#039;&#039;Project Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_project_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Backup Project=====&lt;br /&gt;
Regularly backup projects on a monthly basis using command &amp;lt;code&amp;gt;$ @com:BACKUP_PROJECT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
*The script is submitted to the queue and upon completion the log is emailed to the user.&lt;br /&gt;
*a SAVset (an OpenVMS file type similar to a zip file), a project info file and a file list are created in DISK5:[BONELAB.PROJECTS.BACKUP] for the microCTs and DISK4:[BONELAB.PROJECTS.ARCHIVE.ARCHIVE] for the XtremeCTs.&lt;br /&gt;
*The saveset along with two TXT files created will be automatically SFTP to Winston:\\Backups\backup\&lt;br /&gt;
*After the transfer, the saveset file on disk are deleted, leaving only two TXT files on the project disk.&lt;br /&gt;
*Only keep the two most recent backups for each project, A or B version name appended on the project name:&lt;br /&gt;
:*Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
:*Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
*The user MUST verify that the backup completed successfully.&lt;br /&gt;
*SAVsets greater than 250 GB cannot be transferred by automatic SFTP, use interactive/manual SFTP instead to transfer to Winston. &lt;br /&gt;
*If you are backing up a very large project, please check the server disk space before starting the backup. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:BACKUP_PROJECT.COM&lt;br /&gt;
===========================================================&lt;br /&gt;
BACKUP PROJECT TOOL V1.2 (XtremeCT)&lt;br /&gt;
 P1:LOCATION        DISK4:[BONELAB.PROJECTS.DUNCAN]&lt;br /&gt;
 P2:TYPE            1=MOUSE,2=RAT,3=HUMAN,4=OTHER&lt;br /&gt;
 P3:PROJECT         CAMOS&lt;br /&gt;
 P4:PERSON          Ying Zhu&lt;br /&gt;
 P5:DESCRIPTION     A monthly backup&lt;br /&gt;
 P6:EMAIL           me@ucalgary.ca&lt;br /&gt;
 P7:SFTP            y,n&lt;br /&gt;
 P8:START           y,n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Restore Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_RESTORE.COM script which will automatically generate a script to restore a user&#039;s project.  &lt;br /&gt;
*The saveset file has to be moved to Winston:\\Backups\archive folder to be restored.&lt;br /&gt;
*The user will be asked if they wish to restore to the original location, or to a new location.&lt;br /&gt;
*The script is submitted to the queue and the log from the restore job is emailed to the user. &lt;br /&gt;
*The user MUST verify that the job completed successfully.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_RESTORE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Delete Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_DELETE.COM script which will automatically generate a script to delete all the files and subdirectories of a specified path.&lt;br /&gt;
*The command script is opened so that the user can check the files to be removed to go ahead.&lt;br /&gt;
*You will need to manually delete the root project directory after it&#039;s empty.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_DELETE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Known Bugs in Project Tools=====&lt;br /&gt;
*Long file name won&#039;t work (28 letters work but not 32 letters).&lt;br /&gt;
*if the user specifies too long a file name, the Project Backup Scripts will fail with the following error:&lt;br /&gt;
     RMS-E-CRE, ACP file create failed&lt;br /&gt;
     SYSTEM-W-BADFILENAME, bad file name syntax&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Archive Project Saveset to Tape=====&lt;br /&gt;
Projects should be stored safely onto a backup tape once complete.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Summary&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps summarize the process:&lt;br /&gt;
:* Archive the project directory to the tape (detailed instructions below).&lt;br /&gt;
:* Change tape to &amp;quot;read only&amp;quot; to protect contents&lt;br /&gt;
:* Check tape saveset to ensure proper backup&lt;br /&gt;
:* Write name of tape on the project LOG sheet&lt;br /&gt;
:* Copy project LOG sheet and bring to Bone Imaging Laboratory &amp;quot;completed&amp;quot; project book&lt;br /&gt;
:* Bring copy of tape to the Bone Imaging Laboratory for safe keeping&lt;br /&gt;
:* &amp;lt;b&amp;gt;Delete&amp;lt;/b&amp;gt; the contents of the project from the disk&lt;br /&gt;
&lt;br /&gt;
In the project, there should be the regular set of directories including DOC, COM, MODELS, LOG.  Once the project is stored to tape, ensure that the log sheet for that project include a note stating which tape it was backed up to.  Take a photocopy of the log sheet and add it to our Bone Imaging Laboratory project book for COMPLETED projects.&lt;br /&gt;
&lt;br /&gt;
In the following example, a project titled BERN is backed up onto tape.  Ideally, the name of the SAV file on tape is the same as the project (i.e., BERN).  Note that &amp;lt;b&amp;gt;SAV files must have names with no more than 13 characters (including the .SAV)!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example backs the BERN project/directory onto tape IMA001.  For large projects and/or critical projects, it is advisable to dedicate an entire tape.  The three dots (...) indicate that ALL subfolders of DK0:[MICROCT.PROJECTS.BERN] will be included.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
&lt;br /&gt;
$ backup/log dk0:[microct.projects.bern...]*.*;* tp0:proj_bern.sav -  ! writes a saveset to tape&lt;br /&gt;
        /block=65534 /label=IMA001 -&lt;br /&gt;
        /media_format=nocompaction     ! NEVER use the /rewind option here&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.sav/select=*.isq DISK4:[BONELAB.PROJECTS.TBONE.ISQ_FROM_TAPE...]/by=parent  ! extracts all ISQ files from the tape&lt;br /&gt;
&lt;br /&gt;
$ dismount tp0:  &lt;br /&gt;
$ dismount tp0: /nounload ! same as previous command, but does not eject the tape (i.e. if you want to read the tape once more)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the &amp;lt;code&amp;gt;/rewind&amp;lt;/code&amp;gt; option should never be used for backup as it instructs the tape drive to rewind after backup is complete causing a major risk of over writing.&lt;br /&gt;
&lt;br /&gt;
Sometimes it might be handy to exclude certain files.  For example, to exclude RSQ files: &amp;lt;code&amp;gt;/excl=*.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A good reference for backup commands and ideas are available in the &amp;lt;code&amp;gt;UM:UCT_MOVE_FILES.COM&amp;lt;/code&amp;gt; script which is used by the &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt; program.  See also the &amp;lt;code&amp;gt;help backup&amp;lt;/code&amp;gt; instructions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help backup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the contents of a tape to ensure you&#039;ve successfully stored your project use the following commands (further details in &amp;quot;HowTo: View save set (SAV) contents&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
To just view if the saveset is on tape (but not its contents):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: you can also save the saveset list in a text file using the /output qualifier.&lt;br /&gt;
&lt;br /&gt;
To view the files within a saveset on tape, and save the results in a file called &amp;lt;code&amp;gt;results.txt&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list=results.txt tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete a set of directories, use the &amp;lt;code&amp;gt;dl&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ur BERN&lt;br /&gt;
$ del *.*;*   ! Deletes ALL files in a directory&lt;br /&gt;
$ dl *.dir;*  ! Will only delete empty directories (not nested directories)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Extract Project Saveset from Tape=====&lt;br /&gt;
To restore a project, you have two choices:&lt;br /&gt;
*1. Login as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then go to the projects directory. From there:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ spb (bypass priv)&lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind [*...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This puts all the files back in their original directory structure.&lt;br /&gt;
&lt;br /&gt;
*2. As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
 &lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind/select=[microct.projects.davison...]&lt;br /&gt;
     disk2:[microct.projects.davison...]&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.*/rewind disk3:[microct.projects.vitamink.models]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure to write the &amp;lt;b&amp;gt;same&amp;lt;/b&amp;gt; path in the /select as the output (except for the &lt;br /&gt;
actual disk2 portion).  Alternatively, you could unpack it into a slightly different root&lt;br /&gt;
directory (i.e., TMP) by changing the output path.&lt;br /&gt;
&lt;br /&gt;
The three dots infers to use the same paths in the saveset as the file structure put onto disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scripts to Backup RAW and IMA====&lt;br /&gt;
A script can be output from the backup tool to backup and restore data using the backup program.  &lt;br /&gt;
*When restoring data using this method, choose the COPY to DISK option. The data will be restored to its original location on the data disk.  &lt;br /&gt;
*You must manually submit the script to the backup queue.  &lt;br /&gt;
*The command procedures are written to SYS$SCRATCH:ARCHIVE.COM.  &lt;br /&gt;
*Here is the sample script for backing up RAW data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Here is the sample script for backing up IMA data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
IMA&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Usage information====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:DISK_MOUNTIES.COM	                !Give data disk usage information on an account.&lt;br /&gt;
$ eve sys$scratch:disk_mounties_output_summary.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template file for summarizing the disk mounties results: [[Media:BoneLab_Data_Disc_Usage.xlsx|&#039;&#039;&#039;BoneLab_Data_Disc_Usage.xlsx&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To look at the RSQs in the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir/siz dk0:[microct.data...]*.rsq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
the three dots means all subdirectories.&lt;br /&gt;
&lt;br /&gt;
Other useful commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.isq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
shows you header.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fda command file-wildcard&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
does a &#039;file do all&#039; of the command on all the given wildcard filenames.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe xxxx | search sys$pipe &amp;quot;patient&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
is the pipe command in VMS.&lt;br /&gt;
&lt;br /&gt;
So all three combined:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe fda ctheader dk0:[microct.data...]*.rsq | search sys$pipe &amp;quot;patient name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or any other field you want to search for! &lt;br /&gt;
&lt;br /&gt;
If you have a more complex program to run (e.g. with an argument), use the double quotes as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pipe fda &amp;quot;aix -l&amp;quot; *.AIM | search sys$pipe &amp;quot;Patient Name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other ideas&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ write_info&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives you a file &amp;lt;code&amp;gt;sys$scratch:info.txt&amp;lt;/code&amp;gt; with info in it (leave defaults to get all samples ever scanned, otherwise &#039;zoom&#039; in on some samples.)&lt;br /&gt;
&lt;br /&gt;
Check out the &amp;lt;code&amp;gt;search&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help search&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and &amp;lt;code&amp;gt;/match=and&amp;lt;/code&amp;gt;&lt;br /&gt;
or &amp;lt;code&amp;gt;/match=or&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Backup====&lt;br /&gt;
In the commands directory (com) is a BACKUPDISK script which will automatically generate scripts to backup all the directories on the projects disk.  &lt;br /&gt;
*As the backup requires significant amounts of space, please check the server disk space before starting the backup. &lt;br /&gt;
*Each directory is saved as a separate save set (an OpenVMS file type similar to a zip file) on Winston://Bonelab/Backup/.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUPDISK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_disk_backup.pdf|&#039;&#039;&#039;Disk Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_disk_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Process, Printer and System=&lt;br /&gt;
&lt;br /&gt;
==Processes and Jobs==&lt;br /&gt;
&lt;br /&gt;
===Manage jobs in the queue===&lt;br /&gt;
Use the DELETE/ENTRY and SET ENTRY commands to manage a batch job.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SH QUE                                        !Get process info&lt;br /&gt;
$ SH QUE /all/by_job_status=executing           !Get all executing process info&lt;br /&gt;
$ SHOW ENTRY 1131 /full                         !Get full process info of entry 1131&lt;br /&gt;
$ SE 1311                                       !Get full process info of entry 1131&lt;br /&gt;
&lt;br /&gt;
$ DELETE /ENTRY=251                             !Deletes batch job number 251.&lt;br /&gt;
&lt;br /&gt;
$ SET ENTRY 251/PRIORITY=50                     !Changes the priority of batch job number 251. &lt;br /&gt;
                                                !Default priority is 100 for all jobs, max is 200.&lt;br /&gt;
$ SET ENTRY 251/REQUEUE=SCEVAL_FAST             !Moves to queue sceval_fast. &lt;br /&gt;
                                                !The job cannot be executing to do this, has to be in pending status.&lt;br /&gt;
$ SET ENTRY 251/AFTER=TOMORROW                  !Holds entry 251 until the following day (midnight).&lt;br /&gt;
&lt;br /&gt;
$ HELP SET ENTRY                                !More information on the SET ENTRY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Control processors # on multi-processor machines===&lt;br /&gt;
&lt;br /&gt;
For example, on the itanium there are two processors.  By default, only one takes reconstruction jobs.  The other is left for so that evaluations can take place without competing for the CPU. &lt;br /&gt;
&lt;br /&gt;
But if a bottleneck is the reconstruction, it can be switched as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set que sceva2_slow/job=2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so that it will do two reconstruction jobs simultaneously.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create a new queue===&lt;br /&gt;
This may be useful to separate jobs for a project.  The following will create a queue called BUIE$FAST, which will submit jobs to SCEVAL_FAST and SC3309_FAST.&lt;br /&gt;
&lt;br /&gt;
 $ initialize/queue/GENERIC=(SCEVAL_FAST,SC3309_FAST)/OWNER=[SYSTEM] -&lt;br /&gt;
   /PROTECTION=(S:M,O:D,G:R,W:S)/BATCH/START BUIE$FAST&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Clear out all entries in a queue===&lt;br /&gt;
First create a dummy queue, then merge (i.e., move) all the entries from the queue to be cleared into it, then delete the dummy queue.&lt;br /&gt;
&lt;br /&gt;
Example:  Clear out the printer queue.&lt;br /&gt;
 $ stop/reset printer1&lt;br /&gt;
 $ initialize/que dummy&lt;br /&gt;
 $ assign/merge dummy printer1&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
 &lt;br /&gt;
Example:  Clear out a batch queue, e.g., sys$fast.&lt;br /&gt;
 $ initialize/que/batch dummy&lt;br /&gt;
 $ assign/merge dummy sys$fast&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart queues===&lt;br /&gt;
There are three methods.  First the nice method.&lt;br /&gt;
&lt;br /&gt;
1. As for the printer queue, a normal user can stop and start other queues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/reset sceval_slow&lt;br /&gt;
$ start sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This kills the current process running.  If you want to let the current process complete before stopping the queue, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use the web browser Mozilla.&lt;br /&gt;
&lt;br /&gt;
:*Open mozilla&lt;br /&gt;
:*&#039;batch queues&#039;&lt;br /&gt;
&lt;br /&gt;
:*Resize the window so it occupies the right half of the screen&lt;br /&gt;
&lt;br /&gt;
:*Click on &#039;delete job&#039; once with the MIDDLE mouse button, this will open a new window on the right half of the screen. Ensure the two windows do not overlap, if they do resize the window which contains the batch queues list. Once window locations are correct MIDDLE click on the rest of the jobs which you wish to delete (click on &#039;Delete Job&#039; in the batch queue list). The reason for locating the widows is because each successive click on &#039;Delete Job&#039; will open a new window and you don&#039;t want it to cover the batch queues list.&lt;br /&gt;
&lt;br /&gt;
:*Then Exit from mozilla, this will delete all the open windows, it may take a bit if you are deleting lots.&lt;br /&gt;
&lt;br /&gt;
3. Now the harsh method.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Completely remove the queue and re-generate, as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset sc3309_slow&lt;br /&gt;
$ delete/queue sc3309_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you must restart the queue.  To learn how to do this refer to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eve sys$startup:dcps_hpljet_ip.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Kill hunging processes===&lt;br /&gt;
&lt;br /&gt;
Sometimes jobs need to be stopped manually, such as when FTP or TCPIP is hung. This is done as follows:&lt;br /&gt;
&lt;br /&gt;
Checked processes with  &lt;br /&gt;
  $ show sys&lt;br /&gt;
where the FTP jobs are running. Doing it as &amp;lt;b&amp;gt;system&amp;lt;/b&amp;gt; with these commands would show all the FTP jobs on all nodes:&lt;br /&gt;
  $ mcr sysman&lt;br /&gt;
  SYSMAN&amp;gt; set env /cluster&lt;br /&gt;
  SYSMAN&amp;gt; do pipe sh sys|sear sys$pipe ftpc&lt;br /&gt;
It showed that they all were running on SCEVA1 only. So I logged in there and using the IDs given at the list from above&#039;s command:&lt;br /&gt;
  $ stop/id=29804056&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Check CPU usage and kill a process===&lt;br /&gt;
Determine what process is using all the CPU (e.g., SYMBIONT, a print process) using the monitor command, then use the show system command to determin the Pid, which can be used to stop the process.&lt;br /&gt;
&lt;br /&gt;
The print (SYMBIONT) process is known to consume excessive CPU when the clocks are advanced for daylight savings on the alpha systems.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor process/topcpu&lt;br /&gt;
$ show system&lt;br /&gt;
OpenVMS V7.3-2 on node SCEVAL 6-APR-2009 12:42:22.82 Uptime 124 23:16:08&lt;br /&gt;
Pid      Process Name     State  Pri  I/O         CPU         Page flts Pages&lt;br /&gt;
20C00081 SWAPPER          HIB    16   0      0 01:07:05.63     0         0&lt;br /&gt;
20C00087 CLUSTER_SERVER   HIB    14   2218   0 00:00:00.54    63        77&lt;br /&gt;
20C00088 CONFIGURE        HIB    10   23     0 00:00:00.02    54        20&lt;br /&gt;
20C00089 LANACP           HIBO   13   -- swapped out --                 32&lt;br /&gt;
20C0008B FASTPATH_SERVER  HIB    10   9      0 00:00:00.01    79        94&lt;br /&gt;
20C0008C IPCACP           HIB    10   10     0 00:00:00.02    37        28&lt;br /&gt;
$ show process/all/id=Pid&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ stop/id=Pid&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Process Name = BATCH_122  means entry 122 in the queue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Printer==&lt;br /&gt;
&lt;br /&gt;
===Set up TCPIP printer queue on a VMS workstation===&lt;br /&gt;
  $ stop/que/res hpljet&lt;br /&gt;
  $ tcpip set nohost hpljet&lt;br /&gt;
  $ tcpip set host &amp;quot;hpljet&amp;quot; /address= xxx.xxx.xxx.xxx&lt;br /&gt;
  $ start hpljet&lt;br /&gt;
&lt;br /&gt;
Note that many HP printers will not work with OpenVMS. Checking for compatibility is important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart the printer queue===&lt;br /&gt;
&lt;br /&gt;
How to fix the printer queue when hung, not working or giving an error.&lt;br /&gt;
A full printer queue can seriously affect system performance.  &lt;br /&gt;
Be sure that the queue is cleaned up from time to time.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to first find out the real name of your printer queue. &lt;br /&gt;
* Replace &amp;quot;hpljet&amp;quot; and &amp;quot;...dcps_hpljet...&amp;quot; by your own queue (i.e., PRINTER1 for XtremeCT) name below. &lt;br /&gt;
* First approach, as normal user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset hpljet&lt;br /&gt;
$ start/queue hpljet&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to release a job&lt;br /&gt;
  $ set entry/release 123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==System==&lt;br /&gt;
&lt;br /&gt;
===Monitor System===&lt;br /&gt;
====Monitor system usage====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor/interval=1 processes/topcpu&lt;br /&gt;
$ monitor/interval=1 system&lt;br /&gt;
$ show error&lt;br /&gt;
$ show system&lt;br /&gt;
$ @SCOM:SHOW_DISKS.COM (or simply $ DISKS)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;show error&amp;lt;/code&amp;gt; may indicate errors.  One or two errors is OK.&lt;br /&gt;
&lt;br /&gt;
To see what processes are running (specific to the machine, not cluster wide).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device disk2/file&lt;br /&gt;
$ show user /full&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of OpenVMS system====&lt;br /&gt;
&lt;br /&gt;
If when rebooting a VMS system there is a failure, sometimes a message can be repeated many times. The way to stop this repeating message is to press &amp;lt;code&amp;gt;ctrl-C&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ctrl-P&amp;lt;/code&amp;gt; to get to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
&lt;br /&gt;
Then show some of the device information, either specifically&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device py*&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device dy*&lt;br /&gt;
&lt;br /&gt;
or in general&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
&lt;br /&gt;
which might show more than needed. The output of&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show bootdef_dev&lt;br /&gt;
&lt;br /&gt;
can also be useful.&lt;br /&gt;
&lt;br /&gt;
Once settings are all good, you can reboot the system with&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set bootbios pyb0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disk status====&lt;br /&gt;
Login as the system user on the workstation connected to the disk array that you want to check.&lt;br /&gt;
&lt;br /&gt;
 $ run sys$system:msa$util.exe&lt;br /&gt;
 MSA&amp;gt; set controller&lt;br /&gt;
&lt;br /&gt;
Show the raid volumes (e.g., to check if it failed or is recovering).&lt;br /&gt;
 MSA&amp;gt; show unit&lt;br /&gt;
&lt;br /&gt;
Locate disks associated with a raid volume (e.g., unit0).&lt;br /&gt;
 MSA&amp;gt; locate unit0&lt;br /&gt;
&lt;br /&gt;
Accept a failed unit (e.g., unit0) - only for itanium workstations, which use a newer version of OpenVMS.&lt;br /&gt;
 MSA&amp;gt; accept unit0&lt;br /&gt;
&lt;br /&gt;
Show disk information.&lt;br /&gt;
 MSA&amp;gt; show disks&lt;br /&gt;
&lt;br /&gt;
Get information on MSA utility functions.&lt;br /&gt;
 MSA&amp;gt; help&lt;br /&gt;
&lt;br /&gt;
Exit the MSA utility.&lt;br /&gt;
 MSA&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of disk array====&lt;br /&gt;
To look at the disks in an MSA30 tower:&lt;br /&gt;
There are several options to check the status of the disks. One is, if it is installed, to use the command-line utility&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr msa$util&amp;lt;/pre&amp;gt;&lt;br /&gt;
as &amp;quot;system&amp;quot;. Enter&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
MSA&amp;gt; set controller&lt;br /&gt;
MSA&amp;gt; show unit&lt;br /&gt;
MSA&amp;gt; show disks&lt;br /&gt;
MSA&amp;gt; exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another is to start the WBEM web interface, which shows the status of the hardware graphically.&lt;br /&gt;
&lt;br /&gt;
It is possible to fix a disk array that hasn&#039;t booted by doing the following:&lt;br /&gt;
&lt;br /&gt;
  At the login prompt, type &#039;shutdown&#039;. This will get you to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
There should be a RAID card, for example on Percy, named &amp;lt;code&amp;gt;pya0&amp;lt;/code&amp;gt;. Try:&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action halt&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; run bios pya0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action restart&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disks status in enclosure====&lt;br /&gt;
&lt;br /&gt;
Periodically connect to http://10.148.64.254/ (user name: manage, password same as system password) and check if there are any errors or warnings, like failed disks. You can easily see which disk has failed in the graphical view of &amp;quot;Physical&amp;quot; -&amp;gt; &amp;quot;Enclosure X&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Consider not all web browsers allow connection to this rather old web server. Firefox and Mozilla on the workstations do work fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover System===&lt;br /&gt;
====Consistently needs warm-up scanner - Shutter-failsave-Job====&lt;br /&gt;
&lt;br /&gt;
If the scanner is consistently needing to warm-up on consecutive days, and was not powered off, this is likely due to the Shutter-failsave-Job disappearing from the 3309-Batch queue (for XT1). The job must be re-submitted. &lt;br /&gt;
&lt;br /&gt;
The executing file is located in the CALIB3309 ($ um:submit_shutter_test.com) and the command to submit the job is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/after=&amp;quot;tomorrow&amp;quot;/noprint/que=uct_measurement_queue um:submit_shutter_test.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check the status by typing: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show que *3309_batch*/all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This job tends to disappear now and then, perhaps because of an abrupt shutdown of the workstation or maybe when stop/pause/re-start the queue. Contact Scanco if this does not resolve.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk not mounted/unavailable, directory not found, volume not enabled====&lt;br /&gt;
Disk is not mounted or is unavailable.  Error opening ...., directory not found, volume is not software enabled.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
%DIRECT-E-OPENIN, error opening DISK4:[MICROCT.PROJECTS]*.*;* as input&lt;br /&gt;
-RMS-E-DNF, directory not found&lt;br /&gt;
-SYSTEM-F-VOLINV, volume is not software enabled&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen if communication is broken between workstations, causing the disk mount to time out.  Check if this is by showing the devices, then dismount and remount the disk.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev&lt;br /&gt;
&lt;br /&gt;
Device                  Device           Error    Volume         Free  Trans Mnt&lt;br /&gt;
 Name                   Status           Count     Label         Space Count Cnt&lt;br /&gt;
SC3309$DKA100:          Online               0&lt;br /&gt;
SC3309$DKD0:            Mounted              0  ALPHASYS        3.18GB   642   2&lt;br /&gt;
SC3309$DKD1:            Mounted              0  AUSER_01       42.84GB     4   2&lt;br /&gt;
SC3309$DKD2:            Mounted              0  ADATA_01      173.00GB     4   2&lt;br /&gt;
SC3309$DKD3:            Mounted              0  ADATA_02A     215.80GB     1   2&lt;br /&gt;
SC3309$DKD4:            Mounted              0  ADATA_02B     215.85GB     1   2&lt;br /&gt;
SC3309$DKD5:            Mounted              0  ADATA_02C     215.81GB     1   2&lt;br /&gt;
SC3309$DQA0:            Online               0&lt;br /&gt;
SC3309$DQA1:            Offline              1&lt;br /&gt;
SC3309$DQB0:            Offline              1&lt;br /&gt;
SC3309$DQB1:            Offline              1&lt;br /&gt;
SCEVAL$DKA0:            Online               0&lt;br /&gt;
SCEVAL$DKA1500:         Mounted              0  (remote mount)                 1&lt;br /&gt;
SCEVAL$DKC0: MntVerifyTimeout 0 ADATA_03A 541.62GB 1 2 &lt;br /&gt;
SCEVAL$DKC1: MntVerifyTimeout 0 ADATA_03B 541.38GB 1 2 &lt;br /&gt;
SCEVAL$DKC2: MntVerifyTimeout 0 ADATA_03C 541.60GB 1 2 &lt;br /&gt;
SCEVAL$DQA0:            Online               0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set host 0&lt;br /&gt;
system&lt;br /&gt;
&lt;br /&gt;
$ dismount SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC0: ADATA_03A&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03A mounted on _SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC1: ADATA_03B&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03B mounted on _SCEVAL$DKC1:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC2: ADATA_03C&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03C mounted on _SCEVAL$DKC2:&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this does not restore the disk, then shutdown the computer.  At the blue screen...&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; init&amp;lt;/code&amp;gt;&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; run bios pya0&amp;lt;/code&amp;gt;&lt;br /&gt;
Press F2 at the prompt to accept potential data loss.&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Press power button to turn off.&lt;br /&gt;
Press power button to turn on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Kill hanging program====&lt;br /&gt;
&lt;br /&gt;
If a program is hunging, it may not be necessary to shut down the system and restart. For example, if the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
program is hung, do the following&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev/full microct_scsi&lt;br /&gt;
&lt;br /&gt;
$ stop/id=&amp;lt;Owner process ID&amp;gt; (Replace the &amp;lt;&amp;gt; with the actual ID)&lt;br /&gt;
&lt;br /&gt;
for example: &lt;br /&gt;
&lt;br /&gt;
$ stop/id=2280091C &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reset the display/GUI====&lt;br /&gt;
These commands will terminate the current login session and may restore a frozen or messed up screen.  You will need to remotely access the problem workstation either from another micro-ct workstation or using a personal computer.&lt;br /&gt;
&lt;br /&gt;
Use the set host command to connect to the problem workstation (e.g., thomas) using the node name (e.g., sc3309) or the IP address (e.g., thomas.kin.ucalgary.ca). &lt;br /&gt;
&lt;br /&gt;
$ set host sc3309&lt;br /&gt;
login:  system&lt;br /&gt;
password: &lt;br /&gt;
&lt;br /&gt;
Issue the reset display command.&lt;br /&gt;
$ @sys$startup:decw$startup restart&lt;br /&gt;
&lt;br /&gt;
At the prompt, type &amp;quot;y&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart screen server====&lt;br /&gt;
&lt;br /&gt;
If the monitor fails to show the login prompt and displays a blank gray screen...telnet to the computer from another computer (e.g. a PC or so) and login as user system. Run the restart command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set host gordon.ucalgary.ca.    [or other computer name]&lt;br /&gt;
$username: system&lt;br /&gt;
$password: [system password]&lt;br /&gt;
$@sys$startup:decw$startup restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
confirm (answer &amp;quot;yes&amp;quot; at the prompt) and logout.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$y&lt;br /&gt;
$logout&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will kill all programs on your screen, but it will leave all batch jobs running, so if you do a BATCH measurement, this will survive! (but interactive scan will be killed).&lt;br /&gt;
&lt;br /&gt;
If you are restarting a monitor connected to a KVM box, unplug and re-plug in the box.&lt;br /&gt;
&lt;br /&gt;
This command also helps when the mouse/keyboard freezes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart Alpha stations====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Do not do this unless absolutely necessary.&lt;br /&gt;
&lt;br /&gt;
For shutdown&lt;br /&gt;
&lt;br /&gt;
At the login screen, type &amp;quot;shutdown&amp;quot;/no password and hit enter. &lt;br /&gt;
Then, you can turn the computer off at the prompt.&lt;br /&gt;
&lt;br /&gt;
Then, you may turn the disk array off (unplug it as there is no power switch).&lt;br /&gt;
&lt;br /&gt;
After you move the computer, power on the disk array and then the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow/non-responsive computer====&lt;br /&gt;
&lt;br /&gt;
This is usually caused by people logging in via SSH multiple times.  The solution involves resetting the SSH/TCPIP daemon.&lt;br /&gt;
&lt;br /&gt;
:*If you are local at the computer:&lt;br /&gt;
&lt;br /&gt;
You will need to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;.  ONLY EXPERIENCED USERS SHOULD EVER LOG IN AS SYSTEM!&lt;br /&gt;
&lt;br /&gt;
The system will be extremely slow (it will take 5 minutes just to get a log in prompt).  This is expected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_shutdown    ! shutdown SSH&lt;br /&gt;
$&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_startup     ! restart SSH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can reboot the system to reset the SSH.  This is not an appropriate solution and it is solving the problem by hitting it with a jack hammer.  Sometimes it is the only choice though.&lt;br /&gt;
&lt;br /&gt;
:*If you are remotely logged in:&lt;br /&gt;
&lt;br /&gt;
You will have to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; and run a script called STOP_START_TCPIP.COM.  &lt;br /&gt;
&lt;br /&gt;
This works essentially the same as for the above method, except that since it would be impossible to restart SSH remotely once it is shut down, two separate scripts are called and submitted on SCEVAL_FAST (make sure the queue isn&#039;t clogged) separated by a 1 minute delay. The first script called is STOP_TCPIP.COM and the second is START_TCPIP.COM.&lt;br /&gt;
&lt;br /&gt;
To execute this process, you must log in as system, go to the SYS$SCRATCH directory, and interactively execute the script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @STOP_START_TCPIP.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Shutdown a workstation remotely====&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard power off.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Remote shutdown from another micro-ct workstation&#039;&#039;&#039;.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 user:  system&lt;br /&gt;
 password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
 $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
 SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
 SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
*You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2. Remote shutdown from a personal computer&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
 &lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
 $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming). &lt;br /&gt;
 &lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
 $ shutdown&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow computers - Change RAID battery for Itanium computers====&lt;br /&gt;
&lt;br /&gt;
If computers become sluggish, particularly when saving data after a scan, have Scanco check the batteries in the RAID drive. The batteries in SCEVA3 were changed 2014-11-10. There are two batteries. Order the HP brand (should look like the ones in the image).&lt;br /&gt;
*Instructions to open the Itanium work station and access the PCI card: [[Media:HP_rx2660_PCI_card.pdf |&#039;&#039;&#039;Change PCI card&#039;&#039;&#039;]].&lt;br /&gt;
*Instructions to change the batteries after accessing the PCI card: [[Media:HP_SA6402_Batteries.pdf |&#039;&#039;&#039;Change batteries&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Frozen computer - &amp;quot;bootstrap failure&amp;quot; on boot up==== &lt;br /&gt;
The micro-CT computer is frozen or there is a &amp;quot;bootstrap failure&amp;quot; on boot up, This happens to the client computers (those connected to the scanners) when there is interruption in the network.  The only option is to restart the computer.&lt;br /&gt;
&lt;br /&gt;
====Crash of XtremeCT II workstation computer====&lt;br /&gt;
&lt;br /&gt;
For a non-responsive monitor and/or a mouse and/or a keyboard of the XtremeCT II workstation (sometimes caused by a lost of connection to server, or an internet outage):&lt;br /&gt;
&lt;br /&gt;
:*1. The first thing to do is to check system logs for any indication of the cause of the issue, if you have the &amp;quot;Administrator&amp;quot; user privilege.&lt;br /&gt;
:*2. The next thing to do is to soft-reboot by remote-login and using command line to reboot the workstation, if you have the &amp;quot;system&amp;quot; user privilege.&lt;br /&gt;
:*3. If no success, try hard-reboot by pressing the power button as indicated below.&lt;br /&gt;
:*4. If no success, try hard-reboot by unplugging both power cords as indicated below.&lt;br /&gt;
:*5. If still no success, contact Scanco immediately.&lt;br /&gt;
:*6. The last thing to do is to record the issue and any possible reasons.&lt;br /&gt;
&lt;br /&gt;
1.  Checking system logs:&lt;br /&gt;
 &lt;br /&gt;
:*1) Remotely log into the iLO (the management console of the workstation) using SSH as user &amp;quot;Administrator&amp;quot; with the system password. &lt;br /&gt;
Both user/pw are case sensitive. For XtremeCT II workstation (James) it is SSH to 10.148.64.231. For others, consult the network diagram. &lt;br /&gt;
&lt;br /&gt;
A trick: This connection only succeeds through a MAC or PC (via putty) direct login, not through an OpenVMS or Scanco system.&lt;br /&gt;
   $ ssh -l Administrator 10.148.64.231&lt;br /&gt;
:*2) Then you get to a   MP&amp;gt;   prompt here:&lt;br /&gt;
&lt;br /&gt;
   MP MAIN MENU:&lt;br /&gt;
         CO: Console&lt;br /&gt;
        VFP: Virtual Front Panel&lt;br /&gt;
         CM: Command Menu&lt;br /&gt;
         CL: Console Log&lt;br /&gt;
         SL: Show Event Logs&lt;br /&gt;
         HE: Main Help Menu&lt;br /&gt;
          X: Exit Connection&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*3) Type in &#039;SL&#039; to show event logs, then you could choose &#039;E&#039; for system event:&lt;br /&gt;
&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt; SL&lt;br /&gt;
     Event Log Viewer Menu:&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
   F - Forward Progress     20000      100 %        13 Sep 2018 11:17:43&lt;br /&gt;
   I - iLO Event              500      100 %        18 Sep 2018 07:46:42&lt;br /&gt;
   C - Clear SEL and FPL&lt;br /&gt;
   L - Live Events&lt;br /&gt;
&lt;br /&gt;
   Enter menu item or [Ctrl-B] to Quit: E&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
     Event Log Navigation Help:&lt;br /&gt;
   +       View next block     (forward in time,  e.g. from 3 to 4)&lt;br /&gt;
   -       View previous block (backward in time, e.g. from 3 to 2)&lt;br /&gt;
   &amp;lt;CR&amp;gt;    Continue to the next or previous block&lt;br /&gt;
   D       Dump the entire log&lt;br /&gt;
   F       First entry&lt;br /&gt;
   L       Last entry&lt;br /&gt;
   J       Jump to entry number&lt;br /&gt;
   H       View mode configuration - Hex&lt;br /&gt;
   K       View mode configuration - Keyword&lt;br /&gt;
   T       View mode configuration - Text&lt;br /&gt;
   A       Alert Level Filter options&lt;br /&gt;
   U       Alert Level Unfiltered&lt;br /&gt;
   ?       Display this Help menu&lt;br /&gt;
   Q       Quit and return to the Event Log Viewer Menu&lt;br /&gt;
   Ctrl-B  Exit command, and return to the MP Main Menu&lt;br /&gt;
&lt;br /&gt;
:*4) From here you can use -  and  +  to go through the log history back and forth. Not all logs do make a lot of sense though, as they are mainly meant for HPE engineers. &lt;br /&gt;
:*5) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*6) Use  MP&amp;gt; co   to get to the console, where you see at what stage the booting process is, in case it does not boot properly.&lt;br /&gt;
:*7) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*8) Use  MP&amp;gt; x   to end the connection.&lt;br /&gt;
&lt;br /&gt;
2. Soft-reboot by remote login:&lt;br /&gt;
&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard-reboot.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
:*2.A) Remote shutdown from another micro-ct workstation.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
   $ set host 0&lt;br /&gt;
   user:  system&lt;br /&gt;
   password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
   $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
   SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
   SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
:*2.B) Remote shutdown from a personal computer.&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
&lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
   $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming).  &lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
   $ shutdown&lt;br /&gt;
&lt;br /&gt;
3. Hard-reboot by power button:&lt;br /&gt;
&lt;br /&gt;
:*1) Hold the power button until it turns yellow.&lt;br /&gt;
:*2) Wait a minutes or two, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly. &lt;br /&gt;
  &lt;br /&gt;
4. Hard-reboot by unplugging both power cords:&lt;br /&gt;
&lt;br /&gt;
:*1) Hard-reboot by unplugging both the power cords. This will reset the console and controllers.&lt;br /&gt;
:*2) Wait for 5~10 minutes, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
==For Scanco support==&lt;br /&gt;
===Send a terminal to a remote computer===&lt;br /&gt;
&lt;br /&gt;
To send a terminal from XCT clusters to Scanco for maintenance, you need to know the ip address for the terminal location.&lt;br /&gt;
Such as For Mark Blanchard:&lt;br /&gt;
&lt;br /&gt;
  $ set display/create/transport=tcpip/node=193.72.60.24&lt;br /&gt;
  $ create/terminal/detach&lt;br /&gt;
&lt;br /&gt;
The cursor will disappear for a minute or so, and reappear with the $ prompt indicating sent already.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Access VMS filesystem==&lt;br /&gt;
===Access XtremeCT VMS filesystem on a Mac===&lt;br /&gt;
&lt;br /&gt;
In finder, select Go --&amp;gt; Connect to Server &lt;br /&gt;
&lt;br /&gt;
This opens up a window that allows you to enter a server address. Enter the following information: &lt;br /&gt;
&amp;lt;pre&amp;gt;smb://136.159.130.28&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click connect. If the internet connection is working, you will then be prompted to enter in login info:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select the volumes you want to mount.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View XtremeCT VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station (i.e., .130) enter the following IP address for Thomas (SC3309):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.130.28\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.130.28\UCT_DATA1&lt;br /&gt;
or&lt;br /&gt;
\\136.159.130.28\UCT_DATA2&lt;br /&gt;
&lt;br /&gt;
User name: xtremect@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View VivaCT40/uCT35 VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: vct_40&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station enter the following IP address for SCEVAL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.74.140\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.74.140\SB_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\SB_PROJ&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_PROJ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
User name: vct_40@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Map a Network Drive to the VMS filesystem from Windows===&lt;br /&gt;
&lt;br /&gt;
To do this you must be on the same network as the OpenVMS system. For main campus and the XtremeCT, you will map the drive to Thomas (136.159.130.28), the workstation connected to the scanner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on My Computer and choose Map Network Drive... &lt;br /&gt;
&lt;br /&gt;
Folder:  \\136.159.130.28\uct_data1     !FOR THE PROJECTS DISK&lt;br /&gt;
&lt;br /&gt;
         and/or &lt;br /&gt;
&lt;br /&gt;
         \\136.159.130.28\uct_data2     !FOR THE DATA DISK&lt;br /&gt;
&lt;br /&gt;
User name: microct\xtremect&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note:  You must use the numerical IP address and not the host name (i.e. thomas.kin.ucalgary.ca).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Setup remote access FAQ==&lt;br /&gt;
===Access data remotely===&lt;br /&gt;
Refer to [[Media:Scanco-faq-accessing-data-remotely.pdf|&#039;&#039;&#039;Scanco tutorial on accessing your data remotely&#039;&#039;&#039;]] for&lt;br /&gt;
&lt;br /&gt;
*A quick refresher course on accessing files&lt;br /&gt;
**Web browser&lt;br /&gt;
**File sharing&lt;br /&gt;
**File transfer protocol (FTP)&lt;br /&gt;
*Network file system NFS&lt;br /&gt;
*Running Scanco programs remotely&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use Hummingbird Exceed for remote access===&lt;br /&gt;
&lt;br /&gt;
*Screen definition&lt;br /&gt;
:Server visual = PseudoColor&lt;br /&gt;
:Window mode = multiple&lt;br /&gt;
&lt;br /&gt;
*Keyboard input&lt;br /&gt;
:Primary = decemus&lt;br /&gt;
:Alternate = us&lt;br /&gt;
&lt;br /&gt;
*EVE commands&lt;br /&gt;
:select = &amp;quot;end&amp;quot;&lt;br /&gt;
:cut = &amp;quot;delete&amp;quot;&lt;br /&gt;
:paste = &amp;quot;insert&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:move forward a word = CTRL + right_arrow&lt;br /&gt;
:move to start of document = CTRL + up_arrow&lt;br /&gt;
:move to end of document = CTRL + down_arrow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use XWin32 for remote access===&lt;br /&gt;
&lt;br /&gt;
Run XWin32.  Run Putty and connect to sceval.ucalgary.ca.  Use the terminal normally to run programs, which should open with XWin32.  &lt;br /&gt;
&lt;br /&gt;
Additional terminal windows can be opened with &amp;lt;code&amp;gt;$ dec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you try to connect from somewhere other than the university, you will probably get the following error when trying to open a window:&lt;br /&gt;
&lt;br /&gt;
   Xlib: connection to &amp;quot;sceval.ucalgary.ca:10.0&amp;quot; refused by server&lt;br /&gt;
   Xlib: Can not connect to a host on a restricted network&lt;br /&gt;
   X Toolkit Error: Cannot Open Display&lt;br /&gt;
   %DWT-F-DWTABORT, xtoolkit fatal error&lt;br /&gt;
&lt;br /&gt;
Type the following at the command prompt to direct the display:&lt;br /&gt;
&lt;br /&gt;
   $ set display/create/transport=tcpip/node=Your_IP_Address/server=0&lt;br /&gt;
&lt;br /&gt;
You can find your IP address from:   http://www.ip-adress.com/&lt;br /&gt;
&lt;br /&gt;
If you&#039;re running XWin32 from off campus and behind a router, forward ports 6000 - 6010 TCP and 177 UDP to your computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Set up Putty with gold-key access===&lt;br /&gt;
&lt;br /&gt;
Refer [http://bone.wiki/index.php?title=Scanco_User_Instructions#PuTTY_and_Xming &#039;&#039;&#039;PuTTY and Xming&#039;&#039;&#039;] to download putty.&lt;br /&gt;
&lt;br /&gt;
Set &#039;keyboard&#039; to Vt400, and &#039;initial state of numeric keyapad&#039; to &#039;Application&#039;, and now the &#039;NumLock&#039; key is the gold key (like PF1), and the editor can repeat stuff.&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set term/vt100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to enable the editor in the terminal.&lt;br /&gt;
&lt;br /&gt;
And duplication of a line is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
- (which would be PF4) to erase a line, &lt;br /&gt;
then twice &amp;quot;numlock, then -&amp;quot;  (gold-PF4 is &#039;restore line&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===SSH tricks===&lt;br /&gt;
====RSA and DSA Authentication====&lt;br /&gt;
&lt;br /&gt;
The main advantage of setting up RSA authentication is that you will no longer have to type your password each time you access a host with ssh.  There are some technical reasons why RSA and DSA access is more secure than password access.&lt;br /&gt;
&lt;br /&gt;
These instructions work on both Linux and OS-X.  &lt;br /&gt;
&lt;br /&gt;
# Create your public/private key pair on your local computer&lt;br /&gt;
#* At the command prompt type: ssh-keygen -t rsa&lt;br /&gt;
#* You will be asked to create a passphrase.&lt;br /&gt;
#* This will create the files .ssh/id_rsa and .ssh/id_rsa.pub .  Once you have these files, you never have to repeat this step.&lt;br /&gt;
# Copy your public key contents into the .ssh/authorized_keys2 file on the remote server&lt;br /&gt;
#* You can email yourself the file .ssh/id_rsa.pub from the local computer.&lt;br /&gt;
#* Alternatively, you could do this: ssh username@remoteserver.com &#039;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys2&#039; &amp;lt; /Users/Youruser/.ssh/id_rsa.pub&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTES ABOUT KEYS&amp;lt;/u&amp;gt;&lt;br /&gt;
Remember, the &amp;quot;authorized_keys&amp;quot; file is a concatenation of public (id_rsa.pub) keys, &lt;br /&gt;
and the &amp;quot;id_rsa&amp;quot; is the private key.  &lt;br /&gt;
Every user on every computer should only have ONE &amp;quot;id_rsa&amp;quot; file, &lt;br /&gt;
but can have multiple &amp;quot;id_rsa.pub&amp;quot; files concatenated into&lt;br /&gt;
their &amp;quot;authorized_keys&amp;quot; file.&lt;br /&gt;
&lt;br /&gt;
=====SSH Agent=====&lt;br /&gt;
&lt;br /&gt;
SSH-Agent is a tool to store your passphrase so you don&#039;t have type it every time.&lt;br /&gt;
&lt;br /&gt;
On OS-X, it is integrated into the system Keychain - you will be asked once if it should remember your passphrase, and after that you don&#039;t have to worry about it.&lt;br /&gt;
&lt;br /&gt;
Most Linux systems also have ssh-agent configured to start with every session. You may however have to do this once:&lt;br /&gt;
 ssh-add ~/.ssh/ida_rsa&lt;br /&gt;
&lt;br /&gt;
====SSH Tunneling====&lt;br /&gt;
&lt;br /&gt;
This is an alternative to VPN through kinesiology.  It may come in handy if for some reason VPN is not working.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re outside the university system and want to access, for example, svn on mike.kin, which is normally blocked by the university firewall, you can do that with ssh tunneling.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
 ssh eric@mighty-mac.kin.ucalgary.ca -L 2000:mike.kin.ucalgary.ca:443 -N&lt;br /&gt;
&lt;br /&gt;
Here is what is going on:&lt;br /&gt;
* I want to access port 443 (which is https) on mike.kin.ucalgary.ca.&lt;br /&gt;
* I have an account on mighty-mac, so I&#039;m using that server to create an ssh tunnel inside the university firewall.  I could use any machine I had an account on inside the university system, even mike.kin.ucalgary.ca, the one I&#039;m trying to get to (in fact, that would be best, but for purposes of demonstration I&#039;m using a different machine).&lt;br /&gt;
* I&#039;m mapping the local port 2000 to port 443 on mike.  Anything I send to localhost:2000 will by sent by ssh or the ssh tunnel to mighty-mac, which will then send it on to port 443 on mike.&lt;br /&gt;
* 2000 is a random 4-digit port number.  If by some fluke you happen to choose one that is in use, ssh will complain and you will have to try another port number.&lt;br /&gt;
&lt;br /&gt;
Now I can fire up my browser and point it to&lt;br /&gt;
&lt;br /&gt;
 https://localhost:200/trac/&lt;br /&gt;
&lt;br /&gt;
And what I get is the trac site on mike.&lt;br /&gt;
&lt;br /&gt;
If I want to get the code, I can do this:&lt;br /&gt;
&lt;br /&gt;
 svn checkout https://localhost:2000/svn/numerics88/trunk trunk_tunnel&lt;br /&gt;
&lt;br /&gt;
(&amp;quot;trunk_tunnel&amp;quot; is just the directory name where it will end up.  It can be named anything, but this will remind me that it only works when the tunnel is up.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Physical connections==&lt;br /&gt;
===Connect to VMS station with a serial port cable===&lt;br /&gt;
&lt;br /&gt;
To do this, you will need to connect from a PC using a PC-to-PC (NULL modem) serial cable, 9600 baud. Install PuTTY and connect with the &#039;serial&#039; option. You will need to know the COM port that is used by the PC to connect the serial cable. You can do this by checking on the PC the [Hardware][Device] settings.&lt;br /&gt;
&lt;br /&gt;
Typical login is &amp;quot;Admin&amp;quot; and password is usually same as the &#039;system&#039; password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Export VMS display to SUN or LINUX terminal===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# - temple&lt;br /&gt;
$ - sceval&lt;br /&gt;
# xhost +temple.ucalgary.ca&lt;br /&gt;
# ssh -X microct@sceval.ucalgary.ca&lt;br /&gt;
$ set display /create /transport=tcpip /node=temple.ucalgary.ca&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Do not use &amp;lt;code&amp;gt;xhost+&amp;lt;/code&amp;gt;.  Always specific exactly which computer is being&lt;br /&gt;
allowed X access.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Dose=&lt;br /&gt;
&lt;br /&gt;
==Dose Calculations==&lt;br /&gt;
&lt;br /&gt;
===XtremeCT radiation dose===&lt;br /&gt;
Some notes about radiation dose to help decide acceptable scanning protocols.  These comments are based on scanning an adult (not children having significant red marrow at the scan region).&lt;br /&gt;
&lt;br /&gt;
:*The annual dose limit for the hand for an occupational user is 500 mSv (as per the ICRP), and with the x-ray energy of our XtremeCT that translates to 500 mGy local dose per year. For non-occupational subjects, the limit is generally 10x lower (i.e., our volunteers should not have more than 50 mGy local dose per year).&lt;br /&gt;
:*Our scanner delivers a local dose of about 5.3 mGy per scan.  However, if we have adjacent scans, there is some overlap due to the penumbra of the x-ray beam which results in about double the local dose (a conservative guess would be 10 mGy) for a ~1mm overlap region. Averaging over the whole scanned regions (overlap and non-overlap regions) we can say that the average delivered local dose is about 7-8 mGy. The local dose is not additive.  If we&#039;re very conservative, and we take 10 mGy as the local dose, then we could theoretically scan a person 5 times before exceeding the 50 mGy limit based on a tenth of the occupational limit (500 mGy).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===vivaCT CTDI dose===&lt;br /&gt;
====Dose calculation====&lt;br /&gt;
&lt;br /&gt;
Assuming the following settings on the vivaCT for &amp;quot;high mode&amp;quot;, we will calculate the CTDI dose.&lt;br /&gt;
&lt;br /&gt;
 2000 projections (360 degrees)&lt;br /&gt;
 0.109 mA&lt;br /&gt;
 200 ms IT&lt;br /&gt;
&lt;br /&gt;
I calculate the time current value as:&lt;br /&gt;
&lt;br /&gt;
 0.109 mA * (0.200 + 0.012) S * 2000 proj= 46.22 mAs&lt;br /&gt;
&lt;br /&gt;
The 0.012 is the integration time between projections.&lt;br /&gt;
&lt;br /&gt;
Taking the proportion of the 68 mAs at 55 kV resulting in 720 mGy (see the document on example&lt;br /&gt;
dose calculation on this Wiki site), we have:&lt;br /&gt;
&lt;br /&gt;
 46.22 / 68 * 720 = 490 mGy&lt;br /&gt;
&lt;br /&gt;
Since CTDI in air is approximately two times the weighted CTDI, and since our setup is more like in air, we get:&lt;br /&gt;
&lt;br /&gt;
 2 * 490 = 980 mGy per scan.&lt;br /&gt;
&lt;br /&gt;
It&#039;s always a good idea to look at the time-current product in the control file to get an approximate estimate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Dose chart and example====&lt;br /&gt;
*Refer to [[Media:VivaCT dose information-fyi.pdf|&#039;&#039;&#039;VivaCT CTDI Dose Calculation Example&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
We have measured the following CT dose indices (CTDI). &lt;br /&gt;
:*CTDIw:   Weighted CTDI (chart below)&lt;br /&gt;
:*CTDIair: CTDI in air (2 times CTDIw - calculate from chart below).&lt;br /&gt;
&lt;br /&gt;
The detector was placed in the center of a 35 mm PMMA cylinder which was placed in the center of rotation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 70kV  300ms 85uA  Field of view 38.9mm 1000 Proj./180°:   CTDI = 260 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 220 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 190 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 30.7mm 1000 Proj./180°:   CTDI = 420 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 350 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 305 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 21.5mm 1000 Proj./180°:   CTDI = 850 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 720 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 620 mGy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 high res = 1000 Proj./180°&lt;br /&gt;
 medium  = 500 Proj./180°&lt;br /&gt;
 standard  = 250 Proj./180°&lt;br /&gt;
&lt;br /&gt;
The CTDI scales linear with the integration time (s), with the current (uA) and number of projections. If you have different settings there, it is easy to calculate the CTDI.&lt;br /&gt;
&lt;br /&gt;
CTDI Definition:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Integral from +50mm to -50mm of D(z)/NxT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*where D(z) is the dose profile along a line z which is perpendicular to the tomographic plane&lt;br /&gt;
:*N is the number of tomographic sections produced in a single rotation&lt;br /&gt;
:*T is the nominal tomographic section thickness&lt;br /&gt;
&lt;br /&gt;
Example: How to estimate how much radiation would be incurred by a mouse scanned at 25&lt;br /&gt;
um resolution (medium resolution -- MR) at 55 kVp, 109 uA, 150 ms IT, for about 30 minutes?&lt;br /&gt;
&lt;br /&gt;
If you take your settings you can calculate the CTDI.  First thing you have to be aware is that the CTDI is something like the local dose but it takes the cone beam geometry and the not perfect collimation of the x-ray beam into account (The CTDI value is always higher than a local dose measurement with for example TLDs). It does not matter how many stacks you are scanning. The dose you have at one point which is within the volume you are scanning gets the same local dose if you are performing a 1 stack or a 4 stack measurement.&lt;br /&gt;
&lt;br /&gt;
With the 55kVp/109uA HR with 300ms we have a value at the 30.7 mm position of 350 mGy. Because you have MR we can divide the values by a factor of 2; and because you have 150ms instead of 300ms there is an other factor of 2. You would get 87.5 mGy for the position 30.7 mm. Because of the cone beam the dose has a quadratic dependency to the diameter of the field of view. (30.7 mm/25 mm)2 = 1.5. The CTDI value for your settings is in the order of 87.5 mGy * 1.5 = 132 mGy.&lt;br /&gt;
&lt;br /&gt;
Note that for in vivo measurements, we should multiply the result by a factor of two since we are doing the measurement in AIR, not WATER.  The charts above are assuming the CTDI done in water.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Optimize Scan for Low Dose==&lt;br /&gt;
*Refer to [[Media:Scanco-faq-optimization-for-dose.pdf|&#039;&#039;&#039;Optimize Scan Protocols for Low Dose&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7119</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7119"/>
		<updated>2021-03-08T15:59:44Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Move data from Data Disk to Project Disk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic02.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  &lt;br /&gt;
:*You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defual ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: Extract a portion of an image &amp;lt;br /&amp;gt;&lt;br /&gt;
**-pos corresponds to x,y,z origin -1 -1 -1 maintains the original coordinates &amp;lt;br /&amp;gt;&lt;br /&gt;
**-dim corresponds to x,y,z dimensions -1 -1 -1 maintains the original dimensions (within maximum range) &amp;lt;br /&amp;gt;&lt;br /&gt;
**indexing starts at 0 instead of 1&lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Refer to [https://youtu.be/tT3dz4VrwfE &#039;&#039;&#039;MicroCT Image Tour YouTube Video&#039;&#039;&#039;]&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data withing the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Always use the same account consistently to create all files and subfolders within their Project folder, otherwise you way miss data when doing Project Backup or Archive!&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import MRI to Scanco System==&lt;br /&gt;
#Load MR data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7118</id>
		<title>Scanco Administration</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7118"/>
		<updated>2021-03-08T15:56:10Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Can not write a Projects directory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS=&lt;br /&gt;
&lt;br /&gt;
==OpenVMS References==&lt;br /&gt;
*[[Media:OpenVMS Users Manual.PDF| OpenVMS User Manual]]&lt;br /&gt;
*[[Media:Vmsfaq.pdf| OpenVMS FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Unix related==&lt;br /&gt;
*[[Media:Vms-unix-commands.pdf| OpenVMS Commands with UNIX equivalents]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix filenames on VMS with multiple &#039;.&#039;===&lt;br /&gt;
&lt;br /&gt;
The directory names would have been cvs-1.11.21.dir on Linux.  However VMS doesn&#039;t allow more than 1 . in the name.  If you enter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set process/parse=extended&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in a terminal you&#039;ll be able to access these files.  You could consider renaming them i.e. cvs-1_11_21.dir.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix command line basics===&lt;br /&gt;
====Twelve Essential Commands====&lt;br /&gt;
&lt;br /&gt;
These are the commands which you have to know in order to be basically functional with a shell (command line).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;&lt;br /&gt;
| List directory contents.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -l&amp;lt;/tt&amp;gt; long listing with dates and permissions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -a&amp;lt;/tt&amp;gt; list all, including hidden files (hidden files start with a period)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Change directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt; change to previous directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ~&amp;lt;/tt&amp;gt; change to home directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ..&amp;lt;/tt&amp;gt; change to parent directory&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;pwd&amp;lt;/tt&amp;gt;	&lt;br /&gt;
| Print current (working) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cp&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Copy file(s).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cp -r somedir somedest&amp;lt;/tt&amp;gt; Copy recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mv&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Move (or rename) a file (or directory)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rm&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Delete (remove) a file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -r somedir&amp;lt;/tt&amp;gt; Delete recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -ri somedir&amp;lt;/tt&amp;gt; Delete recursively, but prompt before each removal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -rf somedir&amp;lt;/tt&amp;gt; Delete recursively, never prompt&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mkdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Create directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rmdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Remove (empty) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cat&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Print file contents (to console).&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;less&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Scroll through file contents, one page at a time. SPACEBAR to advance a page, B to go back a page, Q to quit, /pattern to search for pattern&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;man&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Get help on &amp;lt;tt&amp;gt;command&amp;lt;/tt&amp;gt;. (eg. &amp;lt;tt&amp;gt;man ls&amp;lt;/tt&amp;gt; for help on &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;).  You move around in man as you do with less: SPACEBAR is forward a page, and so on.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;exit&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Close shell (i.e. the terminal). If this is your login shell, you will log out.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File names with spaces====&lt;br /&gt;
&lt;br /&gt;
Spaces on the command line separate arguments. Therefore file names containing spaces require special treatment to avoid being interpreted as two separate files. There are a couple of methods. You can use quotes:&lt;br /&gt;
&lt;br /&gt;
 cp &amp;quot;file name with spaces&amp;quot; file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
You can also use the backslash, which indicates that any special significance is to be removed from the following character. Thus a space, instead of being the delimiter for arguments on a command line, is to be interpreted as a regular character.&lt;br /&gt;
&lt;br /&gt;
 cp file\ name\ with\ spaces file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Copying and pasting====&lt;br /&gt;
&lt;br /&gt;
Copying and pasting in a terminal is generally done with the middle mouse button.  Just mark the text you want to copy with the mouse, holding down the left mouse button in the usual way. Then move the cursor (which is different than the mouse pointer - move the cursor with arrow keys typically) to where you want to insert and click the middle mouse button (on a wheel mouse the middle button is the wheel).&lt;br /&gt;
&lt;br /&gt;
Tip: You can double-click to mark a whole work, or triple-click to mark a whole line. Remember - you haven&#039;t only marked it, you&#039;ve put it in the clipboard.&lt;br /&gt;
&lt;br /&gt;
Note: This applies to X11, for example on Linux.  If using OS-X, just use Option-C and Option-V as usual.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Recalling previous commands====&lt;br /&gt;
&lt;br /&gt;
You can scroll though your previous commands (command history) by using the UP and DOWN arrow keys.&lt;br /&gt;
&lt;br /&gt;
A more advanced trick is to use CTRL-R, which is particularly useful when you want to recall a command you used some time ago. Hit CTRL-R and then start typing some fragment of the command you&#039;re searching for. The prompt will automatically update to show you the most recent match to the fragment you&#039;ve typed so far. If you want the matching command previous to the one shown, hit CTRL-R again. Once you&#039;ve got the previous command you&#039;re looking for, hit ENTER to run it again, or start editing it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Be lazy: use TAB to minimize typing====&lt;br /&gt;
&lt;br /&gt;
Some commands and especially some file names can be pretty long. Don&#039;t want to type it all? Type the first few letters, then hit TAB. The shell will fill in the rest, as far as there is a unique completion (either command or filename). If there is not a unique completion to the end, you might have to type another character or two and then hit TAB again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Keyboard Shortcuts====&lt;br /&gt;
&lt;br /&gt;
Here are some common command line keyboard shortcuts.  Some of these are bash-specific shortcuts, so not all of them will work on all systems.&lt;br /&gt;
&lt;br /&gt;
Note: If you&#039;re using OS-X, a number of the editing shortcuts below work in ALL programs in OS-X.  (With the sad exception of Microsoft Office, which overrides the system-wide key bindings.)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Common editing key bindings&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-A&amp;lt;/tt&amp;gt; || Move to the end of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-E&amp;lt;/tt&amp;gt; || Move to the beginning of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-F&amp;lt;/tt&amp;gt; || Move forward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-B&amp;lt;/tt&amp;gt; || Move backward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-F&amp;lt;/tt&amp;gt; || Move forward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-B&amp;lt;/tt&amp;gt; || Move backward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || Delete one character forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-H&amp;lt;/tt&amp;gt; || Delete one character backward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-D&amp;lt;/tt&amp;gt; || Delete one word forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-W&amp;lt;/tt&amp;gt; || Delete one word backwards.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-K&amp;lt;/tt&amp;gt; || Delete (Kill) everything from the cursor forwards (to the end of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-U&amp;lt;/tt&amp;gt; || Delete everything from the cursor backwards (to the beginning of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-T&amp;lt;/tt&amp;gt; || Transpose two characters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-T&amp;lt;/tt&amp;gt; ||	Transpose two words.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ESC .&amp;lt;/tt&amp;gt; || Insert the last argument (word) from the previous command.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-X-X&amp;lt;/tt&amp;gt; || Move between end of line and current cursor position&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 2. Common control key bindings&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; || Terminate the current program, or sometimes cancel some operation.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-\&amp;lt;/tt&amp;gt; || Seriously kill the current program! Use only after &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; has failed.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || End-of-file. This is often used to signal the end of input, or to exit a program.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-G&amp;lt;/tt&amp;gt; || Cancel the current operation. An occasionally useful command to get yourself out of things.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-L&amp;lt;/tt&amp;gt; || Redraw the console. Mostly useful if some program running in the background spews a lot of stuff onto your terminal.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Q&amp;lt;/tt&amp;gt; || The only time you need this is if you accidently hit &amp;lt;tt&amp;gt;CTRL-S&amp;lt;/tt&amp;gt;. In that case the console is locked until you hit CTRL-Q to unlock it. Apparently once a long long time ago this was actually a useful feature.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; || Recall command containing characters. After hitting &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt;, type the fragment you want to search for. If it returns a command which isn&#039;t the one one want, hit &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; again to cycle through matches.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Z&amp;lt;/tt&amp;gt; || Suspend the current program and put it in the background. This is very useful once you figure out how it works. Refer to the section on putting jobs in the background.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Using scp to copy files between computers====&lt;br /&gt;
&lt;br /&gt;
scp is a secure copy command that works bewteen computers.  Typically any computer that supports ssh also supports scp.  You must have an actual user account on the target computer, so for example you typically won&#039;t be able to scp to mike.kin .&lt;br /&gt;
&lt;br /&gt;
scp works just like the cp command, with a few extra decorations:&lt;br /&gt;
&lt;br /&gt;
 scp eric@mighty-mac.kin.ucalgary.ca:Documents/important_file.txt .&lt;br /&gt;
&lt;br /&gt;
In this example the file I want to copy is on the computer mighty-mac.kin.ucalgary.ca, and I used eric@ to specify my user name.  You can leave off the user name if it is the same on both computers.  The period as the destination is just standard Unix short-hand for the current directory.  You can use the -r flag to copy whole directories.  For example:&lt;br /&gt;
&lt;br /&gt;
 scp -r calculations mighty-mac.kin.ucalgary.ca:Documents/Projects&lt;br /&gt;
&lt;br /&gt;
In this example calculations is a directory containing many files, and possibly subdirectories.  This example copies files to mighty-mac instead of from it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Running long calculations====&lt;br /&gt;
&lt;br /&gt;
Here are some useful tips for running long jobs.&lt;br /&gt;
&lt;br /&gt;
=====Getting the prompt back after starting a job=====&lt;br /&gt;
&lt;br /&gt;
Use &amp;amp; at the end of the command. This puts the job in the background. For example:&lt;br /&gt;
&lt;br /&gt;
 ./myjob someargs &amp;amp;&lt;br /&gt;
&lt;br /&gt;
To see all your background jobs (the ones started in the current shell), enter:&lt;br /&gt;
&lt;br /&gt;
 jobs&lt;br /&gt;
&lt;br /&gt;
To bring one of these to the foreground, use:&lt;br /&gt;
&lt;br /&gt;
 fg %n&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;n&amp;lt;/tt&amp;gt; is the job number (yes it needs a &amp;lt;tt&amp;gt;%&amp;lt;/tt&amp;gt; in front of it). To move it to the background again, hit CTRL-Z. This however doesn&#039;t just move the job to the background, it suspends it. To get it running again, use&lt;br /&gt;
&lt;br /&gt;
 bg %n&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Keeping a job running after you log out=====&lt;br /&gt;
&lt;br /&gt;
Use nohup. For example, suppose you want to run &amp;lt;tt&amp;gt;./myjob 20&amp;lt;/tt&amp;gt;. In this case, you could use:&lt;br /&gt;
&lt;br /&gt;
 nohup nice ./myjob 20 &amp;amp;&amp;gt; output &amp;amp;&lt;br /&gt;
&lt;br /&gt;
There are several things to note here:&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;tt&amp;gt;&amp;amp;&amp;lt;/tt&amp;gt; at the end of the command line is there so you get the command prompt back immediately (see the previous section).&lt;br /&gt;
* We have redirected the output to a file out_file with &amp;lt;tt&amp;gt;&amp;amp;&amp;gt; output&amp;lt;/tt&amp;gt;. If you don&#039;t do this, any output to STDIN (normally the console) will automatically go into a file called &amp;lt;tt&amp;gt;nohup.out&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* We&#039;ve niced the job to reduce it&#039;s execution priority. This is courteous if you&#039;re a multiuser system. &lt;br /&gt;
&lt;br /&gt;
If you want to see what&#039;s in nohup.out (or whatever you called it) at any time, you can do the usual&lt;br /&gt;
&lt;br /&gt;
 cat nohup.out&lt;br /&gt;
&lt;br /&gt;
Here&#039;s another potentially more useful command:&lt;br /&gt;
&lt;br /&gt;
 tail -f nohup.out&lt;br /&gt;
&lt;br /&gt;
tail shows you the last few lines of the files. In addition, the -f flag (&amp;quot;follow&amp;quot;) means that as lines get added to the file, they are displayed on the screen. This looks just like when you run the program without nohup, except when you hit CTRL-C, the program keeps on running in the background.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Finding out if any of your jobs are still running=====&lt;br /&gt;
&lt;br /&gt;
This command will show all jobs that belong to user &amp;quot;eric&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
Another useful command is &amp;quot;top&amp;quot;, which will show interactively which processes are using the most processor cycles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Terminating a job prematurely=====&lt;br /&gt;
&lt;br /&gt;
If you decide that you want to kill the job before it completes, this is the command:&lt;br /&gt;
&lt;br /&gt;
 kill PID&lt;br /&gt;
&lt;br /&gt;
where PID is the actual PID (a number) of the process.  You find the PID with &#039;top&#039; or &#039;ps -u eric&#039;  (replace eric by your user ID of course).&lt;br /&gt;
&lt;br /&gt;
Occasionally a process will decline to terminate when you request it to.  This is the more brutal, never-fails method to kill a job immediately:&lt;br /&gt;
&lt;br /&gt;
 kill -s KILL PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Suspending a long-running job and restarting it later=====&lt;br /&gt;
&lt;br /&gt;
First find the PID (process ID) with top or with ps. For example, I might list all jobs belonging to me with:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
To stop the job, send it a STOP signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s STOP PID&lt;br /&gt;
&lt;br /&gt;
(replace PID with the actual PID number). It is now no longer running, but it still occupies memory (although the memory it uses will probably be swapped out to disk). When you want to resume execution, give it a CONT signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s CONT PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Graphical Applications==&lt;br /&gt;
&lt;br /&gt;
===Calendar - Fix corruption===&lt;br /&gt;
&lt;br /&gt;
Sometimes the calendar file can be corrupted, which is annoying every time you log onto the system. &lt;br /&gt;
&lt;br /&gt;
When we login to a server through a workstation, there is a &amp;quot;File is not a Calendar Datafile.&amp;quot; information message pops up.&lt;br /&gt;
&lt;br /&gt;
This means that the calendar database got corrupted during an improper interruption such as a system crash due to a power outage.&lt;br /&gt;
&lt;br /&gt;
To fix this, you will need to login to the Server through the Workstation&lt;br /&gt;
&lt;br /&gt;
Once logged in:&lt;br /&gt;
 cd xdefaults&lt;br /&gt;
 dir *calendar*.dat  /date&lt;br /&gt;
&lt;br /&gt;
Delete the calendar file for the workstation, such as the following James workstation:&lt;br /&gt;
 del decw$calendar_sc3401.dat&lt;br /&gt;
&lt;br /&gt;
Once logged out and logged in again, you will be asked if you want to create a new calendar file. &lt;br /&gt;
Say &amp;quot;yes&amp;quot; there and a new calendar will open. &lt;br /&gt;
&lt;br /&gt;
In the calendar window menu &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;general&amp;quot; set the &amp;quot;start iconized&amp;quot; -&amp;gt; apply and &amp;quot;ok&amp;quot;, then &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;save settings&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
So next time you log in, the calendar window will be minimized in the right lower corner.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Session Manager - Create a customized button===&lt;br /&gt;
The session manager part to enable the double-click on the AIM file:&lt;br /&gt;
Session Manager, &#039;Options&#039;, &#039;Menu&#039;, enter new item&lt;br /&gt;
SAP&lt;br /&gt;
with command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@decw$user_defaults:sap$vue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then move that menu point into &#039;Applications&#039; menu.&lt;br /&gt;
Also:&lt;br /&gt;
&#039;Options&#039;, &#039;File types&#039;, Create &#039;AIM&#039; file type.&lt;br /&gt;
Move &#039;rename&#039;, &#039;copy&#039;, &#039;purge&#039; etc. into menu, Select &#039;SAP&#039;, click  on&lt;br /&gt;
&#039;Change double click&#039;, and also move SAP into menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===EVE Editor===&lt;br /&gt;
&lt;br /&gt;
====Launch EVE editor====&lt;br /&gt;
&lt;br /&gt;
On the command line&lt;br /&gt;
  $ edit/display=decwindows/tpu fname.txt&lt;br /&gt;
&lt;br /&gt;
Or to set it up permanently, edit &amp;lt;code&amp;gt;DISK1:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; to include &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Configure EVE editor====&lt;br /&gt;
&lt;br /&gt;
The following file, called &amp;lt;code&amp;gt;tpu.dat&amp;lt;/code&amp;gt;, should be installed in &amp;lt;code&amp;gt;disk1:[microct.xdefaults]:&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# DECTPU V3.1 1993-04-22 15:50 defaults&lt;br /&gt;
# CHANGED B.KOLLER 21-JUN-90&lt;br /&gt;
#&lt;br /&gt;
# Copyright (c) 1993 Digital Equipment Corporation.  All rights reserved.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# The following are all the resource names that DECTPU supports.&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Title:		DECTPU Copyright © Digital Equipment Corporation 1992.  All Rights Reserved.&lt;br /&gt;
Tpu.Tpu$MainWindow.ApplicationTitle:	DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.IconName:		DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.X:			610&lt;br /&gt;
Tpu.Tpu$MainWindow.Y:			0&lt;br /&gt;
#&lt;br /&gt;
# The following resource names are commented out so that users can specify&lt;br /&gt;
# *rows and *columns and have DECTPU obey those directives.  If DECTPU finds&lt;br /&gt;
# finds no resource names governing the number of rows and columns it should&lt;br /&gt;
# have, it uses 24 rows and 80 columns.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Columns:	80&lt;br /&gt;
Tpu.Tpu$MainWindow.Rows:	56&lt;br /&gt;
*EVE_MENU_BAR*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmScrollBar*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmDialogShell*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmMenuShell*background:	#ADADADADADAD&lt;br /&gt;
*background:			white&lt;br /&gt;
Tpu*condensedFont: OFF&lt;br /&gt;
Tpu*fontSetSelection: 0&lt;br /&gt;
&lt;br /&gt;
# 0 = big font&lt;br /&gt;
# 1 = little font&lt;br /&gt;
# 2 = GS font (German Standard)&lt;br /&gt;
# 3 = Fine font (used only for non-latin 1 fonts?)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====EVE editor Commands====&lt;br /&gt;
&lt;br /&gt;
* mark -&amp;gt; ctrl-space&lt;br /&gt;
* delete -&amp;gt; remove (delete)&lt;br /&gt;
* insert -&amp;gt; insert here (insert)&lt;br /&gt;
* learn -&amp;gt; ctrl-k (ctrl-r to stop)&lt;br /&gt;
* The right &#039;alt&#039; key on the PC accesses the menu for EVE.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| copy&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;Remove&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;Insert Here&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt; &amp;lt;code&amp;gt; &amp;lt;ctrl&amp;amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| cut&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;Remove&amp;amp;gt; &amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;delete&amp;amp;gt; &amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt; &amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;#&amp;amp;gt;&amp;amp;lt;(CTRL-Q)&amp;amp;gt; &amp;lt;/code&amp;gt; (the &amp;lt;code&amp;gt;CTRL-Q &amp;lt;/code&amp;gt; depends on the given key sequence).&lt;br /&gt;
|-&lt;br /&gt;
| find next&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter search string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| replace string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;S&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| margins&lt;br /&gt;
| Mouse click bottom of window type: &amp;lt;code&amp;gt;set right 999&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF4&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*To avoid having the EVE editor automatically create multiple lines from a long input sequence set the margins [FORMAT - SET MARGINS] to some high number eg. 500.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use Commands Remotely with XWin32====&lt;br /&gt;
&lt;br /&gt;
Default key settings:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| remove (cut) and append to previous paste buffer&lt;br /&gt;
| &amp;lt;code&amp;gt;9&amp;lt;/code&amp;gt; (nine on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt;&amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;-Q&amp;lt;/code&amp;gt; or given key sequence&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| go to end of line&lt;br /&gt;
| &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; (two on number pad) or &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;E&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;backspace&amp;amp;gt; or &amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;H&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of word&lt;br /&gt;
| &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; (one on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| delete line to left of cursor&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;U&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt; or .&amp;lt;/code&amp;gt; (on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select all text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;O&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off overstrike&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;A&amp;amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| save and exit&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Z&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter command&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may find it useful to define keys. For example, define keys to cut, copy and paste:&lt;br /&gt;
&lt;br /&gt;
*To Cut &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;X&amp;amp;gt;&amp;lt;/code&amp;gt;:    &lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/x cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Copy &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;C&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/c copy&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Paste &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;V&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/v paste&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use terminal based editor (EVE)====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ edit file.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you are using this from a remote terminal, you will need to initiate a vt100 terminal.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set term /vt100&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some useful commands:&lt;br /&gt;
:* ctrl-z -&amp;gt; exit with save&lt;br /&gt;
:* ctrl-y -&amp;gt; kill without saving&lt;br /&gt;
:* do-key, then type &#039;quit&#039; or &#039;exit&#039; (what is the do key on a remote terminal?)&lt;br /&gt;
:* PF2 -&amp;gt; shows special keypad functions&lt;br /&gt;
:* GoldKey -&amp;gt; PF1&lt;br /&gt;
&lt;br /&gt;
====Use EVE editor Remotely====&lt;br /&gt;
For remote sessions, once used $ EVE to start the text editor, press Ctrl-B to bring up a command line at the bottom of the screen.&lt;br /&gt;
&lt;br /&gt;
*Command: @eveconfig&lt;br /&gt;
&lt;br /&gt;
This will set backspace to delete normally.&lt;br /&gt;
*Ctrl-X cut&lt;br /&gt;
*Ctrl-C copy&lt;br /&gt;
*Ctrl-V paste&lt;br /&gt;
*Ctrl-S save file&lt;br /&gt;
*Ctrl-L learn command&lt;br /&gt;
*Ctrl-F find next&lt;br /&gt;
*Ctrl-Q quit&lt;br /&gt;
*Ctrl-O open&lt;br /&gt;
*Ctrl-space to select&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout Views===&lt;br /&gt;
====View scout views in two locations====&lt;br /&gt;
Go to scout view directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT side:&lt;br /&gt;
$ cd DISK1:[MICROCT.DATA.SCOUTS]&lt;br /&gt;
&lt;br /&gt;
VivaCT side:&lt;br /&gt;
$ cd ADISK1:[VIVACT.DATA.SCOUTS]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the program ximage&lt;br /&gt;
&amp;lt;pre&amp;gt;$ x asdf.SCV&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For XtremeCT users, 2 sets of scout views are saved. Scout views can be viewed from the main scouts directory (above) and in the data directory under specific patient and measurement numbers. For example using patient #: 2795 and meas#:9933: &lt;br /&gt;
 $ cd DISK2:[MICROCT.DATA.00002795.00009933]&lt;br /&gt;
 $ x C00008848.SCV&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reuse old scout views====&lt;br /&gt;
Reference SCV files are not overwritten. When you Save a new reference within the scout view Dialog, it writes a new version that is read by the measurement program.&lt;br /&gt;
&lt;br /&gt;
If you want to return to an old scout view reference, you will have to manipulate files manually.&lt;br /&gt;
&lt;br /&gt;
Typically all the scouts are accessible here:&lt;br /&gt;
  DISK1:[MICROCT.DATA.SCOUTS]0000PPPPSS.SCV&lt;br /&gt;
&lt;br /&gt;
PPPP being the patient number, and SS the Site Code number [i.e. 20,21,38,39 = RL, RR, TL, TR].&lt;br /&gt;
&lt;br /&gt;
Assuming you have only version;1 and ;2 what you can do is to rename/delete version;2, so that it is not read anymore by the measurement program.&lt;br /&gt;
Or copy version;1 as version;3, but this is rather messy.&lt;br /&gt;
&lt;br /&gt;
Note: Do not look in the measurement directories. There are copies of the SCV files, but those are not the one called by the measurement program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==File Operations==&lt;br /&gt;
&lt;br /&gt;
===Copy and Move===&lt;br /&gt;
====Copy files between accounts/users====&lt;br /&gt;
&lt;br /&gt;
As user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; you can copy files between accounts (e.g., microct and devel).  There is no need to set user/priv=bypass as this is set by default as user system.&lt;br /&gt;
&lt;br /&gt;
If you want to copy between two users (i.e. normal users, not calibration or system), then you can only write on the user directories for which you are logged in. So, if you want&lt;br /&gt;
to copy files from account xtremect2 to microct, you need to log into microct account and copy the file from xtremect2 to microct&lt;br /&gt;
&lt;br /&gt;
If you want to use the backup command for copying multiple subdirectories with &lt;br /&gt;
the three dots (e.g., &amp;lt;code&amp;gt;disk2:[microct.data.00000034...]&amp;lt;/code&amp;gt;) then you HAVE to put an &amp;lt;code&amp;gt;/owner=devel&amp;lt;/code&amp;gt; at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/log disk2:[microct.data.00000034...] -&lt;br /&gt;
        disk2:[devel.data.00000034...]/own=devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a directory on the same device====&lt;br /&gt;
&lt;br /&gt;
You can simply use the rename command to move a directory on the same device, but you need to set DELETE protection for the file owner for this to work&lt;br /&gt;
 $ set prot=o:rwed &amp;lt;dir&amp;gt;.dir&lt;br /&gt;
 $ ren &amp;lt;dir&amp;gt;.dir new:[parent.directory]&lt;br /&gt;
 $ set prot=o:rwe new:[parent.directory]&amp;lt;dir&amp;gt;.dir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a whole directory structure with BACKUP command====&lt;br /&gt;
&lt;br /&gt;
Sometimes we want to move entire directories. For example, moving a measurement directory from DISK2 to DISK6, or moving a project to another disk. &lt;br /&gt;
&lt;br /&gt;
Here is how to move a project:&lt;br /&gt;
  $ BACKUP DISK2:[MICROCT.PROJECTS...] DISK3:[MICROCT.PROJECTS...]/VERIFY&lt;br /&gt;
&lt;br /&gt;
Note the use of &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; in both places.&lt;br /&gt;
&lt;br /&gt;
If you move a data measurement, you could do it as follows:&lt;br /&gt;
  $ BACKUP DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
In both cases, you can add a &amp;lt;code&amp;gt;/DELETE&amp;lt;/code&amp;gt; command to so that it deletes after the move is completed and verified.&lt;br /&gt;
  $ BACKUP/VERIFY/DELETE DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can simply check that the move was successful, and then delete the original files:&lt;br /&gt;
  $ delete disk2:[microctt.projects...]*.*;*&lt;br /&gt;
  $ dl disk2:[microctt.projects...]*.dir     ! A for all; do until sub-dirs are gone&lt;br /&gt;
&lt;br /&gt;
Note that I&#039;ve misspelled &amp;quot;microctt&amp;quot; on purpose as these commands are VERY dangerous. You could wipe out a lot of data by accident. Be careful!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix corrupted VMS files when moved to or from a PC====&lt;br /&gt;
&lt;br /&gt;
We start by getting good file format/attributes from a good aim/isq/gobj, etc.&lt;br /&gt;
&lt;br /&gt;
  $ ana/rms/fdl/out=correct.fdl good.aim&lt;br /&gt;
&lt;br /&gt;
Then we edit the file correct.fdl, leaving only 5 lines:&lt;br /&gt;
  RECORD&lt;br /&gt;
        BLOCK_SPAN                        yes&lt;br /&gt;
        CARRIAGE_CONTROL                  none&lt;br /&gt;
        FORMAT                            fixed&lt;br /&gt;
        SIZE                              512&lt;br /&gt;
 &lt;br /&gt;
Now we have to set the file attributes of the affected aim (isq, gobi) file:&lt;br /&gt;
&lt;br /&gt;
  $ set file/attr=lrl=514 bad.aim    ! Yes, 514&lt;br /&gt;
  $ set file/attr=lrl=514 *.AIM        ! do a bunch at a time&lt;br /&gt;
&lt;br /&gt;
Finally we create a fixed file&lt;br /&gt;
&lt;br /&gt;
  $ convert/fdl=correct.fdl/trunc bad.aim converted.aim&lt;br /&gt;
&lt;br /&gt;
This process discards the superfluous 2 bytes, usually caused by transferring to/from a PC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Delete===&lt;br /&gt;
&lt;br /&gt;
====Delete older versions of files====&lt;br /&gt;
Use the PURGE command.[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ PURGE	                                        !Removes older versions of all files in the directory! CAREFUL!!!!&lt;br /&gt;
$ PURGE myfile.aim                              !Removes older versions of myfile.aim.&lt;br /&gt;
$ PURGE /KEEP=3                                 !Removes all but the three most recent versions of all files.&lt;br /&gt;
$ HELP PURGE	                                !More information on the PURGE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Undelete Files====&lt;br /&gt;
&lt;br /&gt;
The Disk/File Utility (DFU) will allow you to restore files that have been deleted, however, you will only be able to do so if the disk space hasn&#039;t been overwritten.  This means that unless all scanning and access to the disk is stopped, you likely only have a couple of hours at most to undelete the files. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the system user and start the disk file utility program, DFU. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dfu&lt;br /&gt;
DFU&amp;gt; undelete diskX: /file=myfile OR undelete filepath/filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, suppose we want to restore an RSQ (C0001234.RSQ) that was deleted from the BH data disk (disk2):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; undelete disk2:/file=C0001234.RSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If the file can be undeleted successfully (i.e., without corruption), then you will be asked if you wish to restore the file.  Type &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
When done restoring desired files, to get out of dfu: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; exit&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*The undelete function will lock access to the disk while it searches for a file and until you respond &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot; to restoring it.  This means that all programs and commands trying to access the disk (i.e., by other people using the system) will appear to freeze momentarily until the disk is unlocked.  &lt;br /&gt;
*If you search for a specific file, the lock period will be very short (maybe 15-30 seconds).  If you search for files in general (e.g., *.RSQ), the lock period will be longer (maybe 5 to 10 minutes).  &lt;br /&gt;
*You cannot search specific locations for files (i.e., a folder on a disk).  &lt;br /&gt;
*Files are restored to their original location on disk.&lt;br /&gt;
*More information on DFU can be found here: http://digiater.nl/dfu.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Delete a directory====&lt;br /&gt;
Use the DL command (this calls the script $ @SCOM:DL.COM), but first remove all files from the directory.&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  	                                        &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ DL subdir.dir;	                        !Deletes subdir.dir with confirmation.&lt;br /&gt;
$ DL disk:[dir.subdir...]*.dir                  !* for all; do until subdirs are gone.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the DELETE command, but first remove all files from the directory and set file protections to enable deletion of the directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROT=O:RWED [.subdir...]*.*;*        !Changes protections so you can delete the files.  O is short for OWNER and RWED refers to Read, Write, Edit, Delete.&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED subdir.dir         !Changes protections so you can delete the subdirectory subdir.dir.  &lt;br /&gt;
$ DEL subdir.dir;                               !Deletes the subdirectory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the file cannot be deleted to due a permission error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ purge 12_RAD_FX.AIM&lt;br /&gt;
%PURGE-W-FILNOTPUR, error deleting DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
-RMS-E-FLK, file currently locked by another user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set ho 0                                      ! log in as calibration&lt;br /&gt;
$ spb &lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that still doesn&#039;t work, then maybe you need to kill a process first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device  disk4 /file                      ! shows all the files currently involved in a process&lt;br /&gt;
$ set ho 0                                      ! log in as &#039;system&#039;&lt;br /&gt;
$ stop /id=2081F1EC&lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Authorizations===&lt;br /&gt;
&lt;br /&gt;
====Can not access a Projects directory====&lt;br /&gt;
In principal, all Scanco user accounts (even including the calibration ones) should have read and write access to the Projects directories. While it (denied reading or writing access to a Project folder) did happen for a reason (used different accounts to create a file or a subfolder within a Projects folder), you could let lab administrator know and carefully run the following command to overwrite the authority, or switch to microct or xtremct2 account to perform as a walkaround. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set file/prot=(g:rwe,o:rwe) disk4:[bonelab.projects.danielle...]*.*;*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To avoid this happening again, make use always using the same account consistently to create all files and subfolders within their Project folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Administrative Commands==&lt;br /&gt;
&lt;br /&gt;
===Query commands===&lt;br /&gt;
====Check licenses on VMS system====&lt;br /&gt;
&lt;br /&gt;
This can be used to see what educational licenses (and other licenses) are currently on the system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW LICENSE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply for an educational license go to http://www.openvmsedu.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check MAC address of VMS system====&lt;br /&gt;
You can check them using the command&lt;br /&gt;
  $ mcr lancp sh dev/char&lt;br /&gt;
For example, the result on percy.kin.ucalgary.ca gives&lt;br /&gt;
&lt;br /&gt;
  Device Characteristics EIA0:&lt;br /&gt;
                  Value  Characteristic&lt;br /&gt;
                  -----  --------------&lt;br /&gt;
                   1500  Device buffer size&lt;br /&gt;
                 Normal  Controller mode&lt;br /&gt;
               External  Internal loopback mode&lt;br /&gt;
      00-02-A5-20-29-99  Hardware LAN address&lt;br /&gt;
                         Multicast address list&lt;br /&gt;
                CSMA/CD  Communication medium&lt;br /&gt;
      FF-FF-FF-FF-FF-FF  Current LAN address&lt;br /&gt;
                    128  Minimum receive buffers&lt;br /&gt;
                    256  Maximum receive buffers&lt;br /&gt;
                    Yes  Full duplex enable&lt;br /&gt;
                    Yes  Full duplex operational&lt;br /&gt;
            TwistedPair  Line media type&lt;br /&gt;
                    100  Line speed (mbps)&lt;br /&gt;
    Disabled/No Failset  Logical LAN state&lt;br /&gt;
                      0  Failover priority&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update commands===&lt;br /&gt;
&lt;br /&gt;
====Change hosts====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr latcp show service *                      ! and if it shows you SCTHIN:&lt;br /&gt;
$ set host scthin                               ! or&lt;br /&gt;
$ set host scthin/lat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update OpenVMS Licenses====&lt;br /&gt;
This needs to be done on all the Calgary workstations, XtremeCT, vivaCT40/uCT35, and uCT100.&amp;lt;br&amp;gt;&lt;br /&gt;
Request licenses from HP:&lt;br /&gt;
*School Identification (for U of C): 855803-9502&lt;br /&gt;
*License type: OpenVMS VAX/Alpha (uCT100: OpenVMW Integrity) Layered Products?  (Or try others)&lt;br /&gt;
*Member of DSPP or AlicanceONE: No&lt;br /&gt;
*Do you use a VAX or Alpha Emulator: No&lt;br /&gt;
&lt;br /&gt;
On every workstation, you need to check which licenses are loaded and update those with a termination date.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show license&lt;br /&gt;
&lt;br /&gt;
Active licenses on node SCEVA3:&lt;br /&gt;
&lt;br /&gt;
------- Product ID --------    ---- Rating ----- -- Version --&lt;br /&gt;
Product            Producer    Units PCL   Activ Version Release    Termination&lt;br /&gt;
C                  DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CXX-V              DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
FORTRAN            DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
LSE                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
MMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
VMSCLUSTER         DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
OPENVMS-I64-FOE    HP              4  1     0      0.0  (none)      (none)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
*HP will provide you with a script file ([[media:Openvms_license_update_hp.docx |&#039;&#039;&#039;Example script from HP&#039;&#039;&#039; ]]) containing a large number of licenses. &lt;br /&gt;
*Modify the script to contain only the relevant licenses and load the licenses ([[Media:Openvms_license_update.docx |&#039;&#039;&#039;Example modified script&#039;&#039;&#039;]]).&lt;br /&gt;
*Login as user: system&lt;br /&gt;
*Re-check the licenses on the workstation to ensure that the termination date has been updated.&lt;br /&gt;
*The date after expiry, if cannot log in, then there is a problem with the VMS Cluster license, which was installed by Scanco. Contact Mark Blanchard (mblanchard@scanco.ch) about this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understanding how to set default parameters with OpenVMS====&lt;br /&gt;
&lt;br /&gt;
Here is how the files all hang together...&lt;br /&gt;
&lt;br /&gt;
LOGIN.COM is called automatically during login and calls&lt;br /&gt;
::MICROCT_SETUP.COM, which sets the scanner ID, data device, etc. This file calls&lt;br /&gt;
::::MICROCT_SETUP_COMMON.COM to create general settings. This file is located in DISK0:[MICROCT_COMMON] and calls&lt;br /&gt;
::::::MICROCT_FE.COM, if present, to setup the environment for Bert&#039;s FE program&lt;br /&gt;
::::::MICROCT_SETUP_SITE_SPECIFIC.COM to create local settings for all accounts (e.g. ICALC)&lt;br /&gt;
::::::MICROCT_SETUP_COMMON_*.COM, if present, typically to create application-specific settings for all accounts&lt;br /&gt;
::::::MICROCT_SETUP_GROUP_*.COM, if present, to create local settings for specific groups (e.g. group 3401)&lt;br /&gt;
::MICROCT_SETUP_USER.COM to create user-specific settings.&lt;br /&gt;
&lt;br /&gt;
Note that the $UM designation is the MAIN directory, and the location of the binary files. To see a list: &lt;br /&gt;
&lt;br /&gt;
  $ dir DISK0:[MICROCT_COMMON.MAIN]&lt;br /&gt;
&lt;br /&gt;
This is where you&#039;ll find IPL_SCANCO_FE.EXE, IPL_SCANCO_M.EXE, etc.&lt;br /&gt;
&lt;br /&gt;
Lots of stuff here:&lt;br /&gt;
&lt;br /&gt;
  Directory DISK0:[MICROCT_COMMON]&lt;br /&gt;
&lt;br /&gt;
  3309.DIR;1          DATABASE.DIR;1      DEMO.DIR;1          EVAL.DIR;1         &lt;br /&gt;
  MAIN.DIR;1          TEMPLATES.DIR;1     TIPS.DIR;1          UIL.DIR;1          &lt;br /&gt;
  UTIL.DIR;1          WWW.DIR;1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Edit Symbol====&lt;br /&gt;
&lt;br /&gt;
=====Edit SCANCO_SUBMIT_COMMAND=====&lt;br /&gt;
&lt;br /&gt;
*Check the current setting:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show sym *submit*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In directory &amp;lt;code&amp;gt;DISK2:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; add the following line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SCANCO_SUBMIT_COMMAND :== SUBMIT/NOPRINT/QUE=SYS$SLOW /NOTIFY/LOG=SYS$SCRATCH:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then end session and log in again.  Definition of the symbol in the &lt;br /&gt;
&amp;lt;code&amp;gt;MICRO_SETUP_USER.COM&amp;lt;/code&amp;gt; supersedes the standard setting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Edit AIX=====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Log in as user calibration (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user.&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
 $ set proc/priv=bypass&lt;br /&gt;
Or &lt;br /&gt;
 $ spb&lt;br /&gt;
Change to the MICROCT_COMMANDS directory.&lt;br /&gt;
 $ cdc &lt;br /&gt;
 $ sea *.com aix&lt;br /&gt;
 $ eve microct_setup_common.com&lt;br /&gt;
Edit the file which is called &amp;lt;code&amp;gt;MICROCT_SETUP_COMMON.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Another example&#039;&#039;: To make the backspace/insert keys work properly, edit the &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt; and insert the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set terminal/insert&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Anywhere suitable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Time====&lt;br /&gt;
=====Change system date and time=====&lt;br /&gt;
The OpenVMS system should adjust for daylight savings, however, this is currently incorrect for the alpha systems.  The alpha systems will need to be manually moved forward in March and moved back in April. To do this, you will need to login as system&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ show time&lt;br /&gt;
$ set time=dd-mmm-yyyy:hh:mm:ss/cluster   !/cluster to change the time on all computers at once&lt;br /&gt;
$ set time=01-APR-2012:18:00/cluster      !Example:  Set the system to April 1, 2012, 6 pm.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Set time zone=====&lt;br /&gt;
As user system:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:utc$time_setup&lt;br /&gt;
Choose &amp;quot;CANADA&amp;quot; from the menu.&lt;br /&gt;
Choose &amp;quot;MOUNTAIN&amp;quot; from the menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Disable Distributed Time Synchronization Service (DTSS)=====&lt;br /&gt;
DTSS will automatically adjust the clocks for daylight savings (i.e., 2am to 1am on the 2nd Sunday in March, 2am to 3am on the 1st Sunday in November).  As user system:&lt;br /&gt;
&lt;br /&gt;
 $ mcr ncl disable dtss&lt;br /&gt;
 $ mcr ncl delete dtss&lt;br /&gt;
 $ eve sys$startup:sylogicals.com&lt;br /&gt;
&lt;br /&gt;
Add line to disable DTSS&lt;br /&gt;
  $ DEFINE/SYSTEM/EXEC NET$DISABLE_DTSS TRUE&lt;br /&gt;
Save and exit.&lt;br /&gt;
Now re-set the time zone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Configure Network Time Protocol (NTP) server to synchronize clocks=====&lt;br /&gt;
*NTP must be configured for each node (computer).  Login as user system.&lt;br /&gt;
NTP can only synchronize the system clock if the error is less than 1000 seconds. &lt;br /&gt;
 &lt;br /&gt;
Synchronize the system clock to UofC&#039;s NTP server (ensures time is correct to within 1000s):&lt;br /&gt;
&lt;br /&gt;
 $ mcr sys$system:tcpip$ntpdate ntp.cpsc.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
Enable NTP:&lt;br /&gt;
&lt;br /&gt;
 $ cd sys$startup&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
   3 - Server components&lt;br /&gt;
   12 - NTP&lt;br /&gt;
   1 – Enable service on this node&lt;br /&gt;
   E – Exit menu&lt;br /&gt;
   E – Exit configuration procedure&lt;br /&gt;
   N – don’t start service&lt;br /&gt;
&lt;br /&gt;
Create the NTP configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ sys$sysroot:[tcpip$ntp]&lt;br /&gt;
 $ copy/log tcpip$ntp.template tcpip$ntp.conf&lt;br /&gt;
 $ eve tcpip$ntp.conf&lt;br /&gt;
&lt;br /&gt;
Comment out existing peer and server entries (# for comments).&lt;br /&gt;
Add entries for local servers.&lt;br /&gt;
        server ntp.cpsc.ucalgary.ca&lt;br /&gt;
        server ntp1.cpsc.ucalgary.ca&lt;br /&gt;
Save and exit.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Start NTP:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:tcpip$ntp_startup&lt;br /&gt;
&lt;br /&gt;
Check the log:&lt;br /&gt;
&lt;br /&gt;
 $ type/cont/int=1 sys$sysroot:[tcpip$ntp]tcpip$ntp_run.log&lt;br /&gt;
&lt;br /&gt;
Sample log file:&lt;br /&gt;
&lt;br /&gt;
 $ Set NoOn&lt;br /&gt;
 $ VERIFY = F$VERIFY(F$TRNLNM(&amp;quot;SYLOGIN_VERIFY&amp;quot;))&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: ntpd version = 4.1.0&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: precision = 976 usec&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: drift file &#039;SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT&#039; does not exist: no such file or directory&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: will attempt to create drift file &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Email====&lt;br /&gt;
=====Setup email server=====&lt;br /&gt;
The SMTP protocol is not enabled by default. If you use &amp;lt;code&amp;gt;tcpip$config&amp;lt;/code&amp;gt; you can switch on the mail server under Client Components. As system:&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
 $ @SYS$MANAGER:TCPIP$CONFIG&lt;br /&gt;
Or&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
 -&amp;gt; 2 (client components)&lt;br /&gt;
 -&amp;gt; 6 (SMTP)&lt;br /&gt;
 -&amp;gt; 2 (Enable &amp;amp; Start services)&lt;br /&gt;
&lt;br /&gt;
*Select option 2 (client components) from the menu.&lt;br /&gt;
*Select option 6 (SMTP) from the next menu to enable and start it.&lt;br /&gt;
&lt;br /&gt;
Since your smtp server is not registered anywhere, it can be that emails sent from this server will be filtered out as spam on the way to your mailbox. In that case you would need a so called MX record for your mail server. Contact UofC IT to resolve this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Send an email=====&lt;br /&gt;
Example:  Send an email without an attachment.&lt;br /&gt;
 $ mail sys$scratch:email_message.txt/subject=&amp;quot;email subject&amp;quot; &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example:  Send an email with an attachment.&lt;br /&gt;
 $ MIME :== $MIME.EXE&lt;br /&gt;
 $ MIME MIME&amp;gt; NEW /NOEDIT sys$scratch:file.txt&lt;br /&gt;
 MIME&amp;gt; ADD /TEXT thisattached.txt&lt;br /&gt;
 MIME&amp;gt; ADD /BINARY thatattached.zip&lt;br /&gt;
 MIME&amp;gt; ADD /MESSAGE this_is_written.txt&lt;br /&gt;
 MIME&amp;gt; SAVE&lt;br /&gt;
 MIME&amp;gt; EXIT&lt;br /&gt;
 $ MAIL /SUBJECT=&amp;quot;MIME-encoded Message&amp;quot; - sys$scratch:file.txt &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
 $&lt;br /&gt;
*MIME&amp;gt; ADD /TEXT *.txt does not work&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Action commands===&lt;br /&gt;
====Send a message to terminals====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ reply /all &amp;quot;Merry Christmas to Bone Imaging Lab!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  Reply received on SCEVA2 from user XTREMECT2 at _SCEVA2$FTA8473:   09:21:58 &lt;br /&gt;
  Merry Christmas to Bone Imaging Lab!&lt;br /&gt;
&lt;br /&gt;
  4 terminals have been notified on SCEVA2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SCSRV2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SC3309.&lt;br /&gt;
$&lt;br /&gt;
  3 terminals have been notified on SCEVA1.&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt; command====&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;, but only with mcr you can hand over &#039;in-line&#039; parameters to an .exe file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
does not work, but you  have to say&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But funnily if you define a symbol in &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;),&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ctheader :== $ut:ctheader.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with just neither run nor mcr, but the &#039;funny&#039; $ sign, then you can also hand over the ISQ name in-line.&lt;br /&gt;
&lt;br /&gt;
Small detail with big effect...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File Do All (fda) - apply a command to a set of files====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda ctheader dk0:[microct.data.0001234...]*.isq &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the header of all isq files of sample 1234 (the three dots ... means all subdirectories)&lt;br /&gt;
&lt;br /&gt;
Or: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data.0001234.00005678]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the processing log of all aim files of scan 5678&lt;br /&gt;
&lt;br /&gt;
Wildcard &amp;quot;*&amp;quot; means multiple characters, &amp;quot;%&amp;quot; is for ONE character: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data...]C%%%%%%%.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, 7 %&#039;s)&lt;br /&gt;
&lt;br /&gt;
to show the aim header of the gray-scale c0000135.aim (etc) files only, and NOT from the _seg.aims also.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning: CAUTION! &amp;lt;/b&amp;gt; Always test the wildcard expression first with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dir dk0:[xxx...]*.aim &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &#039;file do all&#039; fda command can even be combined with a pipe, or an /output qualifier: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix dk0:[microct...]*.aim | search sys$pipe &amp;quot;Slope&amp;quot; &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will show you all &amp;quot;Slopes&amp;quot; in a row. (but you may not see which slope belongs to which aim file anymore...)&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda/output=sys$scratch:all_headers.log aix dk0:[microct...]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will write all the output into the .log file - which you can then either edit, or &lt;br /&gt;
&amp;lt;code&amp;gt;$ search sys$scratch:all_headers.log &amp;quot;String&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or whatever you want. &lt;br /&gt;
&lt;br /&gt;
Another example with output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ pipe fda type *.log | search sys$pipe &amp;quot;BV/TV&amp;quot; /output=BVTV.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;fda&amp;quot; is our self-written script, so you may have to try-n-error a bit...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda command file_wildcard [Optional: further parameters]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the command consists of multiple words with spaces inbetween (e.g. mcr ut:xxx.exe), then enclose the command in double-quotes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda &amp;quot;mcr ut:uct_ext_header_display&amp;quot; dk0:[microct...]*.isq 8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grab more than one line using pipe and search command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix *.aim | search sys$pipe &amp;quot;dim&amp;quot;, &amp;quot;pos&amp;quot;, &amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The further parameters may not contain wildcards - so unfortunately, the fda can NOT be used to &#039;adaptively&#039; rename a whole bunch of files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Make commands available to all users with symbols or paths====&lt;br /&gt;
&lt;br /&gt;
DCL$PATH is one way to do that, WE don&#039;t use it...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def dcl$path disk1:[microct.main],disk1:[microct.util]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then, if you type&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ uct_t&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
it will first try to&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ @uct_t.com&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and then&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ r uct_t.exe&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
however, we usually define it by giving full path:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ progx :== $disk1:[microct.main]progx.exe&lt;br /&gt;
$ com_proc_x :== @disk1:[microct.main]procedure.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then, you can just type the shortcut (&#039;symbol&#039; in VMS language)&lt;br /&gt;
&lt;br /&gt;
We use the &#039;cd&#039; to set the default path, you may also use this in your command procedure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;proc.com&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd &#039;p1&#039;&lt;br /&gt;
$ dir *.*/size&lt;br /&gt;
&lt;br /&gt;
$ define COM disk1:[microct.commands]&lt;br /&gt;
$ p :== @COM:PROC.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
these both go into &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;, but see the Wiki entry above to confirm exactly where...&lt;br /&gt;
&lt;br /&gt;
then, you can just type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ p disk4:[microct.data.0000007.000009]*.ISQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Calibration and QC=&lt;br /&gt;
&lt;br /&gt;
==System Updates==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT II&lt;br /&gt;
|&lt;br /&gt;
*22-OCT-2020:  Recalibration&lt;br /&gt;
*01-OCT-2020:  Recalibration&lt;br /&gt;
*31-JUL-2020:  Pixel Correction&lt;br /&gt;
*21-Feb-2019:  New X-ray source, recalibration&lt;br /&gt;
*28-Apr-2016:  Recalibration&lt;br /&gt;
*04-Nov-2014:  Recalibration&lt;br /&gt;
*21-May-2014:  New Daily QC Phantom (Scanco concluded minimal differences from previous)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT I&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT80&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  Filter changer replaced, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT40&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*09-NOV-2010:  Recalibration (70KV energy only)&lt;br /&gt;
*01-NOV-2010:  New x-ray source, Pixel Correction, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µCT35&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*15-JUN-2011:  Recalibration&lt;br /&gt;
*21-MAR-2011:  Recalibration&lt;br /&gt;
*10-FEB-2011:  Recalibration&lt;br /&gt;
*26-NOV-2010:  Pixel Correction&lt;br /&gt;
*29-OCT-2010:  Recalibration &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Calibration and Conversion==&lt;br /&gt;
===Attenuation measured by µCT===&lt;br /&gt;
A micro-CT 3D image of an object is basically a 3D map of local x-ray absorption in the object. The reconstruction from multiple angular views provides information on how much x-ray absorption is happening within each cubic voxel element of the scanned volume.&lt;br /&gt;
&lt;br /&gt;
It is important to understand what is meant by “density” in a µCT image. The reconstructed grey-scale intensity of each image voxel does not relate directly to mass density alone, thus do not expect it to correspond with measurements of weight per volume, e.g. g.cm-3. The primary entity that is measured is x-ray absorption, defined as the x-ray linear attenuation coefficient in units of&lt;br /&gt;
1/distance, specifically, 1/cm. This is determined both by mass density and x-ray mass attenuation coefficient which is determined by the elemental composition of the material. The x-ray linear attenuation coefficients of typical material is shown blow.&lt;br /&gt;
&lt;br /&gt;
[[File:Mu_comparison.JPG|thumb|center|600px|X-ray linear attenuation coefficient µ of typical material (image curtesy of Dr. Ying Zhu)]]&lt;br /&gt;
&lt;br /&gt;
The images we obtain from the scanner are in a special scanner manufacturer format called AIM files. Each voxel in these images contains a scaled linear attenuation value (mu-value) to save disk space. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µ&lt;br /&gt;
| x-ray linear attenuation coefficient&lt;br /&gt;
| 1/cm&lt;br /&gt;
| µ &amp;gt; 0 &lt;br /&gt;
| A constant that describes the fraction of attenuated incident photons in a monoenergetic beam per unit thickness of a material&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| mu_value&lt;br /&gt;
| linear attenuation in Scanco images&lt;br /&gt;
| 1/cm&lt;br /&gt;
| -8～8 typically&lt;br /&gt;
| mu value represented in Scanco images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_Scanco&lt;br /&gt;
| pixel intensity value in Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| −32768～32767&lt;br /&gt;
| Original format of Scanco images in 16-bit signed&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_uint&lt;br /&gt;
| pixel intensity value in converted Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| 0～65535&lt;br /&gt;
| Converted format of Scanco images in 16-bit unsigned, using the same slope (unscaled) but an updated intercept&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = mu-value * scaling_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration by BMD===&lt;br /&gt;
When we know that the x-ray absorption of a material is dominated by one specific material, then we can relate the measured x-ray linear attenuation coefficient (mu_value) to the mass density of that material. The calibration of [[Scanco_User_Instructions#Descriptive_Statistics_.28Mean.2C_Median.2C_SD.29_of_Calibrated_Voxel_Values| &#039;&#039;&#039;Bone Mineral Density (BMD)&#039;&#039;&#039;]] is an example of this. We assume that the x-ray attenuation within mineralized tissues such as bone, dentine and enamel is dominated by, and can be approximated as, the x-ray attenuation of the mineral compound calcium hydroxyapatite (CaHA) which has the formula Ca5(PO4)3(OH). &lt;br /&gt;
&lt;br /&gt;
Then we obtain “phantoms” with two or more known mass concentrations of CaHA. By linking these mass concentrations of CaHA with measured mu_value in the micro-CT images, we can establish calibration linking the two quantities, allowing us to infer from the micro-CT measured linear attenuation coefficient (mu_value) in a mineralized tissue, to the density of CaHA in mg.cm-3. &lt;br /&gt;
&lt;br /&gt;
*The assumption of linear correlation between the two quantities is based on a well-applied beam hardening correction and the phantoms&#039; diameter matching with the size of bone within the sample.&lt;br /&gt;
&lt;br /&gt;
*This calibration system could be used to calibrate measurement of other substances apart from CaHA and bone, where x-ray absorption is known to be dominated by a certain substance and phantoms can be prepared with known concentrations of that substance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD &lt;br /&gt;
| Bone Mineral Density &lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| 0～3000 &lt;br /&gt;
| Volumetric density of calcium hydroxyapatite (CaHA) in a biological tissue in terms of mg/cm^3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD_value&lt;br /&gt;
| Bone Mineral Density in Scanco images&lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| -1500～3000 typically&lt;br /&gt;
| BMD value in Scanco images&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Conversion between Attenuation and Bone Density===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = mu-value * slope + intercept&lt;br /&gt;
&lt;br /&gt;
mu-value = (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
pixel_Scanco = scaling_factor * (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert mu_value of 1.7923 (1/cm) to BMD (mg HA/ccm):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = 1.7923 * 3.67162994e+02 + -2.06399002e+02 = 451.667 (mg HA/ccm)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert the lower threshold of 125 mg HA/ccm that is in the IPL script to pixel intensity in Scanco images:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = 4096 * (125 - -2.06399002e+02) / 3.67162994e+02 = 3697 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*You could get the scaling_factor, intercept and slope values from the AIM header of your scan by using aix -l command:&lt;br /&gt;
[[File:Aix.JPG|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Reference: [[Media:Jbmr.141.pdf|Bouxsein ML, Boyd SK, Christiansen BA, Guldberg RE, Jepsen KJ, Müller R, Guidelines for assessment of bone microstructure in rodents using micro-computed tomography. J Bone Miner Res. 25(7): 1468-86. 2010.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert CT numbers to mg HA/ccm / Houndsfield units (HU)===&lt;br /&gt;
&lt;br /&gt;
The two byte numbers (short) can be converted to mu values by first dividing by mu_scaling which is probably 4096 (uCT35, vivaCT40) or 8192 (XtremeCT). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Houndsfield units (HU)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the conversion formula from mu (lin.att. in 1/cm, our original, &#039;physical&#039; image numbers) to HU:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU(pixel) = -1000 + mu(pixel) * 1000/mu(water)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so the mu(water) is the &#039;constant&#039; that is needed for this conversion of any pixel value mu(pixel) to HU of that pixel.&lt;br /&gt;
&lt;br /&gt;
divide the 2-byte numbers in our dicom/aim/isq files by 4096 to get mu. (4096 --&amp;gt;  &#039;mu_scaling&#039; in our headers). E.g. you see&lt;br /&gt;
gray-scale number 8192 in our files --&amp;gt;  mu = 2 [1/cm].&lt;br /&gt;
&lt;br /&gt;
A reasonable result for the uCT35 is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU = (CT / 4096) * 1718.19 - 1000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and that means 1000/mu(water) = 1718.19 --&amp;gt; mu(water) = 0.58299 which is a reasonable number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;mg HA/ccm&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mg HA/ccm = (AIM/mu_scaling) * slope + intercept&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 295.494 - 189.695    ! vivaCT40&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 256.51 - 172.99         ! uCT35&lt;br /&gt;
mg HA/ccm = (AIM/8192) * 1402.549 - 340.953  ! XtremeCT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These numbers are available in the AIM header, or the ISQ header (&amp;lt;code&amp;gt;$ run ut:ctheader&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
To look up slope, intercept and mu_scaling, check either the AIM header&lt;br /&gt;
&amp;lt;pre&amp;gt;$ aix C1234567.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:uct_update_calibration&amp;lt;/pre&amp;gt;&lt;br /&gt;
and look at a record, and you&#039;ll find slope and intercept and mu-water.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vivaCT40&lt;br /&gt;
!---------------------------------------------------------------------- &lt;br /&gt;
Mu_Scaling                    4096 &lt;br /&gt;
Calibration Data              55 kVp, 200mg HA wedge, 4096 scaling &lt;br /&gt;
Calib. default unit type      2 (Density) &lt;br /&gt;
Density: unit                 mg HA/ccm &lt;br /&gt;
Density: slope                2.95493988e+02 &lt;br /&gt;
Density: intercept            -1.89695007e+02 &lt;br /&gt;
HU: mu water                  0.58200 &lt;br /&gt;
!----------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
Mu_Scaling                                       8192&lt;br /&gt;
Calibration Data              60kVp, BH: 200 mg HA/ccm, Scaling 8192            &lt;br /&gt;
Calib. default unit type      2 (Density)                                       &lt;br /&gt;
Density: unit                 mg HA/ccm                                         &lt;br /&gt;
Density: slope                         1.40254895e+03&lt;br /&gt;
Density: intercept                    -3.40953003e+02&lt;br /&gt;
HU: mu water                                  0.23900&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration FAQ===&lt;br /&gt;
====Change brightness scaling====&lt;br /&gt;
*Refer to [[Media:Mu-scaling.pdf|&#039;&#039;&#039;Change the brightness scaling&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan after pixel correction====&lt;br /&gt;
Contact Lab personnel with system-level priviledges to perform&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
                 !  Username: calib2339       (µCT35)          &lt;br /&gt;
                 !  Username: calib5019       (vivaCT40)           &lt;br /&gt;
$ spb            ! set priviledge bypass to write in other user accounts&lt;br /&gt;
$ run ut:pixel_corr_apply&lt;br /&gt;
&lt;br /&gt;
        PIXEL_CORR_APPLY Version 1.5&lt;br /&gt;
        Scanner ID from UCTD:UCT_SCANNER_2339.DAT : 2339       !2339 for µCT 35,  5019 for vivaCT 40&lt;br /&gt;
        Is this Scanner ID correct ? [?]:  y&lt;br /&gt;
        Give RSQ-Filename (leave empty to exit)  []: DISK4:[BONELAB.DATA.00005283.00011668]C0005128.RSQ&lt;br /&gt;
        ...&lt;br /&gt;
        ...&lt;br /&gt;
        Copy .RSQ to _CORRECTED.RSQ befor correction ? [?]:   y&lt;br /&gt;
&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update calibration in ISQ====&lt;br /&gt;
If DICOM files are converted to ISQ with IPL and then used for patient evaluation, the calibration data in the ISQ header needs to be present and correct. If this information is missing, utilizing upat_list to extract the values will say &#039;Error: Density calibration not valid&#039;. In order to add calibration data to an ISQ file, do the following as user calibration:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set proc/priv=bypass ! gain read/write access to the files&lt;br /&gt;
$mcr ut:uct_ext_header_add_calib ! provide ISQ file name and header type (I chose [2])&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to adjust the calibration of a file, without changing the system calibration data, copy the calibration database into a different directory, e.g. sys$scratch. Then, add a new calibration record to this temporary calibration database. This way your new, temporary values will not show up in the scan program.&lt;br /&gt;
&lt;br /&gt;
  $ copy uctd:uct_calibration_3401.dat sys$scratch:&lt;br /&gt;
&lt;br /&gt;
Define the following logical in a terminal MAKE SURE TO DO THIS!!!!&lt;br /&gt;
&lt;br /&gt;
  $ def UCT_CALIBRATION_DATABASE sys$scratch:uct_calibration_3401.dat&lt;br /&gt;
&lt;br /&gt;
Run uct_update_calibration and click trough the current calibration record (always enter).&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
  select current calibration record&lt;br /&gt;
  enter...&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
&lt;br /&gt;
Then select the last number (New Record), copy all values from above, change slope and intercept.&lt;br /&gt;
&lt;br /&gt;
Then use&lt;br /&gt;
&lt;br /&gt;
  $ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
&lt;br /&gt;
for ISQ and RSQ.&lt;br /&gt;
&lt;br /&gt;
At the end, close the terminal!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Quality Control (QC)==&lt;br /&gt;
===Scope===&lt;br /&gt;
*Only Authorized XCT and µCT Operators are permitted to perform QC scans, including both scan acquisition and analysis.    &lt;br /&gt;
*Authorization is a formal process. If you are not sure whether you have or should have authorization, speak to Dr. Boyd or Dr. Hallgrimsson or the MoJo Operations Manager. &lt;br /&gt;
*Authorized XCT and µCT Operators are responsible for ensuring a QC schedule is maintained.&lt;br /&gt;
*Only the manufacturer can calibrate the scanner!  QC only checks the calibration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
*Micro-CT systems cannot directly measure the density of a material, however, the density is linearly correlated to the x-ray absorption (assuming a proper beam-hardening correction is applied), which can be measured by micro-CT.  Density is therefore determined by measuring a reference material of known density (i.e., a phantom) to define a conversion function to relate x-ray absorption to density. Quality control of density and structural measurements for the micro-CT systems is achieved through weekly checks of phantom values to their reference values and recalibrating the system (i.e., defining a new conversion function) as necessary. &lt;br /&gt;
&lt;br /&gt;
*Performing QC is essential to the:&lt;br /&gt;
# Safety of our study participants and lab members&lt;br /&gt;
# Validity of our research data&lt;br /&gt;
&lt;br /&gt;
[[File:QC_phantom.jpg|thumb|center|600px|Scanco Medical quality control phantom (a) and its CT scans of the density QC1 (b) and the structural QC2 (c)]]&lt;br /&gt;
&lt;br /&gt;
*Reference:  Koller B, Laib A (2007) Calibration of micro-CT data for quantifying bone mineral and biomaterial density and microarchitecture. In: Advanced bioimaging technologies in assessment of the quality of bone and scaffold materials: techniques and applications. Springer, pp 79-84.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Density QC1===  &lt;br /&gt;
QC1 measures the density of 5 different rods of known hydroxyapatite (HA) densities within the QC phantom: approximately 0, 100, 200, 400, and 800 mg HA/cm3.  This tests 3 things:&lt;br /&gt;
&lt;br /&gt;
# That the scanner’s last calibration is still valid.  This is done by comparing daily QC values to an acceptable range.&lt;br /&gt;
# The presence of drifts and shifts in the calibration.  This is done by plotting daily QC results over time and using Shewart’s Controls to mathematically look for drifts and shifts.  (Shewart’s Controls replaces visual assessment.)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC1 is checked daily or 3 times a week on XtremeCT scanners whenever used and weekly on microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Structural QC2===  &lt;br /&gt;
QC2 measures the volume of 3 fine aluminum rods within the QC phantom (Al rod volume measurement).  This tests for:&lt;br /&gt;
&lt;br /&gt;
# Alignment of the gantry (or stability of architectural parameters)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC2 is checked weekly on both XtremeCT and microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC Scan Instructions===&lt;br /&gt;
*XtremeCT QC Scan Instructions: Boyd Drive:\02 - Operations\01 - Scanner QC, Specifications, &amp;amp; Maintenance\QC Workflows\QC 001.2 - XCT Quality Control.docx&lt;br /&gt;
*[[Media:Calibration-instructions-for-uct35.pdf |µCT35 QC Instructions]] or  [[Media:uCT35_Calibration.pdf|µCT35 QC another Instructions]]&lt;br /&gt;
*[[Media:Calibration-instructions-for-vivact40.pdf |VivaCT40 QC Instructions]] or [[Media:VivaCT40_Calibration.pdf| VivaCT40 QC another Instructions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out QC reports===&lt;br /&gt;
After running a QC1 or QC2 analysis, the results are output to: &lt;br /&gt;
*DISK4:[BONELAB.PROJECTS.QC] for XtremeCT QC results&lt;br /&gt;
*DISK3:[MICROCT.PROJECTS.CALIBRATION] for microCT QC results performed by BH lab&lt;br /&gt;
:*login with microct account &lt;br /&gt;
*DISK5:[BONELAB.PROJECTS.CALIBRATION] for microCT QC results performed by Bone Imaging lab&lt;br /&gt;
:*RESULTS_QC1_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC1_VIVACT.TXT;4 &lt;br /&gt;
:*RESULTS_QC2_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC2_VIVACT.TXT;2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As usual as [[Scanco_User_Instructions#Print_out_report_sheets|&#039;&#039;&#039;print out report sheets&#039;&#039;&#039;]], you use&lt;br /&gt;
  $ upat_list&lt;br /&gt;
When it asks for a template, you can select for a graphical report&lt;br /&gt;
  template = UU:UCT_EVAL_PHANTOM_SCANCO.PS&lt;br /&gt;
or for a text output&lt;br /&gt;
  template = UU:UCT_3D_LIST.TXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===System Stability and Precision===&lt;br /&gt;
System Stability and Precision here is based on the QC measurement, QC1 for density variations and QC2 for structure variations.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| System Stability and Precision&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| vivaCT40&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Long Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 1.6%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Short Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.9%&lt;br /&gt;
(Ref term: 4-MAR-2011 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 6-MAR-2011 to 8-APR-2011)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC FAQ===&lt;br /&gt;
====Determine calibration drift for microCT QC1====&lt;br /&gt;
The microCT QC1 analyses provide an estimate of the calibration drift by considering &#039;mean5&#039; values.  Use &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and make sure to use UU:UCT_3D_MEANS.TXT as the template.  Then give the measurement numbers of the QC1 measurements (or all of them and remove what&#039;s not needed later).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update QC1 contours====&lt;br /&gt;
If the QC contours don&#039;t line up on the phantom, then the contours need to be updated on the system.  Normally this should not happen unless the phantom has become loose - if this is the case, re-fix it.&lt;br /&gt;
&lt;br /&gt;
1. Login as user system.  Do not use the &amp;lt;code&amp;gt;$ set host 0 &amp;lt;/code&amp;gt; command since you will not be able to open windows for program.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Run the login script for the user that does the QC scans so that Scanco logicals point to that scan database.&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the XtremeCT cluster&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the vivaCT cluster&lt;br /&gt;
          $ @disk1:[microct]login.com       on the µCT100 cluster&lt;br /&gt;
&lt;br /&gt;
3. Run the evaluation program.&lt;br /&gt;
          $ uct_evaluation&lt;br /&gt;
4. Load the most recent QC scan and locate the contours. File--&amp;gt;Load Gobj... Filter:  &amp;lt;code&amp;gt;uctd:*.GOBJ&amp;lt;/code&amp;gt;. Locate the contours for the phantom: &amp;lt;code&amp;gt; UCT_PHANTOM_KP_HA_XXXX_Y.GOBJ  &amp;lt;/code&amp;gt; where XXXX corresponds with the scanner ID (XtremeCT 3309, vivaCT 5019, µCT35 2339, µCT100 6002) and Y corresponds with the rod number (1-5 and results mean1 - mean5. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Adjust the contours to centre on the rods.&lt;br /&gt;
    Load a contour.&lt;br /&gt;
    Move the contour on the first slice to be centred on the rod.&lt;br /&gt;
    Copy the contour.&lt;br /&gt;
    Delete the contours on slices 2 to the end.&lt;br /&gt;
    Paste the contour on the last slice.&lt;br /&gt;
    Morph between the two contours.&lt;br /&gt;
    Save the contours.  They should be saved to (A)DISK0:[000000.MICROCT_COMMON.DATABASE].&lt;br /&gt;
6. Perform a new QC scan as the standard (i.e., microct) user.  Check that the contours line up for the evaluation.  Evaluate and check the results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update Gobj for QC1 Analysis====&lt;br /&gt;
Refer to  [[Media:Fix_QC1_gobj.pdf| &#039;&#039;&#039;Fix QC1 Gobj&#039;&#039;&#039; ]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update XtremeCT QC1 calibration====&lt;br /&gt;
This procedure needs to be done for each beam hardening correction (e.g., QC1 with 200 mg HA/cm3, QC1 with 1200 mg HA/cm3) and for each scan energy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Perform 3 back-to-back QC1 scans, which ensures the x-ray tube is very warm.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Evaluate the last QC1 scan.&amp;lt;br&amp;gt;&lt;br /&gt;
3. After the evaluation is done, determine parameters for the new calibration&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_calib_phantom&lt;br /&gt;
UCT_CALIB_PHANTOM Version V1.0&lt;br /&gt;
 &lt;br /&gt;
Reading UCTD:UCT_CALIB_PHANTOM_KP_HA_3309.TXT&lt;br /&gt;
Phantom Type in file:              6&lt;br /&gt;
Phantom Number in file:          304&lt;br /&gt;
Voltage in file:                   0&lt;br /&gt;
No of Materials in file:           1&lt;br /&gt;
With each, no of  steps:           5&lt;br /&gt;
and mus:                    1.000000&lt;br /&gt;
No. of Cylinders:                  5&lt;br /&gt;
Measurement No. (0 to Stop)     [0]: 11404&lt;br /&gt;
 &lt;br /&gt;
Mus: 0.2382 0.3163 0.3823 0.5358 0.8112&lt;br /&gt;
*****************************************************&lt;br /&gt;
Calibration: Slope Intercept:      1398.628  -339.819&lt;br /&gt;
Enter in Calibration Records if wished.&lt;br /&gt;
*****************************************************&lt;br /&gt;
Measurement No. (0 to Stop)     [0]:&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD.TXT.&lt;br /&gt;
&lt;br /&gt;
5. Now update the calibration.  For most settings, you will use the default value by pressing return.  You need to choose the correct calibration record, the one that corresponds with the energy and beam hardening correction used in the QC1 scans you did.  Next, you need to update the slope, intercept, and mu water values to those determined in step 3 (copy and paste values to avoid typos).  The new values should be similar to the old ones.  Finally, if you have not made any mistakes, then save the record.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:uct_update_calibration&lt;br /&gt;
UCT_UPDATE_CALIBRATION V2.5&lt;br /&gt;
 &lt;br /&gt;
 IDX Calib/Rec. Description&lt;br /&gt;
  1      1/42   60kVp, BH: 200 mg HA/ccm, Scaling 8192&lt;br /&gt;
  2      2/43   60kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  3      3/0    New Record&lt;br /&gt;
Choose Calibration Record (IDX): [2]: 1&lt;br /&gt;
Valid Flag [1]:&lt;br /&gt;
Scanner-ID [3309]:&lt;br /&gt;
Energy [V] [59400]:&lt;br /&gt;
Intensity [µA] [0]:&lt;br /&gt;
Description [60kVp, BH: 200 mg HA/ccm, Scaling 8192]:&lt;br /&gt;
 &lt;br /&gt;
Antiring Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
Beamhardening Enable [1]:&lt;br /&gt;
Beamhardening Coeff file [MICROCT_COMMON:[DATABASE]UCT_BH_COEFF_60KV_0200HA_3309.TXT;5]:&lt;br /&gt;
Beamhardening Checksum [0]:&lt;br /&gt;
CCD_CORR: Read to mem: 500 bytes to correct 1 pixels (588 bytes allocated)&lt;br /&gt;
 &lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom) [2]:&lt;br /&gt;
µ Enable [1]:&lt;br /&gt;
µ-scaling [8192]:&lt;br /&gt;
 &lt;br /&gt;
Density Enable [1]:&lt;br /&gt;
Density units [mg HA/ccm]:&lt;br /&gt;
Density Slope [1402.549]: 1398.628&lt;br /&gt;
Density Intercept [-340.953]: -339.819&lt;br /&gt;
 &lt;br /&gt;
HU Enable [1]:&lt;br /&gt;
µ of water [0.239]: 0.2382&lt;br /&gt;
 &lt;br /&gt;
CUSTOM Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
HW Filter Code [0]:&lt;br /&gt;
HW Filter Description []:&lt;br /&gt;
 &lt;br /&gt;
Save Record ? [Y]: Y&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD_ENTERED.TXT.  Send both text files to support@scanco.ch for them to archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update microCT QC1 calibration====&lt;br /&gt;
Refer to [[Media:QC1_Calibration_Update.pdf|&#039;&#039;&#039;QC1 Calibration Update&#039;&#039;&#039;]] for instructions for the VivaCT40 and uCT35.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new calibration or BHC====&lt;br /&gt;
If the QC1 range was out of range but it was not possible to update the system calibration before scanning, you can update the scan with the new density calibration (i.e., slope and intercept).  It is also possible to change the beam hardening correction that is applied (e.g., from 200 mg HA/cm3 to 1200 mg HA/cm3).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Type of Update ||RSQ||ISQ||AIM&lt;br /&gt;
|-&lt;br /&gt;
|QC1 was out of range, need new slope and intercept &lt;br /&gt;
(e.g., after updating the system calibration)&lt;br /&gt;
|Yes||Yes||No, Create New&lt;br /&gt;
|-&lt;br /&gt;
|Change beam hardening correction type &lt;br /&gt;
(e.g., 200 mg HA/cm3 to 1200 mg HA/cm3)&lt;br /&gt;
|Yes||No, Reconstruct||No, Create New&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Use the UCT_EXT_HEADER_ADD_CALIB program to update an RSQ and, if appropriate, repeat for the ISQ.  &lt;br /&gt;
*Use default values for all prompts except those commented after !.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
 &lt;br /&gt;
UCT_EXT_HEADER_ADD_CALIB V 1.1&lt;br /&gt;
Raw-Data-File []:    !give the name of the RSQ/ISQ with full path if not in that directory&lt;br /&gt;
 &lt;br /&gt;
Reading Raw Data ...&lt;br /&gt;
 IDX Calib Description&lt;br /&gt;
  1      1 45 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  2      2 55 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  3      3 70 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  4      4 General, non-bone-density-calibrated scan, scale 4096&lt;br /&gt;
  5      5 45 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  6      6 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  7      7 70 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
 &lt;br /&gt;
Calibration Record No [0]: !specify the new calibration, e.g. 6&lt;br /&gt;
 &lt;br /&gt;
Calibration No.           6&lt;br /&gt;
Description 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
Scanner-ID        5019&lt;br /&gt;
Energy [V]       55000&lt;br /&gt;
Antiring Enable             0&lt;br /&gt;
Beamhardening Enable            1&lt;br /&gt;
Beamhardening Coeff file UCTD:UCT_BH_COEFF_55KV_1200HA_5019.TXT&lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom)           2&lt;br /&gt;
Same type already found. Setting old to invalid&lt;br /&gt;
SUCCESS: calib hext written&lt;br /&gt;
updating header...&lt;br /&gt;
SUCCESS: Header successfully updated.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Calib record indicates that BH-Corr is usually applied.&lt;br /&gt;
Info: There is a BH-Corr corr already in hext.&lt;br /&gt;
Add another BH-Corr from file again? (Y/N) [N]:  Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new QC1 calibration====&lt;br /&gt;
Refer to  [[Media:Update_Scan_with_new_QC1.pdf|&#039;&#039;&#039;Update Scan with new QC1&#039;&#039;&#039;]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: un-centered QC1 Gobj====&lt;br /&gt;
The contour for the QC1 scan is not centered on the on hydroxyapatite rod, which will result in erroneous low density values.  &lt;br /&gt;
&lt;br /&gt;
This can occur for a couple of reasons:&lt;br /&gt;
*The metal spindle has come loose on the phantom, in which case re-glue it and update the contours&lt;br /&gt;
*The slot on the phantom&#039;s spindle was not correctly aligned&lt;br /&gt;
*For the vivaCT 40, the sample bed was not pushed to the right before locking it in place&lt;br /&gt;
[[File:Phantom_not_pushed_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: rods in QC2 images====&lt;br /&gt;
The QC2 scan has aluminum rods AND hydroxyapatite rods.  This happens because the slot on the phantom&#039;s spindle was not correctly aligned and the phantom positioning is off slightly.  Adjust the phantom and re-scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Phantom_spindle_not_in_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
&lt;br /&gt;
==Scanner User Manual==&lt;br /&gt;
For XtremeCTs:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Scanco - Manual_XtremeCTII_2.5.pdf |XtremeCT II User&#039;s Guide V2.5]]&lt;br /&gt;
* [[Media:XtremeCT User Guide XCT I.pdf |XtremeCT I  User&#039;s Guide V6.4]]&lt;br /&gt;
&lt;br /&gt;
For microCTs:&lt;br /&gt;
* [[Media:Manual_vivaCT_80.pdf |VivaCT80 User&#039;s Guide V1.5]]&lt;br /&gt;
* [[Media:scanco-manual-vivact40.pdf |VivaCT40 User&#039;s Guide V4.05]]&lt;br /&gt;
* [[Media:Scanco-manual-uct35.pdf |MicroCT35 User&#039;s Guide V4.05]]&lt;br /&gt;
&lt;br /&gt;
==Scanco&#039;s FAQ==&lt;br /&gt;
Navigate to the manufacturer [http://www.scanco.ch/index.php?id=customer_login Scanco Medical FAQ].&lt;br /&gt;
&lt;br /&gt;
* Username:  users@scanco.ch&lt;br /&gt;
* Password:  basser5dorf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan==&lt;br /&gt;
===Scan SOP===&lt;br /&gt;
====Image Quality====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-image-quality.pdf|&#039;&#039;&#039;Image Quality: Resolution vs. Noise&#039;&#039;&#039;]] by Scanco Medical.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Control File Settings====&lt;br /&gt;
*Refer to [[Media:ControlFileSettingsUserMeeting2014Final.pdf|&#039;&#039;&#039;Optimize Control File Settings&#039;&#039;&#039;]] with regards to resolution, contrast and scan time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scan materials of different densities====&lt;br /&gt;
*Refer to [[Media:UM_HongKong_DifferentDensityMaterials.pdf|&#039;&#039;&#039;Scan materials of different densities&#039;&#039;&#039;]]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Scan for Soft and Adipose Tissue Separability====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-adipose-vs-soft-tissue.pdf|&#039;&#039;&#039;Scan Protocol Optimization for Soft and Adipose Tissue Separability&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Measure multiple samples in one scan====&lt;br /&gt;
&lt;br /&gt;
This quite often happens when you want to scan 6 rat bones, for example, but using our six-gun sample holder you scan them in one go.  But, you want to analyse them separately, so you have to import the ISQ multiple times as new MEASUREMENTS into each SAMPLE.&lt;br /&gt;
&lt;br /&gt;
There are two options: manual and auto.  &amp;lt;b&amp;gt;Read this entire HowTo before proceeding.  There is significant potential for mistakes!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:import_manual.com&lt;br /&gt;
&lt;br /&gt;
P1: Measurement Number to duplicate&lt;br /&gt;
P2: New Sample Number from Database&lt;br /&gt;
P3: New Start Letter of ISQ file&lt;br /&gt;
P4: Optional: Operator Number&lt;br /&gt;
P5: Optional: Controlfile Number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @com:import_manual.com 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will copy the ISQ from measurement 1234, import it into the database to sample 342, give some feedback lines with &#039;old&#039; and the new samplename, CHECK IT, and at the end it gives the feedback line on the terminal which you take with the mouse and drop to rename the data over to the new location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;IMPORTANT: BE VERY SURE NOT TO MIX UP MEASUREMENT AND SAMPLE NUMBER !!!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This distiction needs to be VERY clear in your mind! Of course, you can duplicate one scan and give it to the same samplenumber again (e.g. to evaluate different parts of the same sample, and each has its database&lt;br /&gt;
entry).&lt;br /&gt;
&lt;br /&gt;
Please build up some system so you see immediately that the right meas. goes to the right sample. E.g. all four bones in one scan have the same part in the name, distinct from other 4 bones. If there is any trace of a doubt later on that somebody MAY have messed up the samples in this duplication step, you&#039;ll most probably have to start from scratch again...&lt;br /&gt;
&lt;br /&gt;
Of course, I&#039;ll have to make you aware that Scanco declines all responsibility - this program is NOT in the normal user-friendly, quite fool-proof Scanco controlbox, but it&#039;s up to you to use it carefully, and not on Friday night when you&#039;re sleepy and mistakenly mix up sample and meas. numbers...&lt;br /&gt;
&lt;br /&gt;
The new startletter I built in so you always know which one was the &#039;original&#039; measurement (which has an RSQ), and which are the duplicated ones.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Backup&amp;lt;/b&amp;gt;&lt;br /&gt;
And the organization of how you know which duplicated scan is which part is&lt;br /&gt;
completely up to you - as well as how you want to handle the backup - our&lt;br /&gt;
software allows you to back-up each duplicated scan (but this might be an&lt;br /&gt;
overkill, since it&#039;s the same ISQ always) so you may choose to delete the&lt;br /&gt;
duplicated ISQ by hand in the session manager (only keep the &#039;original&#039; ISQ), and only backup the .gobj, .aim and _seg.aim etc. (but then you will need to know not to get scared if you retrieve a scan, and the ISQ is missing...) (Or you just &#039;move to trash&#039; the duplicated scans to nicely delete them with the backup program if you want to remove them completely (but you still have the 3D results in the evaluation database))&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Autosubmit&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please use the manual one for a while. Then, if you feel comfortable, use the autosubmit one (which also does the last command automatically, the renaming of the isq to the new location.) Because it goes into a batch que, you can quickly submit all duplications, and do not have to wait for the whole file-copying like in the manual one.&lt;br /&gt;
&lt;br /&gt;
One thing you should check there:&lt;br /&gt;
$ show que sys$fast/full&lt;br /&gt;
&lt;br /&gt;
This needs to be one single queue (/job_limit=1). In a clustered enviroment,&lt;br /&gt;
this might be a &#039;/generic=&#039; que that then gives the jobs to multiple queues in the cluster. This is NOT good. If this is the case, please edit the autosubmit script, and replace sys$fast in the following line at the end by ONE of the generic fast queues, e.g. SC4240_FAST or whatever the name is (preferrable the one computer where also the data disk DK0 is sitting:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$!&lt;br /&gt;
$      SUBMIT/NOPRINT/QUE=SYS$FAST/DELETE/NOTIFY/LOG=SYS$SCRATCH: &#039;COMMANDFILE&#039;&lt;br /&gt;
$!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Reason: if multiple uct_imports would run at exactly totally the very same time, both jobs might get the same new measurement number... bad...)&lt;br /&gt;
&lt;br /&gt;
I also suggest to add the following line to your login.com&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl*icate :== @com:import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you can just start it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And I also recommend to put into login.com:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ check_dup :== search sys$scratch:import*.log &amp;quot;&amp;quot;&amp;quot; name:&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, with all these double-quotes)&lt;br /&gt;
&lt;br /&gt;
Then use it to check the feedback that the right scans were given to the right samples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scan FAQ===&lt;br /&gt;
====Unlock a locked controlfile====&lt;br /&gt;
If you accidentally locked a controlfile, it is possible to unlock it so that it can again be modified.&lt;br /&gt;
&lt;br /&gt;
Login as the calibration user (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user, Set priviledges to bypass.&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
Set the controlfile database to the microct, or other, user where the controlfile is locked.  &lt;br /&gt;
*The file is usually located on (a)disk1:[username.database] and may be accessible using the uctd logical.  &lt;br /&gt;
*The database file contains the scanner ID (e.g., 3309 for the XtremeCT, note there&#039;s no SC before 3309).&lt;br /&gt;
 $ def uct_controlfiles_database adisk1:[microct.database]uct_controlfiles_3309.dat&lt;br /&gt;
 $ run ut:uct_upd_controlfiles&lt;br /&gt;
&lt;br /&gt;
Choose the controlfile.Use T and F to indicate true and false.&lt;br /&gt;
*YOU MUST SAY YES TO UPDATE CTRL-FILE! There is a bug so do this even if you make a mistake.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Selected operator is not an operator CODE: 24====&lt;br /&gt;
You must enter an operator name in the micro-CT control panel. &lt;br /&gt;
*You only need to enter the beginning part of your operator name (e.g., Bo for Bone Imaging Lab) or your operator number.  &lt;br /&gt;
*You can also press &amp;quot;Edit...&amp;quot; and then press the &amp;quot;Find...&amp;quot; and press &amp;quot;OK&amp;quot; to show a list of all the operators that have been registered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Error assigning IO-channel for UCT_ACQ_LINE, device already allocated to another user CODE: 2112====&lt;br /&gt;
Only one person can be given control of the scanner at any time.  Most likely the scanning program is already open.  Check the minimized icons on the desktop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: ROT (M1) end switch detected, Motor stopped CODE: 3031====&lt;br /&gt;
We&#039;re not sure why motor errors occur occasionally.  The solution is to exit the scanning program and turn off the scanner (the switch is on the side of the machine).  Wait 30 seconds.  Turn the scanner on again.  Re-start the scanning program.  Wait for the scanner to warm up (20 min).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Acquisition error, Buffer overrun CODE: 1005====&lt;br /&gt;
This error occurs if the computer hooked up to the scanner is overloaded and does not accept the stream of CT data quickly enough.  Check that no large calculations are running interactively (e.g., loading a large dataset into the 3D viewer while the scan is running).  If you happen to be there at the very exact second when the buffer overrun happens, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show user/node/full             !check how many users/processes there are&lt;br /&gt;
$ monitor system/int=1            !check the process that is using the most cpu and page file quota&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Advise lab personal of the problem. If nobody is around, put the output of the above commands into a text document, stop the queues for the computer, and repeat the scan.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sc5019_fast       !for the vivaCT 40&lt;br /&gt;
$ stop/que/next sc5019_slow       !for the vivaCT 40&lt;br /&gt;
&lt;br /&gt;
$ stop/que/next sceva2_fast       !for the µCT35&lt;br /&gt;
$ stop/que/next sceva2_slow       !for the µCT35&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When finished, restart the queues that you stopped by &amp;lt;code&amp;gt;$ start/que queue_name &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Shutter fail safety test timeout CODE: 2101====&lt;br /&gt;
This happens if the scanning program has accidentally be left on overnight and the shutter fail safe test cannot be performed. Ensure that uct_tomography is closed at the end of the day and the scanner computer is logged out at the end of the day to avoid this error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Input error detected, Z protection detected CODE: 4001====&lt;br /&gt;
This means the big plate that you can see through the gantry has moved or been touched, activating one of the Z protection switches. This can happen during positioning a patient for a tibia scan if the person&#039;s leg isn&#039;t pushed into the scanner straight. The cast can potentially touch the plates and cause this error.&lt;br /&gt;
&lt;br /&gt;
In the rare case where this error occurs spontaneously during or at the end of a scan, or during a precalibration, one of the switches may have become activated due to the position of the Z plate. To determine the position(s) this error is triggered, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0                                                                                                                                                                                            Username: calibration                                                                                                                                                                                        Password:&lt;br /&gt;
&lt;br /&gt;
$ sdl&lt;br /&gt;
$ spb&lt;br /&gt;
$ run um:ccd_2d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Scanco test programs will open. First click on the Reset Z button (upper left corner). Then move the Z slider all the way to the right and hit move. If the Z-protection error appears, record exactly which Z position triggers the error (should be a red number on the left hand side of the slider). When you are done with this test, hit Reset Z again, wait until the motor comes to a complete stop (max. 15 seconds), close the software and in the same terminal by &amp;lt;code&amp;gt;$ logout &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contact Scanco regarding this error and provide the details from running the ccd program. They will provide further instructions on how to proceed and fix the problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: CCD frame timeout, HOTLink reframing CODE: 1007====&lt;br /&gt;
Take a screenshot of the error message and email Scanco immediately. Message indicates that X-ray tube is arcing. Try and warm up the X-ray tube again, and notify Scanco if there is any abnormal activity and whether the tube was able to warm up.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Invalid Scanner ID CODE: 24====&lt;br /&gt;
You have logged in with the incorrect user name.  End the session and login with the correct user name (vivaCT 40: vivact or invivo;  µCT 35: microct or invitro).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Unable to create shared memory, global page table full CODE: 196====&lt;br /&gt;
The temporary fix is to reboot the system.  But before you restart, if you have system access, do the following and save the output to a text to send to Scanco.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
Username: system&lt;br /&gt;
Password:&lt;br /&gt;
&lt;br /&gt;
$ search sys$system:agen$feedback.dat gblpages&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;contig_gblpages&amp;quot;)&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;free_gblsects&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reconstruction==&lt;br /&gt;
&lt;br /&gt;
===Standard Reconstruction===&lt;br /&gt;
Scans are automatically submitted for reconstruction, so manual submission is usually only necessary if there was a problem during reconstruction (e.g., a power failure).&lt;br /&gt;
&lt;br /&gt;
*To reconstruct all slices from the RSQ, first delete or rename the old ISQ. &lt;br /&gt;
*To reconstruct a selection of slices, a valid ISQ must exist. There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&#039;&#039;&#039;General Usage for Interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
P1: RSQ Filename&lt;br /&gt;
P2: Slice number (A – all, start:finish)&lt;br /&gt;
P3: Log file of batch job&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;General Usage for Non-interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
  $ submit/noprint/que=sys$slow um:uct_reconstruction.com/params=(&amp;lt;b&amp;gt;DISK2:MICROCT.DATA.00000610.00002449]C000####.RSQ &amp;lt;/b&amp;gt;, a)&lt;br /&gt;
*Normally jobs are submitted to sys$slow queue instead of running them interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
Here are examples of how to reconstruct a single RSQ file: C0007655.RSQ, sample 4111 and measurement 9899. &amp;lt;br&amp;gt;&lt;br /&gt;
To reconstruct slices 101 to 201 and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com /log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, 100:200, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The command must be all on one line (or use hyphen), and it wants the 3 parameters: filename, slices, and log.file name&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
To reconstruct all slices, use “a” for all slices and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ delete C0007655.ISQ;*&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com/log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, a, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The .log filename is up to you, as long as it&#039;s the same at both places. &lt;br /&gt;
*Give full pathname for RSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct multiple files====&lt;br /&gt;
For multiple files, create a script and submit the job to the sys$slow queue. For example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ eve reco_all.com   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or open editor (command &#039;Edit&#039;), put the following lines in the file and save it as .e.g sys$scratch:reco_all.com:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009899]C0007655.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009900]C0007656.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009001]C0007657.rsq a&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit the text editor, then submit the job (e.g. to sys$slow):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow/log=sys$scratch:reco4111.log sys$scratch:reco_all.com&lt;br /&gt;
All the files will be reconstructed as a single job, with one log file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch reconstruction on XtremeCT2====&lt;br /&gt;
The reconstruction software available for the XT2 supports the /batch syntax that replaces reco_all.com. &lt;br /&gt;
You can split a manual reconstruction into several jobs using&lt;br /&gt;
&lt;br /&gt;
 $ uct_reconstruction DK0:[XTREMECT2.DATA.00001234.00005678]D0123456.RSQ a/batch=16&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update to uct_reconstruction V6.2-5, March 2019====&lt;br /&gt;
&lt;br /&gt;
As of March 2019, we should only use uct_reconstruction v6.2-5 on xtremect2. &lt;br /&gt;
For studies with baseline and follow-up scans overlapping this time, the old version (V6.2-2) can still be accessed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_old_recon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Changing reconstruction versions can lead to small systematic differences in the result parameters of a trabecular bone analysis. The old version should only be accessed by those who absolutely need to use it. (Scanco recommends re-reconstructing all measurements of a study with version 6.2-5 instead).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== Rotated Reconstruction (about z-axis)===&lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to measure the angle for the rotated reconstruction. &lt;br /&gt;
#*To start the program type &amp;lt;code&amp;gt;$ uct_evaluation &amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. &lt;br /&gt;
#*Load your sample and select the angle measurement button.  &lt;br /&gt;
#*Drag the ends and the intersection of the green lines to measure the desired rotation angle. &lt;br /&gt;
#:[[File:Angle meas.preview.jpg|600px]]&lt;br /&gt;
#Rotate and reconstruct&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:reco_all &amp;lt;/code&amp;gt; to reconstruct all slices.&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:uct_reconstruction_angle &amp;lt;/code&amp;gt; to reconstruct selected slices from an RSQ. &lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to check the sample after the rotated reconstruction:&lt;br /&gt;
#:[[File:Rotated_reconstruction.preview.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;General Usage&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
      P1: Angle in degrees&lt;br /&gt;
      P2: Sample number&lt;br /&gt;
      P3: Measurement number&lt;br /&gt;
&lt;br /&gt;
$ @com:uct_reconstruction_angle.com P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
      P1: RSQ Filename&lt;br /&gt;
      P2: Slice number (A – all, start:finish)&lt;br /&gt;
      P3: Log file of batch job&lt;br /&gt;
      P4: Delete log file (true/false)&lt;br /&gt;
      P5: Angle in degrees&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The angle of rotation uses the right-hand rule:  a counterclockwise rotation is positive and a clockwise rotation is negative.&lt;br /&gt;
*The angle of rotation uses a single decimal place.  &lt;br /&gt;
*By default the reconstruction jobs will be placed in the sceva3_slow queue.&lt;br /&gt;
*Both functions are executed from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
The following examples are for a 19.1 degree counterclockwise rotation of sample 6876, measurement 15417, C0005086.RSQ.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com 19.1 6876 15417&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Delete the ISQ file from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
*A valid ISQ must exist.&lt;br /&gt;
*There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&lt;br /&gt;
To reconstruct slices 36 to 41:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 sys$scratch:reco610.log true 19.1&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 &amp;quot;&amp;quot; &amp;quot;&amp;quot; 19.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*&amp;quot;&amp;quot; is used as a null input for optional parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Other Reconstruction===&lt;br /&gt;
&lt;br /&gt;
====Reconstruct at a new voxel size====&lt;br /&gt;
See a script in:&lt;br /&gt;
  DISK1:[XTREMECT2.EVAL]UPDATE_HEADER.COM&lt;br /&gt;
&lt;br /&gt;
This script includes the following type of information:&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000010.00000050]D0000068.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000011.00000054]D0000072.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
&lt;br /&gt;
This is what one would do in a terminal. The only requirement is that this &amp;lt;code&amp;gt;updh_voxelsize.exe&amp;lt;/code&amp;gt; cannot be executed as the normal user.&lt;br /&gt;
Prior to that, one has to log as calibration, and do:&lt;br /&gt;
  $ set proc/priv=bypass&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate RSQ==&lt;br /&gt;
&lt;br /&gt;
===View RSQ projections and flat field===&lt;br /&gt;
&lt;br /&gt;
It can be very useful to examine the projections that are contained in the RSQ file, as well as to see the flat field correction frames.&lt;br /&gt;
&lt;br /&gt;
In the session manager, double click the RSQ file and the program ximage will open. Or, type:&lt;br /&gt;
  $ sh sym x&lt;br /&gt;
    X == &amp;quot;$UM:XIMAGE.EXE&amp;quot;&lt;br /&gt;
  $ x D0000018.RSQ&lt;br /&gt;
Then switch to xz view and go to the second slice (in this order). Then you should see a frame of the none attenuated beam (nothing in the beam, or Scanco calls it the I0 frame). If it is a multi stack measurement then there will be several copys of this frame in this image.&lt;br /&gt;
&lt;br /&gt;
In an RSQ you have for each slice of the detector one dark current line and then the full intensity line followed form the radiographs taken under the different angles (sinogram). In the x direction is the detector line, in the y direction is the rotation angle (except dark and I0) and in the z direction is the z-direction of the scanner. If you switch the view to xz, then you can see the frames as acquired by the detector (or stacked frames all taken under the same rotation angle). Frame 1 is then the dark image and Frame 2 is the full intensity image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to AIM===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
ipl&amp;gt; rsq_to_aim in YP_IGFAMOTION_003_6.RSQ                                                                                             &lt;br /&gt;
  -pos                       [0 0 0] &amp;gt; &lt;br /&gt;
  -dim                       [-1 -1 -1] &amp;gt; &lt;br /&gt;
  -convert_to_pro            [false] &amp;gt; true&lt;br /&gt;
  -sinogram_not_frames       [true] &amp;gt; true&lt;br /&gt;
  -div_unsigned_by_2         [false] &amp;gt; true&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt; write&lt;br /&gt;
  -name                      [internal_name] &amp;gt; in&lt;br /&gt;
  -filename                  [default_file_name] &amp;gt; YP_IGFAMOTION_003_6_rsq.aim&lt;br /&gt;
  -compress_type             [bin] &amp;gt; none&lt;br /&gt;
  -version_020               [true] &amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to PSQ===&lt;br /&gt;
First, in the terminal turn on the &#039;advanced questions&#039; mode&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Second use the reconstruction EXE to convert RSQ to PSQ&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run UCT_RECONSTRUCTION.EXE&lt;br /&gt;
raw file: DISK3:[MICROCT.PROJECTS.YVES.LANDMARK.RAW]filename.RSQ&lt;br /&gt;
&lt;br /&gt;
Give slice number, or &#039;a&#039; for all&lt;br /&gt;
hit return a few times&lt;br /&gt;
&lt;br /&gt;
Write Projection [N]:   -&amp;gt; say y and it writes the PSQ and continues with reco&lt;br /&gt;
Say p if it shall just produce PSQ and NOT continue with reco!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Beam hardening correction can be turned off by doing&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UCT_RECONSTRUCTION_CALIBRATION TRUE&lt;br /&gt;
$ define uct_disable_bh_correction true&lt;br /&gt;
$ deass UCT_BEAMHARD_POWER&lt;br /&gt;
$ deass UCT_BEAMHARD_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then run &amp;lt;code&amp;gt;uct_reconstruction&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The RSQ contains the RAW projection data. The PSQ represents tilted parallel beam projections:&lt;br /&gt;
&lt;br /&gt;
[[Image:CB-Rebinned.gif]]&lt;br /&gt;
&lt;br /&gt;
The rebinning process reduces the number of projections from 836 (1 bright field, 1 dark field and 834 projections spaced at 0.24 deg/proj, spanning 200.16 deg) to 750 (spanning 180 deg) with a resolution of 0.24 deg. In addition to the geometric changes, intensities are adjusted ln(I/I0) and beam hardening correction is applied. After converting a PSQ to AIM with IPL, an image can be reconstructed with Matlab&#039;s iradon(), note that only the central slice will be geometrically &#039;correct&#039;, but differences in other slices are small (Circumference of calibration phantom differs less than 1%). in the final reconstruction these effects are accounted for reducing the number of z-slices from 124 (acquired) to 110 in the reconstructed image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Measure RSQ motion artifact===&lt;br /&gt;
Based on RSQ data, in-plane translation and rotation, and longitudinal translation can be determined. &lt;br /&gt;
&lt;br /&gt;
The RSQ is first converted to a tilted parallel-beam sinogram. Motion is measured using the bonelab_measuremotion command in the Calgary extension of IPL installed on percy. Copy the motion scripts available in &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]&amp;lt;/code&amp;gt; to your COM directory. Here is how they work:&lt;br /&gt;
&lt;br /&gt;
* RSQ_TO_PSQ.COM;1 - (optional) convert RSQ to PSQ, PSQ gets created in the same directory as RSQ. Usage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ @rsq_to_psq.com DK0:[BRUNO.DATA.00000162.00009479]C0008921.RSQ&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* IPL_MEASUREMOTION.COM;2 - Takes a PSQ and measures motion using Calgary IPL on percy&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! example of how to submit a motion measurement&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST /LOG=SYS$SCRATCH: -&lt;br /&gt;
  DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM -&lt;br /&gt;
  /PARAM=(DISK3:[MICROCT.PROJECTS.DEVEL.RECO_TEST.RAW]PHANTOM_NOMOTION.PSQ) -&lt;br /&gt;
   /LOG=DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]MEASUREMOTION.LOG&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results are save in &amp;lt;code&amp;gt;MEASUREMOTION.LOG&amp;lt;/code&amp;gt; and the following section contains all information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/bonelab_measure_motion&lt;br /&gt;
  -input                     org&lt;br /&gt;
Motion:&lt;br /&gt;
Translation = 2.135364&lt;br /&gt;
Rotation = 0.024216&lt;br /&gt;
Index = 3.694660&lt;br /&gt;
Translation weight = 0.943156&lt;br /&gt;
Rotation weight = 69.403737&lt;br /&gt;
Z_motion = 2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below with search.&lt;br /&gt;
Translation,Rotation,Index,Trans_weight,Rot_weight,Z_motion&lt;br /&gt;
2.135364,0.024216,3.694660,0.943156,69.403737,2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below for DB entry (Index*100).&lt;br /&gt;
db_motion_index=369.466034&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In-plane translation is &#039;&#039;&#039;Translation&#039;&#039;&#039;, in-plane rotation is &#039;&#039;&#039;Rotation&#039;&#039;&#039; and longitudinal translation is &#039;&#039;&#039;Z_motion&#039;&#039;&#039;. &#039;&#039;&#039;Index&#039;&#039;&#039; is the total in-plane motion as used in the IEEE ISBI 2009 paper by linear combination using the weights, not used any more, now we use in-plane translation only. &#039;&#039;&#039;db_motion_index&#039;&#039;&#039; is the motion index value multiplied by 100 and that could be written to the patient database. Multiplication by 100 is necessary since the motion field in the database is integer only.&lt;br /&gt;
&lt;br /&gt;
For more background on the algorithm look at &#039;&#039;Pauchard Y., et al, Measuring patient motion in HR-pQCT, IEEE ISBI 2009&#039;&#039;, and &#039;&#039;Pauchard Y., et.al., Automated quantification of three-dimensional subject motion to monitor image quality in high-resolution peripheral quantitative computed tomography, Phys Med Biol. vol. 56, pp 6523-6543, 2011&#039;&#039;. &#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The IPL implementation has not been validated against the Matlab implementation used in these publications. Motion Values can be different. Values can be automatically extracted as described below.&lt;br /&gt;
&lt;br /&gt;
* RSQ_MEASUREMOTION.COM;10 - The full deal: creates PSQ and measures motion all in the same directory as the RSQ.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
@DISK3:[MICROCT.PROJECTS.RESCAN.COM]RSQ_MEASUREMOTION.COM DISK3:[MICROCT.PROJECTS.RESCAN.RAW]M0003508.RSQ;1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to adjust the line:&lt;br /&gt;
&amp;lt;code&amp;gt;$ SCRIPTFILE := DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
to the location of your &amp;lt;code&amp;gt;IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The results are stored in the same directory as the RSQ in &amp;lt;RSQname&amp;gt;MOTION.LOG and can be extracted into motion_all.txt by running the search command:&lt;br /&gt;
&amp;lt;pre&amp;gt;search/output=motion_all.txt/window(0,1)/match=OR *motion.log &amp;quot;Translation,&amp;quot;,&amp;quot;Patient Name &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update RSQ&#039;s Center Information===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
username: calibration&lt;br /&gt;
password:&lt;br /&gt;
$ spb      or     $ set proc/priv=bypass  &lt;br /&gt;
$ run [.util]updh_center&lt;br /&gt;
Raw-Data-File:        enter location of raw data (with directory if necessary)&lt;br /&gt;
Center X:  [15430]:   enter new center value (e.g. 15415)&lt;br /&gt;
Press return for all other options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Determine RSQ&#039;s Centre Calibration Values===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true   ! Note: do not mistype... or the calibration program will not run&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the SAME terminal: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_reconstruction dk0:[microct.data.00004026.00004576]c0001344.rsq&lt;br /&gt;
Slice-Nr. [0...919] (Neg. to stop): 100&lt;br /&gt;
Center [207]: here enter a new number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hit return a few more times to use default values for other options.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT check these values, that they do not change:&lt;br /&gt;
Maximal possible Scan-Distance (mm) = 125.9520 &lt;br /&gt;
Cropped adjusted Scan-Distance (mm) = 125.9520 &lt;br /&gt;
See that it does not change, e.g. drop to 124 mm or such...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then do that again, $ uct_reconstruction ....rsq 100 (for the first time, for each file/scan). &lt;br /&gt;
&lt;br /&gt;
Double click on ISQ. slide to slice 101 (!) (100+1, since terminal zero based) compare with image in e.g. slice 100 or 99 (disregard funny half image shift...) &lt;br /&gt;
&lt;br /&gt;
Should already look nicer. &lt;br /&gt;
&lt;br /&gt;
Then try out with e.g. center 230 or so, with e.g. slice 101 (thus slice 102 in Ximage). (now, only one run is necessary) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
compare against image with center e.g. 200. &lt;br /&gt;
continue at libitum until you find the best center, the crispest image.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Usually the centre is determined to within about 3 to 5 points (which is 0.3 to 0.5 pixels), so e.g. test 225 and 230, and maybe 228. &lt;br /&gt;
&lt;br /&gt;
Write down your favourite. &lt;br /&gt;
&lt;br /&gt;
If you cannot decide: let Andres know which ISQ slice was reco-ed with which center (in &#039;Ximage&#039; slice numbers), and I can check - but since remote Ximage is SOOO slow, thanks for only pointing out a few options, I cannot check 20 settings...&lt;br /&gt;
&lt;br /&gt;
Then continue with next diameter scan (the first time for each scan, reco twice again) &lt;br /&gt;
&lt;br /&gt;
The different diameter centers should be a steady function, so all the new center values should be increasing as diameter decreases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Modify RSQ&#039;s BHC for in-air scans===&lt;br /&gt;
This is necessary because the beam-hardening correction factor assumes scans were done in soft tissue.  It is necessary to choose calibrations of 1200 or 700, instead of the default 200.&lt;br /&gt;
&lt;br /&gt;
Currently, the XtremeCT has options for 200 (standard) or 1200 calibration (in air). &lt;br /&gt;
&lt;br /&gt;
To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration; modification of MICROCT user data&lt;br /&gt;
$ run ut:UCT_EXT_HEADER_ADD_CALIB.EXE&lt;br /&gt;
&amp;gt; Raw-Data-File []: DISK2:[MICROCT.DATA.00000401.00001495]C0001404.RSQ&lt;br /&gt;
&amp;gt; ...&lt;br /&gt;
&amp;gt; Add another BH-Corr from file again? (Y/N) [N]:    ! Enter yes (UCTD:UCT_BH_COEFF_60KV_1200HA_3309.TXT)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, &amp;lt;b&amp;gt;delete&amp;lt;/b&amp;gt; the old ISQ.  It must be deleted or else the header information will not be changed.  Finally, reconstruct the new ISQ and analyze...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate ISQ==&lt;br /&gt;
&lt;br /&gt;
===Read an ISQ header===&lt;br /&gt;
You can either read using the standard tool&lt;br /&gt;
&lt;br /&gt;
  $ ctheader C0014141.ISQ&lt;br /&gt;
  $ sh sym ctheader&lt;br /&gt;
    CTHEADER == &amp;quot;$UT:CTHEADER.EXE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Or, use the extended header tool to show the calibration data&lt;br /&gt;
&lt;br /&gt;
  $ run ut:uct_ext_header_display.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import ISQ===&lt;br /&gt;
When you import, please note that the sample number AND measurement number are updated, so meas 10907 is now 10908.&lt;br /&gt;
&lt;br /&gt;
Suppose you have a sample 3000, meas 10000, C0001234.isq, and want to import this into sample 3001, this is what I would do:&lt;br /&gt;
&lt;br /&gt;
To make a copy of the scan (i.e., keep it in sample 3000 and make another copy in 3001)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd *3000*10000&lt;br /&gt;
$ copy C0001234.isq D0001234.isq,  also copy any other files you want imported (RSQ, GOBJs, etc)&lt;br /&gt;
$ import&lt;br /&gt;
&lt;br /&gt;
UCT_IMPORT V1.2&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
ISQ-file []: D0001234.ISQ&lt;br /&gt;
&lt;br /&gt;
Sample number [0]: 3001&lt;br /&gt;
&lt;br /&gt;
Change File Header name [Y]: Y&lt;br /&gt;
&lt;br /&gt;
Optional: Operator Measurement [0]: 1     (1 = bonelab)&lt;br /&gt;
&lt;br /&gt;
Site   20 Radius L&lt;br /&gt;
&lt;br /&gt;
Optional: Controlfile Nr. [0]:                (change if desired)&lt;br /&gt;
&lt;br /&gt;
Execute Rename Command [Y]: Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
===Ring Artifact===&lt;br /&gt;
*Refer to [[Media:Microct_ring_correction.pdf|&#039;&#039;&#039;MicroCT Ring Correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Partial Volume Effect===&lt;br /&gt;
*Refer to [[Media:Partial_Volume_Effect.pdf|&#039;&#039;&#039;Partial Volume Effect&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Beam Hardening Correction (BHC)===&lt;br /&gt;
&lt;br /&gt;
====Use the right BHC====&lt;br /&gt;
*Refer to [[Media:Beam_hardening_correction.pdf|&#039;&#039;&#039;Use the right beam hardening correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understand Scanco BHC====&lt;br /&gt;
If you see lines like &#039;CCD_CORR: Expand BH-corr to1536&#039; etc. etc.: &lt;br /&gt;
&lt;br /&gt;
then we do a polynomial correction: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uctd:*bh_coeff*.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and you see a file with the scanner ID. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--&amp;gt; $ type uctd:UCT_BH_COEFF_60KV_0200HA_3309.TXT&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
! Function 9 is Addpolynom&lt;br /&gt;
Function:           9 A&lt;br /&gt;
0:  3  0.00000000 -0.38599902  0.30870225 -0.06162301&lt;br /&gt;
--&amp;gt; 0: for all pixels. 3 --&amp;gt; 3rd degree polynom, with factors: &lt;br /&gt;
x^0 = 0&lt;br /&gt;
x^1 = -0.38...&lt;br /&gt;
x^2 = 0.308...&lt;br /&gt;
x^3 = -0.061...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This polynom is added to the PROJECTION value (not the raw counts). &lt;br /&gt;
&lt;br /&gt;
the BH-corr is doing a &#039;linearization&#039;, e.g. see&lt;br /&gt;
&lt;br /&gt;
http://iospress.metapress.com/content/twcxb9jfk8knhpq2/&lt;br /&gt;
&lt;br /&gt;
for more info. &lt;br /&gt;
&lt;br /&gt;
The values in the middle of the scan are amplified more - not just because of their position, but because the object is thicker there, thus the projection values are higher, thus the correction term is higher.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE&amp;lt;/b&amp;gt; : Linearisation, as used by Scanco, will compensate &#039;soft-tissue&#039; beam hardening (inside of water phantom appears &amp;lt;b&amp;gt;LESS&amp;lt;/b&amp;gt; dense). Bone related beam hardening, e.g. soft tissue near skull appearing &amp;lt;b&amp;gt;MORE&amp;lt;/b&amp;gt; dense, will &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; generally be compensated. See Kak and Slaney &#039;Principles of computerized tomogprahic imaging&#039; and Joseph and Spital J Comp Assist Tomo 1978 vol 2 for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
&lt;br /&gt;
==Analysis Topics==&lt;br /&gt;
&lt;br /&gt;
===Cortical thickness analysis in standard evaluation===&lt;br /&gt;
&lt;br /&gt;
!!Note - with ipl v5.42 this should be changed to &amp;lt;code&amp;gt;/dt_cortical_thickness&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the IPL command &amp;lt;code&amp;gt;/dt_cortex_obj_param&amp;lt;/code&amp;gt; to measure cortical thickness using direct methods.&lt;br /&gt;
&lt;br /&gt;
When extracting the results from the database using &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt;, specify the &amp;lt;code&amp;gt;UCT_3D_LIST_W_CTH.TXT&amp;lt;/code&amp;gt; template in directory &amp;lt;code&amp;gt;DISK0:[MICROCT_COMMMON.UIL]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
UCT_LIST.EXE Version V5.1&lt;br /&gt;
Template-File [UCT_3D_LIST_SHEET]: DISK0:[MICROCT_COMMON.UIL]UCT_3D_LIST_W_CTH.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
UCT_3D_LIST_W_CTH.TXT is now the default template as of March 2009.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical porosity and finite element analysis on XtremeCT===&lt;br /&gt;
&lt;br /&gt;
* This procedure is broken down into 3 separate components&lt;br /&gt;
* All Scripts mentioned be copied directly from DISK3:[MICROCT.PROJECTS.KYLE.SCRIPTS]&lt;br /&gt;
* Files should be copied from data to projects prior to running analysis (see bonelab procedures.doc on sodor) &lt;br /&gt;
&lt;br /&gt;
1. Autocontour the image &amp;lt;br&amp;gt;&lt;br /&gt;
2. Calculate and extract cortical measurements &amp;lt;br&amp;gt;&lt;br /&gt;
3. Create FE files and run FE &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Autocontour====&lt;br /&gt;
* The main autocontour script is located in the ue: directory, this should NOT be modified!&lt;br /&gt;
* The procedure is executed using a &amp;quot;hijack&amp;quot; script [[Media:HIJACK_AUTOCONTOUR.TXT|&#039;&#039;&#039;HIJACK_AUTOCONTOUR.TXT&#039;&#039;&#039;]], but the filename must be changed to .COM or found in the directory mentioned above.&lt;br /&gt;
* Files should already have a _SEG.AIM created and should be in the same directory as the raw .AIM file.&lt;br /&gt;
&lt;br /&gt;
* You then create a SUBMIT.COM script as you would for other files. For example:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:HIJACK_AUTOCONTOUR.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
* This command will then create various files for examination and further analysis. These include:&lt;br /&gt;
** FILENAME_COMBI.AIM - shows cortical, trabecular, and pores all in different colors&lt;br /&gt;
** FILENAME_COMBIPO.AIM - shows only the cortex with porosity as different color&lt;br /&gt;
** FILENAME_CRTXFILL.AIM - gives sold mask of cortex, porosity filled (can be used to calculate Ct.Th)&lt;br /&gt;
** FILENAME_CRTXPO.AIM - shows only the pores&lt;br /&gt;
** FILENAME_TRAB.GOBJ - gobj of trabecular region&lt;br /&gt;
** FILENAME_CRTX.GOBJ - gobj of cortical region&lt;br /&gt;
** FILENAME_AUTO2.GOBJ - gobj of whole bone region&lt;br /&gt;
&lt;br /&gt;
* Further technical details and references can be found in the following publications:&lt;br /&gt;
** Buie, H., Campbell, G., Klinck, R., MacNeil, J., &amp;amp; Boyd, S. (2007). Automatic segmentation of cortical and trabecular compartments based on a dual threshold technique for in vivo micro-CT bone analysis. Bone, 41(4), 505-515. &lt;br /&gt;
** K.K. Nishiyama, Macdonald, H., Buie, H., Hanley, D., &amp;amp; Boyd, S. (2010). Postmenopausal Women With Osteopenia Have Higher Cortical Porosity and Thinner Cortices at the Distal Radius and Tibia Than Women With Normal aBMD: An In Vivo HR-pQCT Study. Journal of Bone and Mineral Research, 25(4), 882-890.&lt;br /&gt;
&lt;br /&gt;
====Evaluate Cortex====&lt;br /&gt;
&lt;br /&gt;
*This Step 2 method of doing the cortical analysis is no longer used now that we have the IPL_UPAT_CALGARY_EVAL_XT1.COM or XT2.COM version. The problem with this approach is that it is a Frankenstein of the standard analysis and the advanced analysis. The cortical bone assessment is correct, but the trabecular compartment from the standard analysis is not a perfect match. Instead, we should be using the GOBJs described in IPL_UPAT_CALGARY_EVAL_XT1.COM so that we have a perfect mix. &lt;br /&gt;
  &lt;br /&gt;
Nevertheless, we keep this information here for now for posterity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*After the autocontour is computed we used to call IPL_EVAL_CORTEX.COM that will calculate the cortical parameters:&lt;br /&gt;
**Cortical porosity (%)&lt;br /&gt;
**Direct cortical thickness (mm)&lt;br /&gt;
**Cortical density (mg HA/ccm)&lt;br /&gt;
&lt;br /&gt;
This WAS called as the following:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_EVAL_CORTEX.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME.AIM&#039;&#039;&#039; -&lt;br /&gt;
        /LOG=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.LOG]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;_EVAL_CRTX.LOG&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The results of this script are outputed into individual log files for each file being evaluated.&lt;br /&gt;
* To extract these results into one file use:&lt;br /&gt;
 $ search/output=output_results_filename.txt *EVAL_CRTX.LOG &amp;quot;!% ov/tv&amp;quot;,&amp;quot;!&amp;gt; C.Th&amp;quot;,&amp;quot;!% mean_unit&amp;quot;&lt;br /&gt;
*A learn command in the eve editor can be used to extract the specific results desired:&lt;br /&gt;
**!% ov/tv is the amount of bone in the cortex (ie. 1- ov/tv =  cortical porosity)&lt;br /&gt;
**!&amp;gt; C.Th is the direct cortical thickness in mm&lt;br /&gt;
**!% mean_unit is the cortical density in mg HA/ccm&lt;br /&gt;
&lt;br /&gt;
====Create and run FE models====&lt;br /&gt;
&lt;br /&gt;
*The most current common FE model to run is a homogeneous model where all elements have the same material properties and the cortex and trabecular regions are labeled separately in order to determine the percentage of load carried by each region.&lt;br /&gt;
*The other option is to create a model where the material properties are scaled based on the density values and scripts for this can be found in the COM directory.&lt;br /&gt;
&lt;br /&gt;
*The script IPL_FEM_HOMOGEMOUS_LS.COM will use files created by the autocontour and appropriately label the cortex and trabecular regions as well as remove any disconnected pieces of bone.&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_FEM_HOMOGENOUS_LS.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
*Files will now be created with the suffix _HOM_LS.AIM and can be moved to Mighty-Mac or Mavis for FE analysis.  You will require user accounts for these computers and can contact Eric or Steve. If using FTP be sure to transfer the files in binary mode (further documentation on this can be found in this Wiki)&lt;br /&gt;
&lt;br /&gt;
*[[Media:2009-10-15_FEM_Tutorial.pdf|&#039;&#039;&#039;FEM tutorial main steps&#039;&#039;&#039;]] to submit the FE files with a detailed manual is recommended for first time users.&lt;br /&gt;
*This is now out of date, but is kept here because it still contains useful information about preparing AIM files and post-processing.  &lt;br /&gt;
*For running the FE itself, please refer to the current manual at [[FAIM Finite Element Solver]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical midshaft analysis with moment of inertia calculation===&lt;br /&gt;
&lt;br /&gt;
This explains what happens when you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ midshaft       ! or&lt;br /&gt;
$ eval_midshaft &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw a rough contour around your slices: open the Contouring Sub-window, double-click on the big image, and it automatically finds the best contour. Then click on &#039;Selection&#039; &#039;Forwards&#039;, then &#039;Iterate Forwards&#039;.&lt;br /&gt;
&lt;br /&gt;
Then &#039;cancel&#039; the contouring sub-window, and start the 3D evaluation.  Make sure you have already set the correct threshold, sigma, support in file&lt;br /&gt;
&amp;lt;pre&amp;gt;DISK2:[MICROCT.EVAL]IPL_FIXED_BATCH_MIDSHAFT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should find a job called UCT_EVALUATION_MIDSHAFT and a SYS$SCRATCH:*_MIDSHAFT_*.LOG&lt;br /&gt;
&lt;br /&gt;
The IPL_FIXED_BATCH_MIDSHAFT.COM by default does not calculate the direct measurement results because you must have many more than 20 slices for these to be valid.  You can uncomment these parts of the file if you contoured the whole stack (i.e., stack thickness is &amp;gt;&amp;gt; than cortex thickness).&lt;br /&gt;
&lt;br /&gt;
TILDE: Note that you will see lots of tildes (~) on the result sheets. This is to tell you that, if the measurements were trabecular bone, those values would only be approximate. But now for the cortex, they are actually correct! (see below for more explanation about this) I would now use the tildes to check the &#039;excel&#039; table that the operator has taken the correct script for the trab. or cort. evaluations for the respective measurements!&lt;br /&gt;
&lt;br /&gt;
So what&#039;s the advantage of all this?  Now, also VOX-TV is correct!  So VOX-TV is the whole area, VOX-BV the doughnut, so TV - BV is the marrow area!  And still, TRI-Tb.Th is the cortical thickness (TRI-TV is NOT correct, because the .gobj feature was turned off).&lt;br /&gt;
&lt;br /&gt;
I say &#039;area&#039; above: depending on how many slices one individual scan has,&lt;br /&gt;
VOX-BV (and VOX-TV) might be different for different scans, so you will HAVE to&lt;br /&gt;
convert the volumes to area again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
volume equals area times height&lt;br /&gt;
--&amp;gt; Bone Area = VOX-BV / height = BV / (dim.z * el_size_mm.z)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and same for Total area, of course :-)&lt;br /&gt;
&lt;br /&gt;
POROSITY: If you want porosity of the bone itself draw two contours: one around, counter-clockwise, on on the inside, clock-wise (thus a &#039;negative&#039;, excluding contour). Now, TV will be just that ring area, BV will be the bone within that ring area, and BV/TV will be 1 - porosity, thus BV/TV 94% means 6% porosity.&lt;br /&gt;
&lt;br /&gt;
METAPHYSIS: Application of this script to metaphysis scan (with trab. in middle):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ midshaft&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw one contour around the cortex, and in the same slices, a NEGATIVE contour on&lt;br /&gt;
the inside (CW contour) to exclude the trabecular bone. You may potentially work with the BP (break-point) system to be able to morph the negative contours, even though there is already an &#039;outer&#039; contour around the bone in every slice.&lt;br /&gt;
&lt;br /&gt;
Start 3D eval, read out the data-base with &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: You CANNOT give the .gobj a special name such as c0001234_cortex.gobj if you are using the automatic evaluation button on UCT_EVALUATION.  Only after the eval (or midshaft eval) has finished, you may copy it to a more meaningful name, but all of the evaluations are just taking the STANDARD gobj name!&lt;br /&gt;
&lt;br /&gt;
Afterwards (after renaming or copying the _seg.aim to _cortex.aim, and .gobj to _cortex.gobj), you may want to start the very normal eval with normal (inner) contours to evaluate the trabecular compartement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Remember: the values in our 3D result database then are OVERWRITTEN.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a large study, I would recommend to run the $ midshaft for ALL&lt;br /&gt;
samples, &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; to e.g. &amp;lt;code&amp;gt;sys$scratch:mystudy_cortex.txt&amp;lt;/code&amp;gt;, &lt;br /&gt;
rename/copy gobj and seg for all, and THEN run the trabecular evaluation for all samples.  &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and you have two nice complete excel sheets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE ON PLATE MODEL: More explanations of why the plate model is correct&lt;br /&gt;
&lt;br /&gt;
Assume a ring (cortex).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Area = thickness * &#039;middle line&#039;.&lt;br /&gt;
&#039;middle line&#039; = average of outer and inner circumference&lt;br /&gt;
--&amp;gt; &#039;middle line&#039; = 0.5 * &#039;bone surface&#039;&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; thickness = bone volume * 2 / bone surface.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And this is nothing else but the &#039;plate model&#039; formula for Tb.Th!&lt;br /&gt;
&lt;br /&gt;
NORMAL TRABECULAR EVALUATION?  And why not just run the &#039;normal trabecular eval&#039;?  Because in the &#039;normal&#039; TRI calculation, we are EXCLUDING all surfaces that are created artificially by a gobj line that cuts through a trabecula.&lt;br /&gt;
&lt;br /&gt;
However, for the midshaft, this means the whole outer (or even inner, if also&lt;br /&gt;
inner contour is there) is SUPPRESSED, because it is touching the gobj line. So&lt;br /&gt;
this is where that midshaft script comes in: it turns off that suppression.&lt;br /&gt;
&lt;br /&gt;
MORE EXPLANATIONS: Why the direct DT-Tb.Th* is NOT correct for a scan with&lt;br /&gt;
just 12 slices.&lt;br /&gt;
&lt;br /&gt;
If we fill the structure with spheres, those spheres should be bounded by the&lt;br /&gt;
width of the cortex, not just by the fact that we only have 12 slices (and even more so, we are always doing &#039;aim box&#039; suppression with the spheres) if a sphere touches the boundary of the aim box, it is suppressed!&lt;br /&gt;
&lt;br /&gt;
So this is quite crucial for Tb.Sp and Tb.N. To get meaningful Tb.Sp, you would&lt;br /&gt;
need a LOT of slices. Also, then, you cannot have the inner contour - otherwise&lt;br /&gt;
the negative inner contour will delete the Tb.Sp. spheres.&lt;br /&gt;
&lt;br /&gt;
If you have enough slices, you may opt to turn the &amp;lt;code&amp;gt;/dt_object&amp;lt;/code&amp;gt; on again in the&lt;br /&gt;
midshaft script (second half). Then DT-Tb.Th* and TRI-Tb.Th just have a slightly different behaviour if there are little pores within the cortex:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TRI: the little pore just adds a little BS, thus the influence is not that big.&lt;br /&gt;
DT: the little pore cuts the thickness sphere in half, thus at that location, the thickness is halved.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MEAN1 and MEAN2: The script is also calculating Mean1 and Mean2 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Mean1: &#039;apparent&#039; density, average over whole TV&lt;br /&gt;
Mean2: &#039;tissue&#039; density: average over what was segmented as bone only.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These mean values will be in mg HA/ccm if you have the calibration option for bone density installed (and activated for those scans).  Remember: the bone has to have some soft-tissue (or equivalent) on the inside, and preferably also on the outside then.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Joint Thickness Measurements===&lt;br /&gt;
*Sample script to search histogram files for results: [[Media:Summarize_Joint_Th_Measurements.pdf|Summarize Joint Th Measurements]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Joint Space Width (JSW) analysis===&lt;br /&gt;
The scripts published in [https://doi.org/10.21037/qims.2019.12.11 Stok et al. 2020], and released by Scanco, are available for XCT1 and XCT2.&lt;br /&gt;
&lt;br /&gt;
On XCT2 they have been installed as Tasks #112 to #116.&lt;br /&gt;
&lt;br /&gt;
Instructions to run this analysis are available here [[Media:ESD_Joint_Space_Width_v2.3.pdf]].&lt;br /&gt;
&lt;br /&gt;
The full citation for this work is: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Stok KS, Burghardt AJ, Boutroy S, Peters MPH, Manske SL, Stadelmann V, Vilayphiou N, van den Bergh JP, Geusens P, Li X, Marotte H, van Rietbergen B, Boyd SK, Barnabe C; SPECTRA Collaboration. Consensus approach for 3D joint space width of metacarpophalangeal joints of rheumatoid arthritis patients using high-resolution peripheral quantitative computed tomography. Quant Imaging Med Surg. 2020 Feb;10(2):314-325. doi: 10.21037/qims.2019.12.11. PMID: 32190559; PMCID: PMC7063288.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==UCT_EVALUATION==&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION SOP===&lt;br /&gt;
====Start 3D evaluation from terminal for XtremeCT II====&lt;br /&gt;
&lt;br /&gt;
Logged into the terminal as &amp;quot;xtremect2&amp;quot; you can see the evaluation scripts in &amp;lt;code&amp;gt;IDISK1:[XTREMECT2.EVAL]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The morphological evaluation: Control file #25. It basically runs auto contouring (#23) and then the morphological analysis.&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_EVALUATION_V6_XT2_DT61.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_CORT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TRAB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TOTAL.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_CORT_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TRAB_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TOTAL_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Contouring scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK.COM&amp;lt;/code&amp;gt;: Creates automatically the standard GOBJ. Control file #22.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPL_AUTOK_CTTB.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT, TRAB and PORE.GOBJ (previously CRTXPO). Control file #23.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK_CTTB_CORR.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT and PORE.GOBJ, after manual correction on the TRAB.GOBJ. Control file #24.&lt;br /&gt;
&lt;br /&gt;
Laplace- Hamming scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH61_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH82_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results will be generated in the &amp;lt;code&amp;gt;IDISK2:[XTREMECT2.RESULTS]&amp;lt;/code&amp;gt; directory, in the same way as they are generated for the cortical analysis on XtremeCT I, i.e. using the uct database and appended text files.&lt;br /&gt;
&lt;br /&gt;
Laplace Hamming evaluations will generate results in the upat_list database. The direct measurements will be stored in the uct_list database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Symbols for XtremeCT II vs XtremeCT I====&lt;br /&gt;
&amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; account you get&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[MICROCT.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.3309.]&amp;quot;&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;code&amp;gt;xtremect2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[XTREMECT2.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So 3309 has its own directory where the software versions for the two scanners are different, e.g.&lt;br /&gt;
&lt;br /&gt;
  xtremect: DISK0:[MICROCT_COMMON.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
  microct: DISK0:[MICROCT_COMMON.3309.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
&lt;br /&gt;
We have defined some symbols for the different ipl versions:&lt;br /&gt;
&lt;br /&gt;
  IPL&lt;br /&gt;
  IPLREG&lt;br /&gt;
  IPLFE&lt;br /&gt;
  IPL_BATCH&lt;br /&gt;
  IPLREG_BATCH&lt;br /&gt;
  IPLFE_BATCH&lt;br /&gt;
&lt;br /&gt;
In the scripts you can directly use these symbols instead of ipl_scanco_prog (old style).&lt;br /&gt;
&lt;br /&gt;
IPL and IPL_BATCH are different for the two scanners because the newest version is not officially released for XT1.&lt;br /&gt;
IPL of the microct account (XT1) cannot read data of the xtremect2 account (XT2). The other way around it works.&lt;br /&gt;
&lt;br /&gt;
IPLREG and IPLREG_BATCH point to &amp;lt;code&amp;gt;$DISK1:[XTREMECT2.MAIN]IPL_SCANCO_REGIS_V107.EXE&amp;lt;/code&amp;gt; for both accounts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Start 3D evaluation from terminal for microCTs====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;Do not change &amp;lt;code&amp;gt;uct_evaulation_v4.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ipl_fixed_batch_v4.com&amp;lt;/code&amp;gt; in .eval, but only work on your own file (i.e., eval_steve).&lt;br /&gt;
&lt;br /&gt;
First, an explanation of how the normal evaluation runs by hitting the &#039;Start 3d&#039; button.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_v4.com/para=(xxx,yyy,zzz,…)&amp;lt;/pre&amp;gt;&lt;br /&gt;
There are 8 parameters:&lt;br /&gt;
*P1: number of print outs of our results sheet&lt;br /&gt;
*P2: the ISQ filename&lt;br /&gt;
*P3-5: start x (pos x), y, z&lt;br /&gt;
*P6-8: dim x, y, z&lt;br /&gt;
The parameters p3-p8 come from the white bounding box. The problem is that when you start from the terminal you do not have these. This problem can be overcome by using the &amp;lt;code&amp;gt;isq_to_aim_gobjbox.exe&amp;lt;/code&amp;gt; and then give the relevant parameters. You can &lt;br /&gt;
&amp;lt;code&amp;gt;$ run um: isq_to_aim_gobjbox.exe &amp;lt;/code&amp;gt;&lt;br /&gt;
to see what it&#039;s asking for.&lt;br /&gt;
By using gobjbox you do not need p3-p8. Therefore you can start the evaluation by giving:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_special_josh.com –&lt;br /&gt;
/para=(1,dk0:[microct.data.0000275.0000245]c0000332.ISQ)&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You can make &amp;lt;code&amp;gt;uct_evaluation_special_josh.com&amp;lt;/code&amp;gt; such that there is no need for P1 (change p2 to p1 in the script, etc).&lt;br /&gt;
*Alternatively to using the gobjbox you could use the normal isq_to_aim, but hard code the dim and pos.&lt;br /&gt;
*Then call whatever IPL files you want to call. Look into &amp;lt;code&amp;gt;fixed_batch_v4&amp;lt;/code&amp;gt; to see how we turn on the database always on the first line of every IPL part, and how we calculate parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Temporarily change evaluation for UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
In a terminal window, we need to redefine the logical that determines which&lt;br /&gt;
3D evaluation is associated with the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool.&lt;br /&gt;
&lt;br /&gt;
For example, typing &amp;lt;code&amp;gt;VOI&amp;lt;/code&amp;gt; runs the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool&lt;br /&gt;
by executing &amp;lt;code&amp;gt;UE:UCT_EVALUATION_VOI.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show logical UCT_EVALUATION&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then you can redefine this to point to another evaluation script.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ define UCT_EVALUATION UE:UCT_EVALUATION_CUTOUT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is only redefined in the particular terminal you are using, and it&lt;br /&gt;
will reset to its default in a new terminal.  It will also not work if you&lt;br /&gt;
try to submit the job to a queue.  It only works interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Assign special evaluation to UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: This is for advanced users ONLY.  Do not attempt this without contacting Steve!&lt;br /&gt;
&lt;br /&gt;
This will show how to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt;:&lt;br /&gt;
It is easy to set up multiple .COM files for the 3D evalulation tool, one such set-up is already prepared on your computer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eval_special&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will do something similar to &amp;lt;code&amp;gt;$ voi&amp;lt;/code&amp;gt; where the normal contour program opens, but if you start the 3D eval, the special script &amp;lt;code&amp;gt;um:uct_evaluation_special.com&amp;lt;/code&amp;gt; is called (associated with eval_special), which then in turn calls &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt;, where you can specify your own set of thresholds, etc.&lt;br /&gt;
&lt;br /&gt;
So it is a daisy chain of files which we will need to follow to set up a special &amp;lt;code&amp;gt;xxx_kyle.com&amp;lt;/code&amp;gt; script, and where ever we encounter &amp;lt;code&amp;gt;_special.com&amp;lt;/code&amp;gt;, we copy and change it to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; you will need to do the following:&lt;br /&gt;
&lt;br /&gt;
*1. Edit &amp;lt;code&amp;gt;disk1:[microct]microct_setup_user.com&amp;lt;/code&amp;gt; (double-click on file), please be careful here, it&#039;s very important! (and I hope you have done your &#039;weekly full backup&#039; regularly, so you could always retrieve a good version of login.com...)&lt;br /&gt;
&lt;br /&gt;
*2. Then, towards to bottom and duplicate the line&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_special :== @com:eval_var.com um:uct_evaluation_special.com&amp;lt;/code&amp;gt;&lt;br /&gt;
and change duplicate to&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_kyle    :== @com:eval_var.com um:uct_evaluation_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make this command &amp;lt;code&amp;gt;eval_kyle&amp;lt;/code&amp;gt; available after you login freshly. Save and Exit.&lt;br /&gt;
&lt;br /&gt;
*3. Then go to &amp;lt;code&amp;gt;disk1:[microct.eval]&amp;lt;/code&amp;gt; and copy the file &amp;lt;code&amp;gt;uct_evaluation_special.com&amp;lt;/code&amp;gt; to the name &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt; (&#039;Commands&#039;, &#039;Copy ...&#039;, BUT CLICK ON THE THREE DOTS and give new output name. &lt;br /&gt;
If you do not see the &amp;lt;code&amp;gt;eval_special:&amp;lt;/code&amp;gt; go to terminal, &amp;lt;code&amp;gt;$ dir ue:*special*.com&amp;lt;/code&amp;gt; and take it from the &amp;lt;code&amp;gt;microct_common&amp;lt;/code&amp;gt; directory)&lt;br /&gt;
&lt;br /&gt;
*4. Edit the &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt; file: at the top, change &amp;lt;code&amp;gt;ipl_......_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*5. Copy &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*6. Edit &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; to your liking. If you want &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; to not perform the full evaluation, but only something akin to &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt;, then, in the steps above, copy &amp;lt;code&amp;gt;uct_eval_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;ipl_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; (thus you take the &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; script as template for the &amp;lt;code&amp;gt;_kyle&amp;lt;/code&amp;gt; script).&lt;br /&gt;
&lt;br /&gt;
*7. Then open a new terminal (&#039;applications&#039;, &#039;decterm&#039;), &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; should work now!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;: When you start the 3D eval, then&lt;br /&gt;
&amp;lt;code&amp;gt;$ que&amp;lt;/code&amp;gt;&lt;br /&gt;
will show you your batch job with your name on it now!&lt;br /&gt;
&lt;br /&gt;
And now a few more explanations how the whole thing works: in all eval programs, hitting &#039;Start 3d&#039; just submits the logical &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$ show log uct_evaluation&amp;lt;/code&amp;gt; shows you that by default, this points to &amp;lt;code&amp;gt;ue:uct_evaluation_v4.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Those little &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;eval_steve&amp;lt;/code&amp;gt; scripts then just temporarily redefine this logical so that a different script is submitted when you &amp;lt;code&amp;gt;&#039;start 3d eval&#039;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
About the &#039;&#039;&#039;corelut eval&#039;&#039;&#039;: Then we start a whole different eval program: the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt;. So, if you set up a &amp;lt;code&amp;gt;eval_steve_c&amp;lt;/code&amp;gt; (or whatever you want to call it): Produce a &amp;lt;code&amp;gt;eval_var_c.com&amp;lt;/code&amp;gt; in the directory commands (maybe copy from microct_common to [microct.commands]), and there, on the last line, instead of starting&lt;br /&gt;
&amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
(the normal program), replace by&lt;br /&gt;
&amp;lt;code&amp;gt;$ evalc&amp;lt;/code&amp;gt;&lt;br /&gt;
which starts the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt; - and because the &amp;lt;code&amp;gt;eval_var.com&amp;lt;/code&amp;gt; has over-ridden the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; logical just before, then you are starting different script upon starting 3d eval.&lt;br /&gt;
NB: we have a logical AND a symbol called &amp;lt;code&amp;gt;uct_evalution&amp;lt;/code&amp;gt;. Sorry for confusion. Symbol &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; starts normal &amp;lt;code&amp;gt;eval&amp;lt;/code&amp;gt; program, so this is what you replace by symbol &amp;lt;code&amp;gt;evalc&amp;lt;/code&amp;gt; now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION FAQ===&lt;br /&gt;
====Warning: Not all required GOBJ files found, Continue anyway?====&lt;br /&gt;
This occurs when the chosen evaluation script is looking for a contour file, but can&#039;t find it.  &lt;br /&gt;
*To see what contours the script is looking for go to &amp;quot;File&amp;quot; then &amp;quot;Save GOBJ As...&amp;quot;.  You can now see the list of required gobj files.  &lt;br /&gt;
*For some scripts, it may not be necessary to supply a gobj and you can continue with the evaluation without it.  For example, the &amp;quot;3D Segmentation of VOI, 1 solid object&amp;quot; applies the contour to isolate the region of interest, however, this may not be necessary if the object of interest can be extracted from thresholding.&lt;br /&gt;
[[File:Save_gobj_as.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Attempt to access non-existent record CODE: 36====&lt;br /&gt;
The scan is most likely still in the process of being reconstructed.  Try to access the scan again in a few hours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Insufficient logical unit numbers CODE: 1409716====&lt;br /&gt;
Exit the evaluation program and restart it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Process quota exceeded====&lt;br /&gt;
&lt;br /&gt;
[[Image:Process_quota_error.JPG|300px]]&lt;br /&gt;
&lt;br /&gt;
When running UCT_EVALUATION from a dec terminal, an error when starting an evaluation may occur if there are to many dec terminals opened. &lt;br /&gt;
*The easy fix for this is to open the terminals from the applications menu in the [[Scanco_User_Instructions#Session_Manager|&#039;&#039;&#039;session manager&#039;&#039;&#039;]] instead of using the dec command. &lt;br /&gt;
*Alternatively you can set up a new login script and add &amp;lt;code&amp;gt;/DETACH&amp;lt;/code&amp;gt; to the dec definition &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEC == &amp;quot;CREATE/TERMINAL=DECTERM/DETACH&amp;quot;. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example script can be found here @DISK5:[BONELAB.PROJECTS.BUIE]SETUP.COM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Bug: UCT_EVALUATION v6 in customizing EVAL scripts====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_k_v6&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new evaluation tool v6 should be used in place of the older v5.  Please see the Documents section of this wiki for a manual on its use.&lt;br /&gt;
&lt;br /&gt;
Known bugs:&lt;br /&gt;
&lt;br /&gt;
When you are producing your own EVAL scripts, and want to call your own ipl file&lt;br /&gt;
or such:&lt;br /&gt;
&lt;br /&gt;
The &#039;EVAL:&#039; keyword in the scripts has the filenames of the&lt;br /&gt;
uct_evaluation_v6.com, then the ipl_v6_xxxx.com, then additional filenames (such&lt;br /&gt;
as the _prs.com to print and the 3dresults_append.com)&lt;br /&gt;
&lt;br /&gt;
Now, if you are in BASIC mode in the modify window, and you change any of the 3&lt;br /&gt;
filename fields, the last of the additional filenames is &#039;dropped&#039;... ooops...&lt;br /&gt;
&lt;br /&gt;
So please go to Advanced mode and check the long &#039;EVAL:&#039; keyword that all wished&lt;br /&gt;
files are still in the list, otherwise add the last again (most of the time,&lt;br /&gt;
that&#039;s the useful _3dresult_append.com script...)&lt;br /&gt;
&lt;br /&gt;
Will correct that of course in the next version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Left mouse button====&lt;br /&gt;
When the left mouse button doesn&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.  &lt;br /&gt;
*For remote sessions, turn of the Num Lock key (this will also allow you to use Ctrl-C and Ctrl-V to copy and paste contours).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Remove and insert keys====&lt;br /&gt;
&lt;br /&gt;
The remove and insert buttons on the keyboard don&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation FAQ==&lt;br /&gt;
&lt;br /&gt;
===Customize your evaluation script===&lt;br /&gt;
The basic procedure is to create your customized evaluation script is:&lt;br /&gt;
#Clear the database of existing results&lt;br /&gt;
#Do your evaluation&lt;br /&gt;
#Extract the results&lt;br /&gt;
#Paste results into excel template.  &lt;br /&gt;
You could repeat as necessary to evaluate a measurement multiple times and write out the results to a file.  &lt;br /&gt;
*You must submit all jobs to a single queue!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Start ipl and clear the database of existing results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/db_clear_eval&lt;br /&gt;
-input        &amp;quot;IPL_AIM&lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Insert your IPL evaluation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Extract the results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;$@com:extract_results.com P1 P2&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P1 is the aim file (including path) and P2 is the result file (including path)&lt;br /&gt;
&lt;br /&gt;
Example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@com:extract_results.com   DISK5:[BONELAB.PROJECTS.BUIE]MYAIM.AIM   DISK5:[BONELAB.PROJECTS.BUIE]MYRESULTS.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P2 should be the same for all samples in your project so that results are compiled into a single file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4) Paste results into excel template.&#039;&#039;&#039;&lt;br /&gt;
*Refer to the  [[Media:Extract_Results_Template.xlsx |&#039;&#039;&#039;Excel Extract Results Template&#039;&#039;&#039;]]. &lt;br /&gt;
*Open your results text file and copy and paste the contents into cell A2.  There&#039;s no need to use paste special since the sheet is protected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create your own IPL script===&lt;br /&gt;
&lt;br /&gt;
To make a script that would submit a job to the queue with the command as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you need to create your own IPL file would be translated to the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit /noprint /que=sys$slow ue:IPL_VOI_JOSH_M.COM &lt;br /&gt;
  - /log=sys$scratch:test.log /para=(&#039;aim_file&#039;,&#039;gobj_file&#039;,&#039;seg_file&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The IPL file would look something like this…&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$   if p1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$ 	THEN &lt;br /&gt;
$	write sys$output &amp;quot;Give DK0:[xxx]C0001234_SEG.aim on the line.&amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Or: &amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Type $ scanco_submit_command um:ipl_eval_autostart/para=(dk0:[xxx]c00123_seg.aim) &amp;quot;&lt;br /&gt;
$ 	exit&lt;br /&gt;
$   endif&lt;br /&gt;
$&lt;br /&gt;
$ gobj_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.GOBJ&amp;quot;&lt;br /&gt;
$ aim_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.AIM&amp;quot;&lt;br /&gt;
$&lt;br /&gt;
$!&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some more handy IPL sequences are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then you just need to give meas. number as P1 (and maybe slice range as p2),&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR, some nice starts are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P3 .EQS. &amp;quot;&amp;quot;&lt;br /&gt;
$    THEN&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to duplicate&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: New Sample Number from Database&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: New Start Letter of ISQ file&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P4: Optional: Operator Number&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P5: Optional: Controlfile Number&amp;quot;&lt;br /&gt;
$      EXIT&lt;br /&gt;
$    ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where you say which parameters HAVE to be there (up to p3), and which ones are optional.&lt;br /&gt;
&lt;br /&gt;
All together, the script may look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$    THEN &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to reco&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: Optional: Slice number N or Range M:N. Auto:All&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: Optional: Queue. Auto: sys$slow&amp;quot; &lt;br /&gt;
$      EXIT &lt;br /&gt;
$    ENDIF &lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A &lt;br /&gt;
$ if p3 .eqs. &amp;quot;&amp;quot; then p3 := SYS$SLOW &lt;br /&gt;
$ slices  = p2 &lt;br /&gt;
$ quename = p3 &lt;br /&gt;
$ INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1) &lt;br /&gt;
$ INPUT = INPUT - F$PARSE(INPUT,,,&amp;quot;VERSION&amp;quot;) &lt;br /&gt;
$ logfile = &amp;quot;sys$scratch:RECO_&amp;quot; + f$PARSE(input,,,&amp;quot;NAME&amp;quot;) + &amp;quot;.LOG&amp;quot; &lt;br /&gt;
$ submit/noprint/queue=&#039;quename&#039; uct_reconstruction_file - &lt;br /&gt;
    /para=(&#039;input&#039;,&#039;slices&#039;,&#039;logfile&#039;) &lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that &amp;lt;code&amp;gt;uct_reconstruction_file&amp;lt;/code&amp;gt; is a logical that points to &amp;lt;code&amp;gt;um:uct_reconstruction.com&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Logicals are preferred in scripts to make them more universal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Run Scanco cut and match function (on Percy)===&lt;br /&gt;
&lt;br /&gt;
;At DATA DISK: &lt;br /&gt;
Run&amp;lt;code&amp;gt;$ upat_list&amp;lt;/code&amp;gt;&lt;br /&gt;
*mode 1, list mode.&lt;br /&gt;
*Select patients and site, etc.&lt;br /&gt;
*Select the appropriate template file, e.g. &amp;lt;code&amp;gt;UE:UPAT_TEMPL_CUTMATCH_AUTO_PATTB_CT.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
*Output to a file, then run that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;At PROJECT DISK: &lt;br /&gt;
If you have moved the files to the project directory and renamed them, you can generate a script from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM&lt;br /&gt;
-P1 = filename with device and directory&lt;br /&gt;
-P2 = site (RR, RL, TR, TL)&lt;br /&gt;
-P3 = output filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, if we run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The script will search &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]&amp;lt;/code&amp;gt; for files in the form &amp;lt;code&amp;gt;G*RR*.AIM&amp;lt;/code&amp;gt; with the same&lt;br /&gt;
length as &amp;lt;code&amp;gt;GRACE_01_00MTH_RR&amp;lt;/code&amp;gt;, then check sample numbers to determine if the file is a follow-up scan.&lt;br /&gt;
*Upat_list is called to obtain position and dimension data for matching slices.  &lt;br /&gt;
*The output file &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/code&amp;gt; is created to submit and run the cut and match.  &lt;br /&gt;
&lt;br /&gt;
Before running, open the file and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For multiple files, do something like the following.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_02_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Open MYFILE.COM and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The script assumes all follow-ups are provided.  &lt;br /&gt;
*If follow-up scans are missing, it will be necessary to modify the output file so that the position and dimension data matches the files or update the &amp;lt;code&amp;gt;SEARCH_PROJECTS_CUTMATCH.COM&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==IPL FAQ==&lt;br /&gt;
===Submit a job to the queue===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint /que=sys$slow ipl_voi_josh_m.com /log=sys$scratch:test.log&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Rotate with turn3d / turn2d===&lt;br /&gt;
&lt;br /&gt;
The turn3d function can be used to perform a single rotation about any axis in 3d.  The turnaxis_angle input is the angle between the x, y, and z axes and the line about which the rotation will be performed.  The turnangle input is the amount to be rotated about the specified line.  To use this function to perform three sequential rotations about the image&#039;s original x, y, and z axes requires compensation for the previous rotations.&lt;br /&gt;
&lt;br /&gt;
To rotate an image from the axial view in the z plane to the sagittal view in the z plane: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ipl&lt;br /&gt;
/turn3d&lt;br /&gt;
  -input &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;   in&lt;br /&gt;
  -output &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;     out&lt;br /&gt;
  -turnaxis_angles     90 0 90&lt;br /&gt;
  -turnangle           90&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No interpolation is necessary as this is &amp;quot;pure reformatting&amp;quot; (turning +-90 or 180 degrees around x,y or z axis)&lt;br /&gt;
&lt;br /&gt;
For knee images, to put the femur above the tibia, you further add the step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/turn2d&lt;br /&gt;
  -input                      out&lt;br /&gt;
  -output                     happyFemur&lt;br /&gt;
  -turnangle                  270&lt;br /&gt;
  -turnpoint_global_not_local true&lt;br /&gt;
  -turnpoint                  -1 -1&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refer to [[Media:turn3d.pdf |&#039;&#039;&#039;turn3d.pdf&#039;&#039;&#039;]] for further instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Noise removal by component labeling===&lt;br /&gt;
*Refer to [[Media:ComponentLabeling.pdf|&#039;&#039;&#039;Noise removal by using component labeling&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create MSQ image and view===&lt;br /&gt;
&lt;br /&gt;
This is based on marching cubes.  See &amp;lt;code&amp;gt;IPL_UPAT_EVAL.COM&amp;lt;/code&amp;gt; for an example as per below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/read seg C0000214_SEG.AIM&lt;br /&gt;
&lt;br /&gt;
/sup_divide                               ! careful of the order of inputs here&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -suppos_pixels_local       -1 -1 -1&lt;br /&gt;
  -supdim_numbers            1 2 1&lt;br /&gt;
  -subdim_pixels             -1 -1 -1&lt;br /&gt;
  -testoff_pixels            0 0 0&lt;br /&gt;
&lt;br /&gt;
/sub_pick&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -output                    segsub&lt;br /&gt;
  -subpos_numbers            0 1 0&lt;br /&gt;
&lt;br /&gt;
/tri&lt;br /&gt;
  -input                     segsub&lt;br /&gt;
  -output                    tri&lt;br /&gt;
  -gobj_filename             none&lt;br /&gt;
  -peel_iter                 0&lt;br /&gt;
  -ip_sigma                  0.8&lt;br /&gt;
  -ip_support                1&lt;br /&gt;
  -ip_threshold              40&lt;br /&gt;
  -nr_ave_iter               2&lt;br /&gt;
  -size_image                512 512&lt;br /&gt;
  -scale_image               0.800000&lt;br /&gt;
  -edges                     false&lt;br /&gt;
  -nr_views                  1             ! Important&lt;br /&gt;
&lt;br /&gt;
/msq_from_aim&lt;br /&gt;
  -aim_name                  tri&lt;br /&gt;
  -msq_filename              C0000123_3D.MSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, use &amp;lt;code&amp;gt;UCT_3D&amp;lt;/code&amp;gt; to view it.  If you click on &amp;quot;animations&amp;quot; it will give you the option to read the MSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===db_scanco_activate associate evaluation database===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;/db_scanco_activate&amp;lt;/code&amp;gt; is used in the IPL files, the correct association with the evaluation database is through the Index Patient and Index Measurement in the AIM header.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Index Patient                                    3095&lt;br /&gt;
Index Measurement                                5962&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using IPL&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
$ read in xxx.aim&lt;br /&gt;
$ examine in log&lt;br /&gt;
$ db true           {activates database}&lt;br /&gt;
$ dt_object         {at end &amp;quot;writing results to database for measurement 1234&amp;quot;}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===dicom_to_aim bug in IPL v5.03===&lt;br /&gt;
&lt;br /&gt;
In IPL, use the /dicom_to_aim function.  There is a bug in pre IPL v5.03 which requires that a small AIM be read in before doing the DCM conversion.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; read in tmp.aim&lt;br /&gt;
ipl&amp;gt; dicom_to_aim&lt;br /&gt;
  -aim_name                  [in] &amp;gt; &lt;br /&gt;
  -dicom_filename            [default_file_name] &amp;gt; 4F65038B3986.DCM&lt;br /&gt;
  -multifile                 [false] &amp;gt; true&lt;br /&gt;
ipl&amp;gt; write in MYFILE.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand &amp;quot;New&amp;quot; DT functions in IPL v5.42===&lt;br /&gt;
&lt;br /&gt;
This applies to:&lt;br /&gt;
&amp;lt;pre&amp;gt;/distance_map              /dt_ow_thickness           /dt_number                &lt;br /&gt;
/dt_thickness              /dt_spacing                /dt_cortical_thickness&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
XT1 (old dt) and XT2 (new dt) use 0.5 for assign_epsilon and 0.9 for&lt;br /&gt;
ridge_epsilon.&lt;br /&gt;
&lt;br /&gt;
µCT uses 1.8 for assign_epsilon and 0.9 for ridge_epsilon (old dt).&lt;br /&gt;
&lt;br /&gt;
Therefore I recommend to take 0.9 and 1.8 also for the new dt functions&lt;br /&gt;
for µCT/vivaCT measurements.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;suppress_boundary&amp;lt;/code&amp;gt; feature is new and works as follows:&lt;br /&gt;
&lt;br /&gt;
0: The ridges and spheres are calculated on the full seg AIM, also&lt;br /&gt;
outside the gobj. At the end the gobj is applied.&lt;br /&gt;
&lt;br /&gt;
1: The ridges that are on the AIM boundary are not used for the&lt;br /&gt;
calculation of the maximal spheres.&lt;br /&gt;
&lt;br /&gt;
2: The ridges are calculated on the full seg aim but then the gobj is&lt;br /&gt;
applied to the ridges. This means that at the end there are only spheres&lt;br /&gt;
that have the center inside the structure (gobj). The maximal sphere&lt;br /&gt;
filling algorithm still accounts for the structure outside the gobj, but&lt;br /&gt;
only uses center points inside the gobj.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dt_thickness&amp;lt;/code&amp;gt; for example can be used in two different ways in a script:&lt;br /&gt;
&lt;br /&gt;
1) cut out aim - apply threshold - apply gobj - dt_thickness&lt;br /&gt;
This way the suppress_boundary options do influence the results&lt;br /&gt;
because there are no ridges outside the gobj anyway.&lt;br /&gt;
&lt;br /&gt;
2) cut out aim - apply threshold - dt_thickness (with corresponding gobj)&lt;br /&gt;
This calculates the dt on the full aim first and applies then the&lt;br /&gt;
gobj and suppress options.&lt;br /&gt;
&lt;br /&gt;
If you examine for example trabecular bone only on a small area bounded&lt;br /&gt;
by a gobj then the most accurate way to calculate the dt is to cut out a&lt;br /&gt;
much larger area (still containing trabecular bone) and use way 2) above&lt;br /&gt;
with suppress_boundary 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Develop new IPL commands in C===&lt;br /&gt;
*Refer to [[Media:IPL programming.doc|&#039;&#039;&#039;A short manual on how to develop new IPL commands in C&#039;&#039;&#039;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
&lt;br /&gt;
===UPAT_LIST command===&lt;br /&gt;
&lt;br /&gt;
*Refer to Scanco specification document on using the [[Media:Specification_upat_print_list_V2.0.pdf | &#039;&#039;&#039;Upat_print_list V2.0&#039;&#039;&#039;]] on XCT2.&lt;br /&gt;
*Refer to [[Media:Using_upat.docx |&#039;&#039;&#039;Using upat_list Additional Notes&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
upat_list (version 1.9 on XCT1) is identical to 2.0 except:&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using group codes&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using evaluation types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all of the available parameters for generating results using upat_list command:  &lt;br /&gt;
  $ upat_list -h&lt;br /&gt;
&lt;br /&gt;
  Program: upat_print_list V1.9&lt;br /&gt;
  Use the following modes to run upat_print_list:&lt;br /&gt;
    upat_print_list -list  for export to spreadsheet, default mode&lt;br /&gt;
    upat_print_list -print for PostScript output&lt;br /&gt;
    upat_print_list -show  for text output&lt;br /&gt;
    upat_print_list -advanced to access advanced options interactively&lt;br /&gt;
  Standard Command-Line Arguments:&lt;br /&gt;
    -b=&amp;lt;pat_nr&amp;gt;      First patient, default = 1&lt;br /&gt;
    -e=&amp;lt;pat_nr&amp;gt;      Last patient&lt;br /&gt;
                     In list &amp;amp; show modes, default = last patient in database&lt;br /&gt;
                     In print mode, default = first patient&lt;br /&gt;
    -s=&amp;lt;site_code&amp;gt;   Site code&lt;br /&gt;
                     In list &amp;amp; show modes, RL RR R* TL TR T* CU *, default = *&lt;br /&gt;
                     In print mode, RL RR TL TR CU, default = RL&lt;br /&gt;
    -mb=&amp;lt;date&amp;gt;       Begin of measurement period, default = 1st measurement date&lt;br /&gt;
    -me=&amp;lt;date&amp;gt;       End of measurement period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -f=&amp;lt;#_followups&amp;gt; Maximum number of follow-ups to match, default = 19&lt;br /&gt;
    -t=&amp;lt;file_name&amp;gt;   Name of template file&lt;br /&gt;
                     In list mode,  default = UPAT_LIST_SHEET&lt;br /&gt;
                     In print mode, default = UPAT_EVAL_SHEETxx&lt;br /&gt;
                     In show mode,  default = UPAT_SINGLE&lt;br /&gt;
    -o=&amp;lt;file_name&amp;gt;   Name of output file (in SYS$SCRATCH by default)&lt;br /&gt;
                     In list &amp;amp; print modes, stored in SYS$SCRATCH&lt;br /&gt;
                     In show mode, written to SYS$OUTPUT&lt;br /&gt;
    -c=&amp;lt;number&amp;gt;      Number of Print copies if in print mode. default = 1&lt;br /&gt;
    -v=&amp;lt;level&amp;gt;       Verbosity from 0 (silent) to 2 (verbose), default = 1&lt;br /&gt;
    -h               Print this help and exit&lt;br /&gt;
  Advanced Command-Line Arguments:&lt;br /&gt;
    -et=&amp;lt;eval_type&amp;gt;  Type code of evaluation, default = 2&lt;br /&gt;
    -eb=&amp;lt;date&amp;gt;       Begin of evaluation period, default = 1st measurement date&lt;br /&gt;
    -ee=&amp;lt;date&amp;gt;       End of evaluation period, default = current date&lt;br /&gt;
    -tb=&amp;lt;date&amp;gt;       Begin of matching period, default = 1st measurement date&lt;br /&gt;
    -te=&amp;lt;date&amp;gt;       End of matching period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -sk=&amp;lt;#_to_skip&amp;gt;  Number of measurements to skip, default = 0&lt;br /&gt;
    -m=&amp;lt;meas_list&amp;gt;   Numbered List of measurements to take, e.g. 0,1,2,5,8&lt;br /&gt;
    -nomatch         Do not match follow up measurement, just take all slices&lt;br /&gt;
    -sb              Begin of Slice Range in % to be evaluated&lt;br /&gt;
    -se              End of Slice Range in % to be evaluated&lt;br /&gt;
    -q               Only take evaluations with quality better than (and including) this.&lt;br /&gt;
                     If positive number: all scans of better quality (incl. this) as well as all non-graded scans are taken.&lt;br /&gt;
                     If negative number: non-graded scans are NOT taken.&lt;br /&gt;
    -qs              Only take Structural evaluations with quality better than (and including) this.&lt;br /&gt;
                     Thus: between -qd and -q: only Density results are printed.&lt;br /&gt;
                     Parameter is disregarded if -qs &amp;gt;= -q.&lt;br /&gt;
    -ut=&amp;lt;unit_type&amp;gt;  0-&amp;gt;default unit, 1-&amp;gt;linatt, 2-&amp;gt;mg HA/ccm, 3-&amp;gt;HU, default = 0&lt;br /&gt;
    -cd=&amp;lt;density&amp;gt;    Value of compact density to use, default = 1200.000000&lt;br /&gt;
  If no command line arguments are specified, upat_print_list runs interactively.&lt;br /&gt;
&lt;br /&gt;
Note that using &amp;quot;TB&amp;quot; and &amp;quot;TE&amp;quot;, you can pull out exact measurements in the specified date range, while using &amp;quot;MB&amp;quot; and &amp;quot;ME&amp;quot;,  all you get is the latest measurement no matter what date range provided.&lt;br /&gt;
&lt;br /&gt;
For results of all time points for a single site and sample # without matching to Baseline, use: &lt;br /&gt;
I.e. the common region will be 100% for all measurements.&lt;br /&gt;
  $ upat_list -nomatch&lt;br /&gt;
&lt;br /&gt;
From these options, you can write out your own command (vs. using prompts) to give you the specifics you are looking for.  &lt;br /&gt;
&lt;br /&gt;
By specifying the CAMOS template of “UPAT_EVAL_CAMOS.PS”, you will get the “Camos” report style.  For example:&lt;br /&gt;
  $ upat_list -nomatch -b=1000 -e=1000 -s=TL -tb=01-MAY-2000 -te=01-AUG-2018 -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_1000_tl_camos.ps&lt;br /&gt;
&lt;br /&gt;
Note that there are actually many kinds of report templates.  These can be found via:&lt;br /&gt;
  $ dir UU:*.PS&lt;br /&gt;
&lt;br /&gt;
“SCUSA” is a short form for Scanco USA templates.  I.e. templates that fit on an 8.5” X 11” page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract followup data without slice matching===&lt;br /&gt;
Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -advanced&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Choose &#039;disable slice matching:&#039; -&amp;gt; y.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract patient results on a slice-by-slice basis===&lt;br /&gt;
&lt;br /&gt;
There is an executable that was specially installed by Andres.  Run it as user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN ut:UPAT_EXPORT_MEASUREMENT.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose from &amp;quot;Style: 0 = default, 1 = raw&amp;quot;. Default gives standard patient parameters.&lt;br /&gt;
&lt;br /&gt;
This gives you the .txt file in scratch containing the morphological parameters determined for each slice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_LIST Extract results===&lt;br /&gt;
&lt;br /&gt;
Assuming you&#039;ve used the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to initialize your evaluations (either manually or through the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool) then you can get all of your results stored into a text file that can be easily imported in Excel.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list&amp;lt;/pre&amp;gt;&lt;br /&gt;
The output text file will be stored in &amp;lt;code&amp;gt;sys$scratch&amp;lt;/code&amp;gt; and you can ftp this to a PC so that it can be imported into excel and further analysis can be performed. &lt;br /&gt;
&lt;br /&gt;
Importing into Excel requires setting a deliminator based on the space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Customizing&amp;lt;/b&amp;gt; the &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt; output.&lt;br /&gt;
&lt;br /&gt;
The default list template is set by the logical &amp;lt;code&amp;gt;UCT_3D_LIST_SHEET&amp;lt;/code&amp;gt; which is normally&lt;br /&gt;
set to point to &amp;lt;code&amp;gt;UU:UCT_3D_LIST.TXT&amp;lt;/code&amp;gt;.  See the templates by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir uu:*.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Almost all the available keywords are in &amp;lt;code&amp;gt;UCT_3D_LIST.TXT&amp;lt;/code&amp;gt; enclosed&lt;br /&gt;
by \\ and //.&lt;br /&gt;
&lt;br /&gt;
Only when you use the &#039;show directly on screen mode&#039;: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list 1234&amp;lt;/pre&amp;gt;&lt;br /&gt;
then you need to do this to override the default output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def/user uct_3d_single_sheet  my-template_file.txt&lt;br /&gt;
$ uct_list 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some example format files are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UCT_3D_LIST.TXT&lt;br /&gt;
UCT_3D_SINGLE.TXT&lt;br /&gt;
UCT_3D_LIST_W_CRH.TXT&lt;br /&gt;
UCT_3D_MEANS.TXT       --&amp;gt; Use this to get the 5 mean values (i.e., calibration)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A summary of all the available keywords is available in &amp;lt;code&amp;gt;UU:UCT_3D_SINGLE_SHEET.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Name             :\\UCTMEASFILENAME//&lt;br /&gt;
Sample-Name      :\\SAMPLENAME//&lt;br /&gt;
Sample-Nr        :\\SAMPLENUMBER//&lt;br /&gt;
Meas-Nr          :\\UCTMEASNR//&lt;br /&gt;
Date of Birth    :\\SAMPLEDOB//&lt;br /&gt;
Sample-Remarks	 :\\SAMPLEREM//&lt;br /&gt;
Meas-Remarks     :\\UCTMEASREM//&lt;br /&gt;
Meas-NrofSlices  :\\UCTMEASNUMSLI//&lt;br /&gt;
Direct: -------------------------------------------------------------------&lt;br /&gt;
TV        : \\VOX_TV//&lt;br /&gt;
BV        : \\VOX_BV//&lt;br /&gt;
BV/TV     : \\VOX_BV_TV// &lt;br /&gt;
Conn.Dens.: \\UCT_CONN//&lt;br /&gt;
SMI       : \\MC_SMI//&lt;br /&gt;
Tb.N*     : \\DT_N//&lt;br /&gt;
Tb.Th*    : \\DT_TH//&lt;br /&gt;
Tb.Sp*    : \\DT_SP//&lt;br /&gt;
Tb.1/N.SD*: \\DT_N_SD//&lt;br /&gt;
Tb.Th.SD* : \\DT_TH_SD//&lt;br /&gt;
Tb.Sp.SD* : \\DT_SP_SD//&lt;br /&gt;
Lin.Att.1 : \\UCT_MU0// +-\\UCT_MU0_SD//&lt;br /&gt;
Lin.Att.2 : \\UCT_MU1// +-\\UCT_MU1_SD//&lt;br /&gt;
Lin.Att.3 : \\UCT_MU2// +-\\UCT_MU2_SD//&lt;br /&gt;
Lin.Att.4 : \\UCT_MU3// +-\\UCT_MU3_SD//&lt;br /&gt;
Lin.Att.5 : \\UCT_MU4// +-\\UCT_MU4_SD//&lt;br /&gt;
TRI (Plate Model): --------------------------------------------------------&lt;br /&gt;
TV        : \\MC_TV//&lt;br /&gt;
BV        : \\MC_BV//&lt;br /&gt;
BS        : \\MC_BS//&lt;br /&gt;
BV/TV     : \\MC_BV_TV//&lt;br /&gt;
BS/BV     : \\MC_BS_BV//&lt;br /&gt;
Tb.Th     : \\MC_TH//&lt;br /&gt;
Tb.Sp     : \\MC_SP//&lt;br /&gt;
Tb.N      : \\MC_N//&lt;br /&gt;
Anisotropy:  --------------------------------------------------------------&lt;br /&gt;
|H1|      : \\MC_H1//  H1x: \\MC_H1X//  H1y: \\MC_H1Y//  H1z: \\MC_H1Z//&lt;br /&gt;
|H2|      : \\MC_H2//  H2x: \\MC_H2X//  H2y: \\MC_H2Y//  H2z: \\MC_H2Z//&lt;br /&gt;
|H3|      : \\MC_H3//  H3x: \\MC_H3X//  H3y: \\MC_H3Y//  H3z: \\MC_H3Z//&lt;br /&gt;
DA        : \\MC_DA//&lt;br /&gt;
Dim X	  : \\VOX_DX//&lt;br /&gt;
Dim Y	  : \\VOX_DY//&lt;br /&gt;
Dim Z	  : \\VOX_DZ//&lt;br /&gt;
Pos X	  : \\VOX_PX//&lt;br /&gt;
Pos Y	  : \\VOX_PY//&lt;br /&gt;
Pos Z	  : \\VOX_PZ//&lt;br /&gt;
El-Siz X  : \\VOX_ELSX//&lt;br /&gt;
El-Siz Y  : \\VOX_ELSY//&lt;br /&gt;
El-Siz Z  : \\VOX_ELSZ//  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tabulate LOG results from 3D evaluations===&lt;br /&gt;
&lt;br /&gt;
Only use this if you have not used the standard &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool to generate your 3D evaluations (in which case see the HowTo related to the 3D database).&lt;br /&gt;
You can tabulate the LOG files:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or whatever you want to search for can be stored in a text file&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search/output=sys$scratch:ov.txt xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
To search more than one log file, and get the output into one single file:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ fda/output=xxx.txt search *.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The fda means &#039;file do all&#039; and is a script made by Scanco to do one command (search) on a wildcard of files (*.log). Then put all the ov.txt, tv.txt, name.txt etc. files into excel.&lt;br /&gt;
Josh has made a .com file that does a similar job as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Compile evaluation LOGs into one file===&lt;br /&gt;
&lt;br /&gt;
Call the &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; with the same construction&lt;br /&gt;
as &amp;lt;code&amp;gt;$ eval_special&amp;lt;/code&amp;gt;.  If you need help with this, see the HowTo on this&lt;br /&gt;
Wiki site (HowTo: Assign special 3D evaluation to the UCT_EVALUATION tool).&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; file to call a specific ipl &lt;br /&gt;
script as you wish.&lt;br /&gt;
&lt;br /&gt;
When you run the evaluation, you will have three new files created:&lt;br /&gt;
&lt;br /&gt;
:*Two files in the measurement directory (on DK0!) (one with each eval 3D results in its own file, and one &amp;lt;code&amp;gt;APPENDED_ALL.TXT&amp;lt;/code&amp;gt; file)&lt;br /&gt;
:*Then in sys$scratch, you will have one &amp;lt;code&amp;gt;SYS$SCRATCH:UCT_LIST_ALL_3D_RESULTS.LOG&amp;lt;/code&amp;gt; file with ALL 3D evaluations of all measurements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; You may need to edit the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to specify a single queue (i.e., /que=sceval$fast)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
&lt;br /&gt;
===Examine patient databases===&lt;br /&gt;
This is for advanced users only!&lt;br /&gt;
&lt;br /&gt;
There are two patient databases that get updated every time an evaluation is performed.  Below is the name of the database, and the method used to check database values:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_EVAL_DATABASE&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! as microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_SLICE_DATABASE&lt;br /&gt;
$ set host 0  ! login as user calibration&lt;br /&gt;
$ @disk1:[microct]login.com&lt;br /&gt;
$ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UPAT_GET_DB_INFO.EXE  ! enter &#039;1&#039; to list records&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the slice database every evaluation is recorded, but only one is currently active at a time.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Manipulate scan sequence===&lt;br /&gt;
&lt;br /&gt;
Upat_list reports the baseline scan and then the percentage change of follow-up scans from the baseline scan. The order of scans in upat_list is determined from the measurement number (not the measurement date). In the case you need to manipulate the baseline and follow-up sequence, you will need to: &lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;  Use this with caution, and as little as possible!! even if the operation is reversible. Database manipulation is sensitive after all.&lt;br /&gt;
&lt;br /&gt;
1. Log in as the &amp;quot;calibration&amp;quot; user (beware which calibration account to use for the different scanners).&lt;br /&gt;
&lt;br /&gt;
How to proceed in the terminal:&lt;br /&gt;
 $ SPB&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM    or  $ @DISK1:[XTREMECT2]LOGIN.COM    !! don&#039;t miss that line, otherwise you would modify the CALIBRATION databases&lt;br /&gt;
&lt;br /&gt;
2. Use the following command to modify the measurement number:&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_SAMPLE_FIRST.EXE          !! To redefine the very first measurement in the sequence&lt;br /&gt;
&lt;br /&gt;
:* I do mean &amp;quot;First&amp;quot; measurement in the sequence, and not &amp;quot;baseline&amp;quot; measurement. You may have 2 baseline scans, one for radius and one for the tibia, but only one of them is the very &amp;quot;first in the sequence&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_PREV_NEXT.EXE        !! To redefine the follow-up sequence beyond the first measure&lt;br /&gt;
&lt;br /&gt;
:* The PREV_NEXT utility is a bit tricky to use, as for each measurement you will have to define its &amp;quot;chronological&amp;quot; previous and its next. It is not related to any anatomical site: one might think for example of defining the Radius follow-up sequence for example. It is not the case. The PREV_NEXT sequence will alternate between different anatomical sites, that is how it should be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Add placeholders for missing follow-up scans===&lt;br /&gt;
If there is NO scan at a certain time point in a series (i.e. patient did not show up), the program ut:upat_create_meas_placehoder.exe and upat_create_eval_placeholder can insert fake records, so the slice matching and timepoints/visits are still all in order.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The attached file describes how to create an manage placeholders in the case of missing follow-up visits in longitudinal studies. [[Media:SOP_Create_Placeholders_draft.pdf|&#039;&#039;&#039;SOP Create Placeholders&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a database measurement===&lt;br /&gt;
&lt;br /&gt;
It is not possible to delete an evaluation from the database, but it can be disabled.&lt;br /&gt;
&lt;br /&gt;
NOTE: QC results are stored in the UCT database, and there is no tool to disable a UCT database result.&lt;br /&gt;
&lt;br /&gt;
Log in as the normal user (e.g. XTREMECT2). Then in a terminal you may use this simple utility program:&lt;br /&gt;
  $ RUN UT:UPAT_CORRECT_VALID_FLAG&lt;br /&gt;
&lt;br /&gt;
See below a typical prompt to deactivate an entry:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_CORRECT_VALID_FLAG V2.0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 1&lt;br /&gt;
Evaluation type [2]: 5&lt;br /&gt;
Group code [0]: 0&lt;br /&gt;
&lt;br /&gt;
Found evaluation 57 for patient 4: ID003&lt;br /&gt;
&lt;br /&gt;
Value for valid flag (0=invalid, 1=valid) [1]: 0&lt;br /&gt;
Value for placeholder flag (0=write results, 1=placeholder) [0]: 0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can always re-activate the entry, by switching the valid flag from 0 to 1. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or, to make a scan invalid, you can also login as calibration user.&lt;br /&gt;
&lt;br /&gt;
Point to microct user&lt;br /&gt;
&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM&lt;br /&gt;
&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
&lt;br /&gt;
 $ SPB&lt;br /&gt;
&lt;br /&gt;
Run Correction File&lt;br /&gt;
 $ run DISK1:[CALIBRATION.UTIL]UPAT_CORRECT_VALID_FLAG.EXE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a uct_list database measurement===&lt;br /&gt;
You cannot really disable data in the UCT_LIST output. What you can do using IPL is to clear the complete result entry for a given measurement, for example:&lt;br /&gt;
&lt;br /&gt;
  $ ipl&lt;br /&gt;
  /read&lt;br /&gt;
    -name                      in&lt;br /&gt;
    -filename                  default_file_name&lt;br /&gt;
  /db_scanco_activate&lt;br /&gt;
    -write                     true&lt;br /&gt;
  /db_clear_eval&lt;br /&gt;
    -input                     in&lt;br /&gt;
&lt;br /&gt;
Then UCT_LIST might still report the &amp;quot;disabled&amp;quot; measurement, leaving only the few first meta-data columns non empty. The rest would be cleared.&lt;br /&gt;
&lt;br /&gt;
I must bring your attention to the fact that this sequence is used a lot on XtremeCT I scripts, for the cortical porosity for example.&lt;br /&gt;
This means that on XT-I, the UCT_LIST content is highly unstable, as it was used back then while UPAT_LIST was not able to handle those results.&lt;br /&gt;
In the future, when new applications come they may delete/overwrite the UCT_LIST entry for a measurement. &lt;br /&gt;
That is the rationale for using the TXT output in the RESULTS directory, that at least keeps track of past analyses. &lt;br /&gt;
As long as you have a single application on XT-II going through UCT_LIST, calling results on demand with it is fine. Later it might come complicated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Troubleshoot UPAT database===&lt;br /&gt;
&lt;br /&gt;
If there is an error (&#039;inconsistent key change or duplicate key!&#039;) in the log file during &#039;upat_filldb&#039;, this is likely caused by too many servers doing UPAT evaluations:&lt;br /&gt;
&lt;br /&gt;
Basically, the UPAT database can not be accessed by 2 evaluation jobs &amp;quot;at the same time&amp;quot;, and works on a &amp;quot;1st arrived 1st served&amp;quot; basis. It is actually one reason to have only 1 evaluation at a time running on a single workstation (the usual setup).&lt;br /&gt;
In your case (and in mine as well), when you have several workstations clustered together, you can technically run several evaluation jobs at the same time which will eventually access the very same database. &lt;br /&gt;
So what happens is that a 1st job executes the /upat_fill_db, and accesses the database for a short amount of time.&lt;br /&gt;
During this time, any unfortunate evaluation job trying to access the database will end up in the exact same error as you reported, as their access to the database is restricted. Even though the time window is short, this kind of thing is unavoidable in setup such as ours, and when lots of evaluation are started at the same time.&lt;br /&gt;
Here you have no other choice than restarting the evaluation job, in order to update the database (or ultimately you could write a small script just to run the /upat_fill_db command, but I do not think it makes sense).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Redirect to a temporary database===&lt;br /&gt;
&lt;br /&gt;
We need to temporarily redefine the logicals UPAT_EVAL_DATABASE and UPAT_SLICE_DATABASE.  Normally, the definition is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_EVAL_DATABASE = UCTD:UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
UPAT_SLICE_DATABASE = UCTD:UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Typically, we submit our jobs to the queue with an IPL script, so within the script we&#039;ll have to redefine the name of the database by adding lines such as&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
so that the results from the IPL evaluation are redirected to this temporary database.&lt;br /&gt;
&lt;br /&gt;
Then, we need to extract the results from the database.  These results are provided on a slice by slice basis (at least with the UPAT data).  As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; in a terminal window, we will again need to redefine the database and then run the program that translates the results to a text file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! give the measurement number and output file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or extract the results from the temporary database with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&lt;br /&gt;
$ def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT  ! only necessary if data came from another system&lt;br /&gt;
$ def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT                            ! only necessary if data came from another system&lt;br /&gt;
&lt;br /&gt;
$ upat_list  ! choose option [3]show, give the patient number and output file, e.g. sys$scratch:myvalues.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an example IPL script that redirects to a temporary database, see Percy:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DISK1:[MICROCT.COMMANDS]IPL_UPAT_EVAL_AIMINPUT.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import from a foreign database===&lt;br /&gt;
IF MEASUREMENTS COME FROM A TOTALLY DIFFERENT DATABASE (such as Toronto&#039;s XCT):&lt;br /&gt;
&lt;br /&gt;
You will need to redefine the logicals UCT_MEASUREMENT_DATABASE and UCT_SAMPLE_DATABASE&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it is quite possible that you won&#039;t have a copy of the foreign MEASUREMENT and SAMPLE databases. If this is the case, then you &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; import the ISQ files into our own database. Then, by setting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define UCT_EVALUATION_DATABASE SYS$SCRATCH:TEMP_EVALUATIONS_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
you could redirect the results to a temporary database (but normally, if you already imported the data, why not use our own database now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Duplicate as new import to database===&lt;br /&gt;
&lt;br /&gt;
You will need to copy ISQ and GOBJ files to a new designated location. This is done when a screening study is completed to look for potential subjects and then a main longitudinal study is completed under a different study name.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1. Make a new patient/subject ID &amp;lt;br&amp;gt;&lt;br /&gt;
2. Make a copy of the ISQ. For example: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK2:[microct.DATA.00002584.00008992]*.isq - &lt;br /&gt;
       DISK2:[microct.DATA.00002696.00009345]*.isq  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
3. Import ISQ into new patient/subject ID number by typing:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ import&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
4. Follow the prompts for the ISQ file names, changing of control file # etc. &amp;lt;br&amp;gt;&lt;br /&gt;
5. Check the data directory to see if ISQ and GOBJ files have been copied properly &amp;lt;br&amp;gt; &lt;br /&gt;
2. In uct_evaluation, open new .ISQ and copied .GOBJ and re-run the evaluation to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
3. Copy Scout Views so scanning program will load baseline scout view for followup scans &amp;lt;br&amp;gt; In DISK1:[MICROCT.DATA.SCOUTS], you&#039;ll see two series of scout views: one series with the PATIENT # followed by 020 or 021 or 038 or 039, the site code (radius or tibia, left or right respectively)&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the old patient scouts to the new patient #s&lt;br /&gt;
For example (using the same old and new #s as above): &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK1:[MICROCT.DATA.SCOUTS]00002584021.SCV -&lt;br /&gt;
       DISK1:[MICROCT.DATA.SCOUTS]00002696021.SCV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover a disappeared due to import===&lt;br /&gt;
If you need duplicate a measurement in both the original and new directories, but you forgot copying the measurement before importing as a new. The original measurement will be automatically removed from the original directory.  This can be fixed!  You will need to copy the measurement back and then fix the header information, as the header will no longer match the original directory.&lt;br /&gt;
&lt;br /&gt;
1. Manually copy all of the associated files for the measurement from the new directory to the original directory:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$copy DISK2:[xtremect2.data.00001234.00001234]*.*;* DISK2:[xtremect2.data.00004321.00004321] /log&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
2. Change the header information of the measurement files to those of the original directory.  To do this, you will need special software.  The use of this software is RESTRICTED.  Users must seek special permission to use the software from Steve, Ying, or Anne BEFORE using.  Once you have permission, the software can be found here: DISK1:[MICROCT.COMMANDS.FORBIDDEN].&lt;br /&gt;
&lt;br /&gt;
3. Run the software:&amp;lt;pre&amp;gt; &lt;br /&gt;
$r [software]&lt;br /&gt;
 &amp;lt;/pre&amp;gt; &lt;br /&gt;
4. The software will ask for: &lt;br /&gt;
a) the ISQ file&lt;br /&gt;
b) the new sample # you would like to give it (i.e. the original directory sample #)&lt;br /&gt;
c) the new measurement # you would like to give it (i.e. the original directory measurement #)&lt;br /&gt;
c) the new sample name you would like to give it (i.e. the original Study ID)&lt;br /&gt;
&lt;br /&gt;
You can view the header information for a file by using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ctheader [ISQ file]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong Study_ID/Sample_No===&lt;br /&gt;
&lt;br /&gt;
Situation: One study participate was assigned in followup scans multiple Study_ID or multiple Sample_No under the same Study_ID. &lt;br /&gt;
Action:    To correct this mistake and update the database correctly, you get to &lt;br /&gt;
&lt;br /&gt;
1. Return/Restore the RSQ from tape to measurement disk using Move (not Copy) in uct_backup program, otherwise the new location won&#039;t have its RAW backup record and thus have no idea where its RSQ was located.&lt;br /&gt;
&lt;br /&gt;
2. When there is no original ISQ in the measurement disk, you will have to reconstruct a new ISQ from this RSQ. If there is an original ISQ there, then skip this step.&lt;br /&gt;
&lt;br /&gt;
3. Import ISQ into a new designated location (correct Study_ID and Sample_No with new Measurement_No). &lt;br /&gt;
    $ import&lt;br /&gt;
Follow the prompts for the ISQ file names, changing of control file # or site # if needed. This action will import RSQ, Gobj and all the files in the folder to the new location.&lt;br /&gt;
&lt;br /&gt;
A reminder is that without an ISQ ready by importing a RSQ only will produce wrong slice no. and site location in the database as shown in the uct_backup. &lt;br /&gt;
&lt;br /&gt;
4. If the ISQ is newly reconstructed (original ISQ could skip this step), the database will show the new reconstruction date &amp;amp; time (not the original scan date &amp;amp; time) as the scan records in the uct_backup. To correct this, &lt;br /&gt;
&lt;br /&gt;
    $run ut:uct_correct_meas_measdate&lt;br /&gt;
&lt;br /&gt;
1) To see the original scan date &amp;amp; time: run this command and follow the prompt and input the original measurement No. as the Index, but don&#039;t change this by copying and pasting it back in Messdatum/Zeit.&lt;br /&gt;
&lt;br /&gt;
2) To set the new scan date &amp;amp; time: run this command again and input the new measurement No. as the Index, copy &amp;amp; paste the original scan date &amp;amp; time got from 1) in Messdatum/Zeit. &lt;br /&gt;
&lt;br /&gt;
This way will update the database as shown in the uct_backup with the original scan date &amp;amp; time with newly reconstructed ISQ in the correct Study_ID and Sample_No.&lt;br /&gt;
&lt;br /&gt;
5. Backup/Move the RSQ at the new location to tape, so that the new record will have full information of both RAW and IMA. &lt;br /&gt;
&lt;br /&gt;
6. Even though ISQ, RSQ, GOBJ and all other files have been moved over to the new location, you will still need to re-run the evaluation (in uct_evaluation, open ISQ and GOBJ) to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong account used for scanning===&lt;br /&gt;
&lt;br /&gt;
Xtremect2 (on disk2) and xt2recalib (on disk6) accounts share the same databases. However, the definition of DK0 is account specific, ie. the scans are stored on different disks. So when scanning under Xtremect2 account instead of Xt2recalib account, to correct the wrong measurement location you will need to:&lt;br /&gt;
&lt;br /&gt;
#Create the patient directory on disk6:[xtremect2.data], if needed;&lt;br /&gt;
#Create the same measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Create a save set of the measurement folder on disk2:[xtremect2.data] with the isq, rsq, rad and scv files included;&lt;br /&gt;
#Unzip the save set in the measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Delete the measurement directory on disk2:[xtremect2.data] using delete command in the terminal. Caution: Do NOT use the backup program.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; This procedure is specific to this situation between Xtremect2 and Xt2recalib accounts, Microct and Xt1recalib accounts, and vice versa, but not applicable between any other accounts!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update database after RSQ/ISQ restoration===&lt;br /&gt;
&lt;br /&gt;
If you are restoring RSQ or ISQ files from tape (or other source) it might be preferable to do your analysis without resetting the database info.  &lt;br /&gt;
&lt;br /&gt;
The database is specific to the user.  So, we have to modify the database for &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;, and be careful not to modify the &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; (or other users) database.  However, we still need to have permissions from &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; in order to do the modification.&lt;br /&gt;
&lt;br /&gt;
When we restore an ISQ or RSQ to disk, the database needs to be updated to ensure it finds it.  We have to change the database back to say it&#039;s on disk.  To do this we need to log in as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
login as calibXXXX  where XXXX is the scanner id (5019 for VivaCT or 2339 for uCT35) or calib3309 or calib3401 (for the XtremeCT and XtremeCTII system, respectively).&lt;br /&gt;
password from Steve&lt;br /&gt;
&lt;br /&gt;
$ @ADISK1:[BONELAB]microct_setup_XXXX.com    ! XXXX=scanner id, sets the logicals to point to bonelab data for SB group&lt;br /&gt;
or&lt;br /&gt;
$ @ADISK1:[VIVACT]LOGIN.COM  ! sets the logicals to point to microct data for BH group&lt;br /&gt;
or&lt;br /&gt;
$ @DISK1:[MICROCT]LOGIN.COM ! sets the logicals to point to microct data on the XtremeCT system&lt;br /&gt;
or&lt;br /&gt;
$ @IDISK1:[XTREMECT2]MICROCT_SETUP.COM ! sets the logicals to point to xtremect2 data on the XtremeCT2 system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set proc/priv=bypass      or     $ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_DIR     ! make sure to include the full path to the executable as shown here. &lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_DIR.EXE     ! on xtremect2 system, use this program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Only change those items which have to be changed (e.g. just hit RETURN for RAW fields if you only want to change the IMA location.  Also, when specifying the directories, use DK0, not DISK2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:UCT_CORRECT_DIR.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Measurement Nr.:         1234&lt;br /&gt;
MeasNr.                  1234 &lt;br /&gt;
PatientNr:               268&lt;br /&gt;
RAW: RAW004&lt;br /&gt;
TP0:00001234_RAW&lt;br /&gt;
IMA: IMA002&lt;br /&gt;
TP0:00001234_IMA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW-Label: [ RAW004 ]&lt;br /&gt;
&lt;br /&gt;
RAW-Dir  : [ TP0:00001234_RAW ]&lt;br /&gt;
&lt;br /&gt;
IMA-Label: [ IMA002 ]   DISK&lt;br /&gt;
IMA-Dir  : [ TP0:00001234_IMA ]  DK0:[microct.data.00000456.00001234]&lt;br /&gt;
&lt;br /&gt;
Measurement Nr.:            0&lt;br /&gt;
End of program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The IMA-label does not matter on disk - but we have to write something to get rid of the IMA002, so &#039;DISK&#039; makes sense.&lt;br /&gt;
&lt;br /&gt;
Using the standard backup/archiving program, you can archive (MOVE TO) that IMA again to a tape, but use a DIFFERENT TAPE than where the first instance of this scan is on.&lt;br /&gt;
&lt;br /&gt;
Background: Tapes just write file after file, without any directory structure or hierarchy, so the program will always find the first instance (the old dataset) if you try to read it again from that tape.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; One other option is to change the permissions of UCT_CORRECT_DIR.EXE so that user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; can use it directly.  To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration&lt;br /&gt;
$ set prot=g:re ut:uct_correct_dir.exe&lt;br /&gt;
$ run disk1:[calibration.util]uct_correct_dir  ! as user microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Other FAQ==&lt;br /&gt;
&lt;br /&gt;
===View Sample info===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will show you sample-name and date-of-birth of sample-number 1234&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info -m 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will give you some (stupid) info about meas 1234&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you use this function all the time, put the following into &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_info  :== $um:uct_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then the usage info will even be correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===List measurements for data and backup location===&lt;br /&gt;
&lt;br /&gt;
*To generate a list of measurements that are registered in the database, to determine where backups are stored, or if the data is still on disk:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;$ write_info&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Ask you for a range of measurement numbers or sample names.&lt;br /&gt;
*Create a &amp;lt;code&amp;gt; sys$scratch:info.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Anonymize patient name and DOB===&lt;br /&gt;
&lt;br /&gt;
Here is the link to [[Media:SOP_Anonymize_patient_name_dob.pdf | Scanco&#039;s SOP]] to change a long list of patient&#039;s name and/or DOB to de-identify the data. &lt;br /&gt;
&lt;br /&gt;
This does not affect the headers of past RSQ, ISQ or AIM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix a wrong scan site===&lt;br /&gt;
For example scan site RR is scanned mistakenly under RL.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show log *eval*&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see our site codes, e.g. 20 = RL, 21 = RR etc.&lt;br /&gt;
&lt;br /&gt;
Login as user calibration.  (Note that &#039;microct&#039; in the 3rd line below does NOT refer to XCT I.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
$ username: [enter calibration account, e.g. calib3401]&lt;br /&gt;
$ @disk1:[xtremect2]microct_setup.com     &lt;br /&gt;
&lt;br /&gt;
$ cd util&lt;br /&gt;
$ dir *site* &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you see two programs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run uct_correct_meas_site&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and enter the meas. number to be corrected and then enter the correct site code. This modifies the database (of user microct), so the correct site is displayed in the eval program. (Enter meas. number 0 to exit program)&lt;br /&gt;
&lt;br /&gt;
Then we must also correct the ISQ file (and RSQ file if still on disk):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run updh_site&lt;br /&gt;
(&#039;updh&#039; = update header)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and enter the &amp;lt;b&amp;gt;full (i.e. pathname included)&amp;lt;/b&amp;gt; ISQ and RSQ (if still on disk) filename. Then enter the correct site number.&lt;br /&gt;
&lt;br /&gt;
make sure to &amp;lt;b&amp;gt;logout!&amp;lt;/b&amp;gt; as user calibration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix site code of a scan===&lt;br /&gt;
This is done if accidentally scanned using the wrong control file (ex. RL scanned mistaking using the control file for RR). &lt;br /&gt;
&lt;br /&gt;
Login as user Calibration, Set priviledge to bypass&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
Point to microct user&lt;br /&gt;
&lt;br /&gt;
 $ @IDISK1:[MICROCT]LOGIN.COM&lt;br /&gt;
 $ cd util&lt;br /&gt;
 $ run UCT_CORRECT_MEAS_SITE.EXE&lt;br /&gt;
&lt;br /&gt;
Enter in the correct site code (20 = RL, 21 = RR, 38 = TL, 39 = TR)&lt;br /&gt;
&lt;br /&gt;
 $ run UPDH_SITE&lt;br /&gt;
&lt;br /&gt;
Enter in full filepath for ISQ and RSQ. Then enter the correct site number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix for results fail to print/list/show after evaluation===&lt;br /&gt;
&lt;br /&gt;
There are a number of reasons the results may not print:&lt;br /&gt;
&lt;br /&gt;
====Incorrect first measurement number====&lt;br /&gt;
When sample information (such as patient name, DOB, remark) is changed DURING scanning, this can over write the 1st Scan measurement number, resulting in the evaluation sheet not being printed, and data not shown when running upat_list. For example, this happens when:&lt;br /&gt;
&lt;br /&gt;
1) open sample program, enter name, hit save, leave program open&lt;br /&gt;
&lt;br /&gt;
2) start scan (which would write correct record with 1st meas. in sample database)&lt;br /&gt;
&lt;br /&gt;
3) in sample program: then only enter DOB, and hit &#039;save&#039; again in the sample program --&amp;gt; it &#039;overwrites&#039; the 1st meas. with an empty string again.&lt;br /&gt;
&lt;br /&gt;
If you want to enter DOB after the scan has started, you HAVE to &#039;Find...&#039; and re-load that patient first (so it correctly loads the 1st meas. entry also). It is best to just not use the sample management program whilst scanning is taking place. &lt;br /&gt;
&lt;br /&gt;
However, if you do encounter this problem, use the following to fix (shown using patient 668 as an example. 1st scan measurement number was 2672):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 calibration&lt;br /&gt;
 xxxxx&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
 $ @[microct]microct_setup&lt;br /&gt;
 $ run [calibration.util]uct_correct_first&lt;br /&gt;
 $ r UCT_CORRECT_FIRST&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.: 668&lt;br /&gt;
 SampleNr.:          668&lt;br /&gt;
 First:            0&lt;br /&gt;
&lt;br /&gt;
 2672&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and continue with next non-working patient, give patient number 0 to exit.&lt;br /&gt;
&lt;br /&gt;
 $ logout&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Evaluation completed with results not written to database====&lt;br /&gt;
If the first measurement number and DOB are correct... check the .log file of the evaluation... However, if there is no upat*.log file available for that scan, use:&lt;br /&gt;
&lt;br /&gt;
upat_list -v=2 and you will see (for eg sample 594):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Found sample 594, CAMOS_0018&lt;br /&gt;
Found measurement 2536 made 19-MAR-2007 12:52:58.48&lt;br /&gt;
Measurement site RL found in list at index 0&lt;br /&gt;
Measurement 2536 within measurement period&lt;br /&gt;
ERROR finding evaluation for measurement 2536&lt;br /&gt;
&lt;br /&gt;
No valid evaluation found for measurement 2536&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So it seems the 3D upat eval never wrote anything to the database for that scan. In this case, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @ue:ipl_upat_eval_again_quick.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and let it run for the missing data. &lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039; it will only need the aim files and gobj files that you still have in your &#039;models&#039; directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Incorrect sequence of measurement numbers====&lt;br /&gt;
Finally, if none of these options work... check the order of measurement numbers: especially if an import has occured, first check the first measurement number is correct (as above). Then run sys$Scratch:uct_correct_prev_next.exe and correct the order of the measurements: The database keeps a &#039;daisy&#039; chain of meas. numbers, each meas. knows which one was the previous meas and the next meas.&lt;br /&gt;
&lt;br /&gt;
0 means: no prev. meas (or no next meas) So corrected the order for you like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ r UCT_CORRECT_prev_next&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop) [0]: 2821&lt;br /&gt;
MeasNo.:         2821 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]:   &amp;lt;-- leave 0&lt;br /&gt;
Next     [0]: 2828  &amp;lt;-- give next meas number&lt;br /&gt;
Measurement No. (0 to stop) [2828]:&lt;br /&gt;
MeasNo.:         2828 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]: 2821  &amp;lt;-- give prev. meas number&lt;br /&gt;
Next     [0]:  &amp;lt;-- leave 0 for very last meas.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Please note: the series of meas. numbers per patient is NOT separate per meas. site, thus radius and tibia meas. are linking to each other. &#039;&#039;&#039;Do not mess up!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Lab’s Data Responsibility==&lt;br /&gt;
*Weekly &lt;br /&gt;
#Clean up sys$scratch directory and only keep last week&#039;s data.&lt;br /&gt;
#Archive RSQ to corresponding tapes.&lt;br /&gt;
#*RSQ from temporary tests and non-project (not a formally established project) will NOT be archived unless specifically notified to lab personal.&lt;br /&gt;
#Database backup to disks.&lt;br /&gt;
*Monthly&lt;br /&gt;
#Database backup to corresponding tapes.&lt;br /&gt;
#Archive QC RSQ to corresponding tapes.&lt;br /&gt;
#Delete QC IMA and only keep last week&#039;s data.&lt;br /&gt;
*6-monthly&lt;br /&gt;
#System backup to corresponding tapes when prompted.&lt;br /&gt;
*Yearly&lt;br /&gt;
#Data Disk clean up when usage is over 90%.&lt;br /&gt;
#*Temporary tests and non-project RSQ and IMA data will be deleted during check up.  &lt;br /&gt;
#Project Disk clean up when usage is over 90%.&lt;br /&gt;
#Winston backups clean up.  &lt;br /&gt;
*Whenever requested&lt;br /&gt;
#Projects backup to Winston server and restoration.&lt;br /&gt;
#Projects archive to HOG server and restoration.&lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; STRONGLY URGE TO DO THE WEEKLY and MONHTLY BACKUP. Two users DID experience disk crashes before, and without the weekly backup, you may still have all scans on the data disk, but without the databases you cannot tell which scans belong the which sample.&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_management.pdf|&#039;&#039;&#039;XtremeCT Micro-CT Management SOP&#039;&#039;&#039;]] or [[Media:Microct_management.docx|&#039;&#039;&#039;its Word format&#039;&#039;&#039;]] for references.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==HP Server and Disk Array==&lt;br /&gt;
===HP References===&lt;br /&gt;
*[[Media:Hp-quick-specs-msa30.pdf|&#039;&#039;&#039;MSA30 Disk Array Quick Specs&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2620-sceva2-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2620 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2660-sceva3-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2660 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===HP FAQ===&lt;br /&gt;
====Change disk description for $ disks====&lt;br /&gt;
Login as the system user and change to the system commands directory.&lt;br /&gt;
&lt;br /&gt;
 $ cd scom&lt;br /&gt;
 $ eve show_disks.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Tape==&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; While the tape is running and writing to it, DO NOT LOG OUT, DO NOT INTERRUPT THE PROGRAM! This would make that tape unusable from this point on - you could still read from that tape up to this point, but could not add more scans to this tape.&lt;br /&gt;
&lt;br /&gt;
===Tape Label Convention===&lt;br /&gt;
Tape labels are 6 characters in length.  For the Bone Imaging Lab projects, the first three letters indicate if the tape is for raw (RAW) or image (IMA) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW040 = RAW date, tape #040&lt;br /&gt;
IMA001 = IMAGE data, tape #001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, the first two characters may be set to a PI&#039;s initials, the third character indicates if the tape is for raw (R) or image (I) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SBR040 = Steve Boyd RAW, tape #040 &amp;lt;br&amp;gt;&lt;br /&gt;
SBI001 = Steve Boyd IMA, tape #001 &amp;lt;br&amp;gt;&lt;br /&gt;
BHR006 = Benedikt Hallgrimsson RAW, tape #006 &amp;lt;br&amp;gt;&lt;br /&gt;
BHI017 = Benedikt Hallgrimsson IMA, tape #017 &amp;lt;br&amp;gt;&lt;br /&gt;
FJR012 = Frank Jirik RAW, tape #012 &amp;lt;br&amp;gt;&lt;br /&gt;
FJI003 = Frank Jirik IMA, tape #003 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CaMos raw data is backed up with the following naming:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CAMOS1 = CaMos RAW, tape #1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When a tape becomes full, start (initialize) a new tape, increasing the tape number by one so that each tape label is unique.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Initialize a New Tape===&lt;br /&gt;
Put a new tape into the tape drive, then press &amp;quot;Initialize&amp;quot;, this will format (erase) everything on the tape.  When prompted for a label for the tape, follow the [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]].  The tape can now be mounted for use.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic02.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Full Tape===&lt;br /&gt;
A tape automatically ejects during a backup procedure if it becomes full.  &lt;br /&gt;
*Remove the tape and write protect it (orange indicator will be displayed).  &lt;br /&gt;
*Exit the disk-utility program. &lt;br /&gt;
:*Hit &amp;lt;code&amp;gt;ctrl/c&amp;lt;/code&amp;gt; to interrupt the program if needed. &lt;br /&gt;
*Start a new instance of the program.  &lt;br /&gt;
*[[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;Initialize a New Tape&#039;&#039;&#039;]].  &lt;br /&gt;
*Backup any remaining files.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic03.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape Drive Setup on XCT cluster===&lt;br /&gt;
Both the old and new tape drives are connected to SC3309 (XCT1) and powered on. You do not need to power off one to use another.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
New tape in new drive &amp;lt;--&amp;gt; microct, xtremect2, xt2recalib, calib3401, calib3309&lt;br /&gt;
&lt;br /&gt;
:*The &#039;new&#039; Ultrium 3000 tape drive is for the new tapes and the default tape drive for all other accounts (microct, xtremect2, xt2recalib, calib3309, calib3401). &lt;br /&gt;
:*Use the following command to use the old SDLT tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sdlt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Old tape in old drive &amp;lt;--&amp;gt;  xt1recalib  &lt;br /&gt;
&lt;br /&gt;
:*The &#039;old&#039; SDLT tape drive is for the old tapes. You have to log into the default xt1recalib account to recognize this tape drive. &lt;br /&gt;
:*Restoring from old tapes in xt1recalib account will restore your data to DISK6:[MICROCT.DATA]. &lt;br /&gt;
:*By default, xt1recalib account can only see old tape drive, not the new tape drive.&lt;br /&gt;
:*Use the following command to use the new tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sas&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*With either of the above commands, you must not &amp;quot;submit&amp;quot; the tape usage jobs to the queue (i.e., cannot run a batch backup from a script), but only run them interactively in the &lt;br /&gt;
software. Any job in the queue will use the default tape drive again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract from Tape===&lt;br /&gt;
&lt;br /&gt;
====Scripts to Extract from Tape====&lt;br /&gt;
Generally, all files on the tape can be extracted, or only specific files.&lt;br /&gt;
To extract all files on a tape, for example, a tape received from a collaborator, insert the tape into the drive and do the following:&lt;br /&gt;
  $ cd ur&lt;br /&gt;
  $ create/dir [.collaborator]&lt;br /&gt;
  $ create/dir [.collaborator.com]&lt;br /&gt;
  $ create/dir [.collaborator.log]&lt;br /&gt;
  $ create/dir [.collaborator.models]&lt;br /&gt;
  $ cd ur collaborator models&lt;br /&gt;
  $ backup/log tp0:*.sav []/by=parent  ! be sure you are the user (i.e. &#039;microct&#039; or &#039;xtremect2&#039;) that has permission&lt;br /&gt;
  $ backup/log tp0:*.sav DISK4:[BONELAB.PROJECTS.FRAMINGHAM.MODELS...]/by=parent ! The &amp;quot;...&amp;quot; keeps the directory structure. The /by=parent ensures owner of the files is same as parent directory&lt;br /&gt;
&lt;br /&gt;
This will save all the files on the tape to the current directory. Alternatively, if you only want a certain file extracted from the tape, such as an RSQ file, do essentially the same as per above, except with a different final command:&lt;br /&gt;
  $ backup/log tp0:*.sav/select=*.rsq []/by=parent&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/by=parent&amp;lt;/code&amp;gt; part of the command is a qualified for the file owner, and it makes the files that are copied the same owner as the parent directory (nothing to do with how directories are structured). The &amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt; generates sub-directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A custom script is required when extracting data from tape from another micro-CT system or to extract the data to a central location (e.g., a user&#039;s directory).  &lt;br /&gt;
*The script is then submitted to the backup queue of the workstation the tape drive is connected to (i.e., SCEVA3_BACKUP)&lt;br /&gt;
*Some example scripts are provided below.&lt;br /&gt;
&lt;br /&gt;
*Extract image data for three scans to a custom folder, maintaining the sample and measurement directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for three scans to a custom folder without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for all scans on tape to a custom folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:*_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract raw data for three scans to a custom folder, without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape FAQ===&lt;br /&gt;
====Error: Can&#039;t mount tape, Medium offline====&lt;br /&gt;
This can happen if a tape is interrupted during use (e.g., due to a power failure or system restart while the tape drive is in operation).&lt;br /&gt;
&lt;br /&gt;
#Use the manual eject button to remove the tape from the drive.&lt;br /&gt;
#Turn off the tape drive, the switch is on the back of the drive.&lt;br /&gt;
#Shutdown the whole micro-CT system.&lt;br /&gt;
#Turn on the tape drive.&lt;br /&gt;
#Startup the micro-CT system, starting with the server.&lt;br /&gt;
#Try to mount the same tape again.&lt;br /&gt;
&lt;br /&gt;
If the above does not work then either the tape or the tape drive is damaged.  To determine if it is the drive, take a brand new tape and try to initialize it.  Do not use a tape with data on it in the drive unless you are certain the drive is okay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: positioning====&lt;br /&gt;
This can have two reasons usually:&lt;br /&gt;
&lt;br /&gt;
#The tape is just faulty. Try with a fresh tape.&lt;br /&gt;
#A previous tape write operation was interrupted (e.g., a user did an &#039;End Session&#039;, the power went out, or the eject button was pressed on the tape drive, which killed the backup program). In this case the drive did not write the very important &#039;End of Tape&#039; marker, and now, the tape drive cannot find the current place where it can start adding new data. &lt;br /&gt;
*Solution: either take a fresh tape, or if there were only a few scans are on the &#039;bad&#039; tape, &#039;Move to Hard Disk&#039; of ALL the scans on that tape, check that the scans have been retrieved well, then initialize that tape again (which will erase everything on the tape!) and archive those scans again. &lt;br /&gt;
*IMPORTANT: never interrupt the tape drive while it is running!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: parity====&lt;br /&gt;
Either tape or the tape drive is faulty. Take a fresh tape (potentially from a new batch of tapes), and see if the error persists. &lt;br /&gt;
*If yes: have the tape drive repaired. &lt;br /&gt;
*Further things to check: for DLT and SDLT tape drives: is the terminator (&#039;dead end&#039;) connected on the second SCSI port in the back of the tape drive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: non-responsive tape drive====&lt;br /&gt;
This can occur if the user ejects the tape with the little button (and not with the recommended &amp;quot;dismount&amp;quot; button in the uct_backup program).  This can also occur if a tape is mounted immediately after one is dismounted.  You get the same error for both cases, &amp;quot;medium offline&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
:*Check all that all cables are connected.&lt;br /&gt;
&lt;br /&gt;
:*Check that the number on the back of the drive says &amp;quot;5&amp;quot; (use +/- to adjust if necessary)&lt;br /&gt;
&lt;br /&gt;
:*Check that the top connector has a cable connecting to the computer and the bottom one has a terminator.&lt;br /&gt;
&lt;br /&gt;
:*Try turning the tape drive on and off again.&lt;br /&gt;
&lt;br /&gt;
:*Log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; (you will need a password from Steve):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto/sele=mk&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it&#039;s online again, then great.  If not, then the last resort is to reboot the entire system.  If this doesn&#039;t work, then shut down the system (see user manual for proper steps) and eject the tape.  You may need to turn the computer back on before it will eject.  The tape drive should be turned on first (no tape), then the server, and any other computers.  Check that the drive is online ($ show device mk).  If it is, then test the drive by initializing, mounting and dismounting a brand new tape.  If the drive is not online, do not insert any tapes or they will likely get stuck.  Log in as system and re-try the command lines shown above.&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a stubborn tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: stubborn tape drive====&lt;br /&gt;
If the drive cannot be mounted, or it is not visible with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then something went wrong.  For example, the server computer was booted while the tape was turned off. It then does not load the driver.&lt;br /&gt;
&lt;br /&gt;
You can &#039;force load&#039; it - but this will disconnect the scanner for a moment, so only do it while no scan is running:&lt;br /&gt;
&lt;br /&gt;
as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;, on sc3309:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto&lt;br /&gt;
&lt;br /&gt;
$ show dev tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you should see it now (otherwise turn on the tape drive, and do again)&lt;br /&gt;
&lt;br /&gt;
Then you&#039;ll also have to make it available to all users:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a non-responsive tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====SDLT320 Tape and Tape Drive FAQ====&lt;br /&gt;
Please refer to [[Media:Hp-faq-sdlt320-tape-drive-and-sdlt-tapes.pdf|&#039;&#039;&#039;SDLT320 Tape and Tape Drive FAQ&#039;&#039;&#039;]] for details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==USB Drive==&lt;br /&gt;
&lt;br /&gt;
===Use a USB drive===&lt;br /&gt;
Connect USB to VMS system and format. &lt;br /&gt;
&lt;br /&gt;
Transfer files from the terminal after plugging in the USB device&lt;br /&gt;
  $ show device dna&lt;br /&gt;
Usually the device is dna1 or dna2&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ create/dir dna2:[microct]&lt;br /&gt;
  $ copy dk0:[microct]&lt;br /&gt;
or&lt;br /&gt;
  $ backup/log dk0:[&lt;br /&gt;
and then&lt;br /&gt;
  $ dismount dna2&lt;br /&gt;
&lt;br /&gt;
Transfer files back again&lt;br /&gt;
&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ dir dna2:[microct]&lt;br /&gt;
  $ copy dna2:[microct]myfile.txt disk1:[microct.data.00000702.00001234]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===USB Device Usage with Scanco Backup/Archive Software===&lt;br /&gt;
&lt;br /&gt;
For illustrated help on Itanium rx2660s , please refer to [[Media:Scanco_TDxxx-USB_Device_Usage.pdf | &#039;&#039;&#039;Scanco_TDxxx-USB_Device_Usage.pdf&#039;&#039;&#039; ]]&lt;br /&gt;
 &lt;br /&gt;
====Initialize procedure====&lt;br /&gt;
If an external USB device is to be used to archive measurement data, the USB device must be initialized by Open-&lt;br /&gt;
VMS. The data will not be accessible from any other operating system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium rx2660.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1.1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Initialize&amp;lt;” button in the “USB Device” section to initialize the USB device.&lt;br /&gt;
&lt;br /&gt;
- Confirm the Warning message. Note: All data currently on the device will be erased!&lt;br /&gt;
&lt;br /&gt;
- Enter a six-character label&lt;br /&gt;
&lt;br /&gt;
The USB device will be initialized and mounted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Archive procedure====&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Mount” button in the “USB Device” section to mount the USB device.&lt;br /&gt;
&lt;br /&gt;
The device label of the mounted USB device will be shown in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be archived.&lt;br /&gt;
&lt;br /&gt;
- Select “Move To:” and “USB/VMS” and click “Start&amp;lt;” to archive the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
After the move procedure, the new current location of the measurement data will be shown next to the files path.&lt;br /&gt;
&lt;br /&gt;
- “Dismount” the USB device when done with archiving.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Manual file copy procedure====&lt;br /&gt;
An OpenVMS formatted USB device can also be mounted and used for file storage using commands in a DECterm.&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- List available devices. The last shown device is usually the attached USB device; dna12 in this example.&lt;br /&gt;
    $ show device dna&lt;br /&gt;
&lt;br /&gt;
- Mount the USB device using the correct device name&lt;br /&gt;
    $ mount /over=id dna12&lt;br /&gt;
&lt;br /&gt;
- Create a root directory. Ignore any messages if the directory already exists.&lt;br /&gt;
    $ create /dir dna12:[microct]&lt;br /&gt;
&lt;br /&gt;
- Copy any wished files to the USB device&lt;br /&gt;
    $ copy {source files} dna12:[microct] /log&lt;br /&gt;
&lt;br /&gt;
- Dismount the USB device&lt;br /&gt;
    $ dismount dna12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Exporting Files / FAT file system====&lt;br /&gt;
If an external USB device is to be used to export measurement data to a Windows or MAC OS, the USB device must be formatted as FAT file system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Do not “Initialize&amp;lt;” or “Mount” the USB device !&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be copied to the USB device, may be even sub-select the wished file type&lt;br /&gt;
(TIF files in the example below).&lt;br /&gt;
&lt;br /&gt;
- Select “Copy To:” and “USB/FAT” and click “Start&amp;lt;” to copy the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
Once the USB device is connected to Windows or MAC OS, it will show a ZIP file named like the copied measurement&lt;br /&gt;
number. This ZIP file contains the same directory structure like the data disk on OpenVMS: &lt;br /&gt;
&lt;br /&gt;
data\sample number\measurement number&lt;br /&gt;
&lt;br /&gt;
In the lowest sub-directory are the copied files, as selected in the backup/archive software (TIF files in this example).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Problems with connected USB devices===&lt;br /&gt;
&lt;br /&gt;
Sometimes USB configurations can be problematic, in which case log in as &amp;quot;system&amp;quot; on the server and run&lt;br /&gt;
&lt;br /&gt;
  $ dir/date SYS$SYSROOT:[SYSEXE]USB$UCM_DEVICES.DAT&lt;br /&gt;
&lt;br /&gt;
to see whether a file was created recently. If one has, delete that file and reboot the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==CDROM==&lt;br /&gt;
===Mount a CDROM===&lt;br /&gt;
&lt;br /&gt;
Device could be &amp;lt;code&amp;gt;dqa0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dqb0&amp;lt;/code&amp;gt;.  I&#039;m not sure which works:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/override=id dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dismount dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Saveset and Zip files==&lt;br /&gt;
&lt;br /&gt;
===Saveset===&lt;br /&gt;
&lt;br /&gt;
====Saveset Naming Convention====&lt;br /&gt;
The Scanco backup program stores raw (RAW) and image (IMA) data as save sets (SAV).  &lt;br /&gt;
*RAW save sets contain RSQ files and IMA savesets contain all other file types.  &lt;br /&gt;
*The saveset filename is composed of the 8-digit measurement number plus &amp;quot;_RAW.SAV&amp;quot; for raw data and &amp;quot;_IMA.SAV&amp;quot; for image data.  &lt;br /&gt;
*For example, the data for a scan with measurement number 1234 would be stored as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00001234_RAW.SAV  ?  RSQ&lt;br /&gt;
00001234_IMA.SAV  ?  all other files, ISQ, AIM, GOBJ, TXT, SCV, etc.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Create and Unpack Saveset====&lt;br /&gt;
Savesets are OpenVMS backup files, similar to a zip.  Use the backup command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG disk3:[microct.projects.buie...] disk3:[microct.projects]buie2012.sav/sav	&lt;br /&gt;
                !Creates a saveset file of disk3:[microct.projects.buie].  &lt;br /&gt;
                !The ... after the folder indicates to include all subfolders and files.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie]&lt;br /&gt;
                !Unpacks the whole saveset to disk3:[microct.projects.buie]&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie...]	&lt;br /&gt;
                !The ... at the end of the output location indicates to unpack the saveset and maintain the original directory structure.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=*.aim disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of only aim file types.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=[microct.data...] disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of the folder data and all subfolders and files.&lt;br /&gt;
$ HELP BACKUP   !More information on the backup command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====View Saveset Contents====&lt;br /&gt;
To view contents of a saveset (SAV) on disk:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/list upat_print_list_nomatch.sav/sav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the savesets (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view contents of a saveset (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list tp0:*.*  ! OR, backup/list tp0:*.SAV&lt;br /&gt;
or&lt;br /&gt;
$ backup/list=results.txt tp0:*.*  ! save output in results.txt&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An idea to get the results of the backup/list into a text file: Run the procedure in a submitted script and save the resulting log file with all the output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Extract a single file from SaveSet====&lt;br /&gt;
&lt;br /&gt;
In a large SaveSet, sometimes we only want one file extracted, not the whole archive extracted. This can be done with&lt;br /&gt;
&lt;br /&gt;
  $ backup /log /select=myfile.txt mysaveset.sav /sav disk1:[microct.scratch]&lt;br /&gt;
&lt;br /&gt;
or []  as destination will put the file in the current directory.&lt;br /&gt;
&lt;br /&gt;
This can take a while as it looks through all the saveset. Once it logs that the file has been restored, you may interrupt with F6. Else it goes on looking through the rest of the saveset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Saveset from microCT to XtremeCT====&lt;br /&gt;
&lt;br /&gt;
You can create a SAV set of your project on the VivaCT and transfer it to the Xtreme system, or vice-versa.&lt;br /&gt;
First, create the SAV set using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
$ BACKUP/LOG DISK3:[MICROCT.PROJECTS.SB.MYPROJECT...]*.*;* -&lt;br /&gt;
     SYS$SCRATCH:MYPROJECT.SAV/SAV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This creates the MYPROJECT.SAV file in the scratch directory.  Now zip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; MYPROJECT.ZIP MYPROJECT.SAV  (NOTE: must use quotes and a capital V!!!!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
FTP the .ZIP file to SODOR ( in binary mode!!!), and then FTP it off onto your destination system (Viva or Xtreme).  See the appropriate HowTo for FTP instructions.  Once you&#039;ve FTP&#039;d it, unzip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip MYPROJECT.ZIP&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, unpack the contents of the .SAV file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG MYPROJECT.SAV/SAV DISK3:[MICROCT.PROJECTS.MYPROJECT] &amp;lt;--- or whatever destination directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NOTE:  transferring a .SAV directly from VMS to VMS should work, but not via any third operating system (like SODOR) - so zipping is always the safe way to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Zip===&lt;br /&gt;
&lt;br /&gt;
====Zip and Unzip files====&lt;br /&gt;
Use the zip program to add files to a zip archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ZIP myzip.zip myfile.txt;1	                !Adds myfile.txt to myzip.zip.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip myfile.txt;1	        !Adds myfile.txt;1 to myzip.zip.  The &amp;quot;-V&amp;quot; maintains the OpenVMS version number.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip [.subdir...]*.*;*	        !Adds all files within subdir to myzip.zip, maintaining their version number.&lt;br /&gt;
$ ZIP	                                        !Displays the help for the zip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the unzip program to unzip an archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UNZIP &amp;quot;-V&amp;quot; myzip.zip		                !Extracts myzip.zip, maintaining the OpenVMS structure.&lt;br /&gt;
$ UNZIP		                                !Displays the help for the unzip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Zip between Scanco systems====&lt;br /&gt;
&lt;br /&gt;
Files must be zipped before transfer by e-mail or ftp because important attributes will be lost in the transfer otherwise.&lt;br /&gt;
&lt;br /&gt;
To transfer files from system A to B, do the following.&lt;br /&gt;
&lt;br /&gt;
On system A:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_SAMPLES_TORONTOXT.DAT  ! for each filename&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will add both files to the same zip file.&lt;br /&gt;
&lt;br /&gt;
Note: &amp;quot;-V&amp;quot; is very important, it must be capital V!&lt;br /&gt;
&lt;br /&gt;
Transfer the file by e-mail, or by ftp.&lt;br /&gt;
&lt;br /&gt;
On system B:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip -j for_calgary.zip  ! to unzip on your end them (-j to &#039;junk&#039; the original file path)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Unpack Zip sent by Scanco====&lt;br /&gt;
In the .zip file, you&#039;ll find a .sav file. Unzip the .zip just by saying&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ unzip xxxx.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxxx.sav/sav disk3:[steve.devel.temp]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will unpack everything into &amp;lt;code&amp;gt;disk3:[steve.devel.temp]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/list xxxx.sav/sav&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you see what&#039;s in the .sav.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxx.sav/sav/sel=[andres.uct.ipl_for_cust...] disk3:[steve.devel.cipl...]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will create the same diretory tree in steve.devel.cipl as it was when I &lt;br /&gt;
packed it into the .sav.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Backup and Archive==&lt;br /&gt;
&lt;br /&gt;
===UI Procedures===&lt;br /&gt;
&lt;br /&gt;
====µCT Disk-Utility====&lt;br /&gt;
The µCT Disk-Utility Program is used to archive and restore scan data. To start the program type &amp;lt;code&amp;gt;$ uct_backup&amp;lt;/code&amp;gt; in a DEC terminal, or use the disk button.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup.jpg|40px]]&lt;br /&gt;
*The backup captures both the programs and databases.&lt;br /&gt;
*A little helper terminal comes up and gives feedback of every file backed up.&lt;br /&gt;
[[File:Uct_backup_pic01.jpg|600px]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two possible ways to use &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt;:&lt;br /&gt;
:* COPY TO -&amp;gt; this does not update the database.&lt;br /&gt;
:* MOVE TO -&amp;gt; this updates the database.&lt;br /&gt;
&lt;br /&gt;
Scenario 1: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Use UCT_BACKUP to &#039;move&#039; the remainder (AIM/GOBJ) to &#039;tape&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*At operation 3, the measurement directory will be deleted from the measurement disk.  &lt;br /&gt;
*The directory will automatically be restored if you restore your data from tape.&lt;br /&gt;
&lt;br /&gt;
Scenario 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Move all the GOBJ/AIM/etc to a project directory.&lt;br /&gt;
4. Generate a .SAV file and put on the IMA tape.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You will have to delete the measurement directories (using UCT_BACKUP if you like). &lt;br /&gt;
*The disadvantage of this scenario is that the image data cannot be restored using UCT_BACKUP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Raw Data Backup====&lt;br /&gt;
*Ideally 1-2 week after scanning.&lt;br /&gt;
*RSQ files are backed up onto RAW tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  Put the most recent RAW tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
*Show &amp;quot;Current (with RAW)&amp;quot;, use the file filter (Measurement:     ) to search for your files (e.g., CAMOS) and press enter or press &amp;quot;Update List&amp;quot;.  &lt;br /&gt;
*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
*Highlight RAW, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.  &lt;br /&gt;
*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape. &lt;br /&gt;
*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
*If you select multiple files, be sure they all need to be backed up, otherwise you will get an error.&lt;br /&gt;
:[[File:Uct_backup_pic04.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Image Data Backup====&lt;br /&gt;
*Ideally 1-2 months after scanning, after contouring, onsite analysis and copied image data to project disk.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Delete ISQ After Evaluation&#039;&#039;&#039; &lt;br /&gt;
#*ISQ files are normally deleted after completing your evaluation since they are very large files and can be reconstructed from the RSQ file. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type the beginning of your sample name (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;.&lt;br /&gt;
#*Select all the files for which you have completed the evaluation (there will be a + sign next to any scan that has been evaluated).  #*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Trash&amp;quot;.  &lt;br /&gt;
#*[[File:Important.JPG|20px]] After you choose the trash symbol, you will now be given the option to select specific file types, choose &amp;quot;Select&amp;quot; and &amp;quot;ISQ&amp;quot;.  Press &amp;quot;Start...&amp;quot;.&lt;br /&gt;
#*Only choose one file type to delete at a time. The wildcard (*) indicate all files other than &amp;quot;ISQ&amp;quot; and &amp;quot;AIM&amp;quot; files.&lt;br /&gt;
#:[[File:Uct_backup_pic05.jpg|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Backup IMAGE Data&#039;&#039;&#039; &lt;br /&gt;
#*AIM, GOBJ and other evaluation files are backed up onto IMA tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  &lt;br /&gt;
#*Put the most recent IMA tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type in the beginning of your sample names (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;. &lt;br /&gt;
#*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
#*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.   &lt;br /&gt;
#*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape.  &lt;br /&gt;
#*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
#:[[File:Uct_backup_pic06.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use &#039;Script...&#039; button====&lt;br /&gt;
Usually, you will start the move/copy by clicking on &amp;lt;code&amp;gt;&#039;Start...&#039;&amp;lt;/code&amp;gt; button. The &amp;lt;code&amp;gt;&#039;Script...&#039;&amp;lt;/code&amp;gt; button is for advanced users.&lt;br /&gt;
&lt;br /&gt;
*Use of the &#039;Script...&#039; button will generate a script &amp;lt;code&amp;gt;sys$scratch:archive.com&amp;lt;/code&amp;gt;, that you may submit it in batch mode later (e.g. over night) by typing: &amp;lt;pre&amp;gt;$ scanco_submit_command sys$scratch:archive.com/after=23:59&amp;lt;/pre&amp;gt;&lt;br /&gt;
*In a multi-computer cluster setup, you may want to specify the exact queue name of the computer that has the tape hooked up by giving e.g. &amp;lt;code&amp;gt;/que=sceval_fast&amp;lt;/code&amp;gt;.&lt;br /&gt;
*Insert a tape, but do NOT mount the tape in the normal program. If necessary: if it&#039;s a new tape, [[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;initialize&#039;&#039;&#039;]] it as usual. &lt;br /&gt;
*The batch job will be started one minute before midnight in the example above. &amp;lt;code&amp;gt;$ show entry&amp;lt;/code&amp;gt; will show you that it is holding until then.&lt;br /&gt;
*See &amp;lt;code&amp;gt;$ help submit /after&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ help dcl_tips date_time example&amp;lt;/code&amp;gt; for more help on this.&lt;br /&gt;
*Sample script file (archive.com) restoring the RSQs of measurements 6452 and 6580:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
COPY&lt;br /&gt;
DISK&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6452)&lt;br /&gt;
MEAS&lt;br /&gt;
6452&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6580)&lt;br /&gt;
MEAS&lt;br /&gt;
6580&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Database Backup====&lt;br /&gt;
&lt;br /&gt;
The database (DB) backup should be performed for each user on the system. It should not be performed as user &#039;calibration&#039; or some derivative. In the case of the XtremeCT2 and XtremeCT cluster, both the &#039;microct&#039; and &#039;xtremect2&#039; user accounts must be used to backup their respective DB. &lt;br /&gt;
&lt;br /&gt;
By performing the DB backup, the warning dialog that appears when logging into the system should go away.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Operating System (OS) Backup====&lt;br /&gt;
If the following error-message appears on the screen then you can click OK to continue your work. &lt;br /&gt;
&lt;br /&gt;
     MESSAGE: No recent OS Backup found!&lt;br /&gt;
     Please perform OS backup (DISK0) in privileged account!&lt;br /&gt;
     %RMS-W-FNF file not found.&lt;br /&gt;
     CODE: 268534416&lt;br /&gt;
     Facility RTL&lt;br /&gt;
&lt;br /&gt;
This message means that no operating system (OS) backup has been performed within the last 6 months. Please perform an OS backup as soon as possible by following the steps below:&lt;br /&gt;
&lt;br /&gt;
1. Make sure there are no scans in progress and that the que is halted from all activity.&lt;br /&gt;
&lt;br /&gt;
2. Log in to the calibration account: Since we have two scanners on the same system, login as either &amp;quot;calib3401&amp;quot; or &amp;quot;calib3309&amp;quot;, depending if you need to backup the XtremeCT2 or XtremeCT, respectively. For microCT clusters, (best to do this on SCEVA3) using the username calib5019 and the password (ask Steve for this).&lt;br /&gt;
&lt;br /&gt;
3. Type in the DECterm window:&lt;br /&gt;
          $ set proc/priv=bypass&lt;br /&gt;
Or Set priviledge to bypass by &amp;lt;code&amp;gt;$ spb&amp;lt;/code&amp;gt;&lt;br /&gt;
          $ r um:uct_b     Or $ uct_backup&lt;br /&gt;
&lt;br /&gt;
4. You will now see 2 additional buttons on the bottom left that is not seen when logged in as microct user. Push either the button &amp;quot;OS Backup to Disk DK0&amp;quot; or mount the specific OS backup tape and push the &amp;quot;OS Backup to Tape&amp;quot; button.&lt;br /&gt;
* A system backup to tape and to DK0 should both be performed. &lt;br /&gt;
&lt;br /&gt;
5. Check the command line &amp;amp; queue to ensure that the backup is being carried out. If you submit the job as &#039;batch mode&#039; the backup is submitted to SYS$BACKUP queue and allows you to close the backup program and &#039;end session&#039; without interrupting a running backup. Check with &#039;show queue&#039; to see the backup job on the queue.&lt;br /&gt;
&lt;br /&gt;
6. Exit the Backup Program and log out of the calibration account.&lt;br /&gt;
&lt;br /&gt;
After a successful OS backup the message above will not appear for the next six months.&lt;br /&gt;
&lt;br /&gt;
Alternatively a system backup can be completed using the command line, without using the uct_backup program. The instructions from Scanco can be found here. The advantage to this method is that you will be able to name the specific backup save set.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Using Scripts for Backup/Archive===&lt;br /&gt;
&lt;br /&gt;
====Project Backup/Archive====&lt;br /&gt;
*Refer to [[Media:Microct_project_backup.pdf|&#039;&#039;&#039;Project Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_project_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Backup Project=====&lt;br /&gt;
Regularly backup projects on a monthly basis using command &amp;lt;code&amp;gt;$ @com:BACKUP_PROJECT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
*The script is submitted to the queue and upon completion the log is emailed to the user.&lt;br /&gt;
*a SAVset (an OpenVMS file type similar to a zip file), a project info file and a file list are created in DISK5:[BONELAB.PROJECTS.BACKUP] for the microCTs and DISK4:[BONELAB.PROJECTS.ARCHIVE.ARCHIVE] for the XtremeCTs.&lt;br /&gt;
*The saveset along with two TXT files created will be automatically SFTP to Winston:\\Backups\backup\&lt;br /&gt;
*After the transfer, the saveset file on disk are deleted, leaving only two TXT files on the project disk.&lt;br /&gt;
*Only keep the two most recent backups for each project, A or B version name appended on the project name:&lt;br /&gt;
:*Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
:*Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
*The user MUST verify that the backup completed successfully.&lt;br /&gt;
*SAVsets greater than 250 GB cannot be transferred by automatic SFTP, use interactive/manual SFTP instead to transfer to Winston. &lt;br /&gt;
*If you are backing up a very large project, please check the server disk space before starting the backup. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:BACKUP_PROJECT.COM&lt;br /&gt;
===========================================================&lt;br /&gt;
BACKUP PROJECT TOOL V1.2 (XtremeCT)&lt;br /&gt;
 P1:LOCATION        DISK4:[BONELAB.PROJECTS.DUNCAN]&lt;br /&gt;
 P2:TYPE            1=MOUSE,2=RAT,3=HUMAN,4=OTHER&lt;br /&gt;
 P3:PROJECT         CAMOS&lt;br /&gt;
 P4:PERSON          Ying Zhu&lt;br /&gt;
 P5:DESCRIPTION     A monthly backup&lt;br /&gt;
 P6:EMAIL           me@ucalgary.ca&lt;br /&gt;
 P7:SFTP            y,n&lt;br /&gt;
 P8:START           y,n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Restore Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_RESTORE.COM script which will automatically generate a script to restore a user&#039;s project.  &lt;br /&gt;
*The saveset file has to be moved to Winston:\\Backups\archive folder to be restored.&lt;br /&gt;
*The user will be asked if they wish to restore to the original location, or to a new location.&lt;br /&gt;
*The script is submitted to the queue and the log from the restore job is emailed to the user. &lt;br /&gt;
*The user MUST verify that the job completed successfully.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_RESTORE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Delete Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_DELETE.COM script which will automatically generate a script to delete all the files and subdirectories of a specified path.&lt;br /&gt;
*The command script is opened so that the user can check the files to be removed to go ahead.&lt;br /&gt;
*You will need to manually delete the root project directory after it&#039;s empty.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_DELETE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Known Bugs in Project Tools=====&lt;br /&gt;
*Long file name won&#039;t work (28 letters work but not 32 letters).&lt;br /&gt;
*if the user specifies too long a file name, the Project Backup Scripts will fail with the following error:&lt;br /&gt;
     RMS-E-CRE, ACP file create failed&lt;br /&gt;
     SYSTEM-W-BADFILENAME, bad file name syntax&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Archive Project Saveset to Tape=====&lt;br /&gt;
Projects should be stored safely onto a backup tape once complete.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Summary&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps summarize the process:&lt;br /&gt;
:* Archive the project directory to the tape (detailed instructions below).&lt;br /&gt;
:* Change tape to &amp;quot;read only&amp;quot; to protect contents&lt;br /&gt;
:* Check tape saveset to ensure proper backup&lt;br /&gt;
:* Write name of tape on the project LOG sheet&lt;br /&gt;
:* Copy project LOG sheet and bring to Bone Imaging Laboratory &amp;quot;completed&amp;quot; project book&lt;br /&gt;
:* Bring copy of tape to the Bone Imaging Laboratory for safe keeping&lt;br /&gt;
:* &amp;lt;b&amp;gt;Delete&amp;lt;/b&amp;gt; the contents of the project from the disk&lt;br /&gt;
&lt;br /&gt;
In the project, there should be the regular set of directories including DOC, COM, MODELS, LOG.  Once the project is stored to tape, ensure that the log sheet for that project include a note stating which tape it was backed up to.  Take a photocopy of the log sheet and add it to our Bone Imaging Laboratory project book for COMPLETED projects.&lt;br /&gt;
&lt;br /&gt;
In the following example, a project titled BERN is backed up onto tape.  Ideally, the name of the SAV file on tape is the same as the project (i.e., BERN).  Note that &amp;lt;b&amp;gt;SAV files must have names with no more than 13 characters (including the .SAV)!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example backs the BERN project/directory onto tape IMA001.  For large projects and/or critical projects, it is advisable to dedicate an entire tape.  The three dots (...) indicate that ALL subfolders of DK0:[MICROCT.PROJECTS.BERN] will be included.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
&lt;br /&gt;
$ backup/log dk0:[microct.projects.bern...]*.*;* tp0:proj_bern.sav -  ! writes a saveset to tape&lt;br /&gt;
        /block=65534 /label=IMA001 -&lt;br /&gt;
        /media_format=nocompaction     ! NEVER use the /rewind option here&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.sav/select=*.isq DISK4:[BONELAB.PROJECTS.TBONE.ISQ_FROM_TAPE...]/by=parent  ! extracts all ISQ files from the tape&lt;br /&gt;
&lt;br /&gt;
$ dismount tp0:  &lt;br /&gt;
$ dismount tp0: /nounload ! same as previous command, but does not eject the tape (i.e. if you want to read the tape once more)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the &amp;lt;code&amp;gt;/rewind&amp;lt;/code&amp;gt; option should never be used for backup as it instructs the tape drive to rewind after backup is complete causing a major risk of over writing.&lt;br /&gt;
&lt;br /&gt;
Sometimes it might be handy to exclude certain files.  For example, to exclude RSQ files: &amp;lt;code&amp;gt;/excl=*.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A good reference for backup commands and ideas are available in the &amp;lt;code&amp;gt;UM:UCT_MOVE_FILES.COM&amp;lt;/code&amp;gt; script which is used by the &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt; program.  See also the &amp;lt;code&amp;gt;help backup&amp;lt;/code&amp;gt; instructions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help backup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the contents of a tape to ensure you&#039;ve successfully stored your project use the following commands (further details in &amp;quot;HowTo: View save set (SAV) contents&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
To just view if the saveset is on tape (but not its contents):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: you can also save the saveset list in a text file using the /output qualifier.&lt;br /&gt;
&lt;br /&gt;
To view the files within a saveset on tape, and save the results in a file called &amp;lt;code&amp;gt;results.txt&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list=results.txt tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete a set of directories, use the &amp;lt;code&amp;gt;dl&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ur BERN&lt;br /&gt;
$ del *.*;*   ! Deletes ALL files in a directory&lt;br /&gt;
$ dl *.dir;*  ! Will only delete empty directories (not nested directories)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Extract Project Saveset from Tape=====&lt;br /&gt;
To restore a project, you have two choices:&lt;br /&gt;
*1. Login as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then go to the projects directory. From there:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ spb (bypass priv)&lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind [*...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This puts all the files back in their original directory structure.&lt;br /&gt;
&lt;br /&gt;
*2. As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
 &lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind/select=[microct.projects.davison...]&lt;br /&gt;
     disk2:[microct.projects.davison...]&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.*/rewind disk3:[microct.projects.vitamink.models]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure to write the &amp;lt;b&amp;gt;same&amp;lt;/b&amp;gt; path in the /select as the output (except for the &lt;br /&gt;
actual disk2 portion).  Alternatively, you could unpack it into a slightly different root&lt;br /&gt;
directory (i.e., TMP) by changing the output path.&lt;br /&gt;
&lt;br /&gt;
The three dots infers to use the same paths in the saveset as the file structure put onto disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scripts to Backup RAW and IMA====&lt;br /&gt;
A script can be output from the backup tool to backup and restore data using the backup program.  &lt;br /&gt;
*When restoring data using this method, choose the COPY to DISK option. The data will be restored to its original location on the data disk.  &lt;br /&gt;
*You must manually submit the script to the backup queue.  &lt;br /&gt;
*The command procedures are written to SYS$SCRATCH:ARCHIVE.COM.  &lt;br /&gt;
*Here is the sample script for backing up RAW data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Here is the sample script for backing up IMA data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
IMA&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Usage information====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:DISK_MOUNTIES.COM	                !Give data disk usage information on an account.&lt;br /&gt;
$ eve sys$scratch:disk_mounties_output_summary.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template file for summarizing the disk mounties results: [[Media:BoneLab_Data_Disc_Usage.xlsx|&#039;&#039;&#039;BoneLab_Data_Disc_Usage.xlsx&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To look at the RSQs in the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir/siz dk0:[microct.data...]*.rsq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
the three dots means all subdirectories.&lt;br /&gt;
&lt;br /&gt;
Other useful commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.isq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
shows you header.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fda command file-wildcard&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
does a &#039;file do all&#039; of the command on all the given wildcard filenames.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe xxxx | search sys$pipe &amp;quot;patient&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
is the pipe command in VMS.&lt;br /&gt;
&lt;br /&gt;
So all three combined:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe fda ctheader dk0:[microct.data...]*.rsq | search sys$pipe &amp;quot;patient name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or any other field you want to search for! &lt;br /&gt;
&lt;br /&gt;
If you have a more complex program to run (e.g. with an argument), use the double quotes as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pipe fda &amp;quot;aix -l&amp;quot; *.AIM | search sys$pipe &amp;quot;Patient Name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other ideas&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ write_info&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives you a file &amp;lt;code&amp;gt;sys$scratch:info.txt&amp;lt;/code&amp;gt; with info in it (leave defaults to get all samples ever scanned, otherwise &#039;zoom&#039; in on some samples.)&lt;br /&gt;
&lt;br /&gt;
Check out the &amp;lt;code&amp;gt;search&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help search&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and &amp;lt;code&amp;gt;/match=and&amp;lt;/code&amp;gt;&lt;br /&gt;
or &amp;lt;code&amp;gt;/match=or&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Backup====&lt;br /&gt;
In the commands directory (com) is a BACKUPDISK script which will automatically generate scripts to backup all the directories on the projects disk.  &lt;br /&gt;
*As the backup requires significant amounts of space, please check the server disk space before starting the backup. &lt;br /&gt;
*Each directory is saved as a separate save set (an OpenVMS file type similar to a zip file) on Winston://Bonelab/Backup/.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUPDISK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_disk_backup.pdf|&#039;&#039;&#039;Disk Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_disk_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Process, Printer and System=&lt;br /&gt;
&lt;br /&gt;
==Processes and Jobs==&lt;br /&gt;
&lt;br /&gt;
===Manage jobs in the queue===&lt;br /&gt;
Use the DELETE/ENTRY and SET ENTRY commands to manage a batch job.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SH QUE                                        !Get process info&lt;br /&gt;
$ SH QUE /all/by_job_status=executing           !Get all executing process info&lt;br /&gt;
$ SHOW ENTRY 1131 /full                         !Get full process info of entry 1131&lt;br /&gt;
$ SE 1311                                       !Get full process info of entry 1131&lt;br /&gt;
&lt;br /&gt;
$ DELETE /ENTRY=251                             !Deletes batch job number 251.&lt;br /&gt;
&lt;br /&gt;
$ SET ENTRY 251/PRIORITY=50                     !Changes the priority of batch job number 251. &lt;br /&gt;
                                                !Default priority is 100 for all jobs, max is 200.&lt;br /&gt;
$ SET ENTRY 251/REQUEUE=SCEVAL_FAST             !Moves to queue sceval_fast. &lt;br /&gt;
                                                !The job cannot be executing to do this, has to be in pending status.&lt;br /&gt;
$ SET ENTRY 251/AFTER=TOMORROW                  !Holds entry 251 until the following day (midnight).&lt;br /&gt;
&lt;br /&gt;
$ HELP SET ENTRY                                !More information on the SET ENTRY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Control processors # on multi-processor machines===&lt;br /&gt;
&lt;br /&gt;
For example, on the itanium there are two processors.  By default, only one takes reconstruction jobs.  The other is left for so that evaluations can take place without competing for the CPU. &lt;br /&gt;
&lt;br /&gt;
But if a bottleneck is the reconstruction, it can be switched as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set que sceva2_slow/job=2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so that it will do two reconstruction jobs simultaneously.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create a new queue===&lt;br /&gt;
This may be useful to separate jobs for a project.  The following will create a queue called BUIE$FAST, which will submit jobs to SCEVAL_FAST and SC3309_FAST.&lt;br /&gt;
&lt;br /&gt;
 $ initialize/queue/GENERIC=(SCEVAL_FAST,SC3309_FAST)/OWNER=[SYSTEM] -&lt;br /&gt;
   /PROTECTION=(S:M,O:D,G:R,W:S)/BATCH/START BUIE$FAST&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Clear out all entries in a queue===&lt;br /&gt;
First create a dummy queue, then merge (i.e., move) all the entries from the queue to be cleared into it, then delete the dummy queue.&lt;br /&gt;
&lt;br /&gt;
Example:  Clear out the printer queue.&lt;br /&gt;
 $ stop/reset printer1&lt;br /&gt;
 $ initialize/que dummy&lt;br /&gt;
 $ assign/merge dummy printer1&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
 &lt;br /&gt;
Example:  Clear out a batch queue, e.g., sys$fast.&lt;br /&gt;
 $ initialize/que/batch dummy&lt;br /&gt;
 $ assign/merge dummy sys$fast&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart queues===&lt;br /&gt;
There are three methods.  First the nice method.&lt;br /&gt;
&lt;br /&gt;
1. As for the printer queue, a normal user can stop and start other queues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/reset sceval_slow&lt;br /&gt;
$ start sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This kills the current process running.  If you want to let the current process complete before stopping the queue, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use the web browser Mozilla.&lt;br /&gt;
&lt;br /&gt;
:*Open mozilla&lt;br /&gt;
:*&#039;batch queues&#039;&lt;br /&gt;
&lt;br /&gt;
:*Resize the window so it occupies the right half of the screen&lt;br /&gt;
&lt;br /&gt;
:*Click on &#039;delete job&#039; once with the MIDDLE mouse button, this will open a new window on the right half of the screen. Ensure the two windows do not overlap, if they do resize the window which contains the batch queues list. Once window locations are correct MIDDLE click on the rest of the jobs which you wish to delete (click on &#039;Delete Job&#039; in the batch queue list). The reason for locating the widows is because each successive click on &#039;Delete Job&#039; will open a new window and you don&#039;t want it to cover the batch queues list.&lt;br /&gt;
&lt;br /&gt;
:*Then Exit from mozilla, this will delete all the open windows, it may take a bit if you are deleting lots.&lt;br /&gt;
&lt;br /&gt;
3. Now the harsh method.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Completely remove the queue and re-generate, as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset sc3309_slow&lt;br /&gt;
$ delete/queue sc3309_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you must restart the queue.  To learn how to do this refer to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eve sys$startup:dcps_hpljet_ip.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Kill hunging processes===&lt;br /&gt;
&lt;br /&gt;
Sometimes jobs need to be stopped manually, such as when FTP or TCPIP is hung. This is done as follows:&lt;br /&gt;
&lt;br /&gt;
Checked processes with  &lt;br /&gt;
  $ show sys&lt;br /&gt;
where the FTP jobs are running. Doing it as &amp;lt;b&amp;gt;system&amp;lt;/b&amp;gt; with these commands would show all the FTP jobs on all nodes:&lt;br /&gt;
  $ mcr sysman&lt;br /&gt;
  SYSMAN&amp;gt; set env /cluster&lt;br /&gt;
  SYSMAN&amp;gt; do pipe sh sys|sear sys$pipe ftpc&lt;br /&gt;
It showed that they all were running on SCEVA1 only. So I logged in there and using the IDs given at the list from above&#039;s command:&lt;br /&gt;
  $ stop/id=29804056&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Check CPU usage and kill a process===&lt;br /&gt;
Determine what process is using all the CPU (e.g., SYMBIONT, a print process) using the monitor command, then use the show system command to determin the Pid, which can be used to stop the process.&lt;br /&gt;
&lt;br /&gt;
The print (SYMBIONT) process is known to consume excessive CPU when the clocks are advanced for daylight savings on the alpha systems.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor process/topcpu&lt;br /&gt;
$ show system&lt;br /&gt;
OpenVMS V7.3-2 on node SCEVAL 6-APR-2009 12:42:22.82 Uptime 124 23:16:08&lt;br /&gt;
Pid      Process Name     State  Pri  I/O         CPU         Page flts Pages&lt;br /&gt;
20C00081 SWAPPER          HIB    16   0      0 01:07:05.63     0         0&lt;br /&gt;
20C00087 CLUSTER_SERVER   HIB    14   2218   0 00:00:00.54    63        77&lt;br /&gt;
20C00088 CONFIGURE        HIB    10   23     0 00:00:00.02    54        20&lt;br /&gt;
20C00089 LANACP           HIBO   13   -- swapped out --                 32&lt;br /&gt;
20C0008B FASTPATH_SERVER  HIB    10   9      0 00:00:00.01    79        94&lt;br /&gt;
20C0008C IPCACP           HIB    10   10     0 00:00:00.02    37        28&lt;br /&gt;
$ show process/all/id=Pid&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ stop/id=Pid&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Process Name = BATCH_122  means entry 122 in the queue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Printer==&lt;br /&gt;
&lt;br /&gt;
===Set up TCPIP printer queue on a VMS workstation===&lt;br /&gt;
  $ stop/que/res hpljet&lt;br /&gt;
  $ tcpip set nohost hpljet&lt;br /&gt;
  $ tcpip set host &amp;quot;hpljet&amp;quot; /address= xxx.xxx.xxx.xxx&lt;br /&gt;
  $ start hpljet&lt;br /&gt;
&lt;br /&gt;
Note that many HP printers will not work with OpenVMS. Checking for compatibility is important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart the printer queue===&lt;br /&gt;
&lt;br /&gt;
How to fix the printer queue when hung, not working or giving an error.&lt;br /&gt;
A full printer queue can seriously affect system performance.  &lt;br /&gt;
Be sure that the queue is cleaned up from time to time.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to first find out the real name of your printer queue. &lt;br /&gt;
* Replace &amp;quot;hpljet&amp;quot; and &amp;quot;...dcps_hpljet...&amp;quot; by your own queue (i.e., PRINTER1 for XtremeCT) name below. &lt;br /&gt;
* First approach, as normal user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset hpljet&lt;br /&gt;
$ start/queue hpljet&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to release a job&lt;br /&gt;
  $ set entry/release 123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==System==&lt;br /&gt;
&lt;br /&gt;
===Monitor System===&lt;br /&gt;
====Monitor system usage====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor/interval=1 processes/topcpu&lt;br /&gt;
$ monitor/interval=1 system&lt;br /&gt;
$ show error&lt;br /&gt;
$ show system&lt;br /&gt;
$ @SCOM:SHOW_DISKS.COM (or simply $ DISKS)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;show error&amp;lt;/code&amp;gt; may indicate errors.  One or two errors is OK.&lt;br /&gt;
&lt;br /&gt;
To see what processes are running (specific to the machine, not cluster wide).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device disk2/file&lt;br /&gt;
$ show user /full&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of OpenVMS system====&lt;br /&gt;
&lt;br /&gt;
If when rebooting a VMS system there is a failure, sometimes a message can be repeated many times. The way to stop this repeating message is to press &amp;lt;code&amp;gt;ctrl-C&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ctrl-P&amp;lt;/code&amp;gt; to get to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
&lt;br /&gt;
Then show some of the device information, either specifically&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device py*&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device dy*&lt;br /&gt;
&lt;br /&gt;
or in general&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
&lt;br /&gt;
which might show more than needed. The output of&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show bootdef_dev&lt;br /&gt;
&lt;br /&gt;
can also be useful.&lt;br /&gt;
&lt;br /&gt;
Once settings are all good, you can reboot the system with&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set bootbios pyb0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disk status====&lt;br /&gt;
Login as the system user on the workstation connected to the disk array that you want to check.&lt;br /&gt;
&lt;br /&gt;
 $ run sys$system:msa$util.exe&lt;br /&gt;
 MSA&amp;gt; set controller&lt;br /&gt;
&lt;br /&gt;
Show the raid volumes (e.g., to check if it failed or is recovering).&lt;br /&gt;
 MSA&amp;gt; show unit&lt;br /&gt;
&lt;br /&gt;
Locate disks associated with a raid volume (e.g., unit0).&lt;br /&gt;
 MSA&amp;gt; locate unit0&lt;br /&gt;
&lt;br /&gt;
Accept a failed unit (e.g., unit0) - only for itanium workstations, which use a newer version of OpenVMS.&lt;br /&gt;
 MSA&amp;gt; accept unit0&lt;br /&gt;
&lt;br /&gt;
Show disk information.&lt;br /&gt;
 MSA&amp;gt; show disks&lt;br /&gt;
&lt;br /&gt;
Get information on MSA utility functions.&lt;br /&gt;
 MSA&amp;gt; help&lt;br /&gt;
&lt;br /&gt;
Exit the MSA utility.&lt;br /&gt;
 MSA&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of disk array====&lt;br /&gt;
To look at the disks in an MSA30 tower:&lt;br /&gt;
There are several options to check the status of the disks. One is, if it is installed, to use the command-line utility&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr msa$util&amp;lt;/pre&amp;gt;&lt;br /&gt;
as &amp;quot;system&amp;quot;. Enter&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
MSA&amp;gt; set controller&lt;br /&gt;
MSA&amp;gt; show unit&lt;br /&gt;
MSA&amp;gt; show disks&lt;br /&gt;
MSA&amp;gt; exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another is to start the WBEM web interface, which shows the status of the hardware graphically.&lt;br /&gt;
&lt;br /&gt;
It is possible to fix a disk array that hasn&#039;t booted by doing the following:&lt;br /&gt;
&lt;br /&gt;
  At the login prompt, type &#039;shutdown&#039;. This will get you to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
There should be a RAID card, for example on Percy, named &amp;lt;code&amp;gt;pya0&amp;lt;/code&amp;gt;. Try:&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action halt&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; run bios pya0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action restart&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disks status in enclosure====&lt;br /&gt;
&lt;br /&gt;
Periodically connect to http://10.148.64.254/ (user name: manage, password same as system password) and check if there are any errors or warnings, like failed disks. You can easily see which disk has failed in the graphical view of &amp;quot;Physical&amp;quot; -&amp;gt; &amp;quot;Enclosure X&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Consider not all web browsers allow connection to this rather old web server. Firefox and Mozilla on the workstations do work fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover System===&lt;br /&gt;
====Consistently needs warm-up scanner - Shutter-failsave-Job====&lt;br /&gt;
&lt;br /&gt;
If the scanner is consistently needing to warm-up on consecutive days, and was not powered off, this is likely due to the Shutter-failsave-Job disappearing from the 3309-Batch queue (for XT1). The job must be re-submitted. &lt;br /&gt;
&lt;br /&gt;
The executing file is located in the CALIB3309 ($ um:submit_shutter_test.com) and the command to submit the job is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/after=&amp;quot;tomorrow&amp;quot;/noprint/que=uct_measurement_queue um:submit_shutter_test.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check the status by typing: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show que *3309_batch*/all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This job tends to disappear now and then, perhaps because of an abrupt shutdown of the workstation or maybe when stop/pause/re-start the queue. Contact Scanco if this does not resolve.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk not mounted/unavailable, directory not found, volume not enabled====&lt;br /&gt;
Disk is not mounted or is unavailable.  Error opening ...., directory not found, volume is not software enabled.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
%DIRECT-E-OPENIN, error opening DISK4:[MICROCT.PROJECTS]*.*;* as input&lt;br /&gt;
-RMS-E-DNF, directory not found&lt;br /&gt;
-SYSTEM-F-VOLINV, volume is not software enabled&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen if communication is broken between workstations, causing the disk mount to time out.  Check if this is by showing the devices, then dismount and remount the disk.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev&lt;br /&gt;
&lt;br /&gt;
Device                  Device           Error    Volume         Free  Trans Mnt&lt;br /&gt;
 Name                   Status           Count     Label         Space Count Cnt&lt;br /&gt;
SC3309$DKA100:          Online               0&lt;br /&gt;
SC3309$DKD0:            Mounted              0  ALPHASYS        3.18GB   642   2&lt;br /&gt;
SC3309$DKD1:            Mounted              0  AUSER_01       42.84GB     4   2&lt;br /&gt;
SC3309$DKD2:            Mounted              0  ADATA_01      173.00GB     4   2&lt;br /&gt;
SC3309$DKD3:            Mounted              0  ADATA_02A     215.80GB     1   2&lt;br /&gt;
SC3309$DKD4:            Mounted              0  ADATA_02B     215.85GB     1   2&lt;br /&gt;
SC3309$DKD5:            Mounted              0  ADATA_02C     215.81GB     1   2&lt;br /&gt;
SC3309$DQA0:            Online               0&lt;br /&gt;
SC3309$DQA1:            Offline              1&lt;br /&gt;
SC3309$DQB0:            Offline              1&lt;br /&gt;
SC3309$DQB1:            Offline              1&lt;br /&gt;
SCEVAL$DKA0:            Online               0&lt;br /&gt;
SCEVAL$DKA1500:         Mounted              0  (remote mount)                 1&lt;br /&gt;
SCEVAL$DKC0: MntVerifyTimeout 0 ADATA_03A 541.62GB 1 2 &lt;br /&gt;
SCEVAL$DKC1: MntVerifyTimeout 0 ADATA_03B 541.38GB 1 2 &lt;br /&gt;
SCEVAL$DKC2: MntVerifyTimeout 0 ADATA_03C 541.60GB 1 2 &lt;br /&gt;
SCEVAL$DQA0:            Online               0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set host 0&lt;br /&gt;
system&lt;br /&gt;
&lt;br /&gt;
$ dismount SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC0: ADATA_03A&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03A mounted on _SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC1: ADATA_03B&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03B mounted on _SCEVAL$DKC1:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC2: ADATA_03C&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03C mounted on _SCEVAL$DKC2:&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this does not restore the disk, then shutdown the computer.  At the blue screen...&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; init&amp;lt;/code&amp;gt;&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; run bios pya0&amp;lt;/code&amp;gt;&lt;br /&gt;
Press F2 at the prompt to accept potential data loss.&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Press power button to turn off.&lt;br /&gt;
Press power button to turn on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Kill hanging program====&lt;br /&gt;
&lt;br /&gt;
If a program is hunging, it may not be necessary to shut down the system and restart. For example, if the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
program is hung, do the following&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev/full microct_scsi&lt;br /&gt;
&lt;br /&gt;
$ stop/id=&amp;lt;Owner process ID&amp;gt; (Replace the &amp;lt;&amp;gt; with the actual ID)&lt;br /&gt;
&lt;br /&gt;
for example: &lt;br /&gt;
&lt;br /&gt;
$ stop/id=2280091C &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reset the display/GUI====&lt;br /&gt;
These commands will terminate the current login session and may restore a frozen or messed up screen.  You will need to remotely access the problem workstation either from another micro-ct workstation or using a personal computer.&lt;br /&gt;
&lt;br /&gt;
Use the set host command to connect to the problem workstation (e.g., thomas) using the node name (e.g., sc3309) or the IP address (e.g., thomas.kin.ucalgary.ca). &lt;br /&gt;
&lt;br /&gt;
$ set host sc3309&lt;br /&gt;
login:  system&lt;br /&gt;
password: &lt;br /&gt;
&lt;br /&gt;
Issue the reset display command.&lt;br /&gt;
$ @sys$startup:decw$startup restart&lt;br /&gt;
&lt;br /&gt;
At the prompt, type &amp;quot;y&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart screen server====&lt;br /&gt;
&lt;br /&gt;
If the monitor fails to show the login prompt and displays a blank gray screen...telnet to the computer from another computer (e.g. a PC or so) and login as user system. Run the restart command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set host gordon.ucalgary.ca.    [or other computer name]&lt;br /&gt;
$username: system&lt;br /&gt;
$password: [system password]&lt;br /&gt;
$@sys$startup:decw$startup restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
confirm (answer &amp;quot;yes&amp;quot; at the prompt) and logout.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$y&lt;br /&gt;
$logout&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will kill all programs on your screen, but it will leave all batch jobs running, so if you do a BATCH measurement, this will survive! (but interactive scan will be killed).&lt;br /&gt;
&lt;br /&gt;
If you are restarting a monitor connected to a KVM box, unplug and re-plug in the box.&lt;br /&gt;
&lt;br /&gt;
This command also helps when the mouse/keyboard freezes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart Alpha stations====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Do not do this unless absolutely necessary.&lt;br /&gt;
&lt;br /&gt;
For shutdown&lt;br /&gt;
&lt;br /&gt;
At the login screen, type &amp;quot;shutdown&amp;quot;/no password and hit enter. &lt;br /&gt;
Then, you can turn the computer off at the prompt.&lt;br /&gt;
&lt;br /&gt;
Then, you may turn the disk array off (unplug it as there is no power switch).&lt;br /&gt;
&lt;br /&gt;
After you move the computer, power on the disk array and then the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow/non-responsive computer====&lt;br /&gt;
&lt;br /&gt;
This is usually caused by people logging in via SSH multiple times.  The solution involves resetting the SSH/TCPIP daemon.&lt;br /&gt;
&lt;br /&gt;
:*If you are local at the computer:&lt;br /&gt;
&lt;br /&gt;
You will need to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;.  ONLY EXPERIENCED USERS SHOULD EVER LOG IN AS SYSTEM!&lt;br /&gt;
&lt;br /&gt;
The system will be extremely slow (it will take 5 minutes just to get a log in prompt).  This is expected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_shutdown    ! shutdown SSH&lt;br /&gt;
$&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_startup     ! restart SSH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can reboot the system to reset the SSH.  This is not an appropriate solution and it is solving the problem by hitting it with a jack hammer.  Sometimes it is the only choice though.&lt;br /&gt;
&lt;br /&gt;
:*If you are remotely logged in:&lt;br /&gt;
&lt;br /&gt;
You will have to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; and run a script called STOP_START_TCPIP.COM.  &lt;br /&gt;
&lt;br /&gt;
This works essentially the same as for the above method, except that since it would be impossible to restart SSH remotely once it is shut down, two separate scripts are called and submitted on SCEVAL_FAST (make sure the queue isn&#039;t clogged) separated by a 1 minute delay. The first script called is STOP_TCPIP.COM and the second is START_TCPIP.COM.&lt;br /&gt;
&lt;br /&gt;
To execute this process, you must log in as system, go to the SYS$SCRATCH directory, and interactively execute the script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @STOP_START_TCPIP.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Shutdown a workstation remotely====&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard power off.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Remote shutdown from another micro-ct workstation&#039;&#039;&#039;.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 user:  system&lt;br /&gt;
 password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
 $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
 SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
 SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
*You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2. Remote shutdown from a personal computer&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
 &lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
 $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming). &lt;br /&gt;
 &lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
 $ shutdown&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow computers - Change RAID battery for Itanium computers====&lt;br /&gt;
&lt;br /&gt;
If computers become sluggish, particularly when saving data after a scan, have Scanco check the batteries in the RAID drive. The batteries in SCEVA3 were changed 2014-11-10. There are two batteries. Order the HP brand (should look like the ones in the image).&lt;br /&gt;
*Instructions to open the Itanium work station and access the PCI card: [[Media:HP_rx2660_PCI_card.pdf |&#039;&#039;&#039;Change PCI card&#039;&#039;&#039;]].&lt;br /&gt;
*Instructions to change the batteries after accessing the PCI card: [[Media:HP_SA6402_Batteries.pdf |&#039;&#039;&#039;Change batteries&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Frozen computer - &amp;quot;bootstrap failure&amp;quot; on boot up==== &lt;br /&gt;
The micro-CT computer is frozen or there is a &amp;quot;bootstrap failure&amp;quot; on boot up, This happens to the client computers (those connected to the scanners) when there is interruption in the network.  The only option is to restart the computer.&lt;br /&gt;
&lt;br /&gt;
====Crash of XtremeCT II workstation computer====&lt;br /&gt;
&lt;br /&gt;
For a non-responsive monitor and/or a mouse and/or a keyboard of the XtremeCT II workstation (sometimes caused by a lost of connection to server, or an internet outage):&lt;br /&gt;
&lt;br /&gt;
:*1. The first thing to do is to check system logs for any indication of the cause of the issue, if you have the &amp;quot;Administrator&amp;quot; user privilege.&lt;br /&gt;
:*2. The next thing to do is to soft-reboot by remote-login and using command line to reboot the workstation, if you have the &amp;quot;system&amp;quot; user privilege.&lt;br /&gt;
:*3. If no success, try hard-reboot by pressing the power button as indicated below.&lt;br /&gt;
:*4. If no success, try hard-reboot by unplugging both power cords as indicated below.&lt;br /&gt;
:*5. If still no success, contact Scanco immediately.&lt;br /&gt;
:*6. The last thing to do is to record the issue and any possible reasons.&lt;br /&gt;
&lt;br /&gt;
1.  Checking system logs:&lt;br /&gt;
 &lt;br /&gt;
:*1) Remotely log into the iLO (the management console of the workstation) using SSH as user &amp;quot;Administrator&amp;quot; with the system password. &lt;br /&gt;
Both user/pw are case sensitive. For XtremeCT II workstation (James) it is SSH to 10.148.64.231. For others, consult the network diagram. &lt;br /&gt;
&lt;br /&gt;
A trick: This connection only succeeds through a MAC or PC (via putty) direct login, not through an OpenVMS or Scanco system.&lt;br /&gt;
   $ ssh -l Administrator 10.148.64.231&lt;br /&gt;
:*2) Then you get to a   MP&amp;gt;   prompt here:&lt;br /&gt;
&lt;br /&gt;
   MP MAIN MENU:&lt;br /&gt;
         CO: Console&lt;br /&gt;
        VFP: Virtual Front Panel&lt;br /&gt;
         CM: Command Menu&lt;br /&gt;
         CL: Console Log&lt;br /&gt;
         SL: Show Event Logs&lt;br /&gt;
         HE: Main Help Menu&lt;br /&gt;
          X: Exit Connection&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*3) Type in &#039;SL&#039; to show event logs, then you could choose &#039;E&#039; for system event:&lt;br /&gt;
&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt; SL&lt;br /&gt;
     Event Log Viewer Menu:&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
   F - Forward Progress     20000      100 %        13 Sep 2018 11:17:43&lt;br /&gt;
   I - iLO Event              500      100 %        18 Sep 2018 07:46:42&lt;br /&gt;
   C - Clear SEL and FPL&lt;br /&gt;
   L - Live Events&lt;br /&gt;
&lt;br /&gt;
   Enter menu item or [Ctrl-B] to Quit: E&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
     Event Log Navigation Help:&lt;br /&gt;
   +       View next block     (forward in time,  e.g. from 3 to 4)&lt;br /&gt;
   -       View previous block (backward in time, e.g. from 3 to 2)&lt;br /&gt;
   &amp;lt;CR&amp;gt;    Continue to the next or previous block&lt;br /&gt;
   D       Dump the entire log&lt;br /&gt;
   F       First entry&lt;br /&gt;
   L       Last entry&lt;br /&gt;
   J       Jump to entry number&lt;br /&gt;
   H       View mode configuration - Hex&lt;br /&gt;
   K       View mode configuration - Keyword&lt;br /&gt;
   T       View mode configuration - Text&lt;br /&gt;
   A       Alert Level Filter options&lt;br /&gt;
   U       Alert Level Unfiltered&lt;br /&gt;
   ?       Display this Help menu&lt;br /&gt;
   Q       Quit and return to the Event Log Viewer Menu&lt;br /&gt;
   Ctrl-B  Exit command, and return to the MP Main Menu&lt;br /&gt;
&lt;br /&gt;
:*4) From here you can use -  and  +  to go through the log history back and forth. Not all logs do make a lot of sense though, as they are mainly meant for HPE engineers. &lt;br /&gt;
:*5) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*6) Use  MP&amp;gt; co   to get to the console, where you see at what stage the booting process is, in case it does not boot properly.&lt;br /&gt;
:*7) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*8) Use  MP&amp;gt; x   to end the connection.&lt;br /&gt;
&lt;br /&gt;
2. Soft-reboot by remote login:&lt;br /&gt;
&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard-reboot.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
:*2.A) Remote shutdown from another micro-ct workstation.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
   $ set host 0&lt;br /&gt;
   user:  system&lt;br /&gt;
   password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
   $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
   SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
   SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
:*2.B) Remote shutdown from a personal computer.&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
&lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
   $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming).  &lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
   $ shutdown&lt;br /&gt;
&lt;br /&gt;
3. Hard-reboot by power button:&lt;br /&gt;
&lt;br /&gt;
:*1) Hold the power button until it turns yellow.&lt;br /&gt;
:*2) Wait a minutes or two, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly. &lt;br /&gt;
  &lt;br /&gt;
4. Hard-reboot by unplugging both power cords:&lt;br /&gt;
&lt;br /&gt;
:*1) Hard-reboot by unplugging both the power cords. This will reset the console and controllers.&lt;br /&gt;
:*2) Wait for 5~10 minutes, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
==For Scanco support==&lt;br /&gt;
===Send a terminal to a remote computer===&lt;br /&gt;
&lt;br /&gt;
To send a terminal from XCT clusters to Scanco for maintenance, you need to know the ip address for the terminal location.&lt;br /&gt;
Such as For Mark Blanchard:&lt;br /&gt;
&lt;br /&gt;
  $ set display/create/transport=tcpip/node=193.72.60.24&lt;br /&gt;
  $ create/terminal/detach&lt;br /&gt;
&lt;br /&gt;
The cursor will disappear for a minute or so, and reappear with the $ prompt indicating sent already.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Access VMS filesystem==&lt;br /&gt;
===Access XtremeCT VMS filesystem on a Mac===&lt;br /&gt;
&lt;br /&gt;
In finder, select Go --&amp;gt; Connect to Server &lt;br /&gt;
&lt;br /&gt;
This opens up a window that allows you to enter a server address. Enter the following information: &lt;br /&gt;
&amp;lt;pre&amp;gt;smb://136.159.130.28&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click connect. If the internet connection is working, you will then be prompted to enter in login info:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select the volumes you want to mount.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View XtremeCT VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station (i.e., .130) enter the following IP address for Thomas (SC3309):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.130.28\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.130.28\UCT_DATA1&lt;br /&gt;
or&lt;br /&gt;
\\136.159.130.28\UCT_DATA2&lt;br /&gt;
&lt;br /&gt;
User name: xtremect@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View VivaCT40/uCT35 VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: vct_40&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station enter the following IP address for SCEVAL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.74.140\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.74.140\SB_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\SB_PROJ&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_PROJ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
User name: vct_40@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Map a Network Drive to the VMS filesystem from Windows===&lt;br /&gt;
&lt;br /&gt;
To do this you must be on the same network as the OpenVMS system. For main campus and the XtremeCT, you will map the drive to Thomas (136.159.130.28), the workstation connected to the scanner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on My Computer and choose Map Network Drive... &lt;br /&gt;
&lt;br /&gt;
Folder:  \\136.159.130.28\uct_data1     !FOR THE PROJECTS DISK&lt;br /&gt;
&lt;br /&gt;
         and/or &lt;br /&gt;
&lt;br /&gt;
         \\136.159.130.28\uct_data2     !FOR THE DATA DISK&lt;br /&gt;
&lt;br /&gt;
User name: microct\xtremect&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note:  You must use the numerical IP address and not the host name (i.e. thomas.kin.ucalgary.ca).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Setup remote access FAQ==&lt;br /&gt;
===Access data remotely===&lt;br /&gt;
Refer to [[Media:Scanco-faq-accessing-data-remotely.pdf|&#039;&#039;&#039;Scanco tutorial on accessing your data remotely&#039;&#039;&#039;]] for&lt;br /&gt;
&lt;br /&gt;
*A quick refresher course on accessing files&lt;br /&gt;
**Web browser&lt;br /&gt;
**File sharing&lt;br /&gt;
**File transfer protocol (FTP)&lt;br /&gt;
*Network file system NFS&lt;br /&gt;
*Running Scanco programs remotely&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use Hummingbird Exceed for remote access===&lt;br /&gt;
&lt;br /&gt;
*Screen definition&lt;br /&gt;
:Server visual = PseudoColor&lt;br /&gt;
:Window mode = multiple&lt;br /&gt;
&lt;br /&gt;
*Keyboard input&lt;br /&gt;
:Primary = decemus&lt;br /&gt;
:Alternate = us&lt;br /&gt;
&lt;br /&gt;
*EVE commands&lt;br /&gt;
:select = &amp;quot;end&amp;quot;&lt;br /&gt;
:cut = &amp;quot;delete&amp;quot;&lt;br /&gt;
:paste = &amp;quot;insert&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:move forward a word = CTRL + right_arrow&lt;br /&gt;
:move to start of document = CTRL + up_arrow&lt;br /&gt;
:move to end of document = CTRL + down_arrow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use XWin32 for remote access===&lt;br /&gt;
&lt;br /&gt;
Run XWin32.  Run Putty and connect to sceval.ucalgary.ca.  Use the terminal normally to run programs, which should open with XWin32.  &lt;br /&gt;
&lt;br /&gt;
Additional terminal windows can be opened with &amp;lt;code&amp;gt;$ dec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you try to connect from somewhere other than the university, you will probably get the following error when trying to open a window:&lt;br /&gt;
&lt;br /&gt;
   Xlib: connection to &amp;quot;sceval.ucalgary.ca:10.0&amp;quot; refused by server&lt;br /&gt;
   Xlib: Can not connect to a host on a restricted network&lt;br /&gt;
   X Toolkit Error: Cannot Open Display&lt;br /&gt;
   %DWT-F-DWTABORT, xtoolkit fatal error&lt;br /&gt;
&lt;br /&gt;
Type the following at the command prompt to direct the display:&lt;br /&gt;
&lt;br /&gt;
   $ set display/create/transport=tcpip/node=Your_IP_Address/server=0&lt;br /&gt;
&lt;br /&gt;
You can find your IP address from:   http://www.ip-adress.com/&lt;br /&gt;
&lt;br /&gt;
If you&#039;re running XWin32 from off campus and behind a router, forward ports 6000 - 6010 TCP and 177 UDP to your computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Set up Putty with gold-key access===&lt;br /&gt;
&lt;br /&gt;
Refer [http://bone.wiki/index.php?title=Scanco_User_Instructions#PuTTY_and_Xming &#039;&#039;&#039;PuTTY and Xming&#039;&#039;&#039;] to download putty.&lt;br /&gt;
&lt;br /&gt;
Set &#039;keyboard&#039; to Vt400, and &#039;initial state of numeric keyapad&#039; to &#039;Application&#039;, and now the &#039;NumLock&#039; key is the gold key (like PF1), and the editor can repeat stuff.&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set term/vt100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to enable the editor in the terminal.&lt;br /&gt;
&lt;br /&gt;
And duplication of a line is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
- (which would be PF4) to erase a line, &lt;br /&gt;
then twice &amp;quot;numlock, then -&amp;quot;  (gold-PF4 is &#039;restore line&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===SSH tricks===&lt;br /&gt;
====RSA and DSA Authentication====&lt;br /&gt;
&lt;br /&gt;
The main advantage of setting up RSA authentication is that you will no longer have to type your password each time you access a host with ssh.  There are some technical reasons why RSA and DSA access is more secure than password access.&lt;br /&gt;
&lt;br /&gt;
These instructions work on both Linux and OS-X.  &lt;br /&gt;
&lt;br /&gt;
# Create your public/private key pair on your local computer&lt;br /&gt;
#* At the command prompt type: ssh-keygen -t rsa&lt;br /&gt;
#* You will be asked to create a passphrase.&lt;br /&gt;
#* This will create the files .ssh/id_rsa and .ssh/id_rsa.pub .  Once you have these files, you never have to repeat this step.&lt;br /&gt;
# Copy your public key contents into the .ssh/authorized_keys2 file on the remote server&lt;br /&gt;
#* You can email yourself the file .ssh/id_rsa.pub from the local computer.&lt;br /&gt;
#* Alternatively, you could do this: ssh username@remoteserver.com &#039;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys2&#039; &amp;lt; /Users/Youruser/.ssh/id_rsa.pub&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTES ABOUT KEYS&amp;lt;/u&amp;gt;&lt;br /&gt;
Remember, the &amp;quot;authorized_keys&amp;quot; file is a concatenation of public (id_rsa.pub) keys, &lt;br /&gt;
and the &amp;quot;id_rsa&amp;quot; is the private key.  &lt;br /&gt;
Every user on every computer should only have ONE &amp;quot;id_rsa&amp;quot; file, &lt;br /&gt;
but can have multiple &amp;quot;id_rsa.pub&amp;quot; files concatenated into&lt;br /&gt;
their &amp;quot;authorized_keys&amp;quot; file.&lt;br /&gt;
&lt;br /&gt;
=====SSH Agent=====&lt;br /&gt;
&lt;br /&gt;
SSH-Agent is a tool to store your passphrase so you don&#039;t have type it every time.&lt;br /&gt;
&lt;br /&gt;
On OS-X, it is integrated into the system Keychain - you will be asked once if it should remember your passphrase, and after that you don&#039;t have to worry about it.&lt;br /&gt;
&lt;br /&gt;
Most Linux systems also have ssh-agent configured to start with every session. You may however have to do this once:&lt;br /&gt;
 ssh-add ~/.ssh/ida_rsa&lt;br /&gt;
&lt;br /&gt;
====SSH Tunneling====&lt;br /&gt;
&lt;br /&gt;
This is an alternative to VPN through kinesiology.  It may come in handy if for some reason VPN is not working.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re outside the university system and want to access, for example, svn on mike.kin, which is normally blocked by the university firewall, you can do that with ssh tunneling.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
 ssh eric@mighty-mac.kin.ucalgary.ca -L 2000:mike.kin.ucalgary.ca:443 -N&lt;br /&gt;
&lt;br /&gt;
Here is what is going on:&lt;br /&gt;
* I want to access port 443 (which is https) on mike.kin.ucalgary.ca.&lt;br /&gt;
* I have an account on mighty-mac, so I&#039;m using that server to create an ssh tunnel inside the university firewall.  I could use any machine I had an account on inside the university system, even mike.kin.ucalgary.ca, the one I&#039;m trying to get to (in fact, that would be best, but for purposes of demonstration I&#039;m using a different machine).&lt;br /&gt;
* I&#039;m mapping the local port 2000 to port 443 on mike.  Anything I send to localhost:2000 will by sent by ssh or the ssh tunnel to mighty-mac, which will then send it on to port 443 on mike.&lt;br /&gt;
* 2000 is a random 4-digit port number.  If by some fluke you happen to choose one that is in use, ssh will complain and you will have to try another port number.&lt;br /&gt;
&lt;br /&gt;
Now I can fire up my browser and point it to&lt;br /&gt;
&lt;br /&gt;
 https://localhost:200/trac/&lt;br /&gt;
&lt;br /&gt;
And what I get is the trac site on mike.&lt;br /&gt;
&lt;br /&gt;
If I want to get the code, I can do this:&lt;br /&gt;
&lt;br /&gt;
 svn checkout https://localhost:2000/svn/numerics88/trunk trunk_tunnel&lt;br /&gt;
&lt;br /&gt;
(&amp;quot;trunk_tunnel&amp;quot; is just the directory name where it will end up.  It can be named anything, but this will remind me that it only works when the tunnel is up.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Physical connections==&lt;br /&gt;
===Connect to VMS station with a serial port cable===&lt;br /&gt;
&lt;br /&gt;
To do this, you will need to connect from a PC using a PC-to-PC (NULL modem) serial cable, 9600 baud. Install PuTTY and connect with the &#039;serial&#039; option. You will need to know the COM port that is used by the PC to connect the serial cable. You can do this by checking on the PC the [Hardware][Device] settings.&lt;br /&gt;
&lt;br /&gt;
Typical login is &amp;quot;Admin&amp;quot; and password is usually same as the &#039;system&#039; password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Export VMS display to SUN or LINUX terminal===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# - temple&lt;br /&gt;
$ - sceval&lt;br /&gt;
# xhost +temple.ucalgary.ca&lt;br /&gt;
# ssh -X microct@sceval.ucalgary.ca&lt;br /&gt;
$ set display /create /transport=tcpip /node=temple.ucalgary.ca&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Do not use &amp;lt;code&amp;gt;xhost+&amp;lt;/code&amp;gt;.  Always specific exactly which computer is being&lt;br /&gt;
allowed X access.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Dose=&lt;br /&gt;
&lt;br /&gt;
==Dose Calculations==&lt;br /&gt;
&lt;br /&gt;
===XtremeCT radiation dose===&lt;br /&gt;
Some notes about radiation dose to help decide acceptable scanning protocols.  These comments are based on scanning an adult (not children having significant red marrow at the scan region).&lt;br /&gt;
&lt;br /&gt;
:*The annual dose limit for the hand for an occupational user is 500 mSv (as per the ICRP), and with the x-ray energy of our XtremeCT that translates to 500 mGy local dose per year. For non-occupational subjects, the limit is generally 10x lower (i.e., our volunteers should not have more than 50 mGy local dose per year).&lt;br /&gt;
:*Our scanner delivers a local dose of about 5.3 mGy per scan.  However, if we have adjacent scans, there is some overlap due to the penumbra of the x-ray beam which results in about double the local dose (a conservative guess would be 10 mGy) for a ~1mm overlap region. Averaging over the whole scanned regions (overlap and non-overlap regions) we can say that the average delivered local dose is about 7-8 mGy. The local dose is not additive.  If we&#039;re very conservative, and we take 10 mGy as the local dose, then we could theoretically scan a person 5 times before exceeding the 50 mGy limit based on a tenth of the occupational limit (500 mGy).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===vivaCT CTDI dose===&lt;br /&gt;
====Dose calculation====&lt;br /&gt;
&lt;br /&gt;
Assuming the following settings on the vivaCT for &amp;quot;high mode&amp;quot;, we will calculate the CTDI dose.&lt;br /&gt;
&lt;br /&gt;
 2000 projections (360 degrees)&lt;br /&gt;
 0.109 mA&lt;br /&gt;
 200 ms IT&lt;br /&gt;
&lt;br /&gt;
I calculate the time current value as:&lt;br /&gt;
&lt;br /&gt;
 0.109 mA * (0.200 + 0.012) S * 2000 proj= 46.22 mAs&lt;br /&gt;
&lt;br /&gt;
The 0.012 is the integration time between projections.&lt;br /&gt;
&lt;br /&gt;
Taking the proportion of the 68 mAs at 55 kV resulting in 720 mGy (see the document on example&lt;br /&gt;
dose calculation on this Wiki site), we have:&lt;br /&gt;
&lt;br /&gt;
 46.22 / 68 * 720 = 490 mGy&lt;br /&gt;
&lt;br /&gt;
Since CTDI in air is approximately two times the weighted CTDI, and since our setup is more like in air, we get:&lt;br /&gt;
&lt;br /&gt;
 2 * 490 = 980 mGy per scan.&lt;br /&gt;
&lt;br /&gt;
It&#039;s always a good idea to look at the time-current product in the control file to get an approximate estimate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Dose chart and example====&lt;br /&gt;
*Refer to [[Media:VivaCT dose information-fyi.pdf|&#039;&#039;&#039;VivaCT CTDI Dose Calculation Example&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
We have measured the following CT dose indices (CTDI). &lt;br /&gt;
:*CTDIw:   Weighted CTDI (chart below)&lt;br /&gt;
:*CTDIair: CTDI in air (2 times CTDIw - calculate from chart below).&lt;br /&gt;
&lt;br /&gt;
The detector was placed in the center of a 35 mm PMMA cylinder which was placed in the center of rotation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 70kV  300ms 85uA  Field of view 38.9mm 1000 Proj./180°:   CTDI = 260 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 220 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 190 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 30.7mm 1000 Proj./180°:   CTDI = 420 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 350 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 305 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 21.5mm 1000 Proj./180°:   CTDI = 850 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 720 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 620 mGy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 high res = 1000 Proj./180°&lt;br /&gt;
 medium  = 500 Proj./180°&lt;br /&gt;
 standard  = 250 Proj./180°&lt;br /&gt;
&lt;br /&gt;
The CTDI scales linear with the integration time (s), with the current (uA) and number of projections. If you have different settings there, it is easy to calculate the CTDI.&lt;br /&gt;
&lt;br /&gt;
CTDI Definition:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Integral from +50mm to -50mm of D(z)/NxT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*where D(z) is the dose profile along a line z which is perpendicular to the tomographic plane&lt;br /&gt;
:*N is the number of tomographic sections produced in a single rotation&lt;br /&gt;
:*T is the nominal tomographic section thickness&lt;br /&gt;
&lt;br /&gt;
Example: How to estimate how much radiation would be incurred by a mouse scanned at 25&lt;br /&gt;
um resolution (medium resolution -- MR) at 55 kVp, 109 uA, 150 ms IT, for about 30 minutes?&lt;br /&gt;
&lt;br /&gt;
If you take your settings you can calculate the CTDI.  First thing you have to be aware is that the CTDI is something like the local dose but it takes the cone beam geometry and the not perfect collimation of the x-ray beam into account (The CTDI value is always higher than a local dose measurement with for example TLDs). It does not matter how many stacks you are scanning. The dose you have at one point which is within the volume you are scanning gets the same local dose if you are performing a 1 stack or a 4 stack measurement.&lt;br /&gt;
&lt;br /&gt;
With the 55kVp/109uA HR with 300ms we have a value at the 30.7 mm position of 350 mGy. Because you have MR we can divide the values by a factor of 2; and because you have 150ms instead of 300ms there is an other factor of 2. You would get 87.5 mGy for the position 30.7 mm. Because of the cone beam the dose has a quadratic dependency to the diameter of the field of view. (30.7 mm/25 mm)2 = 1.5. The CTDI value for your settings is in the order of 87.5 mGy * 1.5 = 132 mGy.&lt;br /&gt;
&lt;br /&gt;
Note that for in vivo measurements, we should multiply the result by a factor of two since we are doing the measurement in AIR, not WATER.  The charts above are assuming the CTDI done in water.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Optimize Scan for Low Dose==&lt;br /&gt;
*Refer to [[Media:Scanco-faq-optimization-for-dose.pdf|&#039;&#039;&#039;Optimize Scan Protocols for Low Dose&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Main_Page&amp;diff=7116</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Main_Page&amp;diff=7116"/>
		<updated>2021-02-10T16:24:53Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;b&amp;gt;&amp;lt;font size=&amp;quot;+3&amp;quot;&amp;gt;Bone Imaging Laboratory Wiki&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt; &lt;br /&gt;
&amp;lt;td width=&amp;quot;15%&amp;quot; align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Wiki Concept&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P&amp;gt; The idea of the &#039;Wiki&#039; site is that any authorized user, in this case a member of the lab, can see and edit any of the pages on this site, as well as create new pages as required. &lt;br /&gt;
Also, there is a document section where useful documents can uploaded or downloaded by anyone in the group.&amp;lt;/P&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; The Purpose&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s to facilitate information exchange within the lab and keep up-to-date How To and User Manuals for lab&#039;s technical procedures and FAQ.&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;       [[File:BonelabScanners.JPG|center|750px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;25%&amp;quot; align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Read me&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
#Use &#039;&#039;&#039;Ctr+F&#039;&#039;&#039; to search within any page.&lt;br /&gt;
#Never include login credentials especially password anywhere.&lt;br /&gt;
#It&#039;s all users&#039; responsibility to keep the info precise, updated, abundant, and useful, through editing/addition/deletion as needed by clicking [edit] on the top-right corner of a page or item. This includes combining same/similar topics besides an item whenever appropriate.&lt;br /&gt;
#Add a redirect line after each new item for consistency: &lt;br /&gt;
#:[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
#Click &#039;&#039;&#039;Help&#039;&#039;&#039; on navigation list on the left penal for detailed editing instructions.&lt;br /&gt;
#Contact Ying if you are not sure where to put a new item or could not find an item.&lt;br /&gt;
&amp;lt;/P&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; width=&amp;quot;98%&amp;quot; valign=&amp;quot;top&amp;quot; cellspacing=&amp;quot;7&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
|- &lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco User Instructions]]==&lt;br /&gt;
[[Scanco_User_Instructions#OpenVMS_Basics| &#039;&#039;&#039;OpenVMS Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#OpenVMS_Beginner.27s_Reference| Beginner&#039;s Reference]]&lt;br /&gt;
*[[Scanco_User_Instructions#Session_Manager| Session Manager]]&lt;br /&gt;
*[[Scanco_User_Instructions#DEC_Terminal_and_Digital_Command_Language_.28DCL.29| DEC Terminal and DCL]]&lt;br /&gt;
*[[Scanco_User_Instructions#DCL_Programming_Guide| DCL Programming Guide]]&lt;br /&gt;
*[[Scanco_User_Instructions#List_of_basic_commands| List of basic commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Micro-Computed_Tomography_.28.C2.B5CT.29_Basics| &#039;&#039;&#039;Micro-CT Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Scanco_User_Instructions#Micro-CT_Image_Basics| µCT Image Basics]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Data| Image Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scanco_Medical_Micro-CT_Software| Scanco Medical µCT Software]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Sample_Name_Convention| Sample Name Convention]]&lt;br /&gt;
*[[Scanco_User_Instructions#Register_Samples_for_Scanning| Register Samples for Scanning]]&lt;br /&gt;
*[[Scanco_User_Instructions#Log_Sheets| Log Sheets]]&lt;br /&gt;
*[[Scanco_User_Instructions#Patient_Casts_and_Sample_Holders| Patient Casts and Sample Holders]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29| Scan Parameters (Controlfiles)]]&lt;br /&gt;
*[[Scanco_User_Instructions#Perform_a_Scan| Perform a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Action_on_Image_Artifacts| Action on Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluate_a_Scan| Evaluate a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Draw_Contours| Draw Contours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluation_Scripts| Evaluation Scripts]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Processing_Language_.28IPL.29_Scripting| IPL Scripting]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Images_and_Animations| Images and Animations]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_User_Instructions#Generate_Report| Generate Report]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Data_Management| &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Trainee.E2.80.99s_Data_Responsibility| Trainee’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk| Move data from Data Disk to Project Disk]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Import_and_Export| &#039;&#039;&#039;Import and Export&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Foreign_Data_to_Scanco_System| Import Foreign Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_MRI_to_Scanco_System| Import MRI Images]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Xradia_.2A.bin_to_Scanco_System|Import Xradia *.bin]]&lt;br /&gt;
*[[Scanco_User_Instructions#Get_Your_Files| Get Your Files]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Remote_Access| &#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#VPN_Setup| VPN Setup]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_MAC.2FLinux| Setup for MAC/Linux]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_Windows| Setup for Windows]]&lt;br /&gt;
*[[Scanco_User_Instructions#Remote_Access_FAQ| Remote Access FAQ]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco Administration]]==&lt;br /&gt;
[[Scanco_Administration#OpenVMS| &#039;&#039;&#039;OpenVMS&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#OpenVMS_References| OpenVMS References]]&lt;br /&gt;
*[[Scanco_Administration#Unix_related| Unix related]]&lt;br /&gt;
*[[Scanco_Administration#Graphical_Applications| Graphical Applications]]&lt;br /&gt;
*[[Scanco_Administration#File_Operations| File Operations]]&lt;br /&gt;
*[[Scanco_Administration#Administrative_Commands| Administrative Commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Calibration_and_QC | &#039;&#039;&#039;Calibration and QC&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#System_Updates| System Updates]]&lt;br /&gt;
*[[Scanco_Administration#Calibration_and_Conversion| Calibration and Conversion]]&lt;br /&gt;
*[[Scanco_Administration#Quality_Control_.28QC.29| Quality Control (QC)]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Scanner_User_Manual| Scanner User Manual]]&lt;br /&gt;
*[[Scanco_Administration#Scanco.27s_FAQ| Scanco&#039;s FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Scan| Scan]]&lt;br /&gt;
*[[Scanco_Administration#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_RSQ| Manipulate RSQ]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_ISQ| Manipulate ISQ]]&lt;br /&gt;
*[[Scanco_Administration#Image_Artifacts| Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Analysis_Topics| Analysis Topics]]&lt;br /&gt;
*[[Scanco_Administration#UCT_EVALUATION| UCT_EVALUATION]]&lt;br /&gt;
*[[Scanco_Administration#Evaluation_FAQ| Evaluation FAQ]]&lt;br /&gt;
*[[Scanco_Administration#IPL_FAQ| IPL FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_Administration#Database| Database]]&lt;br /&gt;
*[[Scanco_Administration#Other_FAQ| Other FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Data_Management | &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Lab.E2.80.99s_Data_Responsibility| Lab’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_Administration#HP_Server_and_Disk_Array| HP Server and Disk Array]]&lt;br /&gt;
*[[Scanco_Administration#Tape| Tape]]&lt;br /&gt;
*[[Scanco_Administration#USB_Drive| USB_Drive]]&lt;br /&gt;
*[[Scanco_Administration#CDROM| CDROM]]&lt;br /&gt;
*[[Scanco_Administration#Saveset_and_Zip_files| Saveset and Zip files]]&lt;br /&gt;
*[[Scanco_Administration#Backup_and_Archive| Backup and Archive]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Process.2C_Printer_and_System| &#039;&#039;&#039;Process, Printer and System&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Processes_and_Jobs| Processes and Jobs]]&lt;br /&gt;
*[[Scanco_Administration#Printer| Printer]]&lt;br /&gt;
*[[Scanco_Administration#System| System]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Remote_Access|&#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#For_Scanco_support| For Scanco support]]&lt;br /&gt;
*[[Scanco_Administration#Access_VMS_filesystem| Access VMS filesystem]]&lt;br /&gt;
*[[Scanco_Administration#Setup_remote_access_FAQ| Setup remote access FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Physical_connections| Physical connections]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Dose| &#039;&#039;&#039;Dose&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Dose_Calculations| Dose Calculations]]&lt;br /&gt;
*[[Scanco_Administration#Optimize_Scan_for_Low_Dose| Optimize Scan for Low Dose]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Xradia Instructions]]==&lt;br /&gt;
*[[Xradia_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Xradia_Instructions#Scanning| Scanning]]&lt;br /&gt;
*[[Xradia_Instructions#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Xradia_Instructions#Special_Topics| Special Topics]]&lt;br /&gt;
*[[Xradia_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
&lt;br /&gt;
==[[Books and References]]==&lt;br /&gt;
[[Books_and_References#Imaging|&#039;&#039;&#039;Imaging&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Essential_Physics_of_Medical_Imaging| Essential Physics of Medical Imaging]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Bone|&#039;&#039;&#039;Bone&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Books_on_Bone| Books on Bone]]&lt;br /&gt;
*[[Books_and_References#Bone_Morphometry_and_Densitometry| Bone Morphometry and Densitometry]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Student_Reports|&#039;&#039;&#039;Student Reports&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==[[Image Registration]]==&lt;br /&gt;
[[Image_Registration#Scanco_Image_Registration|&#039;&#039;&#039;Scanco Image Registration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Image_Transformation|Image Transformation]]&lt;br /&gt;
*[[Image_Registration#Image_Registration|Image Registration]]&lt;br /&gt;
*[[Image_Registration#Register_MRI_to_HR-pQCT|Register MRI to HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#Similarity_Registration|&#039;&#039;&#039;SimilarityRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Understand_rotation_parameters| Understand rotation parameters]]&lt;br /&gt;
*[[Image_Registration#Set_optimizer_scales| Set optimizer scales]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#SkiRegistration|&#039;&#039;&#039;skiRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#ITK_Rigid_registration_for_HR-pQCT| ITK Rigid registration for HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
==[[Finite Element Modelling]]==&lt;br /&gt;
*[[Finite_Element_Modelling#Scanco_Finite_Element_Modelling| Scanco Finite Element Modelling]]&lt;br /&gt;
*[[Finite_Element_Modelling#FAIM_Finite_Element_Solver| FAIM Finite Element Solver]]&lt;br /&gt;
*[[Finite_Element_Modelling#FE_Tutorial| FE Tutorial]]&lt;br /&gt;
*[[Finite_Element_Modelling#Prepare_AIMs_for_FE_Analysis| Prepare AIMs for FE Analysis]]&lt;br /&gt;
&lt;br /&gt;
==[[Software Plugins and Codes]]==&lt;br /&gt;
----&lt;br /&gt;
*[[Software_Plugins_and_Codes#ImageJ| &#039;&#039;&#039;ImageJ&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#Amira| &#039;&#039;&#039;Amira&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#R|&#039;&#039;&#039;R&#039;&#039;&#039;]] &lt;br /&gt;
*[[Software_Plugins_and_Codes#ParaView| &#039;&#039;&#039;ParaView&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Languages and Toolkits==&lt;br /&gt;
*[[C++|&#039;&#039;&#039;C++&#039;&#039;&#039;]]&lt;br /&gt;
*[[VTK|&#039;&#039;&#039;VTK&#039;&#039;&#039;]]&lt;br /&gt;
*[[ITK|&#039;&#039;&#039;ITK&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Miscellaneous==&lt;br /&gt;
*[[Software_Development_Platforms| &#039;&#039;&#039;Software Development Platforms&#039;&#039;&#039;]]&lt;br /&gt;
*[[Archive|&#039;&#039;&#039;Archive&#039;&#039;&#039;]] &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;table align=&amp;quot;left&amp;quot; width=&amp;quot;85%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; &amp;gt;&lt;br /&gt;
To: [https://www.ucalgary.ca/labs/bonelab/team/steven-boyd &#039;&#039;&#039;Steve Boyd&#039;s homepage&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot;&amp;gt; To: [https://www.ucalgary.ca/labs/bonelab/home &#039;&#039;&#039;Bone Imaging Lab homepage&#039;&#039;&#039;]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Main_Page&amp;diff=7115</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Main_Page&amp;diff=7115"/>
		<updated>2021-02-10T16:21:59Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;b&amp;gt;&amp;lt;font size=&amp;quot;+3&amp;quot;&amp;gt;Bone Imaging Laboratory Wiki&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt; &lt;br /&gt;
&amp;lt;td width=&amp;quot;15%&amp;quot; align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Wiki Concept&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P&amp;gt; The idea of the &#039;Wiki&#039; site is that any authorized user, in this case a member of the lab, can see and edit any of the pages on this site, as well as create new pages as required. &lt;br /&gt;
Also, there is a document section where useful documents can uploaded or downloaded by anyone in the group.&amp;lt;/P&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; The Purpose&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s to facilitate information exchange within the lab and keep up-to-date How To and User Manuals for lab&#039;s technical procedures and FAQ.&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;       [[File:BonelabScanners.JPG|center|750px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot; align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Read me&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
#Use &#039;&#039;&#039;Ctr+F&#039;&#039;&#039; to search within any page.&lt;br /&gt;
#Never include login credentials especially password anywhere.&lt;br /&gt;
#It&#039;s all users&#039; responsibility to keep the info precise, updated, abundant, and useful, through editing/addition/deletion as needed by clicking [edit] on the top-right corner of a page or item. This includes combining same/similar topics besides an item whenever appropriate.&lt;br /&gt;
#Add a redirect line after each new item for consistency: &lt;br /&gt;
#:[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
#Click &#039;&#039;&#039;Help&#039;&#039;&#039; on navigation list on the left penal for detailed editing instructions.&lt;br /&gt;
#Contact Ying if you are not sure where to put a new item or could not find an item.&lt;br /&gt;
&amp;lt;/P&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; width=&amp;quot;98%&amp;quot; valign=&amp;quot;top&amp;quot; cellspacing=&amp;quot;7&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
|- &lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco User Instructions]]==&lt;br /&gt;
[[Scanco_User_Instructions#OpenVMS_Basics| &#039;&#039;&#039;OpenVMS Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#OpenVMS_Beginner.27s_Reference| Beginner&#039;s Reference]]&lt;br /&gt;
*[[Scanco_User_Instructions#Session_Manager| Session Manager]]&lt;br /&gt;
*[[Scanco_User_Instructions#DEC_Terminal_and_Digital_Command_Language_.28DCL.29| DEC Terminal and DCL]]&lt;br /&gt;
*[[Scanco_User_Instructions#DCL_Programming_Guide| DCL Programming Guide]]&lt;br /&gt;
*[[Scanco_User_Instructions#List_of_basic_commands| List of basic commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Micro-Computed_Tomography_.28.C2.B5CT.29_Basics| &#039;&#039;&#039;Micro-CT Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Scanco_User_Instructions#Micro-CT_Image_Basics| µCT Image Basics]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Data| Image Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scanco_Medical_Micro-CT_Software| Scanco Medical µCT Software]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Sample_Name_Convention| Sample Name Convention]]&lt;br /&gt;
*[[Scanco_User_Instructions#Register_Samples_for_Scanning| Register Samples for Scanning]]&lt;br /&gt;
*[[Scanco_User_Instructions#Log_Sheets| Log Sheets]]&lt;br /&gt;
*[[Scanco_User_Instructions#Patient_Casts_and_Sample_Holders| Patient Casts and Sample Holders]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29| Scan Parameters (Controlfiles)]]&lt;br /&gt;
*[[Scanco_User_Instructions#Perform_a_Scan| Perform a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Action_on_Image_Artifacts| Action on Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluate_a_Scan| Evaluate a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Draw_Contours| Draw Contours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluation_Scripts| Evaluation Scripts]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Processing_Language_.28IPL.29_Scripting| IPL Scripting]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Images_and_Animations| Images and Animations]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_User_Instructions#Generate_Report| Generate Report]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Data_Management| &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Trainee.E2.80.99s_Data_Responsibility| Trainee’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk| Move data from Data Disk to Project Disk]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Import_and_Export| &#039;&#039;&#039;Import and Export&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Foreign_Data_to_Scanco_System| Import Foreign Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_MRI_to_Scanco_System| Import MRI Images]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Xradia_.2A.bin_to_Scanco_System|Import Xradia *.bin]]&lt;br /&gt;
*[[Scanco_User_Instructions#Get_Your_Files| Get Your Files]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Remote_Access| &#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#VPN_Setup| VPN Setup]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_MAC.2FLinux| Setup for MAC/Linux]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_Windows| Setup for Windows]]&lt;br /&gt;
*[[Scanco_User_Instructions#Remote_Access_FAQ| Remote Access FAQ]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco Administration]]==&lt;br /&gt;
[[Scanco_Administration#OpenVMS| &#039;&#039;&#039;OpenVMS&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#OpenVMS_References| OpenVMS References]]&lt;br /&gt;
*[[Scanco_Administration#Unix_related| Unix related]]&lt;br /&gt;
*[[Scanco_Administration#Graphical_Applications| Graphical Applications]]&lt;br /&gt;
*[[Scanco_Administration#File_Operations| File Operations]]&lt;br /&gt;
*[[Scanco_Administration#Administrative_Commands| Administrative Commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Calibration_and_QC | &#039;&#039;&#039;Calibration and QC&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#System_Updates| System Updates]]&lt;br /&gt;
*[[Scanco_Administration#Calibration_and_Conversion| Calibration and Conversion]]&lt;br /&gt;
*[[Scanco_Administration#Quality_Control_.28QC.29| Quality Control (QC)]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Scanner_User_Manual| Scanner User Manual]]&lt;br /&gt;
*[[Scanco_Administration#Scanco.27s_FAQ| Scanco&#039;s FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Scan| Scan]]&lt;br /&gt;
*[[Scanco_Administration#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_RSQ| Manipulate RSQ]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_ISQ| Manipulate ISQ]]&lt;br /&gt;
*[[Scanco_Administration#Image_Artifacts| Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Analysis_Topics| Analysis Topics]]&lt;br /&gt;
*[[Scanco_Administration#UCT_EVALUATION| UCT_EVALUATION]]&lt;br /&gt;
*[[Scanco_Administration#Evaluation_FAQ| Evaluation FAQ]]&lt;br /&gt;
*[[Scanco_Administration#IPL_FAQ| IPL FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_Administration#Database| Database]]&lt;br /&gt;
*[[Scanco_Administration#Other_FAQ| Other FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Data_Management | &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Lab.E2.80.99s_Data_Responsibility| Lab’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_Administration#HP_Server_and_Disk_Array| HP Server and Disk Array]]&lt;br /&gt;
*[[Scanco_Administration#Tape| Tape]]&lt;br /&gt;
*[[Scanco_Administration#USB_Drive| USB_Drive]]&lt;br /&gt;
*[[Scanco_Administration#CDROM| CDROM]]&lt;br /&gt;
*[[Scanco_Administration#Saveset_and_Zip_files| Saveset and Zip files]]&lt;br /&gt;
*[[Scanco_Administration#Backup_and_Archive| Backup and Archive]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Process.2C_Printer_and_System| &#039;&#039;&#039;Process, Printer and System&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Processes_and_Jobs| Processes and Jobs]]&lt;br /&gt;
*[[Scanco_Administration#Printer| Printer]]&lt;br /&gt;
*[[Scanco_Administration#System| System]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Remote_Access|&#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#For_Scanco_support| For Scanco support]]&lt;br /&gt;
*[[Scanco_Administration#Access_VMS_filesystem| Access VMS filesystem]]&lt;br /&gt;
*[[Scanco_Administration#Setup_remote_access_FAQ| Setup remote access FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Physical_connections| Physical connections]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Dose| &#039;&#039;&#039;Dose&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Dose_Calculations| Dose Calculations]]&lt;br /&gt;
*[[Scanco_Administration#Optimize_Scan_for_Low_Dose| Optimize Scan for Low Dose]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Xradia Instructions]]==&lt;br /&gt;
*[[Xradia_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Xradia_Instructions#Scanning| Scanning]]&lt;br /&gt;
*[[Xradia_Instructions#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Xradia_Instructions#Special_Topics| Special Topics]]&lt;br /&gt;
*[[Xradia_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
&lt;br /&gt;
==[[Books and References]]==&lt;br /&gt;
[[Books_and_References#Imaging|&#039;&#039;&#039;Imaging&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Essential_Physics_of_Medical_Imaging| Essential Physics of Medical Imaging]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Bone|&#039;&#039;&#039;Bone&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Books_on_Bone| Books on Bone]]&lt;br /&gt;
*[[Books_and_References#Bone_Morphometry_and_Densitometry| Bone Morphometry and Densitometry]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Student_Reports|&#039;&#039;&#039;Student Reports&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==[[Image Registration]]==&lt;br /&gt;
[[Image_Registration#Scanco_Image_Registration|&#039;&#039;&#039;Scanco Image Registration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Image_Transformation|Image Transformation]]&lt;br /&gt;
*[[Image_Registration#Image_Registration|Image Registration]]&lt;br /&gt;
*[[Image_Registration#Register_MRI_to_HR-pQCT|Register MRI to HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#Similarity_Registration|&#039;&#039;&#039;SimilarityRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Understand_rotation_parameters| Understand rotation parameters]]&lt;br /&gt;
*[[Image_Registration#Set_optimizer_scales| Set optimizer scales]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#SkiRegistration|&#039;&#039;&#039;skiRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#ITK_Rigid_registration_for_HR-pQCT| ITK Rigid registration for HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
==[[Finite Element Modelling]]==&lt;br /&gt;
*[[Finite_Element_Modelling#Scanco_Finite_Element_Modelling| Scanco Finite Element Modelling]]&lt;br /&gt;
*[[Finite_Element_Modelling#FAIM_Finite_Element_Solver| FAIM Finite Element Solver]]&lt;br /&gt;
*[[Finite_Element_Modelling#FE_Tutorial| FE Tutorial]]&lt;br /&gt;
*[[Finite_Element_Modelling#Prepare_AIMs_for_FE_Analysis| Prepare AIMs for FE Analysis]]&lt;br /&gt;
&lt;br /&gt;
==[[Software Plugins and Codes]]==&lt;br /&gt;
----&lt;br /&gt;
*[[Software_Plugins_and_Codes#ImageJ| &#039;&#039;&#039;ImageJ&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#Amira| &#039;&#039;&#039;Amira&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#R|&#039;&#039;&#039;R&#039;&#039;&#039;]] &lt;br /&gt;
*[[Software_Plugins_and_Codes#ParaView| &#039;&#039;&#039;ParaView&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Languages and Toolkits==&lt;br /&gt;
*[[C++|&#039;&#039;&#039;C++&#039;&#039;&#039;]]&lt;br /&gt;
*[[VTK|&#039;&#039;&#039;VTK&#039;&#039;&#039;]]&lt;br /&gt;
*[[ITK|&#039;&#039;&#039;ITK&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Miscellaneous==&lt;br /&gt;
*[[Software_Development_Platforms| &#039;&#039;&#039;Software Development Platforms&#039;&#039;&#039;]]&lt;br /&gt;
*[[Archive|&#039;&#039;&#039;Archive&#039;&#039;&#039;]] &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;table align=&amp;quot;left&amp;quot; width=&amp;quot;85%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; &amp;gt;&lt;br /&gt;
To: [https://www.ucalgary.ca/labs/bonelab/team/steven-boyd &#039;&#039;&#039;Steve Boyd&#039;s homepage&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot;&amp;gt; To: [https://www.ucalgary.ca/labs/bonelab/home &#039;&#039;&#039;Bone Imaging Lab homepage&#039;&#039;&#039;]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Main_Page&amp;diff=7114</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Main_Page&amp;diff=7114"/>
		<updated>2021-02-08T22:46:09Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;b&amp;gt;&amp;lt;font size=&amp;quot;+3&amp;quot;&amp;gt;Bone Imaging Laboratory Wiki&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt; &lt;br /&gt;
&amp;lt;td width=&amp;quot;15%&amp;quot; align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Wiki Concept&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P&amp;gt; The idea of the &#039;Wiki&#039; site is that any authorized user, in this case a member of the lab, can see and edit any of the pages on this site, as well as create new pages as required. &lt;br /&gt;
Also, there is a document section where useful documents can uploaded or downloaded by anyone in the group.&amp;lt;/P&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; The Purpose&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s to facilitate information exchange within the lab and keep up-to-date How To and User Manuals for lab&#039;s technical procedures and FAQ.&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;       [[File:BonelabScanners.JPG|center|750px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot; align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Read me&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
#Use &#039;&#039;&#039;Ctr+F&#039;&#039;&#039; to search within any page.&lt;br /&gt;
#Never include login credentials especially password anywhere except for Scanco&#039;s FAQ website.&lt;br /&gt;
#It&#039;s all users&#039; responsibility to keep the info precise, updated, abundant, and useful, through editing/addition/deletion as needed by clicking [edit] on the top-right corner of a page or item. This includes combining same/similar topics besides an item whenever appropriate.&lt;br /&gt;
#Add a redirect line after each new item for consistency: &lt;br /&gt;
#:[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
#Scanco pages include info from both XtremeCT and microCT. It depends on user&#039;s adjudgment if not yet clearly stated which item is XtremeCT specific, which is microCT specific and which is valid for both systems. &lt;br /&gt;
#Click &#039;&#039;&#039;Help&#039;&#039;&#039; on navigation list on the left penal for detailed editing instructions.&lt;br /&gt;
#Contact Ying if you are not sure where to put a new item or could not find an item.&lt;br /&gt;
&amp;lt;/P&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; width=&amp;quot;98%&amp;quot; valign=&amp;quot;top&amp;quot; cellspacing=&amp;quot;7&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
|- &lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco User Instructions]]==&lt;br /&gt;
[[Scanco_User_Instructions#OpenVMS_Basics| &#039;&#039;&#039;OpenVMS Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#OpenVMS_Beginner.27s_Reference| Beginner&#039;s Reference]]&lt;br /&gt;
*[[Scanco_User_Instructions#Session_Manager| Session Manager]]&lt;br /&gt;
*[[Scanco_User_Instructions#DEC_Terminal_and_Digital_Command_Language_.28DCL.29| DEC Terminal and DCL]]&lt;br /&gt;
*[[Scanco_User_Instructions#DCL_Programming_Guide| DCL Programming Guide]]&lt;br /&gt;
*[[Scanco_User_Instructions#List_of_basic_commands| List of basic commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Micro-Computed_Tomography_.28.C2.B5CT.29_Basics| &#039;&#039;&#039;Micro-CT Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Scanco_User_Instructions#Micro-CT_Image_Basics| µCT Image Basics]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Data| Image Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scanco_Medical_Micro-CT_Software| Scanco Medical µCT Software]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Sample_Name_Convention| Sample Name Convention]]&lt;br /&gt;
*[[Scanco_User_Instructions#Register_Samples_for_Scanning| Register Samples for Scanning]]&lt;br /&gt;
*[[Scanco_User_Instructions#Log_Sheets| Log Sheets]]&lt;br /&gt;
*[[Scanco_User_Instructions#Patient_Casts_and_Sample_Holders| Patient Casts and Sample Holders]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29| Scan Parameters (Controlfiles)]]&lt;br /&gt;
*[[Scanco_User_Instructions#Perform_a_Scan| Perform a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Action_on_Image_Artifacts| Action on Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluate_a_Scan| Evaluate a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Draw_Contours| Draw Contours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluation_Scripts| Evaluation Scripts]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Processing_Language_.28IPL.29_Scripting| IPL Scripting]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Images_and_Animations| Images and Animations]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_User_Instructions#Generate_Report| Generate Report]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Data_Management| &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Trainee.E2.80.99s_Data_Responsibility| Trainee’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk| Move data from Data Disk to Project Disk]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Import_and_Export| &#039;&#039;&#039;Import and Export&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Foreign_Data_to_Scanco_System| Import Foreign Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_MRI_to_Scanco_System| Import MRI Images]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Xradia_.2A.bin_to_Scanco_System|Import Xradia *.bin]]&lt;br /&gt;
*[[Scanco_User_Instructions#Get_Your_Files| Get Your Files]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Remote_Access| &#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#VPN_Setup| VPN Setup]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_MAC.2FLinux| Setup for MAC/Linux]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_Windows| Setup for Windows]]&lt;br /&gt;
*[[Scanco_User_Instructions#Remote_Access_FAQ| Remote Access FAQ]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco Administration]]==&lt;br /&gt;
[[Scanco_Administration#OpenVMS| &#039;&#039;&#039;OpenVMS&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#OpenVMS_References| OpenVMS References]]&lt;br /&gt;
*[[Scanco_Administration#Unix_related| Unix related]]&lt;br /&gt;
*[[Scanco_Administration#Graphical_Applications| Graphical Applications]]&lt;br /&gt;
*[[Scanco_Administration#File_Operations| File Operations]]&lt;br /&gt;
*[[Scanco_Administration#Administrative_Commands| Administrative Commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Calibration_and_QC | &#039;&#039;&#039;Calibration and QC&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#System_Updates| System Updates]]&lt;br /&gt;
*[[Scanco_Administration#Calibration_and_Conversion| Calibration and Conversion]]&lt;br /&gt;
*[[Scanco_Administration#Quality_Control_.28QC.29| Quality Control (QC)]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Scanner_User_Manual| Scanner User Manual]]&lt;br /&gt;
*[[Scanco_Administration#Scanco.27s_FAQ| Scanco&#039;s FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Scan| Scan]]&lt;br /&gt;
*[[Scanco_Administration#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_RSQ| Manipulate RSQ]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_ISQ| Manipulate ISQ]]&lt;br /&gt;
*[[Scanco_Administration#Image_Artifacts| Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Analysis_Topics| Analysis Topics]]&lt;br /&gt;
*[[Scanco_Administration#UCT_EVALUATION| UCT_EVALUATION]]&lt;br /&gt;
*[[Scanco_Administration#Evaluation_FAQ| Evaluation FAQ]]&lt;br /&gt;
*[[Scanco_Administration#IPL_FAQ| IPL FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_Administration#Database| Database]]&lt;br /&gt;
*[[Scanco_Administration#Other_FAQ| Other FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Data_Management | &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Lab.E2.80.99s_Data_Responsibility| Lab’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_Administration#HP_Server_and_Disk_Array| HP Server and Disk Array]]&lt;br /&gt;
*[[Scanco_Administration#Tape| Tape]]&lt;br /&gt;
*[[Scanco_Administration#USB_Drive| USB_Drive]]&lt;br /&gt;
*[[Scanco_Administration#CDROM| CDROM]]&lt;br /&gt;
*[[Scanco_Administration#Saveset_and_Zip_files| Saveset and Zip files]]&lt;br /&gt;
*[[Scanco_Administration#Backup_and_Archive| Backup and Archive]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Process.2C_Printer_and_System| &#039;&#039;&#039;Process, Printer and System&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Processes_and_Jobs| Processes and Jobs]]&lt;br /&gt;
*[[Scanco_Administration#Printer| Printer]]&lt;br /&gt;
*[[Scanco_Administration#System| System]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Remote_Access|&#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#For_Scanco_support| For Scanco support]]&lt;br /&gt;
*[[Scanco_Administration#Access_VMS_filesystem| Access VMS filesystem]]&lt;br /&gt;
*[[Scanco_Administration#Setup_remote_access_FAQ| Setup remote access FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Physical_connections| Physical connections]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Dose| &#039;&#039;&#039;Dose&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Dose_Calculations| Dose Calculations]]&lt;br /&gt;
*[[Scanco_Administration#Optimize_Scan_for_Low_Dose| Optimize Scan for Low Dose]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Xradia Instructions]]==&lt;br /&gt;
*[[Xradia_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Xradia_Instructions#Scanning| Scanning]]&lt;br /&gt;
*[[Xradia_Instructions#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Xradia_Instructions#Special_Topics| Special Topics]]&lt;br /&gt;
*[[Xradia_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
&lt;br /&gt;
==[[Books and References]]==&lt;br /&gt;
[[Books_and_References#Imaging|&#039;&#039;&#039;Imaging&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Essential_Physics_of_Medical_Imaging| Essential Physics of Medical Imaging]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Bone|&#039;&#039;&#039;Bone&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Books_on_Bone| Books on Bone]]&lt;br /&gt;
*[[Books_and_References#Bone_Morphometry_and_Densitometry| Bone Morphometry and Densitometry]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Student_Reports|&#039;&#039;&#039;Student Reports&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==[[Image Registration]]==&lt;br /&gt;
[[Image_Registration#Scanco_Image_Registration|&#039;&#039;&#039;Scanco Image Registration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Image_Transformation|Image Transformation]]&lt;br /&gt;
*[[Image_Registration#Image_Registration|Image Registration]]&lt;br /&gt;
*[[Image_Registration#Register_MRI_to_HR-pQCT|Register MRI to HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#Similarity_Registration|&#039;&#039;&#039;SimilarityRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Understand_rotation_parameters| Understand rotation parameters]]&lt;br /&gt;
*[[Image_Registration#Set_optimizer_scales| Set optimizer scales]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#SkiRegistration|&#039;&#039;&#039;skiRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#ITK_Rigid_registration_for_HR-pQCT| ITK Rigid registration for HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
==[[Finite Element Modelling]]==&lt;br /&gt;
*[[Finite_Element_Modelling#Scanco_Finite_Element_Modelling| Scanco Finite Element Modelling]]&lt;br /&gt;
*[[Finite_Element_Modelling#FAIM_Finite_Element_Solver| FAIM Finite Element Solver]]&lt;br /&gt;
*[[Finite_Element_Modelling#FE_Tutorial| FE Tutorial]]&lt;br /&gt;
*[[Finite_Element_Modelling#Prepare_AIMs_for_FE_Analysis| Prepare AIMs for FE Analysis]]&lt;br /&gt;
&lt;br /&gt;
==[[Software Plugins and Codes]]==&lt;br /&gt;
----&lt;br /&gt;
*[[Software_Plugins_and_Codes#ImageJ| &#039;&#039;&#039;ImageJ&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#Amira| &#039;&#039;&#039;Amira&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#R|&#039;&#039;&#039;R&#039;&#039;&#039;]] &lt;br /&gt;
*[[Software_Plugins_and_Codes#ParaView| &#039;&#039;&#039;ParaView&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Languages and Toolkits==&lt;br /&gt;
*[[C++|&#039;&#039;&#039;C++&#039;&#039;&#039;]]&lt;br /&gt;
*[[VTK|&#039;&#039;&#039;VTK&#039;&#039;&#039;]]&lt;br /&gt;
*[[ITK|&#039;&#039;&#039;ITK&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Miscellaneous==&lt;br /&gt;
*[[Software_Development_Platforms| &#039;&#039;&#039;Software Development Platforms&#039;&#039;&#039;]]&lt;br /&gt;
*[[Archive|&#039;&#039;&#039;Archive&#039;&#039;&#039;]] &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;table align=&amp;quot;left&amp;quot; width=&amp;quot;85%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; &amp;gt;&lt;br /&gt;
To: [https://www.ucalgary.ca/labs/bonelab/team/steven-boyd &#039;&#039;&#039;Steve Boyd&#039;s homepage&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot;&amp;gt; To: [https://www.ucalgary.ca/labs/bonelab/home &#039;&#039;&#039;Bone Imaging Lab homepage&#039;&#039;&#039;]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Main_Page&amp;diff=7113</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Main_Page&amp;diff=7113"/>
		<updated>2021-02-08T22:39:18Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;b&amp;gt;&amp;lt;font size=&amp;quot;+3&amp;quot;&amp;gt;Bone Imaging Laboratory Wiki&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt; &lt;br /&gt;
&amp;lt;td width=&amp;quot;20%&amp;quot; align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Wiki Concept&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P&amp;gt; The idea of the &#039;Wiki&#039; site is that any authorized user, in this case a member of the lab, can see and edit any of the pages on this site, as well as create new pages as required. &lt;br /&gt;
Also, there is a document section where useful documents can uploaded or downloaded by anyone in the group.&amp;lt;/P&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; The Purpose&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s to facilitate information exchange within the lab and keep up-to-date How To and User Manuals for lab&#039;s technical procedures and FAQ.&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;       [[File:BonelabScanners.JPG|center|50%]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;30%&amp;quot; align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Read me&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
#Use Ctr+F to search within any page.&lt;br /&gt;
#Never include login credentials especially password anywhere except for Scanco&#039;s FAQ website.&lt;br /&gt;
#It&#039;s all users&#039; responsibility to keep the info precise, updated, abundant, and useful, through editing/addition/deletion as needed by clicking [edit] on the top-right corner of a page or item. This includes combining same/similar topics besides an item whenever appropriate.&lt;br /&gt;
#Add a redirect line after each new item for consistency: &lt;br /&gt;
#:[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
#Scanco pages include info from both XtremeCT and microCT. It depends on user&#039;s adjudgment if not yet clearly stated which item is XtremeCT specific, which is microCT specific and which is valid for both systems. &lt;br /&gt;
#Click Help on navigation list on the left penal for detailed editing instructions.&lt;br /&gt;
#Contact Ying if you are not sure where to put a new item or could not find an item.&lt;br /&gt;
&amp;lt;/P&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; width=&amp;quot;98%&amp;quot; valign=&amp;quot;top&amp;quot; cellspacing=&amp;quot;7&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
|- &lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco User Instructions]]==&lt;br /&gt;
[[Scanco_User_Instructions#OpenVMS_Basics| &#039;&#039;&#039;OpenVMS Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#OpenVMS_Beginner.27s_Reference| Beginner&#039;s Reference]]&lt;br /&gt;
*[[Scanco_User_Instructions#Session_Manager| Session Manager]]&lt;br /&gt;
*[[Scanco_User_Instructions#DEC_Terminal_and_Digital_Command_Language_.28DCL.29| DEC Terminal and DCL]]&lt;br /&gt;
*[[Scanco_User_Instructions#DCL_Programming_Guide| DCL Programming Guide]]&lt;br /&gt;
*[[Scanco_User_Instructions#List_of_basic_commands| List of basic commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Micro-Computed_Tomography_.28.C2.B5CT.29_Basics| &#039;&#039;&#039;Micro-CT Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Scanco_User_Instructions#Micro-CT_Image_Basics| µCT Image Basics]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Data| Image Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scanco_Medical_Micro-CT_Software| Scanco Medical µCT Software]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Sample_Name_Convention| Sample Name Convention]]&lt;br /&gt;
*[[Scanco_User_Instructions#Register_Samples_for_Scanning| Register Samples for Scanning]]&lt;br /&gt;
*[[Scanco_User_Instructions#Log_Sheets| Log Sheets]]&lt;br /&gt;
*[[Scanco_User_Instructions#Patient_Casts_and_Sample_Holders| Patient Casts and Sample Holders]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29| Scan Parameters (Controlfiles)]]&lt;br /&gt;
*[[Scanco_User_Instructions#Perform_a_Scan| Perform a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Action_on_Image_Artifacts| Action on Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluate_a_Scan| Evaluate a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Draw_Contours| Draw Contours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluation_Scripts| Evaluation Scripts]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Processing_Language_.28IPL.29_Scripting| IPL Scripting]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Images_and_Animations| Images and Animations]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_User_Instructions#Generate_Report| Generate Report]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Data_Management| &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Trainee.E2.80.99s_Data_Responsibility| Trainee’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk| Move data from Data Disk to Project Disk]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Import_and_Export| &#039;&#039;&#039;Import and Export&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Foreign_Data_to_Scanco_System| Import Foreign Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_MRI_to_Scanco_System| Import MRI Images]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Xradia_.2A.bin_to_Scanco_System|Import Xradia *.bin]]&lt;br /&gt;
*[[Scanco_User_Instructions#Get_Your_Files| Get Your Files]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Remote_Access| &#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#VPN_Setup| VPN Setup]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_MAC.2FLinux| Setup for MAC/Linux]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_Windows| Setup for Windows]]&lt;br /&gt;
*[[Scanco_User_Instructions#Remote_Access_FAQ| Remote Access FAQ]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco Administration]]==&lt;br /&gt;
[[Scanco_Administration#OpenVMS| &#039;&#039;&#039;OpenVMS&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#OpenVMS_References| OpenVMS References]]&lt;br /&gt;
*[[Scanco_Administration#Unix_related| Unix related]]&lt;br /&gt;
*[[Scanco_Administration#Graphical_Applications| Graphical Applications]]&lt;br /&gt;
*[[Scanco_Administration#File_Operations| File Operations]]&lt;br /&gt;
*[[Scanco_Administration#Administrative_Commands| Administrative Commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Calibration_and_QC | &#039;&#039;&#039;Calibration and QC&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#System_Updates| System Updates]]&lt;br /&gt;
*[[Scanco_Administration#Calibration_and_Conversion| Calibration and Conversion]]&lt;br /&gt;
*[[Scanco_Administration#Quality_Control_.28QC.29| Quality Control (QC)]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Scanner_User_Manual| Scanner User Manual]]&lt;br /&gt;
*[[Scanco_Administration#Scanco.27s_FAQ| Scanco&#039;s FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Scan| Scan]]&lt;br /&gt;
*[[Scanco_Administration#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_RSQ| Manipulate RSQ]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_ISQ| Manipulate ISQ]]&lt;br /&gt;
*[[Scanco_Administration#Image_Artifacts| Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Analysis_Topics| Analysis Topics]]&lt;br /&gt;
*[[Scanco_Administration#UCT_EVALUATION| UCT_EVALUATION]]&lt;br /&gt;
*[[Scanco_Administration#Evaluation_FAQ| Evaluation FAQ]]&lt;br /&gt;
*[[Scanco_Administration#IPL_FAQ| IPL FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_Administration#Database| Database]]&lt;br /&gt;
*[[Scanco_Administration#Other_FAQ| Other FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Data_Management | &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Lab.E2.80.99s_Data_Responsibility| Lab’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_Administration#HP_Server_and_Disk_Array| HP Server and Disk Array]]&lt;br /&gt;
*[[Scanco_Administration#Tape| Tape]]&lt;br /&gt;
*[[Scanco_Administration#USB_Drive| USB_Drive]]&lt;br /&gt;
*[[Scanco_Administration#CDROM| CDROM]]&lt;br /&gt;
*[[Scanco_Administration#Saveset_and_Zip_files| Saveset and Zip files]]&lt;br /&gt;
*[[Scanco_Administration#Backup_and_Archive| Backup and Archive]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Process.2C_Printer_and_System| &#039;&#039;&#039;Process, Printer and System&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Processes_and_Jobs| Processes and Jobs]]&lt;br /&gt;
*[[Scanco_Administration#Printer| Printer]]&lt;br /&gt;
*[[Scanco_Administration#System| System]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Remote_Access|&#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#For_Scanco_support| For Scanco support]]&lt;br /&gt;
*[[Scanco_Administration#Access_VMS_filesystem| Access VMS filesystem]]&lt;br /&gt;
*[[Scanco_Administration#Setup_remote_access_FAQ| Setup remote access FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Physical_connections| Physical connections]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Dose| &#039;&#039;&#039;Dose&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Dose_Calculations| Dose Calculations]]&lt;br /&gt;
*[[Scanco_Administration#Optimize_Scan_for_Low_Dose| Optimize Scan for Low Dose]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Xradia Instructions]]==&lt;br /&gt;
*[[Xradia_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Xradia_Instructions#Scanning| Scanning]]&lt;br /&gt;
*[[Xradia_Instructions#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Xradia_Instructions#Special_Topics| Special Topics]]&lt;br /&gt;
*[[Xradia_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
&lt;br /&gt;
==[[Books and References]]==&lt;br /&gt;
[[Books_and_References#Imaging|&#039;&#039;&#039;Imaging&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Essential_Physics_of_Medical_Imaging| Essential Physics of Medical Imaging]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Bone|&#039;&#039;&#039;Bone&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Books_on_Bone| Books on Bone]]&lt;br /&gt;
*[[Books_and_References#Bone_Morphometry_and_Densitometry| Bone Morphometry and Densitometry]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Student_Reports|&#039;&#039;&#039;Student Reports&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==[[Image Registration]]==&lt;br /&gt;
[[Image_Registration#Scanco_Image_Registration|&#039;&#039;&#039;Scanco Image Registration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Image_Transformation|Image Transformation]]&lt;br /&gt;
*[[Image_Registration#Image_Registration|Image Registration]]&lt;br /&gt;
*[[Image_Registration#Register_MRI_to_HR-pQCT|Register MRI to HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#Similarity_Registration|&#039;&#039;&#039;SimilarityRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Understand_rotation_parameters| Understand rotation parameters]]&lt;br /&gt;
*[[Image_Registration#Set_optimizer_scales| Set optimizer scales]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#SkiRegistration|&#039;&#039;&#039;skiRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#ITK_Rigid_registration_for_HR-pQCT| ITK Rigid registration for HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
==[[Finite Element Modelling]]==&lt;br /&gt;
*[[Finite_Element_Modelling#Scanco_Finite_Element_Modelling| Scanco Finite Element Modelling]]&lt;br /&gt;
*[[Finite_Element_Modelling#FAIM_Finite_Element_Solver| FAIM Finite Element Solver]]&lt;br /&gt;
*[[Finite_Element_Modelling#FE_Tutorial| FE Tutorial]]&lt;br /&gt;
*[[Finite_Element_Modelling#Prepare_AIMs_for_FE_Analysis| Prepare AIMs for FE Analysis]]&lt;br /&gt;
&lt;br /&gt;
==[[Software Plugins and Codes]]==&lt;br /&gt;
----&lt;br /&gt;
*[[Software_Plugins_and_Codes#ImageJ| &#039;&#039;&#039;ImageJ&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#Amira| &#039;&#039;&#039;Amira&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#R|&#039;&#039;&#039;R&#039;&#039;&#039;]] &lt;br /&gt;
*[[Software_Plugins_and_Codes#ParaView| &#039;&#039;&#039;ParaView&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Languages and Toolkits==&lt;br /&gt;
*[[C++|&#039;&#039;&#039;C++&#039;&#039;&#039;]]&lt;br /&gt;
*[[VTK|&#039;&#039;&#039;VTK&#039;&#039;&#039;]]&lt;br /&gt;
*[[ITK|&#039;&#039;&#039;ITK&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Miscellaneous==&lt;br /&gt;
*[[Software_Development_Platforms| &#039;&#039;&#039;Software Development Platforms&#039;&#039;&#039;]]&lt;br /&gt;
*[[Archive|&#039;&#039;&#039;Archive&#039;&#039;&#039;]] &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;table align=&amp;quot;left&amp;quot; width=&amp;quot;85%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; &amp;gt;&lt;br /&gt;
To: [https://www.ucalgary.ca/labs/bonelab/team/steven-boyd &#039;&#039;&#039;Steve Boyd&#039;s homepage&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot;&amp;gt; To: [https://www.ucalgary.ca/labs/bonelab/home &#039;&#039;&#039;Bone Imaging Lab homepage&#039;&#039;&#039;]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Main_Page&amp;diff=7112</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Main_Page&amp;diff=7112"/>
		<updated>2021-02-08T22:25:51Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;b&amp;gt;&amp;lt;font size=&amp;quot;+3&amp;quot;&amp;gt;Bone Imaging Laboratory Wiki&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=&amp;quot;97%&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt; &lt;br /&gt;
&amp;lt;td width=&amp;quot;200&amp;quot; align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Wiki Concept&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P&amp;gt; The idea of the &#039;Wiki&#039; site is that any authorized user, in this case a member of the lab, can see and edit any of the pages on this site, as well as create new pages as required. &lt;br /&gt;
Also, there is a document section where useful documents can uploaded or downloaded by anyone in the group.&amp;lt;/P&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; The Purpose&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s to facilitate information exchange within the lab and keep up-to-date How To and User Manuals for lab&#039;s technical procedures and FAQ.&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;       [[File:BonelabScanners.JPG|center|700px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td width=&amp;quot;400&amp;quot; align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; bgcolor=&amp;quot;#ccff66&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt; Read me&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
#Use Ctr+F to search within any page.&lt;br /&gt;
#Never include login credentials especially password anywhere except for Scanco&#039;s FAQ website.&lt;br /&gt;
#It&#039;s all users&#039; responsibility to keep the info precise, updated, abundant, and useful, through editing/addition/deletion as needed by clicking [edit] on the top-right corner of a page or item. This includes combining same/similar topics besides an item whenever appropriate.&lt;br /&gt;
#Add a redirect line after each new item for consistency: &lt;br /&gt;
#:[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
#Scanco pages include info from both XtremeCT and microCT. It depends on user&#039;s adjudgment if not yet clearly stated which item is XtremeCT specific, which is microCT specific and which is valid for both systems. &lt;br /&gt;
#Contact Ying if you are not sure where to put a new item or could not find an item.&lt;br /&gt;
&amp;lt;/P&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; width=&amp;quot;98%&amp;quot; valign=&amp;quot;top&amp;quot; cellspacing=&amp;quot;7&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
! |&lt;br /&gt;
! width=&amp;quot;33%&amp;quot;|&lt;br /&gt;
|- &lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco User Instructions]]==&lt;br /&gt;
[[Scanco_User_Instructions#OpenVMS_Basics| &#039;&#039;&#039;OpenVMS Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#OpenVMS_Beginner.27s_Reference| Beginner&#039;s Reference]]&lt;br /&gt;
*[[Scanco_User_Instructions#Session_Manager| Session Manager]]&lt;br /&gt;
*[[Scanco_User_Instructions#DEC_Terminal_and_Digital_Command_Language_.28DCL.29| DEC Terminal and DCL]]&lt;br /&gt;
*[[Scanco_User_Instructions#DCL_Programming_Guide| DCL Programming Guide]]&lt;br /&gt;
*[[Scanco_User_Instructions#List_of_basic_commands| List of basic commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Micro-Computed_Tomography_.28.C2.B5CT.29_Basics| &#039;&#039;&#039;Micro-CT Basics&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Scanco_User_Instructions#Micro-CT_Image_Basics| µCT Image Basics]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Data| Image Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scanco_Medical_Micro-CT_Software| Scanco Medical µCT Software]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Sample_Name_Convention| Sample Name Convention]]&lt;br /&gt;
*[[Scanco_User_Instructions#Register_Samples_for_Scanning| Register Samples for Scanning]]&lt;br /&gt;
*[[Scanco_User_Instructions#Log_Sheets| Log Sheets]]&lt;br /&gt;
*[[Scanco_User_Instructions#Patient_Casts_and_Sample_Holders| Patient Casts and Sample Holders]]&lt;br /&gt;
*[[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29| Scan Parameters (Controlfiles)]]&lt;br /&gt;
*[[Scanco_User_Instructions#Perform_a_Scan| Perform a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Action_on_Image_Artifacts| Action on Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluate_a_Scan| Evaluate a Scan]]&lt;br /&gt;
*[[Scanco_User_Instructions#Draw_Contours| Draw Contours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Evaluation_Scripts| Evaluation Scripts]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Processing_Language_.28IPL.29_Scripting| IPL Scripting]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Images_and_Animations| Images and Animations]]&lt;br /&gt;
*[[Scanco_User_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
*[[Scanco_User_Instructions#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_User_Instructions#Generate_Report| Generate Report]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Data_Management| &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Trainee.E2.80.99s_Data_Responsibility| Trainee’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk| Move data from Data Disk to Project Disk]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Import_and_Export| &#039;&#039;&#039;Import and Export&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Foreign_Data_to_Scanco_System| Import Foreign Data]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_MRI_to_Scanco_System| Import MRI Images]]&lt;br /&gt;
*[[Scanco_User_Instructions#Import_Xradia_.2A.bin_to_Scanco_System|Import Xradia *.bin]]&lt;br /&gt;
*[[Scanco_User_Instructions#Get_Your_Files| Get Your Files]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_User_Instructions#Remote_Access| &#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_User_Instructions#VPN_Setup| VPN Setup]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_MAC.2FLinux| Setup for MAC/Linux]]&lt;br /&gt;
*[[Scanco_User_Instructions#Setup_for_Windows| Setup for Windows]]&lt;br /&gt;
*[[Scanco_User_Instructions#Remote_Access_FAQ| Remote Access FAQ]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Scanco Administration]]==&lt;br /&gt;
[[Scanco_Administration#OpenVMS| &#039;&#039;&#039;OpenVMS&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#OpenVMS_References| OpenVMS References]]&lt;br /&gt;
*[[Scanco_Administration#Unix_related| Unix related]]&lt;br /&gt;
*[[Scanco_Administration#Graphical_Applications| Graphical Applications]]&lt;br /&gt;
*[[Scanco_Administration#File_Operations| File Operations]]&lt;br /&gt;
*[[Scanco_Administration#Administrative_Commands| Administrative Commands]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Calibration_and_QC | &#039;&#039;&#039;Calibration and QC&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#System_Updates| System Updates]]&lt;br /&gt;
*[[Scanco_Administration#Calibration_and_Conversion| Calibration and Conversion]]&lt;br /&gt;
*[[Scanco_Administration#Quality_Control_.28QC.29| Quality Control (QC)]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Scanning| &#039;&#039;&#039;Scanning&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Scanner_User_Manual| Scanner User Manual]]&lt;br /&gt;
*[[Scanco_Administration#Scanco.27s_FAQ| Scanco&#039;s FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Scan| Scan]]&lt;br /&gt;
*[[Scanco_Administration#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_RSQ| Manipulate RSQ]]&lt;br /&gt;
*[[Scanco_Administration#Manipulate_ISQ| Manipulate ISQ]]&lt;br /&gt;
*[[Scanco_Administration#Image_Artifacts| Image Artifacts]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Evaluation| &#039;&#039;&#039;Evaluation&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Analysis_Topics| Analysis Topics]]&lt;br /&gt;
*[[Scanco_Administration#UCT_EVALUATION| UCT_EVALUATION]]&lt;br /&gt;
*[[Scanco_Administration#Evaluation_FAQ| Evaluation FAQ]]&lt;br /&gt;
*[[Scanco_Administration#IPL_FAQ| IPL FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Results| &#039;&#039;&#039;Results&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Extract_Results| Extract Results]]&lt;br /&gt;
*[[Scanco_Administration#Database| Database]]&lt;br /&gt;
*[[Scanco_Administration#Other_FAQ| Other FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Data_Management | &#039;&#039;&#039;Data Management&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Lab.E2.80.99s_Data_Responsibility| Lab’s Data Responsibility]]&lt;br /&gt;
*[[Scanco_Administration#HP_Server_and_Disk_Array| HP Server and Disk Array]]&lt;br /&gt;
*[[Scanco_Administration#Tape| Tape]]&lt;br /&gt;
*[[Scanco_Administration#USB_Drive| USB_Drive]]&lt;br /&gt;
*[[Scanco_Administration#CDROM| CDROM]]&lt;br /&gt;
*[[Scanco_Administration#Saveset_and_Zip_files| Saveset and Zip files]]&lt;br /&gt;
*[[Scanco_Administration#Backup_and_Archive| Backup and Archive]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Process.2C_Printer_and_System| &#039;&#039;&#039;Process, Printer and System&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Processes_and_Jobs| Processes and Jobs]]&lt;br /&gt;
*[[Scanco_Administration#Printer| Printer]]&lt;br /&gt;
*[[Scanco_Administration#System| System]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Remote_Access|&#039;&#039;&#039;Remote Access&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#For_Scanco_support| For Scanco support]]&lt;br /&gt;
*[[Scanco_Administration#Access_VMS_filesystem| Access VMS filesystem]]&lt;br /&gt;
*[[Scanco_Administration#Setup_remote_access_FAQ| Setup remote access FAQ]]&lt;br /&gt;
*[[Scanco_Administration#Physical_connections| Physical connections]]&lt;br /&gt;
&lt;br /&gt;
[[Scanco_Administration#Dose| &#039;&#039;&#039;Dose&#039;&#039;&#039;]]&lt;br /&gt;
*[[Scanco_Administration#Dose_Calculations| Dose Calculations]]&lt;br /&gt;
*[[Scanco_Administration#Optimize_Scan_for_Low_Dose| Optimize Scan for Low Dose]]&lt;br /&gt;
&lt;br /&gt;
|bgcolor=&amp;quot;#CCCCCC&amp;quot;|&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==[[Xradia Instructions]]==&lt;br /&gt;
*[[Xradia_Instructions#User_Tutorials| User Tutorials]]&lt;br /&gt;
*[[Xradia_Instructions#Scanning| Scanning]]&lt;br /&gt;
*[[Xradia_Instructions#Reconstruction| Reconstruction]]&lt;br /&gt;
*[[Xradia_Instructions#Special_Topics| Special Topics]]&lt;br /&gt;
*[[Xradia_Instructions#Image_Tours| Image Tours]]&lt;br /&gt;
&lt;br /&gt;
==[[Books and References]]==&lt;br /&gt;
[[Books_and_References#Imaging|&#039;&#039;&#039;Imaging&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Essential_Physics_of_Medical_Imaging| Essential Physics of Medical Imaging]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Bone|&#039;&#039;&#039;Bone&#039;&#039;&#039;]]&lt;br /&gt;
*[[Books_and_References#Books_on_Bone| Books on Bone]]&lt;br /&gt;
*[[Books_and_References#Bone_Morphometry_and_Densitometry| Bone Morphometry and Densitometry]]&lt;br /&gt;
&lt;br /&gt;
[[Books_and_References#Student_Reports|&#039;&#039;&#039;Student Reports&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==[[Image Registration]]==&lt;br /&gt;
[[Image_Registration#Scanco_Image_Registration|&#039;&#039;&#039;Scanco Image Registration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Image_Transformation|Image Transformation]]&lt;br /&gt;
*[[Image_Registration#Image_Registration|Image Registration]]&lt;br /&gt;
*[[Image_Registration#Register_MRI_to_HR-pQCT|Register MRI to HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#Similarity_Registration|&#039;&#039;&#039;SimilarityRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#Understand_rotation_parameters| Understand rotation parameters]]&lt;br /&gt;
*[[Image_Registration#Set_optimizer_scales| Set optimizer scales]]&lt;br /&gt;
&lt;br /&gt;
[[Image_Registration#SkiRegistration|&#039;&#039;&#039;skiRegistration&#039;&#039;&#039;]]&lt;br /&gt;
*[[Image_Registration#ITK_Rigid_registration_for_HR-pQCT| ITK Rigid registration for HR-pQCT]]&lt;br /&gt;
&lt;br /&gt;
==[[Finite Element Modelling]]==&lt;br /&gt;
*[[Finite_Element_Modelling#Scanco_Finite_Element_Modelling| Scanco Finite Element Modelling]]&lt;br /&gt;
*[[Finite_Element_Modelling#FAIM_Finite_Element_Solver| FAIM Finite Element Solver]]&lt;br /&gt;
*[[Finite_Element_Modelling#FE_Tutorial| FE Tutorial]]&lt;br /&gt;
*[[Finite_Element_Modelling#Prepare_AIMs_for_FE_Analysis| Prepare AIMs for FE Analysis]]&lt;br /&gt;
&lt;br /&gt;
==[[Software Plugins and Codes]]==&lt;br /&gt;
----&lt;br /&gt;
*[[Software_Plugins_and_Codes#ImageJ| &#039;&#039;&#039;ImageJ&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#Amira| &#039;&#039;&#039;Amira&#039;&#039;&#039;]]&lt;br /&gt;
*[[Software_Plugins_and_Codes#R|&#039;&#039;&#039;R&#039;&#039;&#039;]] &lt;br /&gt;
*[[Software_Plugins_and_Codes#ParaView| &#039;&#039;&#039;ParaView&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Languages and Toolkits==&lt;br /&gt;
*[[C++|&#039;&#039;&#039;C++&#039;&#039;&#039;]]&lt;br /&gt;
*[[VTK|&#039;&#039;&#039;VTK&#039;&#039;&#039;]]&lt;br /&gt;
*[[ITK|&#039;&#039;&#039;ITK&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Miscellaneous==&lt;br /&gt;
*[[Software_Development_Platforms| &#039;&#039;&#039;Software Development Platforms&#039;&#039;&#039;]]&lt;br /&gt;
*[[Archive|&#039;&#039;&#039;Archive&#039;&#039;&#039;]] &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;table align=&amp;quot;left&amp;quot; width=&amp;quot;85%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot; &amp;gt;&lt;br /&gt;
To: [https://www.ucalgary.ca/labs/bonelab/team/steven-boyd &#039;&#039;&#039;Steve Boyd&#039;s homepage&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td align=&amp;quot;left&amp;quot; valign=&amp;quot;middle&amp;quot;&amp;gt; To: [https://www.ucalgary.ca/labs/bonelab/home &#039;&#039;&#039;Bone Imaging Lab homepage&#039;&#039;&#039;]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7111</id>
		<title>Scanco Administration</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_Administration&amp;diff=7111"/>
		<updated>2021-02-02T01:15:32Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* UPAT_LIST command */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS=&lt;br /&gt;
&lt;br /&gt;
==OpenVMS References==&lt;br /&gt;
*[[Media:OpenVMS Users Manual.PDF| OpenVMS User Manual]]&lt;br /&gt;
*[[Media:Vmsfaq.pdf| OpenVMS FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Unix related==&lt;br /&gt;
*[[Media:Vms-unix-commands.pdf| OpenVMS Commands with UNIX equivalents]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix filenames on VMS with multiple &#039;.&#039;===&lt;br /&gt;
&lt;br /&gt;
The directory names would have been cvs-1.11.21.dir on Linux.  However VMS doesn&#039;t allow more than 1 . in the name.  If you enter&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set process/parse=extended&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in a terminal you&#039;ll be able to access these files.  You could consider renaming them i.e. cvs-1_11_21.dir.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Unix command line basics===&lt;br /&gt;
====Twelve Essential Commands====&lt;br /&gt;
&lt;br /&gt;
These are the commands which you have to know in order to be basically functional with a shell (command line).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;&lt;br /&gt;
| List directory contents.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -l&amp;lt;/tt&amp;gt; long listing with dates and permissions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ls -a&amp;lt;/tt&amp;gt; list all, including hidden files (hidden files start with a period)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cd&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Change directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd -&amp;lt;/tt&amp;gt; change to previous directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ~&amp;lt;/tt&amp;gt; change to home directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ..&amp;lt;/tt&amp;gt; change to parent directory&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;pwd&amp;lt;/tt&amp;gt;	&lt;br /&gt;
| Print current (working) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cp&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Copy file(s).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cp -r somedir somedest&amp;lt;/tt&amp;gt; Copy recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mv&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Move (or rename) a file (or directory)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rm&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Delete (remove) a file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -r somedir&amp;lt;/tt&amp;gt; Delete recursively (directory and all contents)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -ri somedir&amp;lt;/tt&amp;gt; Delete recursively, but prompt before each removal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;rm -rf somedir&amp;lt;/tt&amp;gt; Delete recursively, never prompt&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;mkdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Create directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;rmdir&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Remove (empty) directory.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;cat&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Print file contents (to console).&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;less&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Scroll through file contents, one page at a time. SPACEBAR to advance a page, B to go back a page, Q to quit, /pattern to search for pattern&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;man&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Get help on &amp;lt;tt&amp;gt;command&amp;lt;/tt&amp;gt;. (eg. &amp;lt;tt&amp;gt;man ls&amp;lt;/tt&amp;gt; for help on &amp;lt;tt&amp;gt;ls&amp;lt;/tt&amp;gt;).  You move around in man as you do with less: SPACEBAR is forward a page, and so on.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;lt;tt&amp;gt;exit&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Close shell (i.e. the terminal). If this is your login shell, you will log out.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File names with spaces====&lt;br /&gt;
&lt;br /&gt;
Spaces on the command line separate arguments. Therefore file names containing spaces require special treatment to avoid being interpreted as two separate files. There are a couple of methods. You can use quotes:&lt;br /&gt;
&lt;br /&gt;
 cp &amp;quot;file name with spaces&amp;quot; file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
You can also use the backslash, which indicates that any special significance is to be removed from the following character. Thus a space, instead of being the delimiter for arguments on a command line, is to be interpreted as a regular character.&lt;br /&gt;
&lt;br /&gt;
 cp file\ name\ with\ spaces file_name_without_spaces&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Copying and pasting====&lt;br /&gt;
&lt;br /&gt;
Copying and pasting in a terminal is generally done with the middle mouse button.  Just mark the text you want to copy with the mouse, holding down the left mouse button in the usual way. Then move the cursor (which is different than the mouse pointer - move the cursor with arrow keys typically) to where you want to insert and click the middle mouse button (on a wheel mouse the middle button is the wheel).&lt;br /&gt;
&lt;br /&gt;
Tip: You can double-click to mark a whole work, or triple-click to mark a whole line. Remember - you haven&#039;t only marked it, you&#039;ve put it in the clipboard.&lt;br /&gt;
&lt;br /&gt;
Note: This applies to X11, for example on Linux.  If using OS-X, just use Option-C and Option-V as usual.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Recalling previous commands====&lt;br /&gt;
&lt;br /&gt;
You can scroll though your previous commands (command history) by using the UP and DOWN arrow keys.&lt;br /&gt;
&lt;br /&gt;
A more advanced trick is to use CTRL-R, which is particularly useful when you want to recall a command you used some time ago. Hit CTRL-R and then start typing some fragment of the command you&#039;re searching for. The prompt will automatically update to show you the most recent match to the fragment you&#039;ve typed so far. If you want the matching command previous to the one shown, hit CTRL-R again. Once you&#039;ve got the previous command you&#039;re looking for, hit ENTER to run it again, or start editing it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Be lazy: use TAB to minimize typing====&lt;br /&gt;
&lt;br /&gt;
Some commands and especially some file names can be pretty long. Don&#039;t want to type it all? Type the first few letters, then hit TAB. The shell will fill in the rest, as far as there is a unique completion (either command or filename). If there is not a unique completion to the end, you might have to type another character or two and then hit TAB again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Keyboard Shortcuts====&lt;br /&gt;
&lt;br /&gt;
Here are some common command line keyboard shortcuts.  Some of these are bash-specific shortcuts, so not all of them will work on all systems.&lt;br /&gt;
&lt;br /&gt;
Note: If you&#039;re using OS-X, a number of the editing shortcuts below work in ALL programs in OS-X.  (With the sad exception of Microsoft Office, which overrides the system-wide key bindings.)&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Common editing key bindings&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-A&amp;lt;/tt&amp;gt; || Move to the end of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-E&amp;lt;/tt&amp;gt; || Move to the beginning of the line.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-F&amp;lt;/tt&amp;gt; || Move forward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-B&amp;lt;/tt&amp;gt; || Move backward one character.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-F&amp;lt;/tt&amp;gt; || Move forward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-B&amp;lt;/tt&amp;gt; || Move backward one word.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || Delete one character forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-H&amp;lt;/tt&amp;gt; || Delete one character backward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-D&amp;lt;/tt&amp;gt; || Delete one word forward.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-W&amp;lt;/tt&amp;gt; || Delete one word backwards.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-K&amp;lt;/tt&amp;gt; || Delete (Kill) everything from the cursor forwards (to the end of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-U&amp;lt;/tt&amp;gt; || Delete everything from the cursor backwards (to the beginning of the line).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-T&amp;lt;/tt&amp;gt; || Transpose two characters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ALT-T&amp;lt;/tt&amp;gt; ||	Transpose two words.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;ESC .&amp;lt;/tt&amp;gt; || Insert the last argument (word) from the previous command.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-X-X&amp;lt;/tt&amp;gt; || Move between end of line and current cursor position&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 2. Common control key bindings&lt;br /&gt;
|width=&amp;quot;80pt&amp;quot;| &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; || Terminate the current program, or sometimes cancel some operation.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-\&amp;lt;/tt&amp;gt; || Seriously kill the current program! Use only after &amp;lt;tt&amp;gt;CTRL-C&amp;lt;/tt&amp;gt; has failed.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-D&amp;lt;/tt&amp;gt; || End-of-file. This is often used to signal the end of input, or to exit a program.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-G&amp;lt;/tt&amp;gt; || Cancel the current operation. An occasionally useful command to get yourself out of things.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-L&amp;lt;/tt&amp;gt; || Redraw the console. Mostly useful if some program running in the background spews a lot of stuff onto your terminal.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Q&amp;lt;/tt&amp;gt; || The only time you need this is if you accidently hit &amp;lt;tt&amp;gt;CTRL-S&amp;lt;/tt&amp;gt;. In that case the console is locked until you hit CTRL-Q to unlock it. Apparently once a long long time ago this was actually a useful feature.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; || Recall command containing characters. After hitting &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt;, type the fragment you want to search for. If it returns a command which isn&#039;t the one one want, hit &amp;lt;tt&amp;gt;CTRL-R&amp;lt;/tt&amp;gt; again to cycle through matches.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;CTRL-Z&amp;lt;/tt&amp;gt; || Suspend the current program and put it in the background. This is very useful once you figure out how it works. Refer to the section on putting jobs in the background.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Using scp to copy files between computers====&lt;br /&gt;
&lt;br /&gt;
scp is a secure copy command that works bewteen computers.  Typically any computer that supports ssh also supports scp.  You must have an actual user account on the target computer, so for example you typically won&#039;t be able to scp to mike.kin .&lt;br /&gt;
&lt;br /&gt;
scp works just like the cp command, with a few extra decorations:&lt;br /&gt;
&lt;br /&gt;
 scp eric@mighty-mac.kin.ucalgary.ca:Documents/important_file.txt .&lt;br /&gt;
&lt;br /&gt;
In this example the file I want to copy is on the computer mighty-mac.kin.ucalgary.ca, and I used eric@ to specify my user name.  You can leave off the user name if it is the same on both computers.  The period as the destination is just standard Unix short-hand for the current directory.  You can use the -r flag to copy whole directories.  For example:&lt;br /&gt;
&lt;br /&gt;
 scp -r calculations mighty-mac.kin.ucalgary.ca:Documents/Projects&lt;br /&gt;
&lt;br /&gt;
In this example calculations is a directory containing many files, and possibly subdirectories.  This example copies files to mighty-mac instead of from it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Running long calculations====&lt;br /&gt;
&lt;br /&gt;
Here are some useful tips for running long jobs.&lt;br /&gt;
&lt;br /&gt;
=====Getting the prompt back after starting a job=====&lt;br /&gt;
&lt;br /&gt;
Use &amp;amp; at the end of the command. This puts the job in the background. For example:&lt;br /&gt;
&lt;br /&gt;
 ./myjob someargs &amp;amp;&lt;br /&gt;
&lt;br /&gt;
To see all your background jobs (the ones started in the current shell), enter:&lt;br /&gt;
&lt;br /&gt;
 jobs&lt;br /&gt;
&lt;br /&gt;
To bring one of these to the foreground, use:&lt;br /&gt;
&lt;br /&gt;
 fg %n&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;n&amp;lt;/tt&amp;gt; is the job number (yes it needs a &amp;lt;tt&amp;gt;%&amp;lt;/tt&amp;gt; in front of it). To move it to the background again, hit CTRL-Z. This however doesn&#039;t just move the job to the background, it suspends it. To get it running again, use&lt;br /&gt;
&lt;br /&gt;
 bg %n&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Keeping a job running after you log out=====&lt;br /&gt;
&lt;br /&gt;
Use nohup. For example, suppose you want to run &amp;lt;tt&amp;gt;./myjob 20&amp;lt;/tt&amp;gt;. In this case, you could use:&lt;br /&gt;
&lt;br /&gt;
 nohup nice ./myjob 20 &amp;amp;&amp;gt; output &amp;amp;&lt;br /&gt;
&lt;br /&gt;
There are several things to note here:&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;tt&amp;gt;&amp;amp;&amp;lt;/tt&amp;gt; at the end of the command line is there so you get the command prompt back immediately (see the previous section).&lt;br /&gt;
* We have redirected the output to a file out_file with &amp;lt;tt&amp;gt;&amp;amp;&amp;gt; output&amp;lt;/tt&amp;gt;. If you don&#039;t do this, any output to STDIN (normally the console) will automatically go into a file called &amp;lt;tt&amp;gt;nohup.out&amp;lt;/tt&amp;gt;.&lt;br /&gt;
* We&#039;ve niced the job to reduce it&#039;s execution priority. This is courteous if you&#039;re a multiuser system. &lt;br /&gt;
&lt;br /&gt;
If you want to see what&#039;s in nohup.out (or whatever you called it) at any time, you can do the usual&lt;br /&gt;
&lt;br /&gt;
 cat nohup.out&lt;br /&gt;
&lt;br /&gt;
Here&#039;s another potentially more useful command:&lt;br /&gt;
&lt;br /&gt;
 tail -f nohup.out&lt;br /&gt;
&lt;br /&gt;
tail shows you the last few lines of the files. In addition, the -f flag (&amp;quot;follow&amp;quot;) means that as lines get added to the file, they are displayed on the screen. This looks just like when you run the program without nohup, except when you hit CTRL-C, the program keeps on running in the background.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Finding out if any of your jobs are still running=====&lt;br /&gt;
&lt;br /&gt;
This command will show all jobs that belong to user &amp;quot;eric&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
Another useful command is &amp;quot;top&amp;quot;, which will show interactively which processes are using the most processor cycles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Terminating a job prematurely=====&lt;br /&gt;
&lt;br /&gt;
If you decide that you want to kill the job before it completes, this is the command:&lt;br /&gt;
&lt;br /&gt;
 kill PID&lt;br /&gt;
&lt;br /&gt;
where PID is the actual PID (a number) of the process.  You find the PID with &#039;top&#039; or &#039;ps -u eric&#039;  (replace eric by your user ID of course).&lt;br /&gt;
&lt;br /&gt;
Occasionally a process will decline to terminate when you request it to.  This is the more brutal, never-fails method to kill a job immediately:&lt;br /&gt;
&lt;br /&gt;
 kill -s KILL PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Suspending a long-running job and restarting it later=====&lt;br /&gt;
&lt;br /&gt;
First find the PID (process ID) with top or with ps. For example, I might list all jobs belonging to me with:&lt;br /&gt;
&lt;br /&gt;
 ps -u eric&lt;br /&gt;
&lt;br /&gt;
To stop the job, send it a STOP signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s STOP PID&lt;br /&gt;
&lt;br /&gt;
(replace PID with the actual PID number). It is now no longer running, but it still occupies memory (although the memory it uses will probably be swapped out to disk). When you want to resume execution, give it a CONT signal:&lt;br /&gt;
&lt;br /&gt;
 kill -s CONT PID&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Graphical Applications==&lt;br /&gt;
&lt;br /&gt;
===Calendar - Fix corruption===&lt;br /&gt;
&lt;br /&gt;
Sometimes the calendar file can be corrupted, which is annoying every time you log onto the system. &lt;br /&gt;
&lt;br /&gt;
When we login to a server through a workstation, there is a &amp;quot;File is not a Calendar Datafile.&amp;quot; information message pops up.&lt;br /&gt;
&lt;br /&gt;
This means that the calendar database got corrupted during an improper interruption such as a system crash due to a power outage.&lt;br /&gt;
&lt;br /&gt;
To fix this, you will need to login to the Server through the Workstation&lt;br /&gt;
&lt;br /&gt;
Once logged in:&lt;br /&gt;
 cd xdefaults&lt;br /&gt;
 dir *calendar*.dat  /date&lt;br /&gt;
&lt;br /&gt;
Delete the calendar file for the workstation, such as the following James workstation:&lt;br /&gt;
 del decw$calendar_sc3401.dat&lt;br /&gt;
&lt;br /&gt;
Once logged out and logged in again, you will be asked if you want to create a new calendar file. &lt;br /&gt;
Say &amp;quot;yes&amp;quot; there and a new calendar will open. &lt;br /&gt;
&lt;br /&gt;
In the calendar window menu &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;general&amp;quot; set the &amp;quot;start iconized&amp;quot; -&amp;gt; apply and &amp;quot;ok&amp;quot;, then &amp;quot;options&amp;quot; -&amp;gt; &amp;quot;save settings&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
So next time you log in, the calendar window will be minimized in the right lower corner.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Session Manager - Create a customized button===&lt;br /&gt;
The session manager part to enable the double-click on the AIM file:&lt;br /&gt;
Session Manager, &#039;Options&#039;, &#039;Menu&#039;, enter new item&lt;br /&gt;
SAP&lt;br /&gt;
with command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@decw$user_defaults:sap$vue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then move that menu point into &#039;Applications&#039; menu.&lt;br /&gt;
Also:&lt;br /&gt;
&#039;Options&#039;, &#039;File types&#039;, Create &#039;AIM&#039; file type.&lt;br /&gt;
Move &#039;rename&#039;, &#039;copy&#039;, &#039;purge&#039; etc. into menu, Select &#039;SAP&#039;, click  on&lt;br /&gt;
&#039;Change double click&#039;, and also move SAP into menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===EVE Editor===&lt;br /&gt;
&lt;br /&gt;
====Launch EVE editor====&lt;br /&gt;
&lt;br /&gt;
On the command line&lt;br /&gt;
  $ edit/display=decwindows/tpu fname.txt&lt;br /&gt;
&lt;br /&gt;
Or to set it up permanently, edit &amp;lt;code&amp;gt;DISK1:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; to include &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Configure EVE editor====&lt;br /&gt;
&lt;br /&gt;
The following file, called &amp;lt;code&amp;gt;tpu.dat&amp;lt;/code&amp;gt;, should be installed in &amp;lt;code&amp;gt;disk1:[microct.xdefaults]:&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# DECTPU V3.1 1993-04-22 15:50 defaults&lt;br /&gt;
# CHANGED B.KOLLER 21-JUN-90&lt;br /&gt;
#&lt;br /&gt;
# Copyright (c) 1993 Digital Equipment Corporation.  All rights reserved.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# The following are all the resource names that DECTPU supports.&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Title:		DECTPU Copyright © Digital Equipment Corporation 1992.  All Rights Reserved.&lt;br /&gt;
Tpu.Tpu$MainWindow.ApplicationTitle:	DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.IconName:		DECTPU&lt;br /&gt;
Tpu.Tpu$MainWindow.X:			610&lt;br /&gt;
Tpu.Tpu$MainWindow.Y:			0&lt;br /&gt;
#&lt;br /&gt;
# The following resource names are commented out so that users can specify&lt;br /&gt;
# *rows and *columns and have DECTPU obey those directives.  If DECTPU finds&lt;br /&gt;
# finds no resource names governing the number of rows and columns it should&lt;br /&gt;
# have, it uses 24 rows and 80 columns.&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
Tpu.Tpu$MainWindow.Columns:	80&lt;br /&gt;
Tpu.Tpu$MainWindow.Rows:	56&lt;br /&gt;
*EVE_MENU_BAR*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmScrollBar*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmDialogShell*background:	#ADADADADADAD&lt;br /&gt;
Tpu*XmMenuShell*background:	#ADADADADADAD&lt;br /&gt;
*background:			white&lt;br /&gt;
Tpu*condensedFont: OFF&lt;br /&gt;
Tpu*fontSetSelection: 0&lt;br /&gt;
&lt;br /&gt;
# 0 = big font&lt;br /&gt;
# 1 = little font&lt;br /&gt;
# 2 = GS font (German Standard)&lt;br /&gt;
# 3 = Fine font (used only for non-latin 1 fonts?)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====EVE editor Commands====&lt;br /&gt;
&lt;br /&gt;
* mark -&amp;gt; ctrl-space&lt;br /&gt;
* delete -&amp;gt; remove (delete)&lt;br /&gt;
* insert -&amp;gt; insert here (insert)&lt;br /&gt;
* learn -&amp;gt; ctrl-k (ctrl-r to stop)&lt;br /&gt;
* The right &#039;alt&#039; key on the PC accesses the menu for EVE.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| copy&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;Remove&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;Insert Here&amp;amp;gt;&amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt; &amp;lt;code&amp;gt; &amp;lt;ctrl&amp;amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| cut&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;Remove&amp;amp;gt; &amp;lt;/code&amp;gt; on VMS &amp;lt;i&amp;gt;or &amp;lt;/i&amp;gt;&amp;lt;code&amp;gt;&amp;amp;lt;delete&amp;amp;gt; &amp;lt;/code&amp;gt; on PC&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt; &amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;#&amp;amp;gt;&amp;amp;lt;(CTRL-Q)&amp;amp;gt; &amp;lt;/code&amp;gt; (the &amp;lt;code&amp;gt;CTRL-Q &amp;lt;/code&amp;gt; depends on the given key sequence).&lt;br /&gt;
|-&lt;br /&gt;
| find next&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter search string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;PF3&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| replace string&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF1&amp;amp;gt;&amp;amp;lt;S&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| margins&lt;br /&gt;
| Mouse click bottom of window type: &amp;lt;code&amp;gt;set right 999&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;PF4&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*To avoid having the EVE editor automatically create multiple lines from a long input sequence set the margins [FORMAT - SET MARGINS] to some high number eg. 500.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use Commands Remotely with XWin32====&lt;br /&gt;
&lt;br /&gt;
Default key settings:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| remove (cut) and append to previous paste buffer&lt;br /&gt;
| &amp;lt;code&amp;gt;9&amp;lt;/code&amp;gt; (nine on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| paste&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;insert&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| learn&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;K&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| stop&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;R&amp;amp;gt;&amp;lt;/code&amp;gt; (then give a key sequence such as &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Q&amp;amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| repeat&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;-Q&amp;lt;/code&amp;gt; or given key sequence&lt;br /&gt;
|-&lt;br /&gt;
| kill word&lt;br /&gt;
| - (minus key on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| advance next line&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; (zero on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| go to end of line&lt;br /&gt;
| &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; (two on number pad) or &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;E&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of line&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;backspace&amp;amp;gt; or &amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;H&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| go to start of word&lt;br /&gt;
| &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; (one on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| delete line to left of cursor&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;U&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off select text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;SPACE&amp;amp;gt; or .&amp;lt;/code&amp;gt; (on number pad)&lt;br /&gt;
|-&lt;br /&gt;
| select all text&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;O&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| turn on/off overstrike&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;A&amp;amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
| save and exit&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;Z&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| enter command&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may find it useful to define keys. For example, define keys to cut, copy and paste:&lt;br /&gt;
&lt;br /&gt;
*To Cut &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;X&amp;amp;gt;&amp;lt;/code&amp;gt;:    &lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/x cut&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Copy &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;C&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/c copy&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*To Paste &amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;V&amp;amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;amp;lt;CTRL&amp;amp;gt;&amp;amp;lt;B&amp;amp;gt;&amp;lt;/code&amp;gt; (enter command)&lt;br /&gt;
:Command:  &amp;lt;code&amp;gt;define key=Ctrl/v paste&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use terminal based editor (EVE)====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ edit file.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you are using this from a remote terminal, you will need to initiate a vt100 terminal.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set term /vt100&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some useful commands:&lt;br /&gt;
:* ctrl-z -&amp;gt; exit with save&lt;br /&gt;
:* ctrl-y -&amp;gt; kill without saving&lt;br /&gt;
:* do-key, then type &#039;quit&#039; or &#039;exit&#039; (what is the do key on a remote terminal?)&lt;br /&gt;
:* PF2 -&amp;gt; shows special keypad functions&lt;br /&gt;
:* GoldKey -&amp;gt; PF1&lt;br /&gt;
&lt;br /&gt;
====Use EVE editor Remotely====&lt;br /&gt;
For remote sessions, once used $ EVE to start the text editor, press Ctrl-B to bring up a command line at the bottom of the screen.&lt;br /&gt;
&lt;br /&gt;
*Command: @eveconfig&lt;br /&gt;
&lt;br /&gt;
This will set backspace to delete normally.&lt;br /&gt;
*Ctrl-X cut&lt;br /&gt;
*Ctrl-C copy&lt;br /&gt;
*Ctrl-V paste&lt;br /&gt;
*Ctrl-S save file&lt;br /&gt;
*Ctrl-L learn command&lt;br /&gt;
*Ctrl-F find next&lt;br /&gt;
*Ctrl-Q quit&lt;br /&gt;
*Ctrl-O open&lt;br /&gt;
*Ctrl-space to select&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout Views===&lt;br /&gt;
====View scout views in two locations====&lt;br /&gt;
Go to scout view directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT side:&lt;br /&gt;
$ cd DISK1:[MICROCT.DATA.SCOUTS]&lt;br /&gt;
&lt;br /&gt;
VivaCT side:&lt;br /&gt;
$ cd ADISK1:[VIVACT.DATA.SCOUTS]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the program ximage&lt;br /&gt;
&amp;lt;pre&amp;gt;$ x asdf.SCV&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For XtremeCT users, 2 sets of scout views are saved. Scout views can be viewed from the main scouts directory (above) and in the data directory under specific patient and measurement numbers. For example using patient #: 2795 and meas#:9933: &lt;br /&gt;
 $ cd DISK2:[MICROCT.DATA.00002795.00009933]&lt;br /&gt;
 $ x C00008848.SCV&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reuse old scout views====&lt;br /&gt;
Reference SCV files are not overwritten. When you Save a new reference within the scout view Dialog, it writes a new version that is read by the measurement program.&lt;br /&gt;
&lt;br /&gt;
If you want to return to an old scout view reference, you will have to manipulate files manually.&lt;br /&gt;
&lt;br /&gt;
Typically all the scouts are accessible here:&lt;br /&gt;
  DISK1:[MICROCT.DATA.SCOUTS]0000PPPPSS.SCV&lt;br /&gt;
&lt;br /&gt;
PPPP being the patient number, and SS the Site Code number [i.e. 20,21,38,39 = RL, RR, TL, TR].&lt;br /&gt;
&lt;br /&gt;
Assuming you have only version;1 and ;2 what you can do is to rename/delete version;2, so that it is not read anymore by the measurement program.&lt;br /&gt;
Or copy version;1 as version;3, but this is rather messy.&lt;br /&gt;
&lt;br /&gt;
Note: Do not look in the measurement directories. There are copies of the SCV files, but those are not the one called by the measurement program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==File Operations==&lt;br /&gt;
&lt;br /&gt;
===Copy and Move===&lt;br /&gt;
====Copy files between accounts/users====&lt;br /&gt;
&lt;br /&gt;
As user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; you can copy files between accounts (e.g., microct and devel).  There is no need to set user/priv=bypass as this is set by default as user system.&lt;br /&gt;
&lt;br /&gt;
If you want to copy between two users (i.e. normal users, not calibration or system), then you can only write on the user directories for which you are logged in. So, if you want&lt;br /&gt;
to copy files from account xtremect2 to microct, you need to log into microct account and copy the file from xtremect2 to microct&lt;br /&gt;
&lt;br /&gt;
If you want to use the backup command for copying multiple subdirectories with &lt;br /&gt;
the three dots (e.g., &amp;lt;code&amp;gt;disk2:[microct.data.00000034...]&amp;lt;/code&amp;gt;) then you HAVE to put an &amp;lt;code&amp;gt;/owner=devel&amp;lt;/code&amp;gt; at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/log disk2:[microct.data.00000034...] -&lt;br /&gt;
        disk2:[devel.data.00000034...]/own=devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a directory on the same device====&lt;br /&gt;
&lt;br /&gt;
You can simply use the rename command to move a directory on the same device, but you need to set DELETE protection for the file owner for this to work&lt;br /&gt;
 $ set prot=o:rwed &amp;lt;dir&amp;gt;.dir&lt;br /&gt;
 $ ren &amp;lt;dir&amp;gt;.dir new:[parent.directory]&lt;br /&gt;
 $ set prot=o:rwe new:[parent.directory]&amp;lt;dir&amp;gt;.dir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Move a whole directory structure with BACKUP command====&lt;br /&gt;
&lt;br /&gt;
Sometimes we want to move entire directories. For example, moving a measurement directory from DISK2 to DISK6, or moving a project to another disk. &lt;br /&gt;
&lt;br /&gt;
Here is how to move a project:&lt;br /&gt;
  $ BACKUP DISK2:[MICROCT.PROJECTS...] DISK3:[MICROCT.PROJECTS...]/VERIFY&lt;br /&gt;
&lt;br /&gt;
Note the use of &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; in both places.&lt;br /&gt;
&lt;br /&gt;
If you move a data measurement, you could do it as follows:&lt;br /&gt;
  $ BACKUP DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
In both cases, you can add a &amp;lt;code&amp;gt;/DELETE&amp;lt;/code&amp;gt; command to so that it deletes after the move is completed and verified.&lt;br /&gt;
  $ BACKUP/VERIFY/DELETE DISK2:[XTREMECT2.DATA...] DISK6:[XTREMECT2.DATA...]/LOG/VERIFY&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can simply check that the move was successful, and then delete the original files:&lt;br /&gt;
  $ delete disk2:[microctt.projects...]*.*;*&lt;br /&gt;
  $ dl disk2:[microctt.projects...]*.dir     ! A for all; do until sub-dirs are gone&lt;br /&gt;
&lt;br /&gt;
Note that I&#039;ve misspelled &amp;quot;microctt&amp;quot; on purpose as these commands are VERY dangerous. You could wipe out a lot of data by accident. Be careful!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix corrupted VMS files when moved to or from a PC====&lt;br /&gt;
&lt;br /&gt;
We start by getting good file format/attributes from a good aim/isq/gobj, etc.&lt;br /&gt;
&lt;br /&gt;
  $ ana/rms/fdl/out=correct.fdl good.aim&lt;br /&gt;
&lt;br /&gt;
Then we edit the file correct.fdl, leaving only 5 lines:&lt;br /&gt;
  RECORD&lt;br /&gt;
        BLOCK_SPAN                        yes&lt;br /&gt;
        CARRIAGE_CONTROL                  none&lt;br /&gt;
        FORMAT                            fixed&lt;br /&gt;
        SIZE                              512&lt;br /&gt;
 &lt;br /&gt;
Now we have to set the file attributes of the affected aim (isq, gobi) file:&lt;br /&gt;
&lt;br /&gt;
  $ set file/attr=lrl=514 bad.aim    ! Yes, 514&lt;br /&gt;
  $ set file/attr=lrl=514 *.AIM        ! do a bunch at a time&lt;br /&gt;
&lt;br /&gt;
Finally we create a fixed file&lt;br /&gt;
&lt;br /&gt;
  $ convert/fdl=correct.fdl/trunc bad.aim converted.aim&lt;br /&gt;
&lt;br /&gt;
This process discards the superfluous 2 bytes, usually caused by transferring to/from a PC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Delete===&lt;br /&gt;
&lt;br /&gt;
====Delete older versions of files====&lt;br /&gt;
Use the PURGE command.[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution! &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ PURGE	                                        !Removes older versions of all files in the directory! CAREFUL!!!!&lt;br /&gt;
$ PURGE myfile.aim                              !Removes older versions of myfile.aim.&lt;br /&gt;
$ PURGE /KEEP=3                                 !Removes all but the three most recent versions of all files.&lt;br /&gt;
$ HELP PURGE	                                !More information on the PURGE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Undelete Files====&lt;br /&gt;
&lt;br /&gt;
The Disk/File Utility (DFU) will allow you to restore files that have been deleted, however, you will only be able to do so if the disk space hasn&#039;t been overwritten.  This means that unless all scanning and access to the disk is stopped, you likely only have a couple of hours at most to undelete the files. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Login as the system user and start the disk file utility program, DFU. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dfu&lt;br /&gt;
DFU&amp;gt; undelete diskX: /file=myfile OR undelete filepath/filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For example, suppose we want to restore an RSQ (C0001234.RSQ) that was deleted from the BH data disk (disk2):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; undelete disk2:/file=C0001234.RSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If the file can be undeleted successfully (i.e., without corruption), then you will be asked if you wish to restore the file.  Type &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
When done restoring desired files, to get out of dfu: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DFU&amp;gt; exit&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*The undelete function will lock access to the disk while it searches for a file and until you respond &amp;quot;y&amp;quot; or &amp;quot;n&amp;quot; to restoring it.  This means that all programs and commands trying to access the disk (i.e., by other people using the system) will appear to freeze momentarily until the disk is unlocked.  &lt;br /&gt;
*If you search for a specific file, the lock period will be very short (maybe 15-30 seconds).  If you search for files in general (e.g., *.RSQ), the lock period will be longer (maybe 5 to 10 minutes).  &lt;br /&gt;
*You cannot search specific locations for files (i.e., a folder on a disk).  &lt;br /&gt;
*Files are restored to their original location on disk.&lt;br /&gt;
*More information on DFU can be found here: http://digiater.nl/dfu.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Delete a directory====&lt;br /&gt;
Use the DL command (this calls the script $ @SCOM:DL.COM), but first remove all files from the directory.&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  	                                        &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ DL subdir.dir;	                        !Deletes subdir.dir with confirmation.&lt;br /&gt;
$ DL disk:[dir.subdir...]*.dir                  !* for all; do until subdirs are gone.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the DELETE command, but first remove all files from the directory and set file protections to enable deletion of the directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROT=O:RWED [.subdir...]*.*;*        !Changes protections so you can delete the files.  O is short for OWNER and RWED refers to Read, Write, Edit, Delete.&lt;br /&gt;
$ DEL [.subdir...]*.*;*                         !Deletes all files in subdir. CAREFUL!!!&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED subdir.dir         !Changes protections so you can delete the subdirectory subdir.dir.  &lt;br /&gt;
$ DEL subdir.dir;                               !Deletes the subdirectory.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the file cannot be deleted to due a permission error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ purge 12_RAD_FX.AIM&lt;br /&gt;
%PURGE-W-FILNOTPUR, error deleting DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
-RMS-E-FLK, file currently locked by another user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set ho 0                                      ! log in as calibration&lt;br /&gt;
$ spb &lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that still doesn&#039;t work, then maybe you need to kill a process first:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device  disk4 /file                      ! shows all the files currently involved in a process&lt;br /&gt;
$ set ho 0                                      ! log in as &#039;system&#039;&lt;br /&gt;
$ stop /id=2081F1EC&lt;br /&gt;
$ del DISK4:[BONELAB.PROJECTS.MULTILOAD.CAMOS]12_RAD_FX.AIM;1&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Authorizations===&lt;br /&gt;
&lt;br /&gt;
====Can not write a Projects directory====&lt;br /&gt;
In principal, all Scanco user accounts (even including the calibration ones) should have read and write access to the Projects directories. While it (denied writing access to a Project folder) did happen for some reason, you could let lab administrator know and carefully run the following command to overwrite the authority, or switch to microct or xtremct2 account to perform as a walkaround. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set file disk4:[bonelab.projects...]*.dir /prot=g:rwe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Administrative Commands==&lt;br /&gt;
&lt;br /&gt;
===Query commands===&lt;br /&gt;
====Check licenses on VMS system====&lt;br /&gt;
&lt;br /&gt;
This can be used to see what educational licenses (and other licenses) are currently on the system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW LICENSE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply for an educational license go to http://www.openvmsedu.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check MAC address of VMS system====&lt;br /&gt;
You can check them using the command&lt;br /&gt;
  $ mcr lancp sh dev/char&lt;br /&gt;
For example, the result on percy.kin.ucalgary.ca gives&lt;br /&gt;
&lt;br /&gt;
  Device Characteristics EIA0:&lt;br /&gt;
                  Value  Characteristic&lt;br /&gt;
                  -----  --------------&lt;br /&gt;
                   1500  Device buffer size&lt;br /&gt;
                 Normal  Controller mode&lt;br /&gt;
               External  Internal loopback mode&lt;br /&gt;
      00-02-A5-20-29-99  Hardware LAN address&lt;br /&gt;
                         Multicast address list&lt;br /&gt;
                CSMA/CD  Communication medium&lt;br /&gt;
      FF-FF-FF-FF-FF-FF  Current LAN address&lt;br /&gt;
                    128  Minimum receive buffers&lt;br /&gt;
                    256  Maximum receive buffers&lt;br /&gt;
                    Yes  Full duplex enable&lt;br /&gt;
                    Yes  Full duplex operational&lt;br /&gt;
            TwistedPair  Line media type&lt;br /&gt;
                    100  Line speed (mbps)&lt;br /&gt;
    Disabled/No Failset  Logical LAN state&lt;br /&gt;
                      0  Failover priority&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update commands===&lt;br /&gt;
&lt;br /&gt;
====Change hosts====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr latcp show service *                      ! and if it shows you SCTHIN:&lt;br /&gt;
$ set host scthin                               ! or&lt;br /&gt;
$ set host scthin/lat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update OpenVMS Licenses====&lt;br /&gt;
This needs to be done on all the Calgary workstations, XtremeCT, vivaCT40/uCT35, and uCT100.&amp;lt;br&amp;gt;&lt;br /&gt;
Request licenses from HP:&lt;br /&gt;
*School Identification (for U of C): 855803-9502&lt;br /&gt;
*License type: OpenVMS VAX/Alpha (uCT100: OpenVMW Integrity) Layered Products?  (Or try others)&lt;br /&gt;
*Member of DSPP or AlicanceONE: No&lt;br /&gt;
*Do you use a VAX or Alpha Emulator: No&lt;br /&gt;
&lt;br /&gt;
On every workstation, you need to check which licenses are loaded and update those with a termination date.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show license&lt;br /&gt;
&lt;br /&gt;
Active licenses on node SCEVA3:&lt;br /&gt;
&lt;br /&gt;
------- Product ID --------    ---- Rating ----- -- Version --&lt;br /&gt;
Product            Producer    Units PCL   Activ Version Release    Termination&lt;br /&gt;
C                  DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
CXX-V              DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
FORTRAN            DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
LSE                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
MMS                DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
VMSCLUSTER         DEC             0  0     100    0.0  (none)       1-OCT-2012&lt;br /&gt;
OPENVMS-I64-FOE    HP              4  1     0      0.0  (none)      (none)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
*HP will provide you with a script file ([[media:Openvms_license_update_hp.docx |&#039;&#039;&#039;Example script from HP&#039;&#039;&#039; ]]) containing a large number of licenses. &lt;br /&gt;
*Modify the script to contain only the relevant licenses and load the licenses ([[Media:Openvms_license_update.docx |&#039;&#039;&#039;Example modified script&#039;&#039;&#039;]]).&lt;br /&gt;
*Login as user: system&lt;br /&gt;
*Re-check the licenses on the workstation to ensure that the termination date has been updated.&lt;br /&gt;
*The date after expiry, if cannot log in, then there is a problem with the VMS Cluster license, which was installed by Scanco. Contact Mark Blanchard (mblanchard@scanco.ch) about this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understanding how to set default parameters with OpenVMS====&lt;br /&gt;
&lt;br /&gt;
Here is how the files all hang together...&lt;br /&gt;
&lt;br /&gt;
LOGIN.COM is called automatically during login and calls&lt;br /&gt;
::MICROCT_SETUP.COM, which sets the scanner ID, data device, etc. This file calls&lt;br /&gt;
::::MICROCT_SETUP_COMMON.COM to create general settings. This file is located in DISK0:[MICROCT_COMMON] and calls&lt;br /&gt;
::::::MICROCT_FE.COM, if present, to setup the environment for Bert&#039;s FE program&lt;br /&gt;
::::::MICROCT_SETUP_SITE_SPECIFIC.COM to create local settings for all accounts (e.g. ICALC)&lt;br /&gt;
::::::MICROCT_SETUP_COMMON_*.COM, if present, typically to create application-specific settings for all accounts&lt;br /&gt;
::::::MICROCT_SETUP_GROUP_*.COM, if present, to create local settings for specific groups (e.g. group 3401)&lt;br /&gt;
::MICROCT_SETUP_USER.COM to create user-specific settings.&lt;br /&gt;
&lt;br /&gt;
Note that the $UM designation is the MAIN directory, and the location of the binary files. To see a list: &lt;br /&gt;
&lt;br /&gt;
  $ dir DISK0:[MICROCT_COMMON.MAIN]&lt;br /&gt;
&lt;br /&gt;
This is where you&#039;ll find IPL_SCANCO_FE.EXE, IPL_SCANCO_M.EXE, etc.&lt;br /&gt;
&lt;br /&gt;
Lots of stuff here:&lt;br /&gt;
&lt;br /&gt;
  Directory DISK0:[MICROCT_COMMON]&lt;br /&gt;
&lt;br /&gt;
  3309.DIR;1          DATABASE.DIR;1      DEMO.DIR;1          EVAL.DIR;1         &lt;br /&gt;
  MAIN.DIR;1          TEMPLATES.DIR;1     TIPS.DIR;1          UIL.DIR;1          &lt;br /&gt;
  UTIL.DIR;1          WWW.DIR;1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Edit Symbol====&lt;br /&gt;
&lt;br /&gt;
=====Edit SCANCO_SUBMIT_COMMAND=====&lt;br /&gt;
&lt;br /&gt;
*Check the current setting:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show sym *submit*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In directory &amp;lt;code&amp;gt;DISK2:[MICROCT]MICROCT_SETUP_USER.COM&amp;lt;/code&amp;gt; add the following line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SCANCO_SUBMIT_COMMAND :== SUBMIT/NOPRINT/QUE=SYS$SLOW /NOTIFY/LOG=SYS$SCRATCH:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then end session and log in again.  Definition of the symbol in the &lt;br /&gt;
&amp;lt;code&amp;gt;MICRO_SETUP_USER.COM&amp;lt;/code&amp;gt; supersedes the standard setting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Edit AIX=====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Log in as user calibration (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user.&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
 $ set proc/priv=bypass&lt;br /&gt;
Or &lt;br /&gt;
 $ spb&lt;br /&gt;
Change to the MICROCT_COMMANDS directory.&lt;br /&gt;
 $ cdc &lt;br /&gt;
 $ sea *.com aix&lt;br /&gt;
 $ eve microct_setup_common.com&lt;br /&gt;
Edit the file which is called &amp;lt;code&amp;gt;MICROCT_SETUP_COMMON.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Another example&#039;&#039;: To make the backspace/insert keys work properly, edit the &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt; and insert the line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set terminal/insert&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Anywhere suitable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Time====&lt;br /&gt;
=====Change system date and time=====&lt;br /&gt;
The OpenVMS system should adjust for daylight savings, however, this is currently incorrect for the alpha systems.  The alpha systems will need to be manually moved forward in March and moved back in April. To do this, you will need to login as system&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ show time&lt;br /&gt;
$ set time=dd-mmm-yyyy:hh:mm:ss/cluster   !/cluster to change the time on all computers at once&lt;br /&gt;
$ set time=01-APR-2012:18:00/cluster      !Example:  Set the system to April 1, 2012, 6 pm.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Set time zone=====&lt;br /&gt;
As user system:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:utc$time_setup&lt;br /&gt;
Choose &amp;quot;CANADA&amp;quot; from the menu.&lt;br /&gt;
Choose &amp;quot;MOUNTAIN&amp;quot; from the menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Disable Distributed Time Synchronization Service (DTSS)=====&lt;br /&gt;
DTSS will automatically adjust the clocks for daylight savings (i.e., 2am to 1am on the 2nd Sunday in March, 2am to 3am on the 1st Sunday in November).  As user system:&lt;br /&gt;
&lt;br /&gt;
 $ mcr ncl disable dtss&lt;br /&gt;
 $ mcr ncl delete dtss&lt;br /&gt;
 $ eve sys$startup:sylogicals.com&lt;br /&gt;
&lt;br /&gt;
Add line to disable DTSS&lt;br /&gt;
  $ DEFINE/SYSTEM/EXEC NET$DISABLE_DTSS TRUE&lt;br /&gt;
Save and exit.&lt;br /&gt;
Now re-set the time zone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Configure Network Time Protocol (NTP) server to synchronize clocks=====&lt;br /&gt;
*NTP must be configured for each node (computer).  Login as user system.&lt;br /&gt;
NTP can only synchronize the system clock if the error is less than 1000 seconds. &lt;br /&gt;
 &lt;br /&gt;
Synchronize the system clock to UofC&#039;s NTP server (ensures time is correct to within 1000s):&lt;br /&gt;
&lt;br /&gt;
 $ mcr sys$system:tcpip$ntpdate ntp.cpsc.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
Enable NTP:&lt;br /&gt;
&lt;br /&gt;
 $ cd sys$startup&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
   3 - Server components&lt;br /&gt;
   12 - NTP&lt;br /&gt;
   1 – Enable service on this node&lt;br /&gt;
   E – Exit menu&lt;br /&gt;
   E – Exit configuration procedure&lt;br /&gt;
   N – don’t start service&lt;br /&gt;
&lt;br /&gt;
Create the NTP configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ sys$sysroot:[tcpip$ntp]&lt;br /&gt;
 $ copy/log tcpip$ntp.template tcpip$ntp.conf&lt;br /&gt;
 $ eve tcpip$ntp.conf&lt;br /&gt;
&lt;br /&gt;
Comment out existing peer and server entries (# for comments).&lt;br /&gt;
Add entries for local servers.&lt;br /&gt;
        server ntp.cpsc.ucalgary.ca&lt;br /&gt;
        server ntp1.cpsc.ucalgary.ca&lt;br /&gt;
Save and exit.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Start NTP:&lt;br /&gt;
&lt;br /&gt;
 $ @sys$startup:tcpip$ntp_startup&lt;br /&gt;
&lt;br /&gt;
Check the log:&lt;br /&gt;
&lt;br /&gt;
 $ type/cont/int=1 sys$sysroot:[tcpip$ntp]tcpip$ntp_run.log&lt;br /&gt;
&lt;br /&gt;
Sample log file:&lt;br /&gt;
&lt;br /&gt;
 $ Set NoOn&lt;br /&gt;
 $ VERIFY = F$VERIFY(F$TRNLNM(&amp;quot;SYLOGIN_VERIFY&amp;quot;))&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: ntpd version = 4.1.0&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: precision = 976 usec&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: drift file &#039;SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT&#039; does not exist: no such file or directory&lt;br /&gt;
   11 Apr 09:22:34 ntp[547708872]: will attempt to create drift file &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Setup Email====&lt;br /&gt;
=====Setup email server=====&lt;br /&gt;
The SMTP protocol is not enabled by default. If you use &amp;lt;code&amp;gt;tcpip$config&amp;lt;/code&amp;gt; you can switch on the mail server under Client Components. As system:&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
 $ @SYS$MANAGER:TCPIP$CONFIG&lt;br /&gt;
Or&lt;br /&gt;
 $ @tcpip$config&lt;br /&gt;
 -&amp;gt; 2 (client components)&lt;br /&gt;
 -&amp;gt; 6 (SMTP)&lt;br /&gt;
 -&amp;gt; 2 (Enable &amp;amp; Start services)&lt;br /&gt;
&lt;br /&gt;
*Select option 2 (client components) from the menu.&lt;br /&gt;
*Select option 6 (SMTP) from the next menu to enable and start it.&lt;br /&gt;
&lt;br /&gt;
Since your smtp server is not registered anywhere, it can be that emails sent from this server will be filtered out as spam on the way to your mailbox. In that case you would need a so called MX record for your mail server. Contact UofC IT to resolve this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Send an email=====&lt;br /&gt;
Example:  Send an email without an attachment.&lt;br /&gt;
 $ mail sys$scratch:email_message.txt/subject=&amp;quot;email subject&amp;quot; &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Example:  Send an email with an attachment.&lt;br /&gt;
 $ MIME :== $MIME.EXE&lt;br /&gt;
 $ MIME MIME&amp;gt; NEW /NOEDIT sys$scratch:file.txt&lt;br /&gt;
 MIME&amp;gt; ADD /TEXT thisattached.txt&lt;br /&gt;
 MIME&amp;gt; ADD /BINARY thatattached.zip&lt;br /&gt;
 MIME&amp;gt; ADD /MESSAGE this_is_written.txt&lt;br /&gt;
 MIME&amp;gt; SAVE&lt;br /&gt;
 MIME&amp;gt; EXIT&lt;br /&gt;
 $ MAIL /SUBJECT=&amp;quot;MIME-encoded Message&amp;quot; - sys$scratch:file.txt &amp;quot;hbuie@ucalgary.ca,mkan@ucalgary.ca&amp;quot;&lt;br /&gt;
 $&lt;br /&gt;
*MIME&amp;gt; ADD /TEXT *.txt does not work&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Action commands===&lt;br /&gt;
====Send a message to terminals====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ reply /all &amp;quot;Merry Christmas to Bone Imaging Lab!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  Reply received on SCEVA2 from user XTREMECT2 at _SCEVA2$FTA8473:   09:21:58 &lt;br /&gt;
  Merry Christmas to Bone Imaging Lab!&lt;br /&gt;
&lt;br /&gt;
  4 terminals have been notified on SCEVA2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SCSRV2.&lt;br /&gt;
$&lt;br /&gt;
  1 terminal has been notified on SC3309.&lt;br /&gt;
$&lt;br /&gt;
  3 terminals have been notified on SCEVA1.&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt; command====&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;mcr&amp;lt;/code&amp;gt; is the same as &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt;, but only with mcr you can hand over &#039;in-line&#039; parameters to an .exe file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
does not work, but you  have to say&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr ut:ctheader.exe c000124.isq&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But funnily if you define a symbol in &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;),&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ ctheader :== $ut:ctheader.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with just neither run nor mcr, but the &#039;funny&#039; $ sign, then you can also hand over the ISQ name in-line.&lt;br /&gt;
&lt;br /&gt;
Small detail with big effect...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====File Do All (fda) - apply a command to a set of files====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda ctheader dk0:[microct.data.0001234...]*.isq &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the header of all isq files of sample 1234 (the three dots ... means all subdirectories)&lt;br /&gt;
&lt;br /&gt;
Or: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data.0001234.00005678]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see the processing log of all aim files of scan 5678&lt;br /&gt;
&lt;br /&gt;
Wildcard &amp;quot;*&amp;quot; means multiple characters, &amp;quot;%&amp;quot; is for ONE character: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda aix dk0:[microct.data...]C%%%%%%%.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, 7 %&#039;s)&lt;br /&gt;
&lt;br /&gt;
to show the aim header of the gray-scale c0000135.aim (etc) files only, and NOT from the _seg.aims also.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning: CAUTION! &amp;lt;/b&amp;gt; Always test the wildcard expression first with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dir dk0:[xxx...]*.aim &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &#039;file do all&#039; fda command can even be combined with a pipe, or an /output qualifier: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix dk0:[microct...]*.aim | search sys$pipe &amp;quot;Slope&amp;quot; &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will show you all &amp;quot;Slopes&amp;quot; in a row. (but you may not see which slope belongs to which aim file anymore...)&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda/output=sys$scratch:all_headers.log aix dk0:[microct...]*.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will write all the output into the .log file - which you can then either edit, or &lt;br /&gt;
&amp;lt;code&amp;gt;$ search sys$scratch:all_headers.log &amp;quot;String&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or whatever you want. &lt;br /&gt;
&lt;br /&gt;
Another example with output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ pipe fda type *.log | search sys$pipe &amp;quot;BV/TV&amp;quot; /output=BVTV.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;fda&amp;quot; is our self-written script, so you may have to try-n-error a bit...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda command file_wildcard [Optional: further parameters]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the command consists of multiple words with spaces inbetween (e.g. mcr ut:xxx.exe), then enclose the command in double-quotes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ fda &amp;quot;mcr ut:uct_ext_header_display&amp;quot; dk0:[microct...]*.isq 8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grab more than one line using pipe and search command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ pipe fda aix *.aim | search sys$pipe &amp;quot;dim&amp;quot;, &amp;quot;pos&amp;quot;, &amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The further parameters may not contain wildcards - so unfortunately, the fda can NOT be used to &#039;adaptively&#039; rename a whole bunch of files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Make commands available to all users with symbols or paths====&lt;br /&gt;
&lt;br /&gt;
DCL$PATH is one way to do that, WE don&#039;t use it...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def dcl$path disk1:[microct.main],disk1:[microct.util]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then, if you type&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ uct_t&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
it will first try to&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ @uct_t.com&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
and then&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
$ r uct_t.exe&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
however, we usually define it by giving full path:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ progx :== $disk1:[microct.main]progx.exe&lt;br /&gt;
$ com_proc_x :== @disk1:[microct.main]procedure.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then, you can just type the shortcut (&#039;symbol&#039; in VMS language)&lt;br /&gt;
&lt;br /&gt;
We use the &#039;cd&#039; to set the default path, you may also use this in your command procedure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;proc.com&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd &#039;p1&#039;&lt;br /&gt;
$ dir *.*/size&lt;br /&gt;
&lt;br /&gt;
$ define COM disk1:[microct.commands]&lt;br /&gt;
$ p :== @COM:PROC.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
these both go into &amp;lt;code&amp;gt;login.com&amp;lt;/code&amp;gt;, but see the Wiki entry above to confirm exactly where...&lt;br /&gt;
&lt;br /&gt;
then, you can just type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ p disk4:[microct.data.0000007.000009]*.ISQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Calibration and QC=&lt;br /&gt;
&lt;br /&gt;
==System Updates==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT II&lt;br /&gt;
|&lt;br /&gt;
*22-OCT-2020:  Recalibration&lt;br /&gt;
*01-OCT-2020:  Recalibration&lt;br /&gt;
*31-JUL-2020:  Pixel Correction&lt;br /&gt;
*21-Feb-2019:  New X-ray source, recalibration&lt;br /&gt;
*28-Apr-2016:  Recalibration&lt;br /&gt;
*04-Nov-2014:  Recalibration&lt;br /&gt;
*21-May-2014:  New Daily QC Phantom (Scanco concluded minimal differences from previous)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| XtremeCT I&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT80&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  Filter changer replaced, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| vivaCT40&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*09-NOV-2010:  Recalibration (70KV energy only)&lt;br /&gt;
*01-NOV-2010:  New x-ray source, Pixel Correction, Recalibration&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µCT35&lt;br /&gt;
|&lt;br /&gt;
*20-OCT-2020:  New x-ray source, Recalibration&lt;br /&gt;
*15-JUN-2011:  Recalibration&lt;br /&gt;
*21-MAR-2011:  Recalibration&lt;br /&gt;
*10-FEB-2011:  Recalibration&lt;br /&gt;
*26-NOV-2010:  Pixel Correction&lt;br /&gt;
*29-OCT-2010:  Recalibration &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Calibration and Conversion==&lt;br /&gt;
===Attenuation measured by µCT===&lt;br /&gt;
A micro-CT 3D image of an object is basically a 3D map of local x-ray absorption in the object. The reconstruction from multiple angular views provides information on how much x-ray absorption is happening within each cubic voxel element of the scanned volume.&lt;br /&gt;
&lt;br /&gt;
It is important to understand what is meant by “density” in a µCT image. The reconstructed grey-scale intensity of each image voxel does not relate directly to mass density alone, thus do not expect it to correspond with measurements of weight per volume, e.g. g.cm-3. The primary entity that is measured is x-ray absorption, defined as the x-ray linear attenuation coefficient in units of&lt;br /&gt;
1/distance, specifically, 1/cm. This is determined both by mass density and x-ray mass attenuation coefficient which is determined by the elemental composition of the material. The x-ray linear attenuation coefficients of typical material is shown blow.&lt;br /&gt;
&lt;br /&gt;
[[File:Mu_comparison.JPG|thumb|center|600px|X-ray linear attenuation coefficient µ of typical material (image curtesy of Dr. Ying Zhu)]]&lt;br /&gt;
&lt;br /&gt;
The images we obtain from the scanner are in a special scanner manufacturer format called AIM files. Each voxel in these images contains a scaled linear attenuation value (mu-value) to save disk space. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| µ&lt;br /&gt;
| x-ray linear attenuation coefficient&lt;br /&gt;
| 1/cm&lt;br /&gt;
| µ &amp;gt; 0 &lt;br /&gt;
| A constant that describes the fraction of attenuated incident photons in a monoenergetic beam per unit thickness of a material&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| mu_value&lt;br /&gt;
| linear attenuation in Scanco images&lt;br /&gt;
| 1/cm&lt;br /&gt;
| -8～8 typically&lt;br /&gt;
| mu value represented in Scanco images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_Scanco&lt;br /&gt;
| pixel intensity value in Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| −32768～32767&lt;br /&gt;
| Original format of Scanco images in 16-bit signed&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| pixel_uint&lt;br /&gt;
| pixel intensity value in converted Scanco images&lt;br /&gt;
| -&lt;br /&gt;
| 0～65535&lt;br /&gt;
| Converted format of Scanco images in 16-bit unsigned, using the same slope (unscaled) but an updated intercept&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = mu-value * scaling_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration by BMD===&lt;br /&gt;
When we know that the x-ray absorption of a material is dominated by one specific material, then we can relate the measured x-ray linear attenuation coefficient (mu_value) to the mass density of that material. The calibration of [[Scanco_User_Instructions#Descriptive_Statistics_.28Mean.2C_Median.2C_SD.29_of_Calibrated_Voxel_Values| &#039;&#039;&#039;Bone Mineral Density (BMD)&#039;&#039;&#039;]] is an example of this. We assume that the x-ray attenuation within mineralized tissues such as bone, dentine and enamel is dominated by, and can be approximated as, the x-ray attenuation of the mineral compound calcium hydroxyapatite (CaHA) which has the formula Ca5(PO4)3(OH). &lt;br /&gt;
&lt;br /&gt;
Then we obtain “phantoms” with two or more known mass concentrations of CaHA. By linking these mass concentrations of CaHA with measured mu_value in the micro-CT images, we can establish calibration linking the two quantities, allowing us to infer from the micro-CT measured linear attenuation coefficient (mu_value) in a mineralized tissue, to the density of CaHA in mg.cm-3. &lt;br /&gt;
&lt;br /&gt;
*The assumption of linear correlation between the two quantities is based on a well-applied beam hardening correction and the phantoms&#039; diameter matching with the size of bone within the sample.&lt;br /&gt;
&lt;br /&gt;
*This calibration system could be used to calibrate measurement of other substances apart from CaHA and bone, where x-ray absorption is known to be dominated by a certain substance and phantoms can be prepared with known concentrations of that substance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Symbol&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Unit&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Meaning or Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD &lt;br /&gt;
| Bone Mineral Density &lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| 0～3000 &lt;br /&gt;
| Volumetric density of calcium hydroxyapatite (CaHA) in a biological tissue in terms of mg/cm^3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| BMD_value&lt;br /&gt;
| Bone Mineral Density in Scanco images&lt;br /&gt;
| mg HA/ccm&lt;br /&gt;
| -1500～3000 typically&lt;br /&gt;
| BMD value in Scanco images&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Conversion between Attenuation and Bone Density===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = mu-value * slope + intercept&lt;br /&gt;
&lt;br /&gt;
mu-value = (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
pixel_Scanco = scaling_factor * (BMD_value – intercept) / slope&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert mu_value of 1.7923 (1/cm) to BMD (mg HA/ccm):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BMD_value = 1.7923 * 3.67162994e+02 + -2.06399002e+02 = 451.667 (mg HA/ccm)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, to convert the lower threshold of 125 mg HA/ccm that is in the IPL script to pixel intensity in Scanco images:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pixel_Scanco = 4096 * (125 - -2.06399002e+02) / 3.67162994e+02 = 3697 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*You could get the scaling_factor, intercept and slope values from the AIM header of your scan by using aix -l command:&lt;br /&gt;
[[File:Aix.JPG|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Reference: [[Media:Jbmr.141.pdf|Bouxsein ML, Boyd SK, Christiansen BA, Guldberg RE, Jepsen KJ, Müller R, Guidelines for assessment of bone microstructure in rodents using micro-computed tomography. J Bone Miner Res. 25(7): 1468-86. 2010.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert CT numbers to mg HA/ccm / Houndsfield units (HU)===&lt;br /&gt;
&lt;br /&gt;
The two byte numbers (short) can be converted to mu values by first dividing by mu_scaling which is probably 4096 (uCT35, vivaCT40) or 8192 (XtremeCT). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Houndsfield units (HU)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is the conversion formula from mu (lin.att. in 1/cm, our original, &#039;physical&#039; image numbers) to HU:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU(pixel) = -1000 + mu(pixel) * 1000/mu(water)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so the mu(water) is the &#039;constant&#039; that is needed for this conversion of any pixel value mu(pixel) to HU of that pixel.&lt;br /&gt;
&lt;br /&gt;
divide the 2-byte numbers in our dicom/aim/isq files by 4096 to get mu. (4096 --&amp;gt;  &#039;mu_scaling&#039; in our headers). E.g. you see&lt;br /&gt;
gray-scale number 8192 in our files --&amp;gt;  mu = 2 [1/cm].&lt;br /&gt;
&lt;br /&gt;
A reasonable result for the uCT35 is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HU = (CT / 4096) * 1718.19 - 1000&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and that means 1000/mu(water) = 1718.19 --&amp;gt; mu(water) = 0.58299 which is a reasonable number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;mg HA/ccm&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mg HA/ccm = (AIM/mu_scaling) * slope + intercept&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 295.494 - 189.695    ! vivaCT40&lt;br /&gt;
mg HA/ccm = (AIM/4096) * 256.51 - 172.99         ! uCT35&lt;br /&gt;
mg HA/ccm = (AIM/8192) * 1402.549 - 340.953  ! XtremeCT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These numbers are available in the AIM header, or the ISQ header (&amp;lt;code&amp;gt;$ run ut:ctheader&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
To look up slope, intercept and mu_scaling, check either the AIM header&lt;br /&gt;
&amp;lt;pre&amp;gt;$ aix C1234567.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run ut:uct_update_calibration&amp;lt;/pre&amp;gt;&lt;br /&gt;
and look at a record, and you&#039;ll find slope and intercept and mu-water.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vivaCT40&lt;br /&gt;
!---------------------------------------------------------------------- &lt;br /&gt;
Mu_Scaling                    4096 &lt;br /&gt;
Calibration Data              55 kVp, 200mg HA wedge, 4096 scaling &lt;br /&gt;
Calib. default unit type      2 (Density) &lt;br /&gt;
Density: unit                 mg HA/ccm &lt;br /&gt;
Density: slope                2.95493988e+02 &lt;br /&gt;
Density: intercept            -1.89695007e+02 &lt;br /&gt;
HU: mu water                  0.58200 &lt;br /&gt;
!----------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
Mu_Scaling                                       8192&lt;br /&gt;
Calibration Data              60kVp, BH: 200 mg HA/ccm, Scaling 8192            &lt;br /&gt;
Calib. default unit type      2 (Density)                                       &lt;br /&gt;
Density: unit                 mg HA/ccm                                         &lt;br /&gt;
Density: slope                         1.40254895e+03&lt;br /&gt;
Density: intercept                    -3.40953003e+02&lt;br /&gt;
HU: mu water                                  0.23900&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Calibration FAQ===&lt;br /&gt;
====Change brightness scaling====&lt;br /&gt;
*Refer to [[Media:Mu-scaling.pdf|&#039;&#039;&#039;Change the brightness scaling&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan after pixel correction====&lt;br /&gt;
Contact Lab personnel with system-level priviledges to perform&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
                 !  Username: calib2339       (µCT35)          &lt;br /&gt;
                 !  Username: calib5019       (vivaCT40)           &lt;br /&gt;
$ spb            ! set priviledge bypass to write in other user accounts&lt;br /&gt;
$ run ut:pixel_corr_apply&lt;br /&gt;
&lt;br /&gt;
        PIXEL_CORR_APPLY Version 1.5&lt;br /&gt;
        Scanner ID from UCTD:UCT_SCANNER_2339.DAT : 2339       !2339 for µCT 35,  5019 for vivaCT 40&lt;br /&gt;
        Is this Scanner ID correct ? [?]:  y&lt;br /&gt;
        Give RSQ-Filename (leave empty to exit)  []: DISK4:[BONELAB.DATA.00005283.00011668]C0005128.RSQ&lt;br /&gt;
        ...&lt;br /&gt;
        ...&lt;br /&gt;
        Copy .RSQ to _CORRECTED.RSQ befor correction ? [?]:   y&lt;br /&gt;
&lt;br /&gt;
$ logout&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update calibration in ISQ====&lt;br /&gt;
If DICOM files are converted to ISQ with IPL and then used for patient evaluation, the calibration data in the ISQ header needs to be present and correct. If this information is missing, utilizing upat_list to extract the values will say &#039;Error: Density calibration not valid&#039;. In order to add calibration data to an ISQ file, do the following as user calibration:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set proc/priv=bypass ! gain read/write access to the files&lt;br /&gt;
$mcr ut:uct_ext_header_add_calib ! provide ISQ file name and header type (I chose [2])&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to adjust the calibration of a file, without changing the system calibration data, copy the calibration database into a different directory, e.g. sys$scratch. Then, add a new calibration record to this temporary calibration database. This way your new, temporary values will not show up in the scan program.&lt;br /&gt;
&lt;br /&gt;
  $ copy uctd:uct_calibration_3401.dat sys$scratch:&lt;br /&gt;
&lt;br /&gt;
Define the following logical in a terminal MAKE SURE TO DO THIS!!!!&lt;br /&gt;
&lt;br /&gt;
  $ def UCT_CALIBRATION_DATABASE sys$scratch:uct_calibration_3401.dat&lt;br /&gt;
&lt;br /&gt;
Run uct_update_calibration and click trough the current calibration record (always enter).&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
  select current calibration record&lt;br /&gt;
  enter...&lt;br /&gt;
&lt;br /&gt;
  $ r ut:UCT_UPDATE_CALIBRATION.EXE&lt;br /&gt;
&lt;br /&gt;
Then select the last number (New Record), copy all values from above, change slope and intercept.&lt;br /&gt;
&lt;br /&gt;
Then use&lt;br /&gt;
&lt;br /&gt;
  $ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
&lt;br /&gt;
for ISQ and RSQ.&lt;br /&gt;
&lt;br /&gt;
At the end, close the terminal!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Quality Control (QC)==&lt;br /&gt;
===Scope===&lt;br /&gt;
*Only Authorized XCT and µCT Operators are permitted to perform QC scans, including both scan acquisition and analysis.    &lt;br /&gt;
*Authorization is a formal process. If you are not sure whether you have or should have authorization, speak to Dr. Boyd or Dr. Hallgrimsson or the MoJo Operations Manager. &lt;br /&gt;
*Authorized XCT and µCT Operators are responsible for ensuring a QC schedule is maintained.&lt;br /&gt;
*Only the manufacturer can calibrate the scanner!  QC only checks the calibration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
*Micro-CT systems cannot directly measure the density of a material, however, the density is linearly correlated to the x-ray absorption (assuming a proper beam-hardening correction is applied), which can be measured by micro-CT.  Density is therefore determined by measuring a reference material of known density (i.e., a phantom) to define a conversion function to relate x-ray absorption to density. Quality control of density and structural measurements for the micro-CT systems is achieved through weekly checks of phantom values to their reference values and recalibrating the system (i.e., defining a new conversion function) as necessary. &lt;br /&gt;
&lt;br /&gt;
*Performing QC is essential to the:&lt;br /&gt;
# Safety of our study participants and lab members&lt;br /&gt;
# Validity of our research data&lt;br /&gt;
&lt;br /&gt;
[[File:QC_phantom.jpg|thumb|center|600px|Scanco Medical quality control phantom (a) and its CT scans of the density QC1 (b) and the structural QC2 (c)]]&lt;br /&gt;
&lt;br /&gt;
*Reference:  Koller B, Laib A (2007) Calibration of micro-CT data for quantifying bone mineral and biomaterial density and microarchitecture. In: Advanced bioimaging technologies in assessment of the quality of bone and scaffold materials: techniques and applications. Springer, pp 79-84.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Density QC1===  &lt;br /&gt;
QC1 measures the density of 5 different rods of known hydroxyapatite (HA) densities within the QC phantom: approximately 0, 100, 200, 400, and 800 mg HA/cm3.  This tests 3 things:&lt;br /&gt;
&lt;br /&gt;
# That the scanner’s last calibration is still valid.  This is done by comparing daily QC values to an acceptable range.&lt;br /&gt;
# The presence of drifts and shifts in the calibration.  This is done by plotting daily QC results over time and using Shewart’s Controls to mathematically look for drifts and shifts.  (Shewart’s Controls replaces visual assessment.)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC1 is checked daily or 3 times a week on XtremeCT scanners whenever used and weekly on microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Structural QC2===  &lt;br /&gt;
QC2 measures the volume of 3 fine aluminum rods within the QC phantom (Al rod volume measurement).  This tests for:&lt;br /&gt;
&lt;br /&gt;
# Alignment of the gantry (or stability of architectural parameters)&lt;br /&gt;
# The correct functioning of scanner hardware and electrical components.  This is done by visual inspection for image artifacts. &lt;br /&gt;
&lt;br /&gt;
*QC2 is checked weekly on both XtremeCT and microCT scanners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC Scan Instructions===&lt;br /&gt;
*XtremeCT QC Scan Instructions: Boyd Drive:\02 - Operations\01 - Scanner QC, Specifications, &amp;amp; Maintenance\QC Workflows\QC 001.2 - XCT Quality Control.docx&lt;br /&gt;
*[[Media:Calibration-instructions-for-uct35.pdf |µCT35 QC Instructions]] or  [[Media:uCT35_Calibration.pdf|µCT35 QC another Instructions]]&lt;br /&gt;
*[[Media:Calibration-instructions-for-vivact40.pdf |VivaCT40 QC Instructions]] or [[Media:VivaCT40_Calibration.pdf| VivaCT40 QC another Instructions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out QC reports===&lt;br /&gt;
After running a QC1 or QC2 analysis, the results are output to: &lt;br /&gt;
*DISK4:[BONELAB.PROJECTS.QC] for XtremeCT QC results&lt;br /&gt;
*DISK3:[MICROCT.PROJECTS.CALIBRATION] for microCT QC results performed by BH lab&lt;br /&gt;
:*login with microct account &lt;br /&gt;
*DISK5:[BONELAB.PROJECTS.CALIBRATION] for microCT QC results performed by Bone Imaging lab&lt;br /&gt;
:*RESULTS_QC1_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC1_VIVACT.TXT;4 &lt;br /&gt;
:*RESULTS_QC2_UCT35.TXT;2 &lt;br /&gt;
:*RESULTS_QC2_VIVACT.TXT;2 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As usual as [[Scanco_User_Instructions#Print_out_report_sheets|&#039;&#039;&#039;print out report sheets&#039;&#039;&#039;]], you use&lt;br /&gt;
  $ upat_list&lt;br /&gt;
When it asks for a template, you can select for a graphical report&lt;br /&gt;
  template = UU:UCT_EVAL_PHANTOM_SCANCO.PS&lt;br /&gt;
or for a text output&lt;br /&gt;
  template = UU:UCT_3D_LIST.TXT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===System Stability and Precision===&lt;br /&gt;
System Stability and Precision here is based on the QC measurement, QC1 for density variations and QC2 for structure variations.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| System Stability and Precision&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| vivaCT40&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Long Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 1.6%&lt;br /&gt;
(Ref term: 26-NOV-2010 to 8-APR-2011)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Short Term Precision&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 8mg HA/cm3&lt;br /&gt;
*QC2:  ± 2.0%&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 0.4%&lt;br /&gt;
*QC2:  ± 0.9%&lt;br /&gt;
(Ref term: 4-MAR-2011 to 8-APR-2011)&lt;br /&gt;
| &lt;br /&gt;
*QC1:  ± 1.0%&lt;br /&gt;
*QC2:  ± 0.7%&lt;br /&gt;
(Ref term: 6-MAR-2011 to 8-APR-2011)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===QC FAQ===&lt;br /&gt;
====Determine calibration drift for microCT QC1====&lt;br /&gt;
The microCT QC1 analyses provide an estimate of the calibration drift by considering &#039;mean5&#039; values.  Use &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and make sure to use UU:UCT_3D_MEANS.TXT as the template.  Then give the measurement numbers of the QC1 measurements (or all of them and remove what&#039;s not needed later).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update QC1 contours====&lt;br /&gt;
If the QC contours don&#039;t line up on the phantom, then the contours need to be updated on the system.  Normally this should not happen unless the phantom has become loose - if this is the case, re-fix it.&lt;br /&gt;
&lt;br /&gt;
1. Login as user system.  Do not use the &amp;lt;code&amp;gt;$ set host 0 &amp;lt;/code&amp;gt; command since you will not be able to open windows for program.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Run the login script for the user that does the QC scans so that Scanco logicals point to that scan database.&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the XtremeCT cluster&lt;br /&gt;
          $ @adisk1:[microct]login.com     on the vivaCT cluster&lt;br /&gt;
          $ @disk1:[microct]login.com       on the µCT100 cluster&lt;br /&gt;
&lt;br /&gt;
3. Run the evaluation program.&lt;br /&gt;
          $ uct_evaluation&lt;br /&gt;
4. Load the most recent QC scan and locate the contours. File--&amp;gt;Load Gobj... Filter:  &amp;lt;code&amp;gt;uctd:*.GOBJ&amp;lt;/code&amp;gt;. Locate the contours for the phantom: &amp;lt;code&amp;gt; UCT_PHANTOM_KP_HA_XXXX_Y.GOBJ  &amp;lt;/code&amp;gt; where XXXX corresponds with the scanner ID (XtremeCT 3309, vivaCT 5019, µCT35 2339, µCT100 6002) and Y corresponds with the rod number (1-5 and results mean1 - mean5. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Adjust the contours to centre on the rods.&lt;br /&gt;
    Load a contour.&lt;br /&gt;
    Move the contour on the first slice to be centred on the rod.&lt;br /&gt;
    Copy the contour.&lt;br /&gt;
    Delete the contours on slices 2 to the end.&lt;br /&gt;
    Paste the contour on the last slice.&lt;br /&gt;
    Morph between the two contours.&lt;br /&gt;
    Save the contours.  They should be saved to (A)DISK0:[000000.MICROCT_COMMON.DATABASE].&lt;br /&gt;
6. Perform a new QC scan as the standard (i.e., microct) user.  Check that the contours line up for the evaluation.  Evaluate and check the results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update Gobj for QC1 Analysis====&lt;br /&gt;
Refer to  [[Media:Fix_QC1_gobj.pdf| &#039;&#039;&#039;Fix QC1 Gobj&#039;&#039;&#039; ]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update XtremeCT QC1 calibration====&lt;br /&gt;
This procedure needs to be done for each beam hardening correction (e.g., QC1 with 200 mg HA/cm3, QC1 with 1200 mg HA/cm3) and for each scan energy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Perform 3 back-to-back QC1 scans, which ensures the x-ray tube is very warm.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Evaluate the last QC1 scan.&amp;lt;br&amp;gt;&lt;br /&gt;
3. After the evaluation is done, determine parameters for the new calibration&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_calib_phantom&lt;br /&gt;
UCT_CALIB_PHANTOM Version V1.0&lt;br /&gt;
 &lt;br /&gt;
Reading UCTD:UCT_CALIB_PHANTOM_KP_HA_3309.TXT&lt;br /&gt;
Phantom Type in file:              6&lt;br /&gt;
Phantom Number in file:          304&lt;br /&gt;
Voltage in file:                   0&lt;br /&gt;
No of Materials in file:           1&lt;br /&gt;
With each, no of  steps:           5&lt;br /&gt;
and mus:                    1.000000&lt;br /&gt;
No. of Cylinders:                  5&lt;br /&gt;
Measurement No. (0 to Stop)     [0]: 11404&lt;br /&gt;
 &lt;br /&gt;
Mus: 0.2382 0.3163 0.3823 0.5358 0.8112&lt;br /&gt;
*****************************************************&lt;br /&gt;
Calibration: Slope Intercept:      1398.628  -339.819&lt;br /&gt;
Enter in Calibration Records if wished.&lt;br /&gt;
*****************************************************&lt;br /&gt;
Measurement No. (0 to Stop)     [0]:&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD.TXT.&lt;br /&gt;
&lt;br /&gt;
5. Now update the calibration.  For most settings, you will use the default value by pressing return.  You need to choose the correct calibration record, the one that corresponds with the energy and beam hardening correction used in the QC1 scans you did.  Next, you need to update the slope, intercept, and mu water values to those determined in step 3 (copy and paste values to avoid typos).  The new values should be similar to the old ones.  Finally, if you have not made any mistakes, then save the record.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:uct_update_calibration&lt;br /&gt;
UCT_UPDATE_CALIBRATION V2.5&lt;br /&gt;
 &lt;br /&gt;
 IDX Calib/Rec. Description&lt;br /&gt;
  1      1/42   60kVp, BH: 200 mg HA/ccm, Scaling 8192&lt;br /&gt;
  2      2/43   60kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  3      3/0    New Record&lt;br /&gt;
Choose Calibration Record (IDX): [2]: 1&lt;br /&gt;
Valid Flag [1]:&lt;br /&gt;
Scanner-ID [3309]:&lt;br /&gt;
Energy [V] [59400]:&lt;br /&gt;
Intensity [µA] [0]:&lt;br /&gt;
Description [60kVp, BH: 200 mg HA/ccm, Scaling 8192]:&lt;br /&gt;
 &lt;br /&gt;
Antiring Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
Beamhardening Enable [1]:&lt;br /&gt;
Beamhardening Coeff file [MICROCT_COMMON:[DATABASE]UCT_BH_COEFF_60KV_0200HA_3309.TXT;5]:&lt;br /&gt;
Beamhardening Checksum [0]:&lt;br /&gt;
CCD_CORR: Read to mem: 500 bytes to correct 1 pixels (588 bytes allocated)&lt;br /&gt;
 &lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom) [2]:&lt;br /&gt;
µ Enable [1]:&lt;br /&gt;
µ-scaling [8192]:&lt;br /&gt;
 &lt;br /&gt;
Density Enable [1]:&lt;br /&gt;
Density units [mg HA/ccm]:&lt;br /&gt;
Density Slope [1402.549]: 1398.628&lt;br /&gt;
Density Intercept [-340.953]: -339.819&lt;br /&gt;
 &lt;br /&gt;
HU Enable [1]:&lt;br /&gt;
µ of water [0.239]: 0.2382&lt;br /&gt;
 &lt;br /&gt;
CUSTOM Enable [0]:&lt;br /&gt;
 &lt;br /&gt;
HW Filter Code [0]:&lt;br /&gt;
HW Filter Description []:&lt;br /&gt;
 &lt;br /&gt;
Save Record ? [Y]: Y&lt;br /&gt;
End of program&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Save the above screen output in a file called CALIB_3309_YYYY-MM-DD_ENTERED.TXT.  Send both text files to support@scanco.ch for them to archive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update microCT QC1 calibration====&lt;br /&gt;
Refer to [[Media:QC1_Calibration_Update.pdf|&#039;&#039;&#039;QC1 Calibration Update&#039;&#039;&#039;]] for instructions for the VivaCT40 and uCT35.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new calibration or BHC====&lt;br /&gt;
If the QC1 range was out of range but it was not possible to update the system calibration before scanning, you can update the scan with the new density calibration (i.e., slope and intercept).  It is also possible to change the beam hardening correction that is applied (e.g., from 200 mg HA/cm3 to 1200 mg HA/cm3).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Type of Update ||RSQ||ISQ||AIM&lt;br /&gt;
|-&lt;br /&gt;
|QC1 was out of range, need new slope and intercept &lt;br /&gt;
(e.g., after updating the system calibration)&lt;br /&gt;
|Yes||Yes||No, Create New&lt;br /&gt;
|-&lt;br /&gt;
|Change beam hardening correction type &lt;br /&gt;
(e.g., 200 mg HA/cm3 to 1200 mg HA/cm3)&lt;br /&gt;
|Yes||No, Reconstruct||No, Create New&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Use the UCT_EXT_HEADER_ADD_CALIB program to update an RSQ and, if appropriate, repeat for the ISQ.  &lt;br /&gt;
*Use default values for all prompts except those commented after !.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:uct_ext_header_add_calib&lt;br /&gt;
 &lt;br /&gt;
UCT_EXT_HEADER_ADD_CALIB V 1.1&lt;br /&gt;
Raw-Data-File []:    !give the name of the RSQ/ISQ with full path if not in that directory&lt;br /&gt;
 &lt;br /&gt;
Reading Raw Data ...&lt;br /&gt;
 IDX Calib Description&lt;br /&gt;
  1      1 45 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  2      2 55 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  3      3 70 kVp, 200mg HA wedge, 4096 scaling&lt;br /&gt;
  4      4 General, non-bone-density-calibrated scan, scale 4096&lt;br /&gt;
  5      5 45 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  6      6 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
  7      7 70 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
 &lt;br /&gt;
Calibration Record No [0]: !specify the new calibration, e.g. 6&lt;br /&gt;
 &lt;br /&gt;
Calibration No.           6&lt;br /&gt;
Description 55 kVp, BH: 1200 mg HA/ccm, Scaling 4096&lt;br /&gt;
Scanner-ID        5019&lt;br /&gt;
Energy [V]       55000&lt;br /&gt;
Antiring Enable             0&lt;br /&gt;
Beamhardening Enable            1&lt;br /&gt;
Beamhardening Coeff file UCTD:UCT_BH_COEFF_55KV_1200HA_5019.TXT&lt;br /&gt;
Default unit type (1=µ, 2=mg, 3=HU, 4=Custom)           2&lt;br /&gt;
Same type already found. Setting old to invalid&lt;br /&gt;
SUCCESS: calib hext written&lt;br /&gt;
updating header...&lt;br /&gt;
SUCCESS: Header successfully updated.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
Calib record indicates that BH-Corr is usually applied.&lt;br /&gt;
Info: There is a BH-Corr corr already in hext.&lt;br /&gt;
Add another BH-Corr from file again? (Y/N) [N]:  Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update a scan with new QC1 calibration====&lt;br /&gt;
Refer to  [[Media:Update_Scan_with_new_QC1.pdf|&#039;&#039;&#039;Update Scan with new QC1&#039;&#039;&#039;]] for instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: un-centered QC1 Gobj====&lt;br /&gt;
The contour for the QC1 scan is not centered on the on hydroxyapatite rod, which will result in erroneous low density values.  &lt;br /&gt;
&lt;br /&gt;
This can occur for a couple of reasons:&lt;br /&gt;
*The metal spindle has come loose on the phantom, in which case re-glue it and update the contours&lt;br /&gt;
*The slot on the phantom&#039;s spindle was not correctly aligned&lt;br /&gt;
*For the vivaCT 40, the sample bed was not pushed to the right before locking it in place&lt;br /&gt;
[[File:Phantom_not_pushed_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: rods in QC2 images====&lt;br /&gt;
The QC2 scan has aluminum rods AND hydroxyapatite rods.  This happens because the slot on the phantom&#039;s spindle was not correctly aligned and the phantom positioning is off slightly.  Adjust the phantom and re-scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Phantom_spindle_not_in_right.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
&lt;br /&gt;
==Scanner User Manual==&lt;br /&gt;
For XtremeCTs:&lt;br /&gt;
&lt;br /&gt;
* [[Media:Scanco - Manual_XtremeCTII_2.5.pdf |XtremeCT II User&#039;s Guide V2.5]]&lt;br /&gt;
* [[Media:XtremeCT User Guide XCT I.pdf |XtremeCT I  User&#039;s Guide V6.4]]&lt;br /&gt;
&lt;br /&gt;
For microCTs:&lt;br /&gt;
* [[Media:Manual_vivaCT_80.pdf |VivaCT80 User&#039;s Guide V1.5]]&lt;br /&gt;
* [[Media:scanco-manual-vivact40.pdf |VivaCT40 User&#039;s Guide V4.05]]&lt;br /&gt;
* [[Media:Scanco-manual-uct35.pdf |MicroCT35 User&#039;s Guide V4.05]]&lt;br /&gt;
&lt;br /&gt;
==Scanco&#039;s FAQ==&lt;br /&gt;
Navigate to the manufacturer [http://www.scanco.ch/index.php?id=customer_login Scanco Medical FAQ].&lt;br /&gt;
&lt;br /&gt;
* Username:  users@scanco.ch&lt;br /&gt;
* Password:  basser5dorf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan==&lt;br /&gt;
===Scan SOP===&lt;br /&gt;
====Image Quality====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-image-quality.pdf|&#039;&#039;&#039;Image Quality: Resolution vs. Noise&#039;&#039;&#039;]] by Scanco Medical.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Control File Settings====&lt;br /&gt;
*Refer to [[Media:ControlFileSettingsUserMeeting2014Final.pdf|&#039;&#039;&#039;Optimize Control File Settings&#039;&#039;&#039;]] with regards to resolution, contrast and scan time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scan materials of different densities====&lt;br /&gt;
*Refer to [[Media:UM_HongKong_DifferentDensityMaterials.pdf|&#039;&#039;&#039;Scan materials of different densities&#039;&#039;&#039;]]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Optimize Scan for Soft and Adipose Tissue Separability====&lt;br /&gt;
*Refer to [[Media:Scanco-faq-adipose-vs-soft-tissue.pdf|&#039;&#039;&#039;Scan Protocol Optimization for Soft and Adipose Tissue Separability&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Measure multiple samples in one scan====&lt;br /&gt;
&lt;br /&gt;
This quite often happens when you want to scan 6 rat bones, for example, but using our six-gun sample holder you scan them in one go.  But, you want to analyse them separately, so you have to import the ISQ multiple times as new MEASUREMENTS into each SAMPLE.&lt;br /&gt;
&lt;br /&gt;
There are two options: manual and auto.  &amp;lt;b&amp;gt;Read this entire HowTo before proceeding.  There is significant potential for mistakes!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:import_manual.com&lt;br /&gt;
&lt;br /&gt;
P1: Measurement Number to duplicate&lt;br /&gt;
P2: New Sample Number from Database&lt;br /&gt;
P3: New Start Letter of ISQ file&lt;br /&gt;
P4: Optional: Operator Number&lt;br /&gt;
P5: Optional: Controlfile Number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @com:import_manual.com 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will copy the ISQ from measurement 1234, import it into the database to sample 342, give some feedback lines with &#039;old&#039; and the new samplename, CHECK IT, and at the end it gives the feedback line on the terminal which you take with the mouse and drop to rename the data over to the new location.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;IMPORTANT: BE VERY SURE NOT TO MIX UP MEASUREMENT AND SAMPLE NUMBER !!!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This distiction needs to be VERY clear in your mind! Of course, you can duplicate one scan and give it to the same samplenumber again (e.g. to evaluate different parts of the same sample, and each has its database&lt;br /&gt;
entry).&lt;br /&gt;
&lt;br /&gt;
Please build up some system so you see immediately that the right meas. goes to the right sample. E.g. all four bones in one scan have the same part in the name, distinct from other 4 bones. If there is any trace of a doubt later on that somebody MAY have messed up the samples in this duplication step, you&#039;ll most probably have to start from scratch again...&lt;br /&gt;
&lt;br /&gt;
Of course, I&#039;ll have to make you aware that Scanco declines all responsibility - this program is NOT in the normal user-friendly, quite fool-proof Scanco controlbox, but it&#039;s up to you to use it carefully, and not on Friday night when you&#039;re sleepy and mistakenly mix up sample and meas. numbers...&lt;br /&gt;
&lt;br /&gt;
The new startletter I built in so you always know which one was the &#039;original&#039; measurement (which has an RSQ), and which are the duplicated ones.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Backup&amp;lt;/b&amp;gt;&lt;br /&gt;
And the organization of how you know which duplicated scan is which part is&lt;br /&gt;
completely up to you - as well as how you want to handle the backup - our&lt;br /&gt;
software allows you to back-up each duplicated scan (but this might be an&lt;br /&gt;
overkill, since it&#039;s the same ISQ always) so you may choose to delete the&lt;br /&gt;
duplicated ISQ by hand in the session manager (only keep the &#039;original&#039; ISQ), and only backup the .gobj, .aim and _seg.aim etc. (but then you will need to know not to get scared if you retrieve a scan, and the ISQ is missing...) (Or you just &#039;move to trash&#039; the duplicated scans to nicely delete them with the backup program if you want to remove them completely (but you still have the 3D results in the evaluation database))&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Autosubmit&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please use the manual one for a while. Then, if you feel comfortable, use the autosubmit one (which also does the last command automatically, the renaming of the isq to the new location.) Because it goes into a batch que, you can quickly submit all duplications, and do not have to wait for the whole file-copying like in the manual one.&lt;br /&gt;
&lt;br /&gt;
One thing you should check there:&lt;br /&gt;
$ show que sys$fast/full&lt;br /&gt;
&lt;br /&gt;
This needs to be one single queue (/job_limit=1). In a clustered enviroment,&lt;br /&gt;
this might be a &#039;/generic=&#039; que that then gives the jobs to multiple queues in the cluster. This is NOT good. If this is the case, please edit the autosubmit script, and replace sys$fast in the following line at the end by ONE of the generic fast queues, e.g. SC4240_FAST or whatever the name is (preferrable the one computer where also the data disk DK0 is sitting:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$!&lt;br /&gt;
$      SUBMIT/NOPRINT/QUE=SYS$FAST/DELETE/NOTIFY/LOG=SYS$SCRATCH: &#039;COMMANDFILE&#039;&lt;br /&gt;
$!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Reason: if multiple uct_imports would run at exactly totally the very same time, both jobs might get the same new measurement number... bad...)&lt;br /&gt;
&lt;br /&gt;
I also suggest to add the following line to your login.com&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl*icate :== @com:import_autosubmit.com&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you can just start it with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dupl 1234 342 D&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And I also recommend to put into login.com:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ check_dup :== search sys$scratch:import*.log &amp;quot;&amp;quot;&amp;quot; name:&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(yes, with all these double-quotes)&lt;br /&gt;
&lt;br /&gt;
Then use it to check the feedback that the right scans were given to the right samples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scan FAQ===&lt;br /&gt;
====Unlock a locked controlfile====&lt;br /&gt;
If you accidentally locked a controlfile, it is possible to unlock it so that it can again be modified.&lt;br /&gt;
&lt;br /&gt;
Login as the calibration user (Xtremect:  calibration;  VivaCT40:  calib5019;   uCT35:  calib2339), the password is the same as for the system user, Set priviledges to bypass.&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
Set the controlfile database to the microct, or other, user where the controlfile is locked.  &lt;br /&gt;
*The file is usually located on (a)disk1:[username.database] and may be accessible using the uctd logical.  &lt;br /&gt;
*The database file contains the scanner ID (e.g., 3309 for the XtremeCT, note there&#039;s no SC before 3309).&lt;br /&gt;
 $ def uct_controlfiles_database adisk1:[microct.database]uct_controlfiles_3309.dat&lt;br /&gt;
 $ run ut:uct_upd_controlfiles&lt;br /&gt;
&lt;br /&gt;
Choose the controlfile.Use T and F to indicate true and false.&lt;br /&gt;
*YOU MUST SAY YES TO UPDATE CTRL-FILE! There is a bug so do this even if you make a mistake.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Selected operator is not an operator CODE: 24====&lt;br /&gt;
You must enter an operator name in the micro-CT control panel. &lt;br /&gt;
*You only need to enter the beginning part of your operator name (e.g., Bo for Bone Imaging Lab) or your operator number.  &lt;br /&gt;
*You can also press &amp;quot;Edit...&amp;quot; and then press the &amp;quot;Find...&amp;quot; and press &amp;quot;OK&amp;quot; to show a list of all the operators that have been registered.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Error assigning IO-channel for UCT_ACQ_LINE, device already allocated to another user CODE: 2112====&lt;br /&gt;
Only one person can be given control of the scanner at any time.  Most likely the scanning program is already open.  Check the minimized icons on the desktop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: ROT (M1) end switch detected, Motor stopped CODE: 3031====&lt;br /&gt;
We&#039;re not sure why motor errors occur occasionally.  The solution is to exit the scanning program and turn off the scanner (the switch is on the side of the machine).  Wait 30 seconds.  Turn the scanner on again.  Re-start the scanning program.  Wait for the scanner to warm up (20 min).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Acquisition error, Buffer overrun CODE: 1005====&lt;br /&gt;
This error occurs if the computer hooked up to the scanner is overloaded and does not accept the stream of CT data quickly enough.  Check that no large calculations are running interactively (e.g., loading a large dataset into the 3D viewer while the scan is running).  If you happen to be there at the very exact second when the buffer overrun happens, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show user/node/full             !check how many users/processes there are&lt;br /&gt;
$ monitor system/int=1            !check the process that is using the most cpu and page file quota&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Advise lab personal of the problem. If nobody is around, put the output of the above commands into a text document, stop the queues for the computer, and repeat the scan.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sc5019_fast       !for the vivaCT 40&lt;br /&gt;
$ stop/que/next sc5019_slow       !for the vivaCT 40&lt;br /&gt;
&lt;br /&gt;
$ stop/que/next sceva2_fast       !for the µCT35&lt;br /&gt;
$ stop/que/next sceva2_slow       !for the µCT35&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When finished, restart the queues that you stopped by &amp;lt;code&amp;gt;$ start/que queue_name &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Shutter fail safety test timeout CODE: 2101====&lt;br /&gt;
This happens if the scanning program has accidentally be left on overnight and the shutter fail safe test cannot be performed. Ensure that uct_tomography is closed at the end of the day and the scanner computer is logged out at the end of the day to avoid this error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Input error detected, Z protection detected CODE: 4001====&lt;br /&gt;
This means the big plate that you can see through the gantry has moved or been touched, activating one of the Z protection switches. This can happen during positioning a patient for a tibia scan if the person&#039;s leg isn&#039;t pushed into the scanner straight. The cast can potentially touch the plates and cause this error.&lt;br /&gt;
&lt;br /&gt;
In the rare case where this error occurs spontaneously during or at the end of a scan, or during a precalibration, one of the switches may have become activated due to the position of the Z plate. To determine the position(s) this error is triggered, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0                                                                                                                                                                                            Username: calibration                                                                                                                                                                                        Password:&lt;br /&gt;
&lt;br /&gt;
$ sdl&lt;br /&gt;
$ spb&lt;br /&gt;
$ run um:ccd_2d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Scanco test programs will open. First click on the Reset Z button (upper left corner). Then move the Z slider all the way to the right and hit move. If the Z-protection error appears, record exactly which Z position triggers the error (should be a red number on the left hand side of the slider). When you are done with this test, hit Reset Z again, wait until the motor comes to a complete stop (max. 15 seconds), close the software and in the same terminal by &amp;lt;code&amp;gt;$ logout &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Contact Scanco regarding this error and provide the details from running the ccd program. They will provide further instructions on how to proceed and fix the problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: CCD frame timeout, HOTLink reframing CODE: 1007====&lt;br /&gt;
Take a screenshot of the error message and email Scanco immediately. Message indicates that X-ray tube is arcing. Try and warm up the X-ray tube again, and notify Scanco if there is any abnormal activity and whether the tube was able to warm up.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Invalid Scanner ID CODE: 24====&lt;br /&gt;
You have logged in with the incorrect user name.  End the session and login with the correct user name (vivaCT 40: vivact or invivo;  µCT 35: microct or invitro).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fatal: Unable to create shared memory, global page table full CODE: 196====&lt;br /&gt;
The temporary fix is to reboot the system.  But before you restart, if you have system access, do the following and save the output to a text to send to Scanco.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
Username: system&lt;br /&gt;
Password:&lt;br /&gt;
&lt;br /&gt;
$ search sys$system:agen$feedback.dat gblpages&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;contig_gblpages&amp;quot;)&lt;br /&gt;
$ write sys$output f$getsyi(&amp;quot;free_gblsects&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reconstruction==&lt;br /&gt;
&lt;br /&gt;
===Standard Reconstruction===&lt;br /&gt;
Scans are automatically submitted for reconstruction, so manual submission is usually only necessary if there was a problem during reconstruction (e.g., a power failure).&lt;br /&gt;
&lt;br /&gt;
*To reconstruct all slices from the RSQ, first delete or rename the old ISQ. &lt;br /&gt;
*To reconstruct a selection of slices, a valid ISQ must exist. There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&#039;&#039;&#039;General Usage for Interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
P1: RSQ Filename&lt;br /&gt;
P2: Slice number (A – all, start:finish)&lt;br /&gt;
P3: Log file of batch job&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;General Usage for Non-interactive Reconstruction&#039;&#039;&#039;:&lt;br /&gt;
  $ submit/noprint/que=sys$slow um:uct_reconstruction.com/params=(&amp;lt;b&amp;gt;DISK2:MICROCT.DATA.00000610.00002449]C000####.RSQ &amp;lt;/b&amp;gt;, a)&lt;br /&gt;
*Normally jobs are submitted to sys$slow queue instead of running them interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
Here are examples of how to reconstruct a single RSQ file: C0007655.RSQ, sample 4111 and measurement 9899. &amp;lt;br&amp;gt;&lt;br /&gt;
To reconstruct slices 101 to 201 and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com /log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, 100:200, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The command must be all on one line (or use hyphen), and it wants the 3 parameters: filename, slices, and log.file name&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
To reconstruct all slices, use “a” for all slices and submit the job to the sys$slow queue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ delete C0007655.ISQ;*&lt;br /&gt;
$ submit/noprint/que=sys$slow um:uct_reconstruction.com/log=sys$scratch:reco4111.log/para=(dk0:[microct.data.00004111.00009899]C0007655.rsq, a, sys$scratch:reco4111.log)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The .log filename is up to you, as long as it&#039;s the same at both places. &lt;br /&gt;
*Give full pathname for RSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct multiple files====&lt;br /&gt;
For multiple files, create a script and submit the job to the sys$slow queue. For example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ eve reco_all.com   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or open editor (command &#039;Edit&#039;), put the following lines in the file and save it as .e.g sys$scratch:reco_all.com:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009899]C0007655.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009900]C0007656.rsq a&lt;br /&gt;
$ uct_reconstruction dk0:[microct.data.00004111.00009001]C0007657.rsq a&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save the script and exit the text editor, then submit the job (e.g. to sys$slow):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint/que=sys$slow/log=sys$scratch:reco4111.log sys$scratch:reco_all.com&lt;br /&gt;
All the files will be reconstructed as a single job, with one log file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch reconstruction on XtremeCT2====&lt;br /&gt;
The reconstruction software available for the XT2 supports the /batch syntax that replaces reco_all.com. &lt;br /&gt;
You can split a manual reconstruction into several jobs using&lt;br /&gt;
&lt;br /&gt;
 $ uct_reconstruction DK0:[XTREMECT2.DATA.00001234.00005678]D0123456.RSQ a/batch=16&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Update to uct_reconstruction V6.2-5, March 2019====&lt;br /&gt;
&lt;br /&gt;
As of March 2019, we should only use uct_reconstruction v6.2-5 on xtremect2. &lt;br /&gt;
For studies with baseline and follow-up scans overlapping this time, the old version (V6.2-2) can still be accessed using&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_old_recon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Changing reconstruction versions can lead to small systematic differences in the result parameters of a trabecular bone analysis. The old version should only be accessed by those who absolutely need to use it. (Scanco recommends re-reconstructing all measurements of a study with version 6.2-5 instead).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== Rotated Reconstruction (about z-axis)===&lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to measure the angle for the rotated reconstruction. &lt;br /&gt;
#*To start the program type &amp;lt;code&amp;gt;$ uct_evaluation &amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. &lt;br /&gt;
#*Load your sample and select the angle measurement button.  &lt;br /&gt;
#*Drag the ends and the intersection of the green lines to measure the desired rotation angle. &lt;br /&gt;
#:[[File:Angle meas.preview.jpg|600px]]&lt;br /&gt;
#Rotate and reconstruct&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:reco_all &amp;lt;/code&amp;gt; to reconstruct all slices.&lt;br /&gt;
#*Use &amp;lt;code&amp;gt;$ @com:uct_reconstruction_angle &amp;lt;/code&amp;gt; to reconstruct selected slices from an RSQ. &lt;br /&gt;
#Use the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] to check the sample after the rotated reconstruction:&lt;br /&gt;
#:[[File:Rotated_reconstruction.preview.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;General Usage&#039;&#039;&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com P1 P2 P3&lt;br /&gt;
&lt;br /&gt;
      P1: Angle in degrees&lt;br /&gt;
      P2: Sample number&lt;br /&gt;
      P3: Measurement number&lt;br /&gt;
&lt;br /&gt;
$ @com:uct_reconstruction_angle.com P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
      P1: RSQ Filename&lt;br /&gt;
      P2: Slice number (A – all, start:finish)&lt;br /&gt;
      P3: Log file of batch job&lt;br /&gt;
      P4: Delete log file (true/false)&lt;br /&gt;
      P5: Angle in degrees&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The angle of rotation uses the right-hand rule:  a counterclockwise rotation is positive and a clockwise rotation is negative.&lt;br /&gt;
*The angle of rotation uses a single decimal place.  &lt;br /&gt;
*By default the reconstruction jobs will be placed in the sceva3_slow queue.&lt;br /&gt;
*Both functions are executed from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reconstruct all slices====&lt;br /&gt;
The following examples are for a 19.1 degree counterclockwise rotation of sample 6876, measurement 15417, C0005086.RSQ.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:reco_all.com 19.1 6876 15417&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Delete the ISQ file from the measurement directory.&lt;br /&gt;
&lt;br /&gt;
====Reconstruct a selection of slices====&lt;br /&gt;
*A valid ISQ must exist.&lt;br /&gt;
*There is an offset of 1 slice when designating slice selection.&lt;br /&gt;
&lt;br /&gt;
To reconstruct slices 36 to 41:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 sys$scratch:reco610.log true 19.1&lt;br /&gt;
$ @com:uct_reconstruction_angle.com DK0:MICROCT.DATA.00006876.00015417]C0005086.RSQ 35:40 &amp;quot;&amp;quot; &amp;quot;&amp;quot; 19.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*&amp;quot;&amp;quot; is used as a null input for optional parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Other Reconstruction===&lt;br /&gt;
&lt;br /&gt;
====Reconstruct at a new voxel size====&lt;br /&gt;
See a script in:&lt;br /&gt;
  DISK1:[XTREMECT2.EVAL]UPDATE_HEADER.COM&lt;br /&gt;
&lt;br /&gt;
This script includes the following type of information:&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000010.00000050]D0000068.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
  $ r ut:updh_voxelsize.exe&lt;br /&gt;
  DK0:[XTREMECT2.DATA.00000011.00000054]D0000072.RSQ&lt;br /&gt;
  122&lt;br /&gt;
  82000&lt;br /&gt;
  1706&lt;br /&gt;
&lt;br /&gt;
This is what one would do in a terminal. The only requirement is that this &amp;lt;code&amp;gt;updh_voxelsize.exe&amp;lt;/code&amp;gt; cannot be executed as the normal user.&lt;br /&gt;
Prior to that, one has to log as calibration, and do:&lt;br /&gt;
  $ set proc/priv=bypass&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate RSQ==&lt;br /&gt;
&lt;br /&gt;
===View RSQ projections and flat field===&lt;br /&gt;
&lt;br /&gt;
It can be very useful to examine the projections that are contained in the RSQ file, as well as to see the flat field correction frames.&lt;br /&gt;
&lt;br /&gt;
In the session manager, double click the RSQ file and the program ximage will open. Or, type:&lt;br /&gt;
  $ sh sym x&lt;br /&gt;
    X == &amp;quot;$UM:XIMAGE.EXE&amp;quot;&lt;br /&gt;
  $ x D0000018.RSQ&lt;br /&gt;
Then switch to xz view and go to the second slice (in this order). Then you should see a frame of the none attenuated beam (nothing in the beam, or Scanco calls it the I0 frame). If it is a multi stack measurement then there will be several copys of this frame in this image.&lt;br /&gt;
&lt;br /&gt;
In an RSQ you have for each slice of the detector one dark current line and then the full intensity line followed form the radiographs taken under the different angles (sinogram). In the x direction is the detector line, in the y direction is the rotation angle (except dark and I0) and in the z direction is the z-direction of the scanner. If you switch the view to xz, then you can see the frames as acquired by the detector (or stacked frames all taken under the same rotation angle). Frame 1 is then the dark image and Frame 2 is the full intensity image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to AIM===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
ipl&amp;gt; rsq_to_aim in YP_IGFAMOTION_003_6.RSQ                                                                                             &lt;br /&gt;
  -pos                       [0 0 0] &amp;gt; &lt;br /&gt;
  -dim                       [-1 -1 -1] &amp;gt; &lt;br /&gt;
  -convert_to_pro            [false] &amp;gt; true&lt;br /&gt;
  -sinogram_not_frames       [true] &amp;gt; true&lt;br /&gt;
  -div_unsigned_by_2         [false] &amp;gt; true&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt; write&lt;br /&gt;
  -name                      [internal_name] &amp;gt; in&lt;br /&gt;
  -filename                  [default_file_name] &amp;gt; YP_IGFAMOTION_003_6_rsq.aim&lt;br /&gt;
  -compress_type             [bin] &amp;gt; none&lt;br /&gt;
  -version_020               [true] &amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert RSQ to PSQ===&lt;br /&gt;
First, in the terminal turn on the &#039;advanced questions&#039; mode&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Second use the reconstruction EXE to convert RSQ to PSQ&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run UCT_RECONSTRUCTION.EXE&lt;br /&gt;
raw file: DISK3:[MICROCT.PROJECTS.YVES.LANDMARK.RAW]filename.RSQ&lt;br /&gt;
&lt;br /&gt;
Give slice number, or &#039;a&#039; for all&lt;br /&gt;
hit return a few times&lt;br /&gt;
&lt;br /&gt;
Write Projection [N]:   -&amp;gt; say y and it writes the PSQ and continues with reco&lt;br /&gt;
Say p if it shall just produce PSQ and NOT continue with reco!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Beam hardening correction can be turned off by doing&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UCT_RECONSTRUCTION_CALIBRATION TRUE&lt;br /&gt;
$ define uct_disable_bh_correction true&lt;br /&gt;
$ deass UCT_BEAMHARD_POWER&lt;br /&gt;
$ deass UCT_BEAMHARD_factor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then run &amp;lt;code&amp;gt;uct_reconstruction&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The RSQ contains the RAW projection data. The PSQ represents tilted parallel beam projections:&lt;br /&gt;
&lt;br /&gt;
[[Image:CB-Rebinned.gif]]&lt;br /&gt;
&lt;br /&gt;
The rebinning process reduces the number of projections from 836 (1 bright field, 1 dark field and 834 projections spaced at 0.24 deg/proj, spanning 200.16 deg) to 750 (spanning 180 deg) with a resolution of 0.24 deg. In addition to the geometric changes, intensities are adjusted ln(I/I0) and beam hardening correction is applied. After converting a PSQ to AIM with IPL, an image can be reconstructed with Matlab&#039;s iradon(), note that only the central slice will be geometrically &#039;correct&#039;, but differences in other slices are small (Circumference of calibration phantom differs less than 1%). in the final reconstruction these effects are accounted for reducing the number of z-slices from 124 (acquired) to 110 in the reconstructed image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Measure RSQ motion artifact===&lt;br /&gt;
Based on RSQ data, in-plane translation and rotation, and longitudinal translation can be determined. &lt;br /&gt;
&lt;br /&gt;
The RSQ is first converted to a tilted parallel-beam sinogram. Motion is measured using the bonelab_measuremotion command in the Calgary extension of IPL installed on percy. Copy the motion scripts available in &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]&amp;lt;/code&amp;gt; to your COM directory. Here is how they work:&lt;br /&gt;
&lt;br /&gt;
* RSQ_TO_PSQ.COM;1 - (optional) convert RSQ to PSQ, PSQ gets created in the same directory as RSQ. Usage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ @rsq_to_psq.com DK0:[BRUNO.DATA.00000162.00009479]C0008921.RSQ&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* IPL_MEASUREMOTION.COM;2 - Takes a PSQ and measures motion using Calgary IPL on percy&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! example of how to submit a motion measurement&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST /LOG=SYS$SCRATCH: -&lt;br /&gt;
  DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM -&lt;br /&gt;
  /PARAM=(DISK3:[MICROCT.PROJECTS.DEVEL.RECO_TEST.RAW]PHANTOM_NOMOTION.PSQ) -&lt;br /&gt;
   /LOG=DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]MEASUREMOTION.LOG&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results are save in &amp;lt;code&amp;gt;MEASUREMOTION.LOG&amp;lt;/code&amp;gt; and the following section contains all information:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/bonelab_measure_motion&lt;br /&gt;
  -input                     org&lt;br /&gt;
Motion:&lt;br /&gt;
Translation = 2.135364&lt;br /&gt;
Rotation = 0.024216&lt;br /&gt;
Index = 3.694660&lt;br /&gt;
Translation weight = 0.943156&lt;br /&gt;
Rotation weight = 69.403737&lt;br /&gt;
Z_motion = 2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below with search.&lt;br /&gt;
Translation,Rotation,Index,Trans_weight,Rot_weight,Z_motion&lt;br /&gt;
2.135364,0.024216,3.694660,0.943156,69.403737,2.274551&lt;br /&gt;
&lt;br /&gt;
Use the line below for DB entry (Index*100).&lt;br /&gt;
db_motion_index=369.466034&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In-plane translation is &#039;&#039;&#039;Translation&#039;&#039;&#039;, in-plane rotation is &#039;&#039;&#039;Rotation&#039;&#039;&#039; and longitudinal translation is &#039;&#039;&#039;Z_motion&#039;&#039;&#039;. &#039;&#039;&#039;Index&#039;&#039;&#039; is the total in-plane motion as used in the IEEE ISBI 2009 paper by linear combination using the weights, not used any more, now we use in-plane translation only. &#039;&#039;&#039;db_motion_index&#039;&#039;&#039; is the motion index value multiplied by 100 and that could be written to the patient database. Multiplication by 100 is necessary since the motion field in the database is integer only.&lt;br /&gt;
&lt;br /&gt;
For more background on the algorithm look at &#039;&#039;Pauchard Y., et al, Measuring patient motion in HR-pQCT, IEEE ISBI 2009&#039;&#039;, and &#039;&#039;Pauchard Y., et.al., Automated quantification of three-dimensional subject motion to monitor image quality in high-resolution peripheral quantitative computed tomography, Phys Med Biol. vol. 56, pp 6523-6543, 2011&#039;&#039;. &#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: The IPL implementation has not been validated against the Matlab implementation used in these publications. Motion Values can be different. Values can be automatically extracted as described below.&lt;br /&gt;
&lt;br /&gt;
* RSQ_MEASUREMOTION.COM;10 - The full deal: creates PSQ and measures motion all in the same directory as the RSQ.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
@DISK3:[MICROCT.PROJECTS.RESCAN.COM]RSQ_MEASUREMOTION.COM DISK3:[MICROCT.PROJECTS.RESCAN.RAW]M0003508.RSQ;1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to adjust the line:&lt;br /&gt;
&amp;lt;code&amp;gt;$ SCRIPTFILE := DISK3:[MICROCT.PROJECTS.YVES.SCRIPTS]IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
to the location of your &amp;lt;code&amp;gt;IPL_MEASUREMOTION.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The results are stored in the same directory as the RSQ in &amp;lt;RSQname&amp;gt;MOTION.LOG and can be extracted into motion_all.txt by running the search command:&lt;br /&gt;
&amp;lt;pre&amp;gt;search/output=motion_all.txt/window(0,1)/match=OR *motion.log &amp;quot;Translation,&amp;quot;,&amp;quot;Patient Name &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update RSQ&#039;s Center Information===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
username: calibration&lt;br /&gt;
password:&lt;br /&gt;
$ spb      or     $ set proc/priv=bypass  &lt;br /&gt;
$ run [.util]updh_center&lt;br /&gt;
Raw-Data-File:        enter location of raw data (with directory if necessary)&lt;br /&gt;
Center X:  [15430]:   enter new center value (e.g. 15415)&lt;br /&gt;
Press return for all other options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Determine RSQ&#039;s Centre Calibration Values===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define uct_reconstruction_calibration true   ! Note: do not mistype... or the calibration program will not run&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the SAME terminal: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_reconstruction dk0:[microct.data.00004026.00004576]c0001344.rsq&lt;br /&gt;
Slice-Nr. [0...919] (Neg. to stop): 100&lt;br /&gt;
Center [207]: here enter a new number&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hit return a few more times to use default values for other options.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XtremeCT check these values, that they do not change:&lt;br /&gt;
Maximal possible Scan-Distance (mm) = 125.9520 &lt;br /&gt;
Cropped adjusted Scan-Distance (mm) = 125.9520 &lt;br /&gt;
See that it does not change, e.g. drop to 124 mm or such...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then do that again, $ uct_reconstruction ....rsq 100 (for the first time, for each file/scan). &lt;br /&gt;
&lt;br /&gt;
Double click on ISQ. slide to slice 101 (!) (100+1, since terminal zero based) compare with image in e.g. slice 100 or 99 (disregard funny half image shift...) &lt;br /&gt;
&lt;br /&gt;
Should already look nicer. &lt;br /&gt;
&lt;br /&gt;
Then try out with e.g. center 230 or so, with e.g. slice 101 (thus slice 102 in Ximage). (now, only one run is necessary) &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
compare against image with center e.g. 200. &lt;br /&gt;
continue at libitum until you find the best center, the crispest image.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Usually the centre is determined to within about 3 to 5 points (which is 0.3 to 0.5 pixels), so e.g. test 225 and 230, and maybe 228. &lt;br /&gt;
&lt;br /&gt;
Write down your favourite. &lt;br /&gt;
&lt;br /&gt;
If you cannot decide: let Andres know which ISQ slice was reco-ed with which center (in &#039;Ximage&#039; slice numbers), and I can check - but since remote Ximage is SOOO slow, thanks for only pointing out a few options, I cannot check 20 settings...&lt;br /&gt;
&lt;br /&gt;
Then continue with next diameter scan (the first time for each scan, reco twice again) &lt;br /&gt;
&lt;br /&gt;
The different diameter centers should be a steady function, so all the new center values should be increasing as diameter decreases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Modify RSQ&#039;s BHC for in-air scans===&lt;br /&gt;
This is necessary because the beam-hardening correction factor assumes scans were done in soft tissue.  It is necessary to choose calibrations of 1200 or 700, instead of the default 200.&lt;br /&gt;
&lt;br /&gt;
Currently, the XtremeCT has options for 200 (standard) or 1200 calibration (in air). &lt;br /&gt;
&lt;br /&gt;
To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration; modification of MICROCT user data&lt;br /&gt;
$ run ut:UCT_EXT_HEADER_ADD_CALIB.EXE&lt;br /&gt;
&amp;gt; Raw-Data-File []: DISK2:[MICROCT.DATA.00000401.00001495]C0001404.RSQ&lt;br /&gt;
&amp;gt; ...&lt;br /&gt;
&amp;gt; Add another BH-Corr from file again? (Y/N) [N]:    ! Enter yes (UCTD:UCT_BH_COEFF_60KV_1200HA_3309.TXT)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, &amp;lt;b&amp;gt;delete&amp;lt;/b&amp;gt; the old ISQ.  It must be deleted or else the header information will not be changed.  Finally, reconstruct the new ISQ and analyze...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Manipulate ISQ==&lt;br /&gt;
&lt;br /&gt;
===Read an ISQ header===&lt;br /&gt;
You can either read using the standard tool&lt;br /&gt;
&lt;br /&gt;
  $ ctheader C0014141.ISQ&lt;br /&gt;
  $ sh sym ctheader&lt;br /&gt;
    CTHEADER == &amp;quot;$UT:CTHEADER.EXE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Or, use the extended header tool to show the calibration data&lt;br /&gt;
&lt;br /&gt;
  $ run ut:uct_ext_header_display.exe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import ISQ===&lt;br /&gt;
When you import, please note that the sample number AND measurement number are updated, so meas 10907 is now 10908.&lt;br /&gt;
&lt;br /&gt;
Suppose you have a sample 3000, meas 10000, C0001234.isq, and want to import this into sample 3001, this is what I would do:&lt;br /&gt;
&lt;br /&gt;
To make a copy of the scan (i.e., keep it in sample 3000 and make another copy in 3001)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd *3000*10000&lt;br /&gt;
$ copy C0001234.isq D0001234.isq,  also copy any other files you want imported (RSQ, GOBJs, etc)&lt;br /&gt;
$ import&lt;br /&gt;
&lt;br /&gt;
UCT_IMPORT V1.2&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
ISQ-file []: D0001234.ISQ&lt;br /&gt;
&lt;br /&gt;
Sample number [0]: 3001&lt;br /&gt;
&lt;br /&gt;
Change File Header name [Y]: Y&lt;br /&gt;
&lt;br /&gt;
Optional: Operator Measurement [0]: 1     (1 = bonelab)&lt;br /&gt;
&lt;br /&gt;
Site   20 Radius L&lt;br /&gt;
&lt;br /&gt;
Optional: Controlfile Nr. [0]:                (change if desired)&lt;br /&gt;
&lt;br /&gt;
Execute Rename Command [Y]: Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
===Ring Artifact===&lt;br /&gt;
*Refer to [[Media:Microct_ring_correction.pdf|&#039;&#039;&#039;MicroCT Ring Correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Partial Volume Effect===&lt;br /&gt;
*Refer to [[Media:Partial_Volume_Effect.pdf|&#039;&#039;&#039;Partial Volume Effect&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Beam Hardening Correction (BHC)===&lt;br /&gt;
&lt;br /&gt;
====Use the right BHC====&lt;br /&gt;
*Refer to [[Media:Beam_hardening_correction.pdf|&#039;&#039;&#039;Use the right beam hardening correction&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Understand Scanco BHC====&lt;br /&gt;
If you see lines like &#039;CCD_CORR: Expand BH-corr to1536&#039; etc. etc.: &lt;br /&gt;
&lt;br /&gt;
then we do a polynomial correction: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uctd:*bh_coeff*.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and you see a file with the scanner ID. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--&amp;gt; $ type uctd:UCT_BH_COEFF_60KV_0200HA_3309.TXT&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; &lt;br /&gt;
! Function 9 is Addpolynom&lt;br /&gt;
Function:           9 A&lt;br /&gt;
0:  3  0.00000000 -0.38599902  0.30870225 -0.06162301&lt;br /&gt;
--&amp;gt; 0: for all pixels. 3 --&amp;gt; 3rd degree polynom, with factors: &lt;br /&gt;
x^0 = 0&lt;br /&gt;
x^1 = -0.38...&lt;br /&gt;
x^2 = 0.308...&lt;br /&gt;
x^3 = -0.061...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This polynom is added to the PROJECTION value (not the raw counts). &lt;br /&gt;
&lt;br /&gt;
the BH-corr is doing a &#039;linearization&#039;, e.g. see&lt;br /&gt;
&lt;br /&gt;
http://iospress.metapress.com/content/twcxb9jfk8knhpq2/&lt;br /&gt;
&lt;br /&gt;
for more info. &lt;br /&gt;
&lt;br /&gt;
The values in the middle of the scan are amplified more - not just because of their position, but because the object is thicker there, thus the projection values are higher, thus the correction term is higher.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE&amp;lt;/b&amp;gt; : Linearisation, as used by Scanco, will compensate &#039;soft-tissue&#039; beam hardening (inside of water phantom appears &amp;lt;b&amp;gt;LESS&amp;lt;/b&amp;gt; dense). Bone related beam hardening, e.g. soft tissue near skull appearing &amp;lt;b&amp;gt;MORE&amp;lt;/b&amp;gt; dense, will &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; generally be compensated. See Kak and Slaney &#039;Principles of computerized tomogprahic imaging&#039; and Joseph and Spital J Comp Assist Tomo 1978 vol 2 for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
&lt;br /&gt;
==Analysis Topics==&lt;br /&gt;
&lt;br /&gt;
===Cortical thickness analysis in standard evaluation===&lt;br /&gt;
&lt;br /&gt;
!!Note - with ipl v5.42 this should be changed to &amp;lt;code&amp;gt;/dt_cortical_thickness&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the IPL command &amp;lt;code&amp;gt;/dt_cortex_obj_param&amp;lt;/code&amp;gt; to measure cortical thickness using direct methods.&lt;br /&gt;
&lt;br /&gt;
When extracting the results from the database using &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt;, specify the &amp;lt;code&amp;gt;UCT_3D_LIST_W_CTH.TXT&amp;lt;/code&amp;gt; template in directory &amp;lt;code&amp;gt;DISK0:[MICROCT_COMMMON.UIL]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
UCT_LIST.EXE Version V5.1&lt;br /&gt;
Template-File [UCT_3D_LIST_SHEET]: DISK0:[MICROCT_COMMON.UIL]UCT_3D_LIST_W_CTH.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
UCT_3D_LIST_W_CTH.TXT is now the default template as of March 2009.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical porosity and finite element analysis on XtremeCT===&lt;br /&gt;
&lt;br /&gt;
* This procedure is broken down into 3 separate components&lt;br /&gt;
* All Scripts mentioned be copied directly from DISK3:[MICROCT.PROJECTS.KYLE.SCRIPTS]&lt;br /&gt;
* Files should be copied from data to projects prior to running analysis (see bonelab procedures.doc on sodor) &lt;br /&gt;
&lt;br /&gt;
1. Autocontour the image &amp;lt;br&amp;gt;&lt;br /&gt;
2. Calculate and extract cortical measurements &amp;lt;br&amp;gt;&lt;br /&gt;
3. Create FE files and run FE &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Autocontour====&lt;br /&gt;
* The main autocontour script is located in the ue: directory, this should NOT be modified!&lt;br /&gt;
* The procedure is executed using a &amp;quot;hijack&amp;quot; script [[Media:HIJACK_AUTOCONTOUR.TXT|&#039;&#039;&#039;HIJACK_AUTOCONTOUR.TXT&#039;&#039;&#039;]], but the filename must be changed to .COM or found in the directory mentioned above.&lt;br /&gt;
* Files should already have a _SEG.AIM created and should be in the same directory as the raw .AIM file.&lt;br /&gt;
&lt;br /&gt;
* You then create a SUBMIT.COM script as you would for other files. For example:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:HIJACK_AUTOCONTOUR.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
* This command will then create various files for examination and further analysis. These include:&lt;br /&gt;
** FILENAME_COMBI.AIM - shows cortical, trabecular, and pores all in different colors&lt;br /&gt;
** FILENAME_COMBIPO.AIM - shows only the cortex with porosity as different color&lt;br /&gt;
** FILENAME_CRTXFILL.AIM - gives sold mask of cortex, porosity filled (can be used to calculate Ct.Th)&lt;br /&gt;
** FILENAME_CRTXPO.AIM - shows only the pores&lt;br /&gt;
** FILENAME_TRAB.GOBJ - gobj of trabecular region&lt;br /&gt;
** FILENAME_CRTX.GOBJ - gobj of cortical region&lt;br /&gt;
** FILENAME_AUTO2.GOBJ - gobj of whole bone region&lt;br /&gt;
&lt;br /&gt;
* Further technical details and references can be found in the following publications:&lt;br /&gt;
** Buie, H., Campbell, G., Klinck, R., MacNeil, J., &amp;amp; Boyd, S. (2007). Automatic segmentation of cortical and trabecular compartments based on a dual threshold technique for in vivo micro-CT bone analysis. Bone, 41(4), 505-515. &lt;br /&gt;
** K.K. Nishiyama, Macdonald, H., Buie, H., Hanley, D., &amp;amp; Boyd, S. (2010). Postmenopausal Women With Osteopenia Have Higher Cortical Porosity and Thinner Cortices at the Distal Radius and Tibia Than Women With Normal aBMD: An In Vivo HR-pQCT Study. Journal of Bone and Mineral Research, 25(4), 882-890.&lt;br /&gt;
&lt;br /&gt;
====Evaluate Cortex====&lt;br /&gt;
&lt;br /&gt;
*This Step 2 method of doing the cortical analysis is no longer used now that we have the IPL_UPAT_CALGARY_EVAL_XT1.COM or XT2.COM version. The problem with this approach is that it is a Frankenstein of the standard analysis and the advanced analysis. The cortical bone assessment is correct, but the trabecular compartment from the standard analysis is not a perfect match. Instead, we should be using the GOBJs described in IPL_UPAT_CALGARY_EVAL_XT1.COM so that we have a perfect mix. &lt;br /&gt;
  &lt;br /&gt;
Nevertheless, we keep this information here for now for posterity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*After the autocontour is computed we used to call IPL_EVAL_CORTEX.COM that will calculate the cortical parameters:&lt;br /&gt;
**Cortical porosity (%)&lt;br /&gt;
**Direct cortical thickness (mm)&lt;br /&gt;
**Cortical density (mg HA/ccm)&lt;br /&gt;
&lt;br /&gt;
This WAS called as the following:&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_EVAL_CORTEX.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME.AIM&#039;&#039;&#039; -&lt;br /&gt;
        /LOG=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.LOG]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;_EVAL_CRTX.LOG&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The results of this script are outputed into individual log files for each file being evaluated.&lt;br /&gt;
* To extract these results into one file use:&lt;br /&gt;
 $ search/output=output_results_filename.txt *EVAL_CRTX.LOG &amp;quot;!% ov/tv&amp;quot;,&amp;quot;!&amp;gt; C.Th&amp;quot;,&amp;quot;!% mean_unit&amp;quot;&lt;br /&gt;
*A learn command in the eve editor can be used to extract the specific results desired:&lt;br /&gt;
**!% ov/tv is the amount of bone in the cortex (ie. 1- ov/tv =  cortical porosity)&lt;br /&gt;
**!&amp;gt; C.Th is the direct cortical thickness in mm&lt;br /&gt;
**!% mean_unit is the cortical density in mg HA/ccm&lt;br /&gt;
&lt;br /&gt;
====Create and run FE models====&lt;br /&gt;
&lt;br /&gt;
*The most current common FE model to run is a homogeneous model where all elements have the same material properties and the cortex and trabecular regions are labeled separately in order to determine the percentage of load carried by each region.&lt;br /&gt;
*The other option is to create a model where the material properties are scaled based on the density values and scripts for this can be found in the COM directory.&lt;br /&gt;
&lt;br /&gt;
*The script IPL_FEM_HOMOGEMOUS_LS.COM will use files created by the autocontour and appropriately label the cortex and trabecular regions as well as remove any disconnected pieces of bone.&lt;br /&gt;
 $  QQ = &amp;quot;SUBMIT/NOPRINT/QUE=SCEVAL_FAST/LOG=SYS$SCRATCH com:IPL_FEM_HOMOGENOUS_LS.COM&amp;quot;&lt;br /&gt;
 $ &#039;QQ&#039; /PARA=DISK3:[MICROCT.PROJECTS.&#039;&#039;&#039;PROJECT_NAME&#039;&#039;&#039;.MODELS]&#039;&#039;&#039;FILENAME&#039;&#039;&#039;.AIM&lt;br /&gt;
&lt;br /&gt;
*Files will now be created with the suffix _HOM_LS.AIM and can be moved to Mighty-Mac or Mavis for FE analysis.  You will require user accounts for these computers and can contact Eric or Steve. If using FTP be sure to transfer the files in binary mode (further documentation on this can be found in this Wiki)&lt;br /&gt;
&lt;br /&gt;
*[[Media:2009-10-15_FEM_Tutorial.pdf|&#039;&#039;&#039;FEM tutorial main steps&#039;&#039;&#039;]] to submit the FE files with a detailed manual is recommended for first time users.&lt;br /&gt;
*This is now out of date, but is kept here because it still contains useful information about preparing AIM files and post-processing.  &lt;br /&gt;
*For running the FE itself, please refer to the current manual at [[FAIM Finite Element Solver]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Cortical midshaft analysis with moment of inertia calculation===&lt;br /&gt;
&lt;br /&gt;
This explains what happens when you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ midshaft       ! or&lt;br /&gt;
$ eval_midshaft &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw a rough contour around your slices: open the Contouring Sub-window, double-click on the big image, and it automatically finds the best contour. Then click on &#039;Selection&#039; &#039;Forwards&#039;, then &#039;Iterate Forwards&#039;.&lt;br /&gt;
&lt;br /&gt;
Then &#039;cancel&#039; the contouring sub-window, and start the 3D evaluation.  Make sure you have already set the correct threshold, sigma, support in file&lt;br /&gt;
&amp;lt;pre&amp;gt;DISK2:[MICROCT.EVAL]IPL_FIXED_BATCH_MIDSHAFT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you should find a job called UCT_EVALUATION_MIDSHAFT and a SYS$SCRATCH:*_MIDSHAFT_*.LOG&lt;br /&gt;
&lt;br /&gt;
The IPL_FIXED_BATCH_MIDSHAFT.COM by default does not calculate the direct measurement results because you must have many more than 20 slices for these to be valid.  You can uncomment these parts of the file if you contoured the whole stack (i.e., stack thickness is &amp;gt;&amp;gt; than cortex thickness).&lt;br /&gt;
&lt;br /&gt;
TILDE: Note that you will see lots of tildes (~) on the result sheets. This is to tell you that, if the measurements were trabecular bone, those values would only be approximate. But now for the cortex, they are actually correct! (see below for more explanation about this) I would now use the tildes to check the &#039;excel&#039; table that the operator has taken the correct script for the trab. or cort. evaluations for the respective measurements!&lt;br /&gt;
&lt;br /&gt;
So what&#039;s the advantage of all this?  Now, also VOX-TV is correct!  So VOX-TV is the whole area, VOX-BV the doughnut, so TV - BV is the marrow area!  And still, TRI-Tb.Th is the cortical thickness (TRI-TV is NOT correct, because the .gobj feature was turned off).&lt;br /&gt;
&lt;br /&gt;
I say &#039;area&#039; above: depending on how many slices one individual scan has,&lt;br /&gt;
VOX-BV (and VOX-TV) might be different for different scans, so you will HAVE to&lt;br /&gt;
convert the volumes to area again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
volume equals area times height&lt;br /&gt;
--&amp;gt; Bone Area = VOX-BV / height = BV / (dim.z * el_size_mm.z)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and same for Total area, of course :-)&lt;br /&gt;
&lt;br /&gt;
POROSITY: If you want porosity of the bone itself draw two contours: one around, counter-clockwise, on on the inside, clock-wise (thus a &#039;negative&#039;, excluding contour). Now, TV will be just that ring area, BV will be the bone within that ring area, and BV/TV will be 1 - porosity, thus BV/TV 94% means 6% porosity.&lt;br /&gt;
&lt;br /&gt;
METAPHYSIS: Application of this script to metaphysis scan (with trab. in middle):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ midshaft&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Draw one contour around the cortex, and in the same slices, a NEGATIVE contour on&lt;br /&gt;
the inside (CW contour) to exclude the trabecular bone. You may potentially work with the BP (break-point) system to be able to morph the negative contours, even though there is already an &#039;outer&#039; contour around the bone in every slice.&lt;br /&gt;
&lt;br /&gt;
Start 3D eval, read out the data-base with &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
NOTE: You CANNOT give the .gobj a special name such as c0001234_cortex.gobj if you are using the automatic evaluation button on UCT_EVALUATION.  Only after the eval (or midshaft eval) has finished, you may copy it to a more meaningful name, but all of the evaluations are just taking the STANDARD gobj name!&lt;br /&gt;
&lt;br /&gt;
Afterwards (after renaming or copying the _seg.aim to _cortex.aim, and .gobj to _cortex.gobj), you may want to start the very normal eval with normal (inner) contours to evaluate the trabecular compartement.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Remember: the values in our 3D result database then are OVERWRITTEN.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a large study, I would recommend to run the $ midshaft for ALL&lt;br /&gt;
samples, &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; to e.g. &amp;lt;code&amp;gt;sys$scratch:mystudy_cortex.txt&amp;lt;/code&amp;gt;, &lt;br /&gt;
rename/copy gobj and seg for all, and THEN run the trabecular evaluation for all samples.  &amp;lt;code&amp;gt;$ uct_list&amp;lt;/code&amp;gt; and you have two nice complete excel sheets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE ON PLATE MODEL: More explanations of why the plate model is correct&lt;br /&gt;
&lt;br /&gt;
Assume a ring (cortex).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Area = thickness * &#039;middle line&#039;.&lt;br /&gt;
&#039;middle line&#039; = average of outer and inner circumference&lt;br /&gt;
--&amp;gt; &#039;middle line&#039; = 0.5 * &#039;bone surface&#039;&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; thickness = bone volume * 2 / bone surface.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And this is nothing else but the &#039;plate model&#039; formula for Tb.Th!&lt;br /&gt;
&lt;br /&gt;
NORMAL TRABECULAR EVALUATION?  And why not just run the &#039;normal trabecular eval&#039;?  Because in the &#039;normal&#039; TRI calculation, we are EXCLUDING all surfaces that are created artificially by a gobj line that cuts through a trabecula.&lt;br /&gt;
&lt;br /&gt;
However, for the midshaft, this means the whole outer (or even inner, if also&lt;br /&gt;
inner contour is there) is SUPPRESSED, because it is touching the gobj line. So&lt;br /&gt;
this is where that midshaft script comes in: it turns off that suppression.&lt;br /&gt;
&lt;br /&gt;
MORE EXPLANATIONS: Why the direct DT-Tb.Th* is NOT correct for a scan with&lt;br /&gt;
just 12 slices.&lt;br /&gt;
&lt;br /&gt;
If we fill the structure with spheres, those spheres should be bounded by the&lt;br /&gt;
width of the cortex, not just by the fact that we only have 12 slices (and even more so, we are always doing &#039;aim box&#039; suppression with the spheres) if a sphere touches the boundary of the aim box, it is suppressed!&lt;br /&gt;
&lt;br /&gt;
So this is quite crucial for Tb.Sp and Tb.N. To get meaningful Tb.Sp, you would&lt;br /&gt;
need a LOT of slices. Also, then, you cannot have the inner contour - otherwise&lt;br /&gt;
the negative inner contour will delete the Tb.Sp. spheres.&lt;br /&gt;
&lt;br /&gt;
If you have enough slices, you may opt to turn the &amp;lt;code&amp;gt;/dt_object&amp;lt;/code&amp;gt; on again in the&lt;br /&gt;
midshaft script (second half). Then DT-Tb.Th* and TRI-Tb.Th just have a slightly different behaviour if there are little pores within the cortex:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TRI: the little pore just adds a little BS, thus the influence is not that big.&lt;br /&gt;
DT: the little pore cuts the thickness sphere in half, thus at that location, the thickness is halved.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MEAN1 and MEAN2: The script is also calculating Mean1 and Mean2 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Mean1: &#039;apparent&#039; density, average over whole TV&lt;br /&gt;
Mean2: &#039;tissue&#039; density: average over what was segmented as bone only.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These mean values will be in mg HA/ccm if you have the calibration option for bone density installed (and activated for those scans).  Remember: the bone has to have some soft-tissue (or equivalent) on the inside, and preferably also on the outside then.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Joint Thickness Measurements===&lt;br /&gt;
*Sample script to search histogram files for results: [[Media:Summarize_Joint_Th_Measurements.pdf|Summarize Joint Th Measurements]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Joint Space Width (JSW) analysis===&lt;br /&gt;
The scripts published in [https://doi.org/10.21037/qims.2019.12.11 Stok et al. 2020], and released by Scanco, are available for XCT1 and XCT2.&lt;br /&gt;
&lt;br /&gt;
On XCT2 they have been installed as Tasks #112 to #116.&lt;br /&gt;
&lt;br /&gt;
Instructions to run this analysis are available here [[Media:ESD_Joint_Space_Width_v2.3.pdf]].&lt;br /&gt;
&lt;br /&gt;
The full citation for this work is: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Stok KS, Burghardt AJ, Boutroy S, Peters MPH, Manske SL, Stadelmann V, Vilayphiou N, van den Bergh JP, Geusens P, Li X, Marotte H, van Rietbergen B, Boyd SK, Barnabe C; SPECTRA Collaboration. Consensus approach for 3D joint space width of metacarpophalangeal joints of rheumatoid arthritis patients using high-resolution peripheral quantitative computed tomography. Quant Imaging Med Surg. 2020 Feb;10(2):314-325. doi: 10.21037/qims.2019.12.11. PMID: 32190559; PMCID: PMC7063288.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==UCT_EVALUATION==&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION SOP===&lt;br /&gt;
====Start 3D evaluation from terminal for XtremeCT II====&lt;br /&gt;
&lt;br /&gt;
Logged into the terminal as &amp;quot;xtremect2&amp;quot; you can see the evaluation scripts in &amp;lt;code&amp;gt;IDISK1:[XTREMECT2.EVAL]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The morphological evaluation: Control file #25. It basically runs auto contouring (#23) and then the morphological analysis.&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_EVALUATION_V6_XT2_DT61.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_CORT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TRAB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_EVAL_TOTAL.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_CORT_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TRAB_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;UCT_3D_LIST_TOTAL_XT2.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Contouring scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK.COM&amp;lt;/code&amp;gt;: Creates automatically the standard GOBJ. Control file #22.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPL_AUTOK_CTTB.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT, TRAB and PORE.GOBJ (previously CRTXPO). Control file #23.&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_AUTOK_CTTB_CORR.COM&amp;lt;/code&amp;gt;: Creates automatically the CORT and PORE.GOBJ, after manual correction on the TRAB.GOBJ. Control file #24.&lt;br /&gt;
&lt;br /&gt;
Laplace- Hamming scripts:&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH61_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;IPLV6_UPAT_EVAL_LH82_XT1DB.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Results will be generated in the &amp;lt;code&amp;gt;IDISK2:[XTREMECT2.RESULTS]&amp;lt;/code&amp;gt; directory, in the same way as they are generated for the cortical analysis on XtremeCT I, i.e. using the uct database and appended text files.&lt;br /&gt;
&lt;br /&gt;
Laplace Hamming evaluations will generate results in the upat_list database. The direct measurements will be stored in the uct_list database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Symbols for XtremeCT II vs XtremeCT I====&lt;br /&gt;
&amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; account you get&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[MICROCT.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.3309.]&amp;quot;&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;code&amp;gt;xtremect2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;quot;MICROCT_BIN&amp;quot; = &amp;quot;DISK1:[XTREMECT2.]&amp;quot; (LNM$PROCESS_TABLE)&lt;br /&gt;
       = &amp;quot;DISK0:[MICROCT_COMMON.]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So 3309 has its own directory where the software versions for the two scanners are different, e.g.&lt;br /&gt;
&lt;br /&gt;
  xtremect: DISK0:[MICROCT_COMMON.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
  microct: DISK0:[MICROCT_COMMON.3309.][MAIN]IPL_SCANCO_M.EXE&lt;br /&gt;
&lt;br /&gt;
We have defined some symbols for the different ipl versions:&lt;br /&gt;
&lt;br /&gt;
  IPL&lt;br /&gt;
  IPLREG&lt;br /&gt;
  IPLFE&lt;br /&gt;
  IPL_BATCH&lt;br /&gt;
  IPLREG_BATCH&lt;br /&gt;
  IPLFE_BATCH&lt;br /&gt;
&lt;br /&gt;
In the scripts you can directly use these symbols instead of ipl_scanco_prog (old style).&lt;br /&gt;
&lt;br /&gt;
IPL and IPL_BATCH are different for the two scanners because the newest version is not officially released for XT1.&lt;br /&gt;
IPL of the microct account (XT1) cannot read data of the xtremect2 account (XT2). The other way around it works.&lt;br /&gt;
&lt;br /&gt;
IPLREG and IPLREG_BATCH point to &amp;lt;code&amp;gt;$DISK1:[XTREMECT2.MAIN]IPL_SCANCO_REGIS_V107.EXE&amp;lt;/code&amp;gt; for both accounts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Start 3D evaluation from terminal for microCTs====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;Do not change &amp;lt;code&amp;gt;uct_evaulation_v4.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ipl_fixed_batch_v4.com&amp;lt;/code&amp;gt; in .eval, but only work on your own file (i.e., eval_steve).&lt;br /&gt;
&lt;br /&gt;
First, an explanation of how the normal evaluation runs by hitting the &#039;Start 3d&#039; button.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_v4.com/para=(xxx,yyy,zzz,…)&amp;lt;/pre&amp;gt;&lt;br /&gt;
There are 8 parameters:&lt;br /&gt;
*P1: number of print outs of our results sheet&lt;br /&gt;
*P2: the ISQ filename&lt;br /&gt;
*P3-5: start x (pos x), y, z&lt;br /&gt;
*P6-8: dim x, y, z&lt;br /&gt;
The parameters p3-p8 come from the white bounding box. The problem is that when you start from the terminal you do not have these. This problem can be overcome by using the &amp;lt;code&amp;gt;isq_to_aim_gobjbox.exe&amp;lt;/code&amp;gt; and then give the relevant parameters. You can &lt;br /&gt;
&amp;lt;code&amp;gt;$ run um: isq_to_aim_gobjbox.exe &amp;lt;/code&amp;gt;&lt;br /&gt;
to see what it&#039;s asking for.&lt;br /&gt;
By using gobjbox you do not need p3-p8. Therefore you can start the evaluation by giving:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ scanco_submit_command ue:uct_evaluation_special_josh.com –&lt;br /&gt;
/para=(1,dk0:[microct.data.0000275.0000245]c0000332.ISQ)&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You can make &amp;lt;code&amp;gt;uct_evaluation_special_josh.com&amp;lt;/code&amp;gt; such that there is no need for P1 (change p2 to p1 in the script, etc).&lt;br /&gt;
*Alternatively to using the gobjbox you could use the normal isq_to_aim, but hard code the dim and pos.&lt;br /&gt;
*Then call whatever IPL files you want to call. Look into &amp;lt;code&amp;gt;fixed_batch_v4&amp;lt;/code&amp;gt; to see how we turn on the database always on the first line of every IPL part, and how we calculate parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Temporarily change evaluation for UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
In a terminal window, we need to redefine the logical that determines which&lt;br /&gt;
3D evaluation is associated with the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool.&lt;br /&gt;
&lt;br /&gt;
For example, typing &amp;lt;code&amp;gt;VOI&amp;lt;/code&amp;gt; runs the &amp;lt;code&amp;gt;UCT_EVALUATION&amp;lt;/code&amp;gt; tool&lt;br /&gt;
by executing &amp;lt;code&amp;gt;UE:UCT_EVALUATION_VOI.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show logical UCT_EVALUATION&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then you can redefine this to point to another evaluation script.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ define UCT_EVALUATION UE:UCT_EVALUATION_CUTOUT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is only redefined in the particular terminal you are using, and it&lt;br /&gt;
will reset to its default in a new terminal.  It will also not work if you&lt;br /&gt;
try to submit the job to a queue.  It only works interactively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Assign special evaluation to UCT_EVALUATION====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: This is for advanced users ONLY.  Do not attempt this without contacting Steve!&lt;br /&gt;
&lt;br /&gt;
This will show how to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt;:&lt;br /&gt;
It is easy to set up multiple .COM files for the 3D evalulation tool, one such set-up is already prepared on your computer:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eval_special&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will do something similar to &amp;lt;code&amp;gt;$ voi&amp;lt;/code&amp;gt; where the normal contour program opens, but if you start the 3D eval, the special script &amp;lt;code&amp;gt;um:uct_evaluation_special.com&amp;lt;/code&amp;gt; is called (associated with eval_special), which then in turn calls &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt;, where you can specify your own set of thresholds, etc.&lt;br /&gt;
&lt;br /&gt;
So it is a daisy chain of files which we will need to follow to set up a special &amp;lt;code&amp;gt;xxx_kyle.com&amp;lt;/code&amp;gt; script, and where ever we encounter &amp;lt;code&amp;gt;_special.com&amp;lt;/code&amp;gt;, we copy and change it to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to set up &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; you will need to do the following:&lt;br /&gt;
&lt;br /&gt;
*1. Edit &amp;lt;code&amp;gt;disk1:[microct]microct_setup_user.com&amp;lt;/code&amp;gt; (double-click on file), please be careful here, it&#039;s very important! (and I hope you have done your &#039;weekly full backup&#039; regularly, so you could always retrieve a good version of login.com...)&lt;br /&gt;
&lt;br /&gt;
*2. Then, towards to bottom and duplicate the line&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_special :== @com:eval_var.com um:uct_evaluation_special.com&amp;lt;/code&amp;gt;&lt;br /&gt;
and change duplicate to&lt;br /&gt;
&amp;lt;code&amp;gt;$ eval_kyle    :== @com:eval_var.com um:uct_evaluation_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will make this command &amp;lt;code&amp;gt;eval_kyle&amp;lt;/code&amp;gt; available after you login freshly. Save and Exit.&lt;br /&gt;
&lt;br /&gt;
*3. Then go to &amp;lt;code&amp;gt;disk1:[microct.eval]&amp;lt;/code&amp;gt; and copy the file &amp;lt;code&amp;gt;uct_evaluation_special.com&amp;lt;/code&amp;gt; to the name &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt; (&#039;Commands&#039;, &#039;Copy ...&#039;, BUT CLICK ON THE THREE DOTS and give new output name. &lt;br /&gt;
If you do not see the &amp;lt;code&amp;gt;eval_special:&amp;lt;/code&amp;gt; go to terminal, &amp;lt;code&amp;gt;$ dir ue:*special*.com&amp;lt;/code&amp;gt; and take it from the &amp;lt;code&amp;gt;microct_common&amp;lt;/code&amp;gt; directory)&lt;br /&gt;
&lt;br /&gt;
*4. Edit the &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt; file: at the top, change &amp;lt;code&amp;gt;ipl_......_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*5. Copy &amp;lt;code&amp;gt;ipl_fixed_batch_special.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*6. Edit &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; to your liking. If you want &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; to not perform the full evaluation, but only something akin to &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt;, then, in the steps above, copy &amp;lt;code&amp;gt;uct_eval_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;uct_evaluation_kyle.com&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;ipl_voi.com&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;ipl_fixed_batch_kyle.com&amp;lt;/code&amp;gt; (thus you take the &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; script as template for the &amp;lt;code&amp;gt;_kyle&amp;lt;/code&amp;gt; script).&lt;br /&gt;
&lt;br /&gt;
*7. Then open a new terminal (&#039;applications&#039;, &#039;decterm&#039;), &amp;lt;code&amp;gt;$ eval_kyle&amp;lt;/code&amp;gt; should work now!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes&#039;&#039;&#039;: When you start the 3D eval, then&lt;br /&gt;
&amp;lt;code&amp;gt;$ que&amp;lt;/code&amp;gt;&lt;br /&gt;
will show you your batch job with your name on it now!&lt;br /&gt;
&lt;br /&gt;
And now a few more explanations how the whole thing works: in all eval programs, hitting &#039;Start 3d&#039; just submits the logical &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;$ show log uct_evaluation&amp;lt;/code&amp;gt; shows you that by default, this points to &amp;lt;code&amp;gt;ue:uct_evaluation_v4.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Those little &amp;lt;code&amp;gt;voi&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;eval_steve&amp;lt;/code&amp;gt; scripts then just temporarily redefine this logical so that a different script is submitted when you &amp;lt;code&amp;gt;&#039;start 3d eval&#039;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
About the &#039;&#039;&#039;corelut eval&#039;&#039;&#039;: Then we start a whole different eval program: the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt;. So, if you set up a &amp;lt;code&amp;gt;eval_steve_c&amp;lt;/code&amp;gt; (or whatever you want to call it): Produce a &amp;lt;code&amp;gt;eval_var_c.com&amp;lt;/code&amp;gt; in the directory commands (maybe copy from microct_common to [microct.commands]), and there, on the last line, instead of starting&lt;br /&gt;
&amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
(the normal program), replace by&lt;br /&gt;
&amp;lt;code&amp;gt;$ evalc&amp;lt;/code&amp;gt;&lt;br /&gt;
which starts the &amp;lt;code&amp;gt;.exe_corelut&amp;lt;/code&amp;gt; - and because the &amp;lt;code&amp;gt;eval_var.com&amp;lt;/code&amp;gt; has over-ridden the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; logical just before, then you are starting different script upon starting 3d eval.&lt;br /&gt;
NB: we have a logical AND a symbol called &amp;lt;code&amp;gt;uct_evalution&amp;lt;/code&amp;gt;. Sorry for confusion. Symbol &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; starts normal &amp;lt;code&amp;gt;eval&amp;lt;/code&amp;gt; program, so this is what you replace by symbol &amp;lt;code&amp;gt;evalc&amp;lt;/code&amp;gt; now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_EVALUATION FAQ===&lt;br /&gt;
====Warning: Not all required GOBJ files found, Continue anyway?====&lt;br /&gt;
This occurs when the chosen evaluation script is looking for a contour file, but can&#039;t find it.  &lt;br /&gt;
*To see what contours the script is looking for go to &amp;quot;File&amp;quot; then &amp;quot;Save GOBJ As...&amp;quot;.  You can now see the list of required gobj files.  &lt;br /&gt;
*For some scripts, it may not be necessary to supply a gobj and you can continue with the evaluation without it.  For example, the &amp;quot;3D Segmentation of VOI, 1 solid object&amp;quot; applies the contour to isolate the region of interest, however, this may not be necessary if the object of interest can be extracted from thresholding.&lt;br /&gt;
[[File:Save_gobj_as.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Warning: Attempt to access non-existent record CODE: 36====&lt;br /&gt;
The scan is most likely still in the process of being reconstructed.  Try to access the scan again in a few hours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Insufficient logical unit numbers CODE: 1409716====&lt;br /&gt;
Exit the evaluation program and restart it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: Process quota exceeded====&lt;br /&gt;
&lt;br /&gt;
[[Image:Process_quota_error.JPG|300px]]&lt;br /&gt;
&lt;br /&gt;
When running UCT_EVALUATION from a dec terminal, an error when starting an evaluation may occur if there are to many dec terminals opened. &lt;br /&gt;
*The easy fix for this is to open the terminals from the applications menu in the [[Scanco_User_Instructions#Session_Manager|&#039;&#039;&#039;session manager&#039;&#039;&#039;]] instead of using the dec command. &lt;br /&gt;
*Alternatively you can set up a new login script and add &amp;lt;code&amp;gt;/DETACH&amp;lt;/code&amp;gt; to the dec definition &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEC == &amp;quot;CREATE/TERMINAL=DECTERM/DETACH&amp;quot;. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example script can be found here @DISK5:[BONELAB.PROJECTS.BUIE]SETUP.COM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Bug: UCT_EVALUATION v6 in customizing EVAL scripts====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_k_v6&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new evaluation tool v6 should be used in place of the older v5.  Please see the Documents section of this wiki for a manual on its use.&lt;br /&gt;
&lt;br /&gt;
Known bugs:&lt;br /&gt;
&lt;br /&gt;
When you are producing your own EVAL scripts, and want to call your own ipl file&lt;br /&gt;
or such:&lt;br /&gt;
&lt;br /&gt;
The &#039;EVAL:&#039; keyword in the scripts has the filenames of the&lt;br /&gt;
uct_evaluation_v6.com, then the ipl_v6_xxxx.com, then additional filenames (such&lt;br /&gt;
as the _prs.com to print and the 3dresults_append.com)&lt;br /&gt;
&lt;br /&gt;
Now, if you are in BASIC mode in the modify window, and you change any of the 3&lt;br /&gt;
filename fields, the last of the additional filenames is &#039;dropped&#039;... ooops...&lt;br /&gt;
&lt;br /&gt;
So please go to Advanced mode and check the long &#039;EVAL:&#039; keyword that all wished&lt;br /&gt;
files are still in the list, otherwise add the last again (most of the time,&lt;br /&gt;
that&#039;s the useful _3dresult_append.com script...)&lt;br /&gt;
&lt;br /&gt;
Will correct that of course in the next version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Left mouse button====&lt;br /&gt;
When the left mouse button doesn&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.  &lt;br /&gt;
*For remote sessions, turn of the Num Lock key (this will also allow you to use Ctrl-C and Ctrl-V to copy and paste contours).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Not work: Remove and insert keys====&lt;br /&gt;
&lt;br /&gt;
The remove and insert buttons on the keyboard don&#039;t work in the µCT evaluation program:&lt;br /&gt;
*Turn off caps lock.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation FAQ==&lt;br /&gt;
&lt;br /&gt;
===Customize your evaluation script===&lt;br /&gt;
The basic procedure is to create your customized evaluation script is:&lt;br /&gt;
#Clear the database of existing results&lt;br /&gt;
#Do your evaluation&lt;br /&gt;
#Extract the results&lt;br /&gt;
#Paste results into excel template.  &lt;br /&gt;
You could repeat as necessary to evaluate a measurement multiple times and write out the results to a file.  &lt;br /&gt;
*You must submit all jobs to a single queue!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Start ipl and clear the database of existing results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/db_clear_eval&lt;br /&gt;
-input        &amp;quot;IPL_AIM&lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Insert your IPL evaluation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Extract the results.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;$@com:extract_results.com P1 P2&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P1 is the aim file (including path) and P2 is the result file (including path)&lt;br /&gt;
&lt;br /&gt;
Example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@com:extract_results.com   DISK5:[BONELAB.PROJECTS.BUIE]MYAIM.AIM   DISK5:[BONELAB.PROJECTS.BUIE]MYRESULTS.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*P2 should be the same for all samples in your project so that results are compiled into a single file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4) Paste results into excel template.&#039;&#039;&#039;&lt;br /&gt;
*Refer to the  [[Media:Extract_Results_Template.xlsx |&#039;&#039;&#039;Excel Extract Results Template&#039;&#039;&#039;]]. &lt;br /&gt;
*Open your results text file and copy and paste the contents into cell A2.  There&#039;s no need to use paste special since the sheet is protected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create your own IPL script===&lt;br /&gt;
&lt;br /&gt;
To make a script that would submit a job to the queue with the command as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you need to create your own IPL file would be translated to the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit /noprint /que=sys$slow ue:IPL_VOI_JOSH_M.COM &lt;br /&gt;
  - /log=sys$scratch:test.log /para=(&#039;aim_file&#039;,&#039;gobj_file&#039;,&#039;seg_file&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The IPL file would look something like this…&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$   if p1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$ 	THEN &lt;br /&gt;
$	write sys$output &amp;quot;Give DK0:[xxx]C0001234_SEG.aim on the line.&amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Or: &amp;quot;&lt;br /&gt;
$	write sys$output &amp;quot;Type $ scanco_submit_command um:ipl_eval_autostart/para=(dk0:[xxx]c00123_seg.aim) &amp;quot;&lt;br /&gt;
$ 	exit&lt;br /&gt;
$   endif&lt;br /&gt;
$&lt;br /&gt;
$ gobj_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.GOBJ&amp;quot;&lt;br /&gt;
$ aim_file = p1-F$PARSE(p1,,,&amp;quot;VERSION&amp;quot;)-&amp;quot;_SEG.AIM&amp;quot; + &amp;quot;.AIM&amp;quot;&lt;br /&gt;
$&lt;br /&gt;
$!&lt;br /&gt;
$ @um:ipl_eval_only.com &#039;aim_file&#039; &#039;gobj_file&#039; &#039;p1&#039; 0&lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some more handy IPL sequences are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then you just need to give meas. number as P1 (and maybe slice range as p2),&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR, some nice starts are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P3 .EQS. &amp;quot;&amp;quot;&lt;br /&gt;
$    THEN&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to duplicate&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: New Sample Number from Database&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: New Start Letter of ISQ file&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P4: Optional: Operator Number&amp;quot;&lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P5: Optional: Controlfile Number&amp;quot;&lt;br /&gt;
$      EXIT&lt;br /&gt;
$    ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
where you say which parameters HAVE to be there (up to p3), and which ones are optional.&lt;br /&gt;
&lt;br /&gt;
All together, the script may look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$    IF P1 .EQS. &amp;quot;&amp;quot; &lt;br /&gt;
$    THEN &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P1: Measurement Number to reco&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P2: Optional: Slice number N or Range M:N. Auto:All&amp;quot; &lt;br /&gt;
$      WRITE SYS$OUTPUT &amp;quot;P3: Optional: Queue. Auto: sys$slow&amp;quot; &lt;br /&gt;
$      EXIT &lt;br /&gt;
$    ENDIF &lt;br /&gt;
$ if p2 .eqs. &amp;quot;&amp;quot; then p2 := A &lt;br /&gt;
$ if p3 .eqs. &amp;quot;&amp;quot; then p3 := SYS$SLOW &lt;br /&gt;
$ slices  = p2 &lt;br /&gt;
$ quename = p3 &lt;br /&gt;
$ INPUT = F$SEARCH(&amp;quot;UCT_MEASUREMENT_DATA:[*.*&#039;&#039;P1&#039;]*.RSQ&amp;quot;,1) &lt;br /&gt;
$ INPUT = INPUT - F$PARSE(INPUT,,,&amp;quot;VERSION&amp;quot;) &lt;br /&gt;
$ logfile = &amp;quot;sys$scratch:RECO_&amp;quot; + f$PARSE(input,,,&amp;quot;NAME&amp;quot;) + &amp;quot;.LOG&amp;quot; &lt;br /&gt;
$ submit/noprint/queue=&#039;quename&#039; uct_reconstruction_file - &lt;br /&gt;
    /para=(&#039;input&#039;,&#039;slices&#039;,&#039;logfile&#039;) &lt;br /&gt;
$ exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that &amp;lt;code&amp;gt;uct_reconstruction_file&amp;lt;/code&amp;gt; is a logical that points to &amp;lt;code&amp;gt;um:uct_reconstruction.com&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Logicals are preferred in scripts to make them more universal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Run Scanco cut and match function (on Percy)===&lt;br /&gt;
&lt;br /&gt;
;At DATA DISK: &lt;br /&gt;
Run&amp;lt;code&amp;gt;$ upat_list&amp;lt;/code&amp;gt;&lt;br /&gt;
*mode 1, list mode.&lt;br /&gt;
*Select patients and site, etc.&lt;br /&gt;
*Select the appropriate template file, e.g. &amp;lt;code&amp;gt;UE:UPAT_TEMPL_CUTMATCH_AUTO_PATTB_CT.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
*Output to a file, then run that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;At PROJECT DISK: &lt;br /&gt;
If you have moved the files to the project directory and renamed them, you can generate a script from:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM&lt;br /&gt;
-P1 = filename with device and directory&lt;br /&gt;
-P2 = site (RR, RL, TR, TL)&lt;br /&gt;
-P3 = output filename&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, if we run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The script will search &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]&amp;lt;/code&amp;gt; for files in the form &amp;lt;code&amp;gt;G*RR*.AIM&amp;lt;/code&amp;gt; with the same&lt;br /&gt;
length as &amp;lt;code&amp;gt;GRACE_01_00MTH_RR&amp;lt;/code&amp;gt;, then check sample numbers to determine if the file is a follow-up scan.&lt;br /&gt;
*Upat_list is called to obtain position and dimension data for matching slices.  &lt;br /&gt;
*The output file &amp;lt;code&amp;gt;DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/code&amp;gt; is created to submit and run the cut and match.  &lt;br /&gt;
&lt;br /&gt;
Before running, open the file and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @DISK3:[MICROCT.PROJECTS.GRACE]MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For multiple files, do something like the following.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_01_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
$ @UE:SEARCH_PROJECTS_CUTMATCH.COM DISK3:[MICROCT.PROJECTS.GRACE]GRACE_02_00MTH_RR.AIM RR MYFILE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Open MYFILE.COM and add &amp;lt;code&amp;gt;$ exit&amp;lt;/code&amp;gt; at the end.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ @MYFILE.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The script assumes all follow-ups are provided.  &lt;br /&gt;
*If follow-up scans are missing, it will be necessary to modify the output file so that the position and dimension data matches the files or update the &amp;lt;code&amp;gt;SEARCH_PROJECTS_CUTMATCH.COM&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==IPL FAQ==&lt;br /&gt;
===Submit a job to the queue===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/noprint /que=sys$slow ipl_voi_josh_m.com /log=sys$scratch:test.log&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Rotate with turn3d / turn2d===&lt;br /&gt;
&lt;br /&gt;
The turn3d function can be used to perform a single rotation about any axis in 3d.  The turnaxis_angle input is the angle between the x, y, and z axes and the line about which the rotation will be performed.  The turnangle input is the amount to be rotated about the specified line.  To use this function to perform three sequential rotations about the image&#039;s original x, y, and z axes requires compensation for the previous rotations.&lt;br /&gt;
&lt;br /&gt;
To rotate an image from the axial view in the z plane to the sagittal view in the z plane: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ipl&lt;br /&gt;
/turn3d&lt;br /&gt;
  -input &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;   in&lt;br /&gt;
  -output &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;     out&lt;br /&gt;
  -turnaxis_angles     90 0 90&lt;br /&gt;
  -turnangle           90&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No interpolation is necessary as this is &amp;quot;pure reformatting&amp;quot; (turning +-90 or 180 degrees around x,y or z axis)&lt;br /&gt;
&lt;br /&gt;
For knee images, to put the femur above the tibia, you further add the step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/turn2d&lt;br /&gt;
  -input                      out&lt;br /&gt;
  -output                     happyFemur&lt;br /&gt;
  -turnangle                  270&lt;br /&gt;
  -turnpoint_global_not_local true&lt;br /&gt;
  -turnpoint                  -1 -1&lt;br /&gt;
  -img_interpol_option        0&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refer to [[Media:turn3d.pdf |&#039;&#039;&#039;turn3d.pdf&#039;&#039;&#039;]] for further instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Noise removal by component labeling===&lt;br /&gt;
*Refer to [[Media:ComponentLabeling.pdf|&#039;&#039;&#039;Noise removal by using component labeling&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create MSQ image and view===&lt;br /&gt;
&lt;br /&gt;
This is based on marching cubes.  See &amp;lt;code&amp;gt;IPL_UPAT_EVAL.COM&amp;lt;/code&amp;gt; for an example as per below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/read seg C0000214_SEG.AIM&lt;br /&gt;
&lt;br /&gt;
/sup_divide                               ! careful of the order of inputs here&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -suppos_pixels_local       -1 -1 -1&lt;br /&gt;
  -supdim_numbers            1 2 1&lt;br /&gt;
  -subdim_pixels             -1 -1 -1&lt;br /&gt;
  -testoff_pixels            0 0 0&lt;br /&gt;
&lt;br /&gt;
/sub_pick&lt;br /&gt;
  -input                     seg&lt;br /&gt;
  -output                    segsub&lt;br /&gt;
  -subpos_numbers            0 1 0&lt;br /&gt;
&lt;br /&gt;
/tri&lt;br /&gt;
  -input                     segsub&lt;br /&gt;
  -output                    tri&lt;br /&gt;
  -gobj_filename             none&lt;br /&gt;
  -peel_iter                 0&lt;br /&gt;
  -ip_sigma                  0.8&lt;br /&gt;
  -ip_support                1&lt;br /&gt;
  -ip_threshold              40&lt;br /&gt;
  -nr_ave_iter               2&lt;br /&gt;
  -size_image                512 512&lt;br /&gt;
  -scale_image               0.800000&lt;br /&gt;
  -edges                     false&lt;br /&gt;
  -nr_views                  1             ! Important&lt;br /&gt;
&lt;br /&gt;
/msq_from_aim&lt;br /&gt;
  -aim_name                  tri&lt;br /&gt;
  -msq_filename              C0000123_3D.MSQ&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, use &amp;lt;code&amp;gt;UCT_3D&amp;lt;/code&amp;gt; to view it.  If you click on &amp;quot;animations&amp;quot; it will give you the option to read the MSQ file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===db_scanco_activate associate evaluation database===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;/db_scanco_activate&amp;lt;/code&amp;gt; is used in the IPL files, the correct association with the evaluation database is through the Index Patient and Index Measurement in the AIM header.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Index Patient                                    3095&lt;br /&gt;
Index Measurement                                5962&lt;br /&gt;
!-------------------------------------------------------------------------------&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using IPL&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
$ read in xxx.aim&lt;br /&gt;
$ examine in log&lt;br /&gt;
$ db true           {activates database}&lt;br /&gt;
$ dt_object         {at end &amp;quot;writing results to database for measurement 1234&amp;quot;}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===dicom_to_aim bug in IPL v5.03===&lt;br /&gt;
&lt;br /&gt;
In IPL, use the /dicom_to_aim function.  There is a bug in pre IPL v5.03 which requires that a small AIM be read in before doing the DCM conversion.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; read in tmp.aim&lt;br /&gt;
ipl&amp;gt; dicom_to_aim&lt;br /&gt;
  -aim_name                  [in] &amp;gt; &lt;br /&gt;
  -dicom_filename            [default_file_name] &amp;gt; 4F65038B3986.DCM&lt;br /&gt;
  -multifile                 [false] &amp;gt; true&lt;br /&gt;
ipl&amp;gt; write in MYFILE.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand &amp;quot;New&amp;quot; DT functions in IPL v5.42===&lt;br /&gt;
&lt;br /&gt;
This applies to:&lt;br /&gt;
&amp;lt;pre&amp;gt;/distance_map              /dt_ow_thickness           /dt_number                &lt;br /&gt;
/dt_thickness              /dt_spacing                /dt_cortical_thickness&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
XT1 (old dt) and XT2 (new dt) use 0.5 for assign_epsilon and 0.9 for&lt;br /&gt;
ridge_epsilon.&lt;br /&gt;
&lt;br /&gt;
µCT uses 1.8 for assign_epsilon and 0.9 for ridge_epsilon (old dt).&lt;br /&gt;
&lt;br /&gt;
Therefore I recommend to take 0.9 and 1.8 also for the new dt functions&lt;br /&gt;
for µCT/vivaCT measurements.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;suppress_boundary&amp;lt;/code&amp;gt; feature is new and works as follows:&lt;br /&gt;
&lt;br /&gt;
0: The ridges and spheres are calculated on the full seg AIM, also&lt;br /&gt;
outside the gobj. At the end the gobj is applied.&lt;br /&gt;
&lt;br /&gt;
1: The ridges that are on the AIM boundary are not used for the&lt;br /&gt;
calculation of the maximal spheres.&lt;br /&gt;
&lt;br /&gt;
2: The ridges are calculated on the full seg aim but then the gobj is&lt;br /&gt;
applied to the ridges. This means that at the end there are only spheres&lt;br /&gt;
that have the center inside the structure (gobj). The maximal sphere&lt;br /&gt;
filling algorithm still accounts for the structure outside the gobj, but&lt;br /&gt;
only uses center points inside the gobj.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;dt_thickness&amp;lt;/code&amp;gt; for example can be used in two different ways in a script:&lt;br /&gt;
&lt;br /&gt;
1) cut out aim - apply threshold - apply gobj - dt_thickness&lt;br /&gt;
This way the suppress_boundary options do influence the results&lt;br /&gt;
because there are no ridges outside the gobj anyway.&lt;br /&gt;
&lt;br /&gt;
2) cut out aim - apply threshold - dt_thickness (with corresponding gobj)&lt;br /&gt;
This calculates the dt on the full aim first and applies then the&lt;br /&gt;
gobj and suppress options.&lt;br /&gt;
&lt;br /&gt;
If you examine for example trabecular bone only on a small area bounded&lt;br /&gt;
by a gobj then the most accurate way to calculate the dt is to cut out a&lt;br /&gt;
much larger area (still containing trabecular bone) and use way 2) above&lt;br /&gt;
with suppress_boundary 0.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Develop new IPL commands in C===&lt;br /&gt;
*Refer to [[Media:IPL programming.doc|&#039;&#039;&#039;A short manual on how to develop new IPL commands in C&#039;&#039;&#039;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
&lt;br /&gt;
===UPAT_LIST command===&lt;br /&gt;
&lt;br /&gt;
*Refer to Scanco specification document on using the [[Media:Specification_upat_print_list_V2.0.pdf | &#039;&#039;&#039;Upat_print_list V2.0&#039;&#039;&#039;]] on XCT2.&lt;br /&gt;
*Refer to [[Media:Using_upat.docx |&#039;&#039;&#039;Using upat_list Additional Notes&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
upat_list (version 1.9 on XCT1) is identical to 2.0 except:&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using group codes&lt;br /&gt;
&lt;br /&gt;
:* there is no option for using evaluation types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all of the available parameters for generating results using upat_list command:  &lt;br /&gt;
  $ upat_list -h&lt;br /&gt;
&lt;br /&gt;
  Program: upat_print_list V1.9&lt;br /&gt;
  Use the following modes to run upat_print_list:&lt;br /&gt;
    upat_print_list -list  for export to spreadsheet, default mode&lt;br /&gt;
    upat_print_list -print for PostScript output&lt;br /&gt;
    upat_print_list -show  for text output&lt;br /&gt;
    upat_print_list -advanced to access advanced options interactively&lt;br /&gt;
  Standard Command-Line Arguments:&lt;br /&gt;
    -b=&amp;lt;pat_nr&amp;gt;      First patient, default = 1&lt;br /&gt;
    -e=&amp;lt;pat_nr&amp;gt;      Last patient&lt;br /&gt;
                     In list &amp;amp; show modes, default = last patient in database&lt;br /&gt;
                     In print mode, default = first patient&lt;br /&gt;
    -s=&amp;lt;site_code&amp;gt;   Site code&lt;br /&gt;
                     In list &amp;amp; show modes, RL RR R* TL TR T* CU *, default = *&lt;br /&gt;
                     In print mode, RL RR TL TR CU, default = RL&lt;br /&gt;
    -mb=&amp;lt;date&amp;gt;       Begin of measurement period, default = 1st measurement date&lt;br /&gt;
    -me=&amp;lt;date&amp;gt;       End of measurement period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -f=&amp;lt;#_followups&amp;gt; Maximum number of follow-ups to match, default = 19&lt;br /&gt;
    -t=&amp;lt;file_name&amp;gt;   Name of template file&lt;br /&gt;
                     In list mode,  default = UPAT_LIST_SHEET&lt;br /&gt;
                     In print mode, default = UPAT_EVAL_SHEETxx&lt;br /&gt;
                     In show mode,  default = UPAT_SINGLE&lt;br /&gt;
    -o=&amp;lt;file_name&amp;gt;   Name of output file (in SYS$SCRATCH by default)&lt;br /&gt;
                     In list &amp;amp; print modes, stored in SYS$SCRATCH&lt;br /&gt;
                     In show mode, written to SYS$OUTPUT&lt;br /&gt;
    -c=&amp;lt;number&amp;gt;      Number of Print copies if in print mode. default = 1&lt;br /&gt;
    -v=&amp;lt;level&amp;gt;       Verbosity from 0 (silent) to 2 (verbose), default = 1&lt;br /&gt;
    -h               Print this help and exit&lt;br /&gt;
  Advanced Command-Line Arguments:&lt;br /&gt;
    -et=&amp;lt;eval_type&amp;gt;  Type code of evaluation, default = 2&lt;br /&gt;
    -eb=&amp;lt;date&amp;gt;       Begin of evaluation period, default = 1st measurement date&lt;br /&gt;
    -ee=&amp;lt;date&amp;gt;       End of evaluation period, default = current date&lt;br /&gt;
    -tb=&amp;lt;date&amp;gt;       Begin of matching period, default = 1st measurement date&lt;br /&gt;
    -te=&amp;lt;date&amp;gt;       End of matching period, default = current date&lt;br /&gt;
                     Dates must be given in VMS format, e.g. 01-JAN-2000&lt;br /&gt;
    -sk=&amp;lt;#_to_skip&amp;gt;  Number of measurements to skip, default = 0&lt;br /&gt;
    -m=&amp;lt;meas_list&amp;gt;   Numbered List of measurements to take, e.g. 0,1,2,5,8&lt;br /&gt;
    -nomatch         Do not match follow up measurement, just take all slices&lt;br /&gt;
    -sb              Begin of Slice Range in % to be evaluated&lt;br /&gt;
    -se              End of Slice Range in % to be evaluated&lt;br /&gt;
    -q               Only take evaluations with quality better than (and including) this.&lt;br /&gt;
                     If positive number: all scans of better quality (incl. this) as well as all non-graded scans are taken.&lt;br /&gt;
                     If negative number: non-graded scans are NOT taken.&lt;br /&gt;
    -qs              Only take Structural evaluations with quality better than (and including) this.&lt;br /&gt;
                     Thus: between -qd and -q: only Density results are printed.&lt;br /&gt;
                     Parameter is disregarded if -qs &amp;gt;= -q.&lt;br /&gt;
    -ut=&amp;lt;unit_type&amp;gt;  0-&amp;gt;default unit, 1-&amp;gt;linatt, 2-&amp;gt;mg HA/ccm, 3-&amp;gt;HU, default = 0&lt;br /&gt;
    -cd=&amp;lt;density&amp;gt;    Value of compact density to use, default = 1200.000000&lt;br /&gt;
  If no command line arguments are specified, upat_print_list runs interactively.&lt;br /&gt;
&lt;br /&gt;
Note that using &amp;quot;TB&amp;quot; and &amp;quot;TE&amp;quot;, you can pull out exact measurements in the specified date range, while using &amp;quot;MB&amp;quot; and &amp;quot;ME&amp;quot;,  all you get is the latest measurement no matter what date range provided.&lt;br /&gt;
&lt;br /&gt;
For results of all time points for a single site and sample # without matching to Baseline, use: &lt;br /&gt;
I.e. the common region will be 100% for all measurements.&lt;br /&gt;
  $ upat_list -nomatch&lt;br /&gt;
&lt;br /&gt;
From these options, you can write out your own command (vs. using prompts) to give you the specifics you are looking for.  &lt;br /&gt;
&lt;br /&gt;
By specifying the CAMOS template of “UPAT_EVAL_CAMOS.PS”, you will get the “Camos” report style.  For example:&lt;br /&gt;
  $ upat_list -nomatch -b=1000 -e=1000 -s=TL -tb=01-MAY-2000 -te=01-AUG-2018 -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_1000_tl_camos.ps&lt;br /&gt;
&lt;br /&gt;
Note that there are actually many kinds of report templates.  These can be found via:&lt;br /&gt;
  $ dir UU:*.PS&lt;br /&gt;
&lt;br /&gt;
“SCUSA” is a short form for Scanco USA templates.  I.e. templates that fit on an 8.5” X 11” page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract followup data without slice matching===&lt;br /&gt;
Use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -advanced&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Choose &#039;disable slice matching:&#039; -&amp;gt; y.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract patient results on a slice-by-slice basis===&lt;br /&gt;
&lt;br /&gt;
There is an executable that was specially installed by Andres.  Run it as user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN ut:UPAT_EXPORT_MEASUREMENT.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose from &amp;quot;Style: 0 = default, 1 = raw&amp;quot;. Default gives standard patient parameters.&lt;br /&gt;
&lt;br /&gt;
This gives you the .txt file in scratch containing the morphological parameters determined for each slice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===UCT_LIST Extract results===&lt;br /&gt;
&lt;br /&gt;
Assuming you&#039;ve used the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to initialize your evaluations (either manually or through the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool) then you can get all of your results stored into a text file that can be easily imported in Excel.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list&amp;lt;/pre&amp;gt;&lt;br /&gt;
The output text file will be stored in &amp;lt;code&amp;gt;sys$scratch&amp;lt;/code&amp;gt; and you can ftp this to a PC so that it can be imported into excel and further analysis can be performed. &lt;br /&gt;
&lt;br /&gt;
Importing into Excel requires setting a deliminator based on the space.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Customizing&amp;lt;/b&amp;gt; the &amp;lt;code&amp;gt;uct_list&amp;lt;/code&amp;gt; output.&lt;br /&gt;
&lt;br /&gt;
The default list template is set by the logical &amp;lt;code&amp;gt;UCT_3D_LIST_SHEET&amp;lt;/code&amp;gt; which is normally&lt;br /&gt;
set to point to &amp;lt;code&amp;gt;UU:UCT_3D_LIST.TXT&amp;lt;/code&amp;gt;.  See the templates by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir uu:*.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Almost all the available keywords are in &amp;lt;code&amp;gt;UCT_3D_LIST.TXT&amp;lt;/code&amp;gt; enclosed&lt;br /&gt;
by \\ and //.&lt;br /&gt;
&lt;br /&gt;
Only when you use the &#039;show directly on screen mode&#039;: &lt;br /&gt;
&amp;lt;pre&amp;gt;$ uct_list 1234&amp;lt;/pre&amp;gt;&lt;br /&gt;
then you need to do this to override the default output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def/user uct_3d_single_sheet  my-template_file.txt&lt;br /&gt;
$ uct_list 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some example format files are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UCT_3D_LIST.TXT&lt;br /&gt;
UCT_3D_SINGLE.TXT&lt;br /&gt;
UCT_3D_LIST_W_CRH.TXT&lt;br /&gt;
UCT_3D_MEANS.TXT       --&amp;gt; Use this to get the 5 mean values (i.e., calibration)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A summary of all the available keywords is available in &amp;lt;code&amp;gt;UU:UCT_3D_SINGLE_SHEET.TXT&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Name             :\\UCTMEASFILENAME//&lt;br /&gt;
Sample-Name      :\\SAMPLENAME//&lt;br /&gt;
Sample-Nr        :\\SAMPLENUMBER//&lt;br /&gt;
Meas-Nr          :\\UCTMEASNR//&lt;br /&gt;
Date of Birth    :\\SAMPLEDOB//&lt;br /&gt;
Sample-Remarks	 :\\SAMPLEREM//&lt;br /&gt;
Meas-Remarks     :\\UCTMEASREM//&lt;br /&gt;
Meas-NrofSlices  :\\UCTMEASNUMSLI//&lt;br /&gt;
Direct: -------------------------------------------------------------------&lt;br /&gt;
TV        : \\VOX_TV//&lt;br /&gt;
BV        : \\VOX_BV//&lt;br /&gt;
BV/TV     : \\VOX_BV_TV// &lt;br /&gt;
Conn.Dens.: \\UCT_CONN//&lt;br /&gt;
SMI       : \\MC_SMI//&lt;br /&gt;
Tb.N*     : \\DT_N//&lt;br /&gt;
Tb.Th*    : \\DT_TH//&lt;br /&gt;
Tb.Sp*    : \\DT_SP//&lt;br /&gt;
Tb.1/N.SD*: \\DT_N_SD//&lt;br /&gt;
Tb.Th.SD* : \\DT_TH_SD//&lt;br /&gt;
Tb.Sp.SD* : \\DT_SP_SD//&lt;br /&gt;
Lin.Att.1 : \\UCT_MU0// +-\\UCT_MU0_SD//&lt;br /&gt;
Lin.Att.2 : \\UCT_MU1// +-\\UCT_MU1_SD//&lt;br /&gt;
Lin.Att.3 : \\UCT_MU2// +-\\UCT_MU2_SD//&lt;br /&gt;
Lin.Att.4 : \\UCT_MU3// +-\\UCT_MU3_SD//&lt;br /&gt;
Lin.Att.5 : \\UCT_MU4// +-\\UCT_MU4_SD//&lt;br /&gt;
TRI (Plate Model): --------------------------------------------------------&lt;br /&gt;
TV        : \\MC_TV//&lt;br /&gt;
BV        : \\MC_BV//&lt;br /&gt;
BS        : \\MC_BS//&lt;br /&gt;
BV/TV     : \\MC_BV_TV//&lt;br /&gt;
BS/BV     : \\MC_BS_BV//&lt;br /&gt;
Tb.Th     : \\MC_TH//&lt;br /&gt;
Tb.Sp     : \\MC_SP//&lt;br /&gt;
Tb.N      : \\MC_N//&lt;br /&gt;
Anisotropy:  --------------------------------------------------------------&lt;br /&gt;
|H1|      : \\MC_H1//  H1x: \\MC_H1X//  H1y: \\MC_H1Y//  H1z: \\MC_H1Z//&lt;br /&gt;
|H2|      : \\MC_H2//  H2x: \\MC_H2X//  H2y: \\MC_H2Y//  H2z: \\MC_H2Z//&lt;br /&gt;
|H3|      : \\MC_H3//  H3x: \\MC_H3X//  H3y: \\MC_H3Y//  H3z: \\MC_H3Z//&lt;br /&gt;
DA        : \\MC_DA//&lt;br /&gt;
Dim X	  : \\VOX_DX//&lt;br /&gt;
Dim Y	  : \\VOX_DY//&lt;br /&gt;
Dim Z	  : \\VOX_DZ//&lt;br /&gt;
Pos X	  : \\VOX_PX//&lt;br /&gt;
Pos Y	  : \\VOX_PY//&lt;br /&gt;
Pos Z	  : \\VOX_PZ//&lt;br /&gt;
El-Siz X  : \\VOX_ELSX//&lt;br /&gt;
El-Siz Y  : \\VOX_ELSY//&lt;br /&gt;
El-Siz Z  : \\VOX_ELSZ//  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tabulate LOG results from 3D evaluations===&lt;br /&gt;
&lt;br /&gt;
Only use this if you have not used the standard &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; tool to generate your 3D evaluations (in which case see the HowTo related to the 3D database).&lt;br /&gt;
You can tabulate the LOG files:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or whatever you want to search for can be stored in a text file&lt;br /&gt;
&amp;lt;pre&amp;gt;$ search/output=sys$scratch:ov.txt xxxx.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
To search more than one log file, and get the output into one single file:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ fda/output=xxx.txt search *.log &amp;quot;ov &amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The fda means &#039;file do all&#039; and is a script made by Scanco to do one command (search) on a wildcard of files (*.log). Then put all the ov.txt, tv.txt, name.txt etc. files into excel.&lt;br /&gt;
Josh has made a .com file that does a similar job as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Compile evaluation LOGs into one file===&lt;br /&gt;
&lt;br /&gt;
Call the &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; with the same construction&lt;br /&gt;
as &amp;lt;code&amp;gt;$ eval_special&amp;lt;/code&amp;gt;.  If you need help with this, see the HowTo on this&lt;br /&gt;
Wiki site (HowTo: Assign special 3D evaluation to the UCT_EVALUATION tool).&lt;br /&gt;
&lt;br /&gt;
Edit &amp;lt;code&amp;gt;UE:UCT_EVALUATION_V4_3D_RESULT.COM&amp;lt;/code&amp;gt; file to call a specific ipl &lt;br /&gt;
script as you wish.&lt;br /&gt;
&lt;br /&gt;
When you run the evaluation, you will have three new files created:&lt;br /&gt;
&lt;br /&gt;
:*Two files in the measurement directory (on DK0!) (one with each eval 3D results in its own file, and one &amp;lt;code&amp;gt;APPENDED_ALL.TXT&amp;lt;/code&amp;gt; file)&lt;br /&gt;
:*Then in sys$scratch, you will have one &amp;lt;code&amp;gt;SYS$SCRATCH:UCT_LIST_ALL_3D_RESULTS.LOG&amp;lt;/code&amp;gt; file with ALL 3D evaluations of all measurements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; You may need to edit the &amp;lt;code&amp;gt;SCANCO_SUBMIT_COMMAND&amp;lt;/code&amp;gt; to specify a single queue (i.e., /que=sceval$fast)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
&lt;br /&gt;
===Examine patient databases===&lt;br /&gt;
This is for advanced users only!&lt;br /&gt;
&lt;br /&gt;
There are two patient databases that get updated every time an evaluation is performed.  Below is the name of the database, and the method used to check database values:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_EVAL_DATABASE&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! as microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show logical UPAT_SLICE_DATABASE&lt;br /&gt;
$ set host 0  ! login as user calibration&lt;br /&gt;
$ @disk1:[microct]login.com&lt;br /&gt;
$ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UPAT_GET_DB_INFO.EXE  ! enter &#039;1&#039; to list records&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the slice database every evaluation is recorded, but only one is currently active at a time.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Manipulate scan sequence===&lt;br /&gt;
&lt;br /&gt;
Upat_list reports the baseline scan and then the percentage change of follow-up scans from the baseline scan. The order of scans in upat_list is determined from the measurement number (not the measurement date). In the case you need to manipulate the baseline and follow-up sequence, you will need to: &lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt;  Use this with caution, and as little as possible!! even if the operation is reversible. Database manipulation is sensitive after all.&lt;br /&gt;
&lt;br /&gt;
1. Log in as the &amp;quot;calibration&amp;quot; user (beware which calibration account to use for the different scanners).&lt;br /&gt;
&lt;br /&gt;
How to proceed in the terminal:&lt;br /&gt;
 $ SPB&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM    or  $ @DISK1:[XTREMECT2]LOGIN.COM    !! don&#039;t miss that line, otherwise you would modify the CALIBRATION databases&lt;br /&gt;
&lt;br /&gt;
2. Use the following command to modify the measurement number:&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_SAMPLE_FIRST.EXE          !! To redefine the very first measurement in the sequence&lt;br /&gt;
&lt;br /&gt;
:* I do mean &amp;quot;First&amp;quot; measurement in the sequence, and not &amp;quot;baseline&amp;quot; measurement. You may have 2 baseline scans, one for radius and one for the tibia, but only one of them is the very &amp;quot;first in the sequence&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 $ RUN DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_PREV_NEXT.EXE        !! To redefine the follow-up sequence beyond the first measure&lt;br /&gt;
&lt;br /&gt;
:* The PREV_NEXT utility is a bit tricky to use, as for each measurement you will have to define its &amp;quot;chronological&amp;quot; previous and its next. It is not related to any anatomical site: one might think for example of defining the Radius follow-up sequence for example. It is not the case. The PREV_NEXT sequence will alternate between different anatomical sites, that is how it should be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Add placeholders for missing follow-up scans===&lt;br /&gt;
If there is NO scan at a certain time point in a series (i.e. patient did not show up), the program ut:upat_create_meas_placehoder.exe and upat_create_eval_placeholder can insert fake records, so the slice matching and timepoints/visits are still all in order.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The attached file describes how to create an manage placeholders in the case of missing follow-up visits in longitudinal studies. [[Media:SOP_Create_Placeholders_draft.pdf|&#039;&#039;&#039;SOP Create Placeholders&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a database measurement===&lt;br /&gt;
&lt;br /&gt;
It is not possible to delete an evaluation from the database, but it can be disabled.&lt;br /&gt;
&lt;br /&gt;
NOTE: QC results are stored in the UCT database, and there is no tool to disable a UCT database result.&lt;br /&gt;
&lt;br /&gt;
Log in as the normal user (e.g. XTREMECT2). Then in a terminal you may use this simple utility program:&lt;br /&gt;
  $ RUN UT:UPAT_CORRECT_VALID_FLAG&lt;br /&gt;
&lt;br /&gt;
See below a typical prompt to deactivate an entry:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_CORRECT_VALID_FLAG V2.0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 1&lt;br /&gt;
Evaluation type [2]: 5&lt;br /&gt;
Group code [0]: 0&lt;br /&gt;
&lt;br /&gt;
Found evaluation 57 for patient 4: ID003&lt;br /&gt;
&lt;br /&gt;
Value for valid flag (0=invalid, 1=valid) [1]: 0&lt;br /&gt;
Value for placeholder flag (0=write results, 1=placeholder) [0]: 0&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop): 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can always re-activate the entry, by switching the valid flag from 0 to 1. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or, to make a scan invalid, you can also login as calibration user.&lt;br /&gt;
&lt;br /&gt;
Point to microct user&lt;br /&gt;
&lt;br /&gt;
 $ @DISK1:[MICROCT]LOGIN.COM&lt;br /&gt;
&lt;br /&gt;
Set priviledges to bypass.&lt;br /&gt;
&lt;br /&gt;
 $ SPB&lt;br /&gt;
&lt;br /&gt;
Run Correction File&lt;br /&gt;
 $ run DISK1:[CALIBRATION.UTIL]UPAT_CORRECT_VALID_FLAG.EXE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Disable a uct_list database measurement===&lt;br /&gt;
You cannot really disable data in the UCT_LIST output. What you can do using IPL is to clear the complete result entry for a given measurement, for example:&lt;br /&gt;
&lt;br /&gt;
  $ ipl&lt;br /&gt;
  /read&lt;br /&gt;
    -name                      in&lt;br /&gt;
    -filename                  default_file_name&lt;br /&gt;
  /db_scanco_activate&lt;br /&gt;
    -write                     true&lt;br /&gt;
  /db_clear_eval&lt;br /&gt;
    -input                     in&lt;br /&gt;
&lt;br /&gt;
Then UCT_LIST might still report the &amp;quot;disabled&amp;quot; measurement, leaving only the few first meta-data columns non empty. The rest would be cleared.&lt;br /&gt;
&lt;br /&gt;
I must bring your attention to the fact that this sequence is used a lot on XtremeCT I scripts, for the cortical porosity for example.&lt;br /&gt;
This means that on XT-I, the UCT_LIST content is highly unstable, as it was used back then while UPAT_LIST was not able to handle those results.&lt;br /&gt;
In the future, when new applications come they may delete/overwrite the UCT_LIST entry for a measurement. &lt;br /&gt;
That is the rationale for using the TXT output in the RESULTS directory, that at least keeps track of past analyses. &lt;br /&gt;
As long as you have a single application on XT-II going through UCT_LIST, calling results on demand with it is fine. Later it might come complicated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Troubleshoot UPAT database===&lt;br /&gt;
&lt;br /&gt;
If there is an error (&#039;inconsistent key change or duplicate key!&#039;) in the log file during &#039;upat_filldb&#039;, this is likely caused by too many servers doing UPAT evaluations:&lt;br /&gt;
&lt;br /&gt;
Basically, the UPAT database can not be accessed by 2 evaluation jobs &amp;quot;at the same time&amp;quot;, and works on a &amp;quot;1st arrived 1st served&amp;quot; basis. It is actually one reason to have only 1 evaluation at a time running on a single workstation (the usual setup).&lt;br /&gt;
In your case (and in mine as well), when you have several workstations clustered together, you can technically run several evaluation jobs at the same time which will eventually access the very same database. &lt;br /&gt;
So what happens is that a 1st job executes the /upat_fill_db, and accesses the database for a short amount of time.&lt;br /&gt;
During this time, any unfortunate evaluation job trying to access the database will end up in the exact same error as you reported, as their access to the database is restricted. Even though the time window is short, this kind of thing is unavoidable in setup such as ours, and when lots of evaluation are started at the same time.&lt;br /&gt;
Here you have no other choice than restarting the evaluation job, in order to update the database (or ultimately you could write a small script just to run the /upat_fill_db command, but I do not think it makes sense).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Redirect to a temporary database===&lt;br /&gt;
&lt;br /&gt;
We need to temporarily redefine the logicals UPAT_EVAL_DATABASE and UPAT_SLICE_DATABASE.  Normally, the definition is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
UPAT_EVAL_DATABASE = UCTD:UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
UPAT_SLICE_DATABASE = UCTD:UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Typically, we submit our jobs to the queue with an IPL script, so within the script we&#039;ll have to redefine the name of the database by adding lines such as&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
so that the results from the IPL evaluation are redirected to this temporary database.&lt;br /&gt;
&lt;br /&gt;
Then, we need to extract the results from the database.  These results are provided on a slice by slice basis (at least with the UPAT data).  As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; in a terminal window, we will again need to redefine the database and then run the program that translates the results to a text file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
$ run disk1:[calibration.util]upat_export_measurement.exe  ! give the measurement number and output file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or extract the results from the temporary database with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def UPAT_EVAL_DATABASE SYS$SCRATCH:TEMP_UPAT_EVAL_CALGARY.DAT&lt;br /&gt;
$ def UPAT_SLICE_DATABASE SYS$SCRATCH:TEMP_UPAT_SLICE_CALGARY.DAT&lt;br /&gt;
&lt;br /&gt;
$ def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT  ! only necessary if data came from another system&lt;br /&gt;
$ def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT                            ! only necessary if data came from another system&lt;br /&gt;
&lt;br /&gt;
$ upat_list  ! choose option [3]show, give the patient number and output file, e.g. sys$scratch:myvalues.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For an example IPL script that redirects to a temporary database, see Percy:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DISK1:[MICROCT.COMMANDS]IPL_UPAT_EVAL_AIMINPUT.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Import from a foreign database===&lt;br /&gt;
IF MEASUREMENTS COME FROM A TOTALLY DIFFERENT DATABASE (such as Toronto&#039;s XCT):&lt;br /&gt;
&lt;br /&gt;
You will need to redefine the logicals UCT_MEASUREMENT_DATABASE and UCT_SAMPLE_DATABASE&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
def UCT_MEASUREMENT_DATABASE SYS$SCRATCH:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
def UCT_SAMPLE_DATABASE SYS$SCRATCH:UCT_SAMPLES_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it is quite possible that you won&#039;t have a copy of the foreign MEASUREMENT and SAMPLE databases. If this is the case, then you &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; import the ISQ files into our own database. Then, by setting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ define UCT_EVALUATION_DATABASE SYS$SCRATCH:TEMP_EVALUATIONS_CALGARY.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
you could redirect the results to a temporary database (but normally, if you already imported the data, why not use our own database now).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Duplicate as new import to database===&lt;br /&gt;
&lt;br /&gt;
You will need to copy ISQ and GOBJ files to a new designated location. This is done when a screening study is completed to look for potential subjects and then a main longitudinal study is completed under a different study name.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1. Make a new patient/subject ID &amp;lt;br&amp;gt;&lt;br /&gt;
2. Make a copy of the ISQ. For example: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK2:[microct.DATA.00002584.00008992]*.isq - &lt;br /&gt;
       DISK2:[microct.DATA.00002696.00009345]*.isq  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
3. Import ISQ into new patient/subject ID number by typing:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ import&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
4. Follow the prompts for the ISQ file names, changing of control file # etc. &amp;lt;br&amp;gt;&lt;br /&gt;
5. Check the data directory to see if ISQ and GOBJ files have been copied properly &amp;lt;br&amp;gt; &lt;br /&gt;
2. In uct_evaluation, open new .ISQ and copied .GOBJ and re-run the evaluation to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
3. Copy Scout Views so scanning program will load baseline scout view for followup scans &amp;lt;br&amp;gt; In DISK1:[MICROCT.DATA.SCOUTS], you&#039;ll see two series of scout views: one series with the PATIENT # followed by 020 or 021 or 038 or 039, the site code (radius or tibia, left or right respectively)&amp;lt;br&amp;gt;&lt;br /&gt;
Copy the old patient scouts to the new patient #s&lt;br /&gt;
For example (using the same old and new #s as above): &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ copy DISK1:[MICROCT.DATA.SCOUTS]00002584021.SCV -&lt;br /&gt;
       DISK1:[MICROCT.DATA.SCOUTS]00002696021.SCV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover a disappeared due to import===&lt;br /&gt;
If you need duplicate a measurement in both the original and new directories, but you forgot copying the measurement before importing as a new. The original measurement will be automatically removed from the original directory.  This can be fixed!  You will need to copy the measurement back and then fix the header information, as the header will no longer match the original directory.&lt;br /&gt;
&lt;br /&gt;
1. Manually copy all of the associated files for the measurement from the new directory to the original directory:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$copy DISK2:[xtremect2.data.00001234.00001234]*.*;* DISK2:[xtremect2.data.00004321.00004321] /log&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
2. Change the header information of the measurement files to those of the original directory.  To do this, you will need special software.  The use of this software is RESTRICTED.  Users must seek special permission to use the software from Steve, Ying, or Anne BEFORE using.  Once you have permission, the software can be found here: DISK1:[MICROCT.COMMANDS.FORBIDDEN].&lt;br /&gt;
&lt;br /&gt;
3. Run the software:&amp;lt;pre&amp;gt; &lt;br /&gt;
$r [software]&lt;br /&gt;
 &amp;lt;/pre&amp;gt; &lt;br /&gt;
4. The software will ask for: &lt;br /&gt;
a) the ISQ file&lt;br /&gt;
b) the new sample # you would like to give it (i.e. the original directory sample #)&lt;br /&gt;
c) the new measurement # you would like to give it (i.e. the original directory measurement #)&lt;br /&gt;
c) the new sample name you would like to give it (i.e. the original Study ID)&lt;br /&gt;
&lt;br /&gt;
You can view the header information for a file by using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
$ctheader [ISQ file]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong Study_ID/Sample_No===&lt;br /&gt;
&lt;br /&gt;
Situation: One study participate was assigned in followup scans multiple Study_ID or multiple Sample_No under the same Study_ID. &lt;br /&gt;
Action:    To correct this mistake and update the database correctly, you get to &lt;br /&gt;
&lt;br /&gt;
1. Return/Restore the RSQ from tape to measurement disk using Move (not Copy) in uct_backup program, otherwise the new location won&#039;t have its RAW backup record and thus have no idea where its RSQ was located.&lt;br /&gt;
&lt;br /&gt;
2. When there is no original ISQ in the measurement disk, you will have to reconstruct a new ISQ from this RSQ. If there is an original ISQ there, then skip this step.&lt;br /&gt;
&lt;br /&gt;
3. Import ISQ into a new designated location (correct Study_ID and Sample_No with new Measurement_No). &lt;br /&gt;
    $ import&lt;br /&gt;
Follow the prompts for the ISQ file names, changing of control file # or site # if needed. This action will import RSQ, Gobj and all the files in the folder to the new location.&lt;br /&gt;
&lt;br /&gt;
A reminder is that without an ISQ ready by importing a RSQ only will produce wrong slice no. and site location in the database as shown in the uct_backup. &lt;br /&gt;
&lt;br /&gt;
4. If the ISQ is newly reconstructed (original ISQ could skip this step), the database will show the new reconstruction date &amp;amp; time (not the original scan date &amp;amp; time) as the scan records in the uct_backup. To correct this, &lt;br /&gt;
&lt;br /&gt;
    $run ut:uct_correct_meas_measdate&lt;br /&gt;
&lt;br /&gt;
1) To see the original scan date &amp;amp; time: run this command and follow the prompt and input the original measurement No. as the Index, but don&#039;t change this by copying and pasting it back in Messdatum/Zeit.&lt;br /&gt;
&lt;br /&gt;
2) To set the new scan date &amp;amp; time: run this command again and input the new measurement No. as the Index, copy &amp;amp; paste the original scan date &amp;amp; time got from 1) in Messdatum/Zeit. &lt;br /&gt;
&lt;br /&gt;
This way will update the database as shown in the uct_backup with the original scan date &amp;amp; time with newly reconstructed ISQ in the correct Study_ID and Sample_No.&lt;br /&gt;
&lt;br /&gt;
5. Backup/Move the RSQ at the new location to tape, so that the new record will have full information of both RAW and IMA. &lt;br /&gt;
&lt;br /&gt;
6. Even though ISQ, RSQ, GOBJ and all other files have been moved over to the new location, you will still need to re-run the evaluation (in uct_evaluation, open ISQ and GOBJ) to create .AIM, _SEG.AIM, _CORTEX.AIM, _LHTH_DTH.AIM ect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Move to fix wrong account used for scanning===&lt;br /&gt;
&lt;br /&gt;
Xtremect2 (on disk2) and xt2recalib (on disk6) accounts share the same databases. However, the definition of DK0 is account specific, ie. the scans are stored on different disks. So when scanning under Xtremect2 account instead of Xt2recalib account, to correct the wrong measurement location you will need to:&lt;br /&gt;
&lt;br /&gt;
#Create the patient directory on disk6:[xtremect2.data], if needed;&lt;br /&gt;
#Create the same measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Create a save set of the measurement folder on disk2:[xtremect2.data] with the isq, rsq, rad and scv files included;&lt;br /&gt;
#Unzip the save set in the measurement directory on disk6:[xtremect2.data];&lt;br /&gt;
#Delete the measurement directory on disk2:[xtremect2.data] using delete command in the terminal. Caution: Do NOT use the backup program.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; This procedure is specific to this situation between Xtremect2 and Xt2recalib accounts, Microct and Xt1recalib accounts, and vice versa, but not applicable between any other accounts!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Update database after RSQ/ISQ restoration===&lt;br /&gt;
&lt;br /&gt;
If you are restoring RSQ or ISQ files from tape (or other source) it might be preferable to do your analysis without resetting the database info.  &lt;br /&gt;
&lt;br /&gt;
The database is specific to the user.  So, we have to modify the database for &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;, and be careful not to modify the &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; (or other users) database.  However, we still need to have permissions from &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; in order to do the modification.&lt;br /&gt;
&lt;br /&gt;
When we restore an ISQ or RSQ to disk, the database needs to be updated to ensure it finds it.  We have to change the database back to say it&#039;s on disk.  To do this we need to log in as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
login as calibXXXX  where XXXX is the scanner id (5019 for VivaCT or 2339 for uCT35) or calib3309 or calib3401 (for the XtremeCT and XtremeCTII system, respectively).&lt;br /&gt;
password from Steve&lt;br /&gt;
&lt;br /&gt;
$ @ADISK1:[BONELAB]microct_setup_XXXX.com    ! XXXX=scanner id, sets the logicals to point to bonelab data for SB group&lt;br /&gt;
or&lt;br /&gt;
$ @ADISK1:[VIVACT]LOGIN.COM  ! sets the logicals to point to microct data for BH group&lt;br /&gt;
or&lt;br /&gt;
$ @DISK1:[MICROCT]LOGIN.COM ! sets the logicals to point to microct data on the XtremeCT system&lt;br /&gt;
or&lt;br /&gt;
$ @IDISK1:[XTREMECT2]MICROCT_SETUP.COM ! sets the logicals to point to xtremect2 data on the XtremeCT2 system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set proc/priv=bypass      or     $ spb&lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_DIR     ! make sure to include the full path to the executable as shown here. &lt;br /&gt;
$ run DISK1:[CALIBRATION.UTIL]UCT_CORRECT_MEAS_DIR.EXE     ! on xtremect2 system, use this program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Only change those items which have to be changed (e.g. just hit RETURN for RAW fields if you only want to change the IMA location.  Also, when specifying the directories, use DK0, not DISK2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run ut:UCT_CORRECT_DIR.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Measurement Nr.:         1234&lt;br /&gt;
MeasNr.                  1234 &lt;br /&gt;
PatientNr:               268&lt;br /&gt;
RAW: RAW004&lt;br /&gt;
TP0:00001234_RAW&lt;br /&gt;
IMA: IMA002&lt;br /&gt;
TP0:00001234_IMA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW-Label: [ RAW004 ]&lt;br /&gt;
&lt;br /&gt;
RAW-Dir  : [ TP0:00001234_RAW ]&lt;br /&gt;
&lt;br /&gt;
IMA-Label: [ IMA002 ]   DISK&lt;br /&gt;
IMA-Dir  : [ TP0:00001234_IMA ]  DK0:[microct.data.00000456.00001234]&lt;br /&gt;
&lt;br /&gt;
Measurement Nr.:            0&lt;br /&gt;
End of program&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The IMA-label does not matter on disk - but we have to write something to get rid of the IMA002, so &#039;DISK&#039; makes sense.&lt;br /&gt;
&lt;br /&gt;
Using the standard backup/archiving program, you can archive (MOVE TO) that IMA again to a tape, but use a DIFFERENT TAPE than where the first instance of this scan is on.&lt;br /&gt;
&lt;br /&gt;
Background: Tapes just write file after file, without any directory structure or hierarchy, so the program will always find the first instance (the old dataset) if you try to read it again from that tape.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; One other option is to change the permissions of UCT_CORRECT_DIR.EXE so that user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt; can use it directly.  To do this, log in as users &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set proc/priv=bypass                         ! as user calibration&lt;br /&gt;
$ set prot=g:re ut:uct_correct_dir.exe&lt;br /&gt;
$ run disk1:[calibration.util]uct_correct_dir  ! as user microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Other FAQ==&lt;br /&gt;
&lt;br /&gt;
===View Sample info===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will show you sample-name and date-of-birth of sample-number 1234&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr um:uct_info -m 1234&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
will give you some (stupid) info about meas 1234&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you use this function all the time, put the following into &amp;lt;code&amp;gt;microct_setup_user.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_info  :== $um:uct_info&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then the usage info will even be correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===List measurements for data and backup location===&lt;br /&gt;
&lt;br /&gt;
*To generate a list of measurements that are registered in the database, to determine where backups are stored, or if the data is still on disk:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;code&amp;gt;$ write_info&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Ask you for a range of measurement numbers or sample names.&lt;br /&gt;
*Create a &amp;lt;code&amp;gt; sys$scratch:info.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Anonymize patient name and DOB===&lt;br /&gt;
&lt;br /&gt;
Here is the link to [[Media:SOP_Anonymize_patient_name_dob.pdf | Scanco&#039;s SOP]] to change a long list of patient&#039;s name and/or DOB to de-identify the data. &lt;br /&gt;
&lt;br /&gt;
This does not affect the headers of past RSQ, ISQ or AIM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix a wrong scan site===&lt;br /&gt;
For example scan site RR is scanned mistakenly under RL.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show log *eval*&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to see our site codes, e.g. 20 = RL, 21 = RR etc.&lt;br /&gt;
&lt;br /&gt;
Login as user calibration.  (Note that &#039;microct&#039; in the 3rd line below does NOT refer to XCT I.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0&lt;br /&gt;
$ username: [enter calibration account, e.g. calib3401]&lt;br /&gt;
$ @disk1:[xtremect2]microct_setup.com     &lt;br /&gt;
&lt;br /&gt;
$ cd util&lt;br /&gt;
$ dir *site* &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you see two programs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run uct_correct_meas_site&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and enter the meas. number to be corrected and then enter the correct site code. This modifies the database (of user microct), so the correct site is displayed in the eval program. (Enter meas. number 0 to exit program)&lt;br /&gt;
&lt;br /&gt;
Then we must also correct the ISQ file (and RSQ file if still on disk):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ run updh_site&lt;br /&gt;
(&#039;updh&#039; = update header)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and enter the &amp;lt;b&amp;gt;full (i.e. pathname included)&amp;lt;/b&amp;gt; ISQ and RSQ (if still on disk) filename. Then enter the correct site number.&lt;br /&gt;
&lt;br /&gt;
make sure to &amp;lt;b&amp;gt;logout!&amp;lt;/b&amp;gt; as user calibration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix site code of a scan===&lt;br /&gt;
This is done if accidentally scanned using the wrong control file (ex. RL scanned mistaking using the control file for RR). &lt;br /&gt;
&lt;br /&gt;
Login as user Calibration, Set priviledge to bypass&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
&lt;br /&gt;
Point to microct user&lt;br /&gt;
&lt;br /&gt;
 $ @IDISK1:[MICROCT]LOGIN.COM&lt;br /&gt;
 $ cd util&lt;br /&gt;
 $ run UCT_CORRECT_MEAS_SITE.EXE&lt;br /&gt;
&lt;br /&gt;
Enter in the correct site code (20 = RL, 21 = RR, 38 = TL, 39 = TR)&lt;br /&gt;
&lt;br /&gt;
 $ run UPDH_SITE&lt;br /&gt;
&lt;br /&gt;
Enter in full filepath for ISQ and RSQ. Then enter the correct site number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Fix for results fail to print/list/show after evaluation===&lt;br /&gt;
&lt;br /&gt;
There are a number of reasons the results may not print:&lt;br /&gt;
&lt;br /&gt;
====Incorrect first measurement number====&lt;br /&gt;
When sample information (such as patient name, DOB, remark) is changed DURING scanning, this can over write the 1st Scan measurement number, resulting in the evaluation sheet not being printed, and data not shown when running upat_list. For example, this happens when:&lt;br /&gt;
&lt;br /&gt;
1) open sample program, enter name, hit save, leave program open&lt;br /&gt;
&lt;br /&gt;
2) start scan (which would write correct record with 1st meas. in sample database)&lt;br /&gt;
&lt;br /&gt;
3) in sample program: then only enter DOB, and hit &#039;save&#039; again in the sample program --&amp;gt; it &#039;overwrites&#039; the 1st meas. with an empty string again.&lt;br /&gt;
&lt;br /&gt;
If you want to enter DOB after the scan has started, you HAVE to &#039;Find...&#039; and re-load that patient first (so it correctly loads the 1st meas. entry also). It is best to just not use the sample management program whilst scanning is taking place. &lt;br /&gt;
&lt;br /&gt;
However, if you do encounter this problem, use the following to fix (shown using patient 668 as an example. 1st scan measurement number was 2672):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 calibration&lt;br /&gt;
 xxxxx&lt;br /&gt;
&lt;br /&gt;
 $ spb&lt;br /&gt;
 $ @[microct]microct_setup&lt;br /&gt;
 $ run [calibration.util]uct_correct_first&lt;br /&gt;
 $ r UCT_CORRECT_FIRST&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.: 668&lt;br /&gt;
 SampleNr.:          668&lt;br /&gt;
 First:            0&lt;br /&gt;
&lt;br /&gt;
 2672&lt;br /&gt;
&lt;br /&gt;
 Patient Nr.:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and continue with next non-working patient, give patient number 0 to exit.&lt;br /&gt;
&lt;br /&gt;
 $ logout&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Evaluation completed with results not written to database====&lt;br /&gt;
If the first measurement number and DOB are correct... check the .log file of the evaluation... However, if there is no upat*.log file available for that scan, use:&lt;br /&gt;
&lt;br /&gt;
upat_list -v=2 and you will see (for eg sample 594):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Found sample 594, CAMOS_0018&lt;br /&gt;
Found measurement 2536 made 19-MAR-2007 12:52:58.48&lt;br /&gt;
Measurement site RL found in list at index 0&lt;br /&gt;
Measurement 2536 within measurement period&lt;br /&gt;
ERROR finding evaluation for measurement 2536&lt;br /&gt;
&lt;br /&gt;
No valid evaluation found for measurement 2536&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So it seems the 3D upat eval never wrote anything to the database for that scan. In this case, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @ue:ipl_upat_eval_again_quick.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and let it run for the missing data. &lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039; it will only need the aim files and gobj files that you still have in your &#039;models&#039; directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Incorrect sequence of measurement numbers====&lt;br /&gt;
Finally, if none of these options work... check the order of measurement numbers: especially if an import has occured, first check the first measurement number is correct (as above). Then run sys$Scratch:uct_correct_prev_next.exe and correct the order of the measurements: The database keeps a &#039;daisy&#039; chain of meas. numbers, each meas. knows which one was the previous meas and the next meas.&lt;br /&gt;
&lt;br /&gt;
0 means: no prev. meas (or no next meas) So corrected the order for you like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ r UCT_CORRECT_prev_next&lt;br /&gt;
&lt;br /&gt;
Measurement No. (0 to stop) [0]: 2821&lt;br /&gt;
MeasNo.:         2821 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]:   &amp;lt;-- leave 0&lt;br /&gt;
Next     [0]: 2828  &amp;lt;-- give next meas number&lt;br /&gt;
Measurement No. (0 to stop) [2828]:&lt;br /&gt;
MeasNo.:         2828 PatientNo:          723&lt;br /&gt;
&lt;br /&gt;
Previous [0]: 2821  &amp;lt;-- give prev. meas number&lt;br /&gt;
Next     [0]:  &amp;lt;-- leave 0 for very last meas.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Please note: the series of meas. numbers per patient is NOT separate per meas. site, thus radius and tibia meas. are linking to each other. &#039;&#039;&#039;Do not mess up!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Lab’s Data Responsibility==&lt;br /&gt;
*Weekly &lt;br /&gt;
#Clean up sys$scratch directory and only keep last week&#039;s data.&lt;br /&gt;
#Archive RSQ to corresponding tapes.&lt;br /&gt;
#*RSQ from temporary tests and non-project (not a formally established project) will NOT be archived unless specifically notified to lab personal.&lt;br /&gt;
#Database backup to disks.&lt;br /&gt;
*Monthly&lt;br /&gt;
#Database backup to corresponding tapes.&lt;br /&gt;
#Archive QC RSQ to corresponding tapes.&lt;br /&gt;
#Delete QC IMA and only keep last week&#039;s data.&lt;br /&gt;
*6-monthly&lt;br /&gt;
#System backup to corresponding tapes when prompted.&lt;br /&gt;
*Yearly&lt;br /&gt;
#Data Disk clean up when usage is over 90%.&lt;br /&gt;
#*Temporary tests and non-project RSQ and IMA data will be deleted during check up.  &lt;br /&gt;
#Project Disk clean up when usage is over 90%.&lt;br /&gt;
#Winston backups clean up.  &lt;br /&gt;
*Whenever requested&lt;br /&gt;
#Projects backup to Winston server and restoration.&lt;br /&gt;
#Projects archive to HOG server and restoration.&lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; STRONGLY URGE TO DO THE WEEKLY and MONHTLY BACKUP. Two users DID experience disk crashes before, and without the weekly backup, you may still have all scans on the data disk, but without the databases you cannot tell which scans belong the which sample.&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_management.pdf|&#039;&#039;&#039;XtremeCT Micro-CT Management SOP&#039;&#039;&#039;]] or [[Media:Microct_management.docx|&#039;&#039;&#039;its Word format&#039;&#039;&#039;]] for references.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==HP Server and Disk Array==&lt;br /&gt;
===HP References===&lt;br /&gt;
*[[Media:Hp-quick-specs-msa30.pdf|&#039;&#039;&#039;MSA30 Disk Array Quick Specs&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2620-sceva2-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2620 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Hp-integrity-rx2660-sceva3-user-service-guide.pdf|&#039;&#039;&#039;Integrity RX2660 User Guide&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===HP FAQ===&lt;br /&gt;
====Change disk description for $ disks====&lt;br /&gt;
Login as the system user and change to the system commands directory.&lt;br /&gt;
&lt;br /&gt;
 $ cd scom&lt;br /&gt;
 $ eve show_disks.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Tape==&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; While the tape is running and writing to it, DO NOT LOG OUT, DO NOT INTERRUPT THE PROGRAM! This would make that tape unusable from this point on - you could still read from that tape up to this point, but could not add more scans to this tape.&lt;br /&gt;
&lt;br /&gt;
===Tape Label Convention===&lt;br /&gt;
Tape labels are 6 characters in length.  For the Bone Imaging Lab projects, the first three letters indicate if the tape is for raw (RAW) or image (IMA) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
RAW040 = RAW date, tape #040&lt;br /&gt;
IMA001 = IMAGE data, tape #001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, the first two characters may be set to a PI&#039;s initials, the third character indicates if the tape is for raw (R) or image (I) data, and the last three digits are for the tape number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SBR040 = Steve Boyd RAW, tape #040 &amp;lt;br&amp;gt;&lt;br /&gt;
SBI001 = Steve Boyd IMA, tape #001 &amp;lt;br&amp;gt;&lt;br /&gt;
BHR006 = Benedikt Hallgrimsson RAW, tape #006 &amp;lt;br&amp;gt;&lt;br /&gt;
BHI017 = Benedikt Hallgrimsson IMA, tape #017 &amp;lt;br&amp;gt;&lt;br /&gt;
FJR012 = Frank Jirik RAW, tape #012 &amp;lt;br&amp;gt;&lt;br /&gt;
FJI003 = Frank Jirik IMA, tape #003 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CaMos raw data is backed up with the following naming:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CAMOS1 = CaMos RAW, tape #1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When a tape becomes full, start (initialize) a new tape, increasing the tape number by one so that each tape label is unique.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Initialize a New Tape===&lt;br /&gt;
Put a new tape into the tape drive, then press &amp;quot;Initialize&amp;quot;, this will format (erase) everything on the tape.  When prompted for a label for the tape, follow the [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]].  The tape can now be mounted for use.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic02.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Full Tape===&lt;br /&gt;
A tape automatically ejects during a backup procedure if it becomes full.  &lt;br /&gt;
*Remove the tape and write protect it (orange indicator will be displayed).  &lt;br /&gt;
*Exit the disk-utility program. &lt;br /&gt;
:*Hit &amp;lt;code&amp;gt;ctrl/c&amp;lt;/code&amp;gt; to interrupt the program if needed. &lt;br /&gt;
*Start a new instance of the program.  &lt;br /&gt;
*[[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;Initialize a New Tape&#039;&#039;&#039;]].  &lt;br /&gt;
*Backup any remaining files.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup_pic03.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape Drive Setup on XCT cluster===&lt;br /&gt;
Both the old and new tape drives are connected to SC3309 (XCT1) and powered on. You do not need to power off one to use another.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
New tape in new drive &amp;lt;--&amp;gt; microct, xtremect2, xt2recalib, calib3401, calib3309&lt;br /&gt;
&lt;br /&gt;
:*The &#039;new&#039; Ultrium 3000 tape drive is for the new tapes and the default tape drive for all other accounts (microct, xtremect2, xt2recalib, calib3309, calib3401). &lt;br /&gt;
:*Use the following command to use the old SDLT tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sdlt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Old tape in old drive &amp;lt;--&amp;gt;  xt1recalib  &lt;br /&gt;
&lt;br /&gt;
:*The &#039;old&#039; SDLT tape drive is for the old tapes. You have to log into the default xt1recalib account to recognize this tape drive. &lt;br /&gt;
:*Restoring from old tapes in xt1recalib account will restore your data to DISK6:[MICROCT.DATA]. &lt;br /&gt;
:*By default, xt1recalib account can only see old tape drive, not the new tape drive.&lt;br /&gt;
:*Use the following command to use the new tape drive no matter which account on the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_backup_sas&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*With either of the above commands, you must not &amp;quot;submit&amp;quot; the tape usage jobs to the queue (i.e., cannot run a batch backup from a script), but only run them interactively in the &lt;br /&gt;
software. Any job in the queue will use the default tape drive again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract from Tape===&lt;br /&gt;
&lt;br /&gt;
====Scripts to Extract from Tape====&lt;br /&gt;
Generally, all files on the tape can be extracted, or only specific files.&lt;br /&gt;
To extract all files on a tape, for example, a tape received from a collaborator, insert the tape into the drive and do the following:&lt;br /&gt;
  $ cd ur&lt;br /&gt;
  $ create/dir [.collaborator]&lt;br /&gt;
  $ create/dir [.collaborator.com]&lt;br /&gt;
  $ create/dir [.collaborator.log]&lt;br /&gt;
  $ create/dir [.collaborator.models]&lt;br /&gt;
  $ cd ur collaborator models&lt;br /&gt;
  $ backup/log tp0:*.sav []/by=parent  ! be sure you are the user (i.e. &#039;microct&#039; or &#039;xtremect2&#039;) that has permission&lt;br /&gt;
  $ backup/log tp0:*.sav DISK4:[BONELAB.PROJECTS.FRAMINGHAM.MODELS...]/by=parent ! The &amp;quot;...&amp;quot; keeps the directory structure. The /by=parent ensures owner of the files is same as parent directory&lt;br /&gt;
&lt;br /&gt;
This will save all the files on the tape to the current directory. Alternatively, if you only want a certain file extracted from the tape, such as an RSQ file, do essentially the same as per above, except with a different final command:&lt;br /&gt;
  $ backup/log tp0:*.sav/select=*.rsq []/by=parent&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/by=parent&amp;lt;/code&amp;gt; part of the command is a qualified for the file owner, and it makes the files that are copied the same owner as the parent directory (nothing to do with how directories are structured). The &amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt; generates sub-directories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A custom script is required when extracting data from tape from another micro-CT system or to extract the data to a central location (e.g., a user&#039;s directory).  &lt;br /&gt;
*The script is then submitted to the backup queue of the workstation the tape drive is connected to (i.e., SCEVA3_BACKUP)&lt;br /&gt;
*Some example scripts are provided below.&lt;br /&gt;
&lt;br /&gt;
*Extract image data for three scans to a custom folder, maintaining the sample and measurement directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie...]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for three scans to a custom folder without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract segmented AIM files for all scans on tape to a custom folder:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:*_IMA.sav/select=[microct.data...]*seg.aim  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*Extract raw data for three scans to a custom folder, without the original directory structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0&lt;br /&gt;
$ backup/log tp0:00001234_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001245_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ backup/log tp0:00001238_IMA.sav/select=[microct.data...]  disk3:[microct.projects.buie]&lt;br /&gt;
$ dismount tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Tape FAQ===&lt;br /&gt;
====Error: Can&#039;t mount tape, Medium offline====&lt;br /&gt;
This can happen if a tape is interrupted during use (e.g., due to a power failure or system restart while the tape drive is in operation).&lt;br /&gt;
&lt;br /&gt;
#Use the manual eject button to remove the tape from the drive.&lt;br /&gt;
#Turn off the tape drive, the switch is on the back of the drive.&lt;br /&gt;
#Shutdown the whole micro-CT system.&lt;br /&gt;
#Turn on the tape drive.&lt;br /&gt;
#Startup the micro-CT system, starting with the server.&lt;br /&gt;
#Try to mount the same tape again.&lt;br /&gt;
&lt;br /&gt;
If the above does not work then either the tape or the tape drive is damaged.  To determine if it is the drive, take a brand new tape and try to initialize it.  Do not use a tape with data on it in the drive unless you are certain the drive is okay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: positioning====&lt;br /&gt;
This can have two reasons usually:&lt;br /&gt;
&lt;br /&gt;
#The tape is just faulty. Try with a fresh tape.&lt;br /&gt;
#A previous tape write operation was interrupted (e.g., a user did an &#039;End Session&#039;, the power went out, or the eject button was pressed on the tape drive, which killed the backup program). In this case the drive did not write the very important &#039;End of Tape&#039; marker, and now, the tape drive cannot find the current place where it can start adding new data. &lt;br /&gt;
*Solution: either take a fresh tape, or if there were only a few scans are on the &#039;bad&#039; tape, &#039;Move to Hard Disk&#039; of ALL the scans on that tape, check that the scans have been retrieved well, then initialize that tape again (which will erase everything on the tape!) and archive those scans again. &lt;br /&gt;
*IMPORTANT: never interrupt the tape drive while it is running!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Error: parity====&lt;br /&gt;
Either tape or the tape drive is faulty. Take a fresh tape (potentially from a new batch of tapes), and see if the error persists. &lt;br /&gt;
*If yes: have the tape drive repaired. &lt;br /&gt;
*Further things to check: for DLT and SDLT tape drives: is the terminator (&#039;dead end&#039;) connected on the second SCSI port in the back of the tape drive.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: non-responsive tape drive====&lt;br /&gt;
This can occur if the user ejects the tape with the little button (and not with the recommended &amp;quot;dismount&amp;quot; button in the uct_backup program).  This can also occur if a tape is mounted immediately after one is dismounted.  You get the same error for both cases, &amp;quot;medium offline&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
:*Check all that all cables are connected.&lt;br /&gt;
&lt;br /&gt;
:*Check that the number on the back of the drive says &amp;quot;5&amp;quot; (use +/- to adjust if necessary)&lt;br /&gt;
&lt;br /&gt;
:*Check that the top connector has a cable connecting to the computer and the bottom one has a terminator.&lt;br /&gt;
&lt;br /&gt;
:*Try turning the tape drive on and off again.&lt;br /&gt;
&lt;br /&gt;
:*Log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; (you will need a password from Steve):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto/sele=mk&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it&#039;s online again, then great.  If not, then the last resort is to reboot the entire system.  If this doesn&#039;t work, then shut down the system (see user manual for proper steps) and eject the tape.  You may need to turn the computer back on before it will eject.  The tape drive should be turned on first (no tape), then the server, and any other computers.  Check that the drive is online ($ show device mk).  If it is, then test the drive by initializing, mounting and dismounting a brand new tape.  If the drive is not online, do not insert any tapes or they will likely get stuck.  Log in as system and re-try the command lines shown above.&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a stubborn tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Fix: stubborn tape drive====&lt;br /&gt;
If the drive cannot be mounted, or it is not visible with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then something went wrong.  For example, the server computer was booted while the tape was turned off. It then does not load the driver.&lt;br /&gt;
&lt;br /&gt;
You can &#039;force load&#039; it - but this will disconnect the scanner for a moment, so only do it while no scan is running:&lt;br /&gt;
&lt;br /&gt;
as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;, on sc3309:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr sysman io auto&lt;br /&gt;
&lt;br /&gt;
$ show dev tp0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you should see it now (otherwise turn on the tape drive, and do again)&lt;br /&gt;
&lt;br /&gt;
Then you&#039;ll also have to make it available to all users:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @sys$startup:scanco_setup_devices.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: See &amp;quot;Fix a non-responsive tape drive&amp;quot; elsewhere in this wiki.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====SDLT320 Tape and Tape Drive FAQ====&lt;br /&gt;
Please refer to [[Media:Hp-faq-sdlt320-tape-drive-and-sdlt-tapes.pdf|&#039;&#039;&#039;SDLT320 Tape and Tape Drive FAQ&#039;&#039;&#039;]] for details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==USB Drive==&lt;br /&gt;
&lt;br /&gt;
===Use a USB drive===&lt;br /&gt;
Connect USB to VMS system and format. &lt;br /&gt;
&lt;br /&gt;
Transfer files from the terminal after plugging in the USB device&lt;br /&gt;
  $ show device dna&lt;br /&gt;
Usually the device is dna1 or dna2&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ create/dir dna2:[microct]&lt;br /&gt;
  $ copy dk0:[microct]&lt;br /&gt;
or&lt;br /&gt;
  $ backup/log dk0:[&lt;br /&gt;
and then&lt;br /&gt;
  $ dismount dna2&lt;br /&gt;
&lt;br /&gt;
Transfer files back again&lt;br /&gt;
&lt;br /&gt;
  $ mount /over=id dna2&lt;br /&gt;
  $ dir dna2:[microct]&lt;br /&gt;
  $ copy dna2:[microct]myfile.txt disk1:[microct.data.00000702.00001234]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===USB Device Usage with Scanco Backup/Archive Software===&lt;br /&gt;
&lt;br /&gt;
For illustrated help on Itanium rx2660s , please refer to [[Media:Scanco_TDxxx-USB_Device_Usage.pdf | &#039;&#039;&#039;Scanco_TDxxx-USB_Device_Usage.pdf&#039;&#039;&#039; ]]&lt;br /&gt;
 &lt;br /&gt;
====Initialize procedure====&lt;br /&gt;
If an external USB device is to be used to archive measurement data, the USB device must be initialized by Open-&lt;br /&gt;
VMS. The data will not be accessible from any other operating system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium rx2660.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1.1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Initialize&amp;lt;” button in the “USB Device” section to initialize the USB device.&lt;br /&gt;
&lt;br /&gt;
- Confirm the Warning message. Note: All data currently on the device will be erased!&lt;br /&gt;
&lt;br /&gt;
- Enter a six-character label&lt;br /&gt;
&lt;br /&gt;
The USB device will be initialized and mounted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Archive procedure====&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Select the correct USB device with the arrow buttons in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Use the “Mount” button in the “USB Device” section to mount the USB device.&lt;br /&gt;
&lt;br /&gt;
The device label of the mounted USB device will be shown in the “USB Device” section.&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be archived.&lt;br /&gt;
&lt;br /&gt;
- Select “Move To:” and “USB/VMS” and click “Start&amp;lt;” to archive the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
After the move procedure, the new current location of the measurement data will be shown next to the files path.&lt;br /&gt;
&lt;br /&gt;
- “Dismount” the USB device when done with archiving.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Manual file copy procedure====&lt;br /&gt;
An OpenVMS formatted USB device can also be mounted and used for file storage using commands in a DECterm.&lt;br /&gt;
&lt;br /&gt;
- Attach an OpenVMS formatted USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- List available devices. The last shown device is usually the attached USB device; dna12 in this example.&lt;br /&gt;
    $ show device dna&lt;br /&gt;
&lt;br /&gt;
- Mount the USB device using the correct device name&lt;br /&gt;
    $ mount /over=id dna12&lt;br /&gt;
&lt;br /&gt;
- Create a root directory. Ignore any messages if the directory already exists.&lt;br /&gt;
    $ create /dir dna12:[microct]&lt;br /&gt;
&lt;br /&gt;
- Copy any wished files to the USB device&lt;br /&gt;
    $ copy {source files} dna12:[microct] /log&lt;br /&gt;
&lt;br /&gt;
- Dismount the USB device&lt;br /&gt;
    $ dismount dna12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Exporting Files / FAT file system====&lt;br /&gt;
If an external USB device is to be used to export measurement data to a Windows or MAC OS, the USB device must be formatted as FAT file system.&lt;br /&gt;
&lt;br /&gt;
- Attach the USB device to the front USB port of the Itanium.&lt;br /&gt;
(note: Itanium rx2620 only supports USB1, which will have a very slow transfer rate)&lt;br /&gt;
&lt;br /&gt;
- Open the Scanco backup/archive software.&lt;br /&gt;
&lt;br /&gt;
- Do not “Initialize&amp;lt;” or “Mount” the USB device !&lt;br /&gt;
&lt;br /&gt;
- Select the measurement data to be copied to the USB device, may be even sub-select the wished file type&lt;br /&gt;
(TIF files in the example below).&lt;br /&gt;
&lt;br /&gt;
- Select “Copy To:” and “USB/FAT” and click “Start&amp;lt;” to copy the selected data to the USB device.&lt;br /&gt;
&lt;br /&gt;
Once the USB device is connected to Windows or MAC OS, it will show a ZIP file named like the copied measurement&lt;br /&gt;
number. This ZIP file contains the same directory structure like the data disk on OpenVMS: &lt;br /&gt;
&lt;br /&gt;
data\sample number\measurement number&lt;br /&gt;
&lt;br /&gt;
In the lowest sub-directory are the copied files, as selected in the backup/archive software (TIF files in this example).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Problems with connected USB devices===&lt;br /&gt;
&lt;br /&gt;
Sometimes USB configurations can be problematic, in which case log in as &amp;quot;system&amp;quot; on the server and run&lt;br /&gt;
&lt;br /&gt;
  $ dir/date SYS$SYSROOT:[SYSEXE]USB$UCM_DEVICES.DAT&lt;br /&gt;
&lt;br /&gt;
to see whether a file was created recently. If one has, delete that file and reboot the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==CDROM==&lt;br /&gt;
===Mount a CDROM===&lt;br /&gt;
&lt;br /&gt;
Device could be &amp;lt;code&amp;gt;dqa0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;dqb0&amp;lt;/code&amp;gt;.  I&#039;m not sure which works:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
OR&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/override=id dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dismount dqa0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Saveset and Zip files==&lt;br /&gt;
&lt;br /&gt;
===Saveset===&lt;br /&gt;
&lt;br /&gt;
====Saveset Naming Convention====&lt;br /&gt;
The Scanco backup program stores raw (RAW) and image (IMA) data as save sets (SAV).  &lt;br /&gt;
*RAW save sets contain RSQ files and IMA savesets contain all other file types.  &lt;br /&gt;
*The saveset filename is composed of the 8-digit measurement number plus &amp;quot;_RAW.SAV&amp;quot; for raw data and &amp;quot;_IMA.SAV&amp;quot; for image data.  &lt;br /&gt;
*For example, the data for a scan with measurement number 1234 would be stored as:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00001234_RAW.SAV  ?  RSQ&lt;br /&gt;
00001234_IMA.SAV  ?  all other files, ISQ, AIM, GOBJ, TXT, SCV, etc.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Create and Unpack Saveset====&lt;br /&gt;
Savesets are OpenVMS backup files, similar to a zip.  Use the backup command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG disk3:[microct.projects.buie...] disk3:[microct.projects]buie2012.sav/sav	&lt;br /&gt;
                !Creates a saveset file of disk3:[microct.projects.buie].  &lt;br /&gt;
                !The ... after the folder indicates to include all subfolders and files.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie]&lt;br /&gt;
                !Unpacks the whole saveset to disk3:[microct.projects.buie]&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav disk3:[microct.projects.buie...]	&lt;br /&gt;
                !The ... at the end of the output location indicates to unpack the saveset and maintain the original directory structure.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=*.aim disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of only aim file types.&lt;br /&gt;
$ BACKUP/LOG mysaveset.sav/sav/select=[microct.data...] disk3:[microct.projects.buie]	&lt;br /&gt;
                !The select flag is used to indicate extraction of the folder data and all subfolders and files.&lt;br /&gt;
$ HELP BACKUP   !More information on the backup command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====View Saveset Contents====&lt;br /&gt;
To view contents of a saveset (SAV) on disk:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ backup/list upat_print_list_nomatch.sav/sav&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the savesets (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view contents of a saveset (SAV) on a tape:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list tp0:*.*  ! OR, backup/list tp0:*.SAV&lt;br /&gt;
or&lt;br /&gt;
$ backup/list=results.txt tp0:*.*  ! save output in results.txt&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An idea to get the results of the backup/list into a text file: Run the procedure in a submitted script and save the resulting log file with all the output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Extract a single file from SaveSet====&lt;br /&gt;
&lt;br /&gt;
In a large SaveSet, sometimes we only want one file extracted, not the whole archive extracted. This can be done with&lt;br /&gt;
&lt;br /&gt;
  $ backup /log /select=myfile.txt mysaveset.sav /sav disk1:[microct.scratch]&lt;br /&gt;
&lt;br /&gt;
or []  as destination will put the file in the current directory.&lt;br /&gt;
&lt;br /&gt;
This can take a while as it looks through all the saveset. Once it logs that the file has been restored, you may interrupt with F6. Else it goes on looking through the rest of the saveset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Saveset from microCT to XtremeCT====&lt;br /&gt;
&lt;br /&gt;
You can create a SAV set of your project on the VivaCT and transfer it to the Xtreme system, or vice-versa.&lt;br /&gt;
First, create the SAV set using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
$ BACKUP/LOG DISK3:[MICROCT.PROJECTS.SB.MYPROJECT...]*.*;* -&lt;br /&gt;
     SYS$SCRATCH:MYPROJECT.SAV/SAV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This creates the MYPROJECT.SAV file in the scratch directory.  Now zip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sys$scratch&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; MYPROJECT.ZIP MYPROJECT.SAV  (NOTE: must use quotes and a capital V!!!!)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
FTP the .ZIP file to SODOR ( in binary mode!!!), and then FTP it off onto your destination system (Viva or Xtreme).  See the appropriate HowTo for FTP instructions.  Once you&#039;ve FTP&#039;d it, unzip the file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip MYPROJECT.ZIP&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, unpack the contents of the .SAV file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/LOG MYPROJECT.SAV/SAV DISK3:[MICROCT.PROJECTS.MYPROJECT] &amp;lt;--- or whatever destination directory&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
NOTE:  transferring a .SAV directly from VMS to VMS should work, but not via any third operating system (like SODOR) - so zipping is always the safe way to make sure it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Zip===&lt;br /&gt;
&lt;br /&gt;
====Zip and Unzip files====&lt;br /&gt;
Use the zip program to add files to a zip archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ZIP myzip.zip myfile.txt;1	                !Adds myfile.txt to myzip.zip.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip myfile.txt;1	        !Adds myfile.txt;1 to myzip.zip.  The &amp;quot;-V&amp;quot; maintains the OpenVMS version number.&lt;br /&gt;
$ ZIP &amp;quot;-V&amp;quot; myzip.zip [.subdir...]*.*;*	        !Adds all files within subdir to myzip.zip, maintaining their version number.&lt;br /&gt;
$ ZIP	                                        !Displays the help for the zip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the unzip program to unzip an archive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UNZIP &amp;quot;-V&amp;quot; myzip.zip		                !Extracts myzip.zip, maintaining the OpenVMS structure.&lt;br /&gt;
$ UNZIP		                                !Displays the help for the unzip command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Transfer Zip between Scanco systems====&lt;br /&gt;
&lt;br /&gt;
Files must be zipped before transfer by e-mail or ftp because important attributes will be lost in the transfer otherwise.&lt;br /&gt;
&lt;br /&gt;
To transfer files from system A to B, do the following.&lt;br /&gt;
&lt;br /&gt;
On system A:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_SAMPLES_TORONTOXT.DAT  ! for each filename&lt;br /&gt;
$ zip &amp;quot;-V&amp;quot; for_calgary.zip uctd:UCT_MEASUREMENTS_TORONTOXT.DAT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will add both files to the same zip file.&lt;br /&gt;
&lt;br /&gt;
Note: &amp;quot;-V&amp;quot; is very important, it must be capital V!&lt;br /&gt;
&lt;br /&gt;
Transfer the file by e-mail, or by ftp.&lt;br /&gt;
&lt;br /&gt;
On system B:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip -j for_calgary.zip  ! to unzip on your end them (-j to &#039;junk&#039; the original file path)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Unpack Zip sent by Scanco====&lt;br /&gt;
In the .zip file, you&#039;ll find a .sav file. Unzip the .zip just by saying&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ unzip xxxx.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxxx.sav/sav disk3:[steve.devel.temp]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will unpack everything into &amp;lt;code&amp;gt;disk3:[steve.devel.temp]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/list xxxx.sav/sav&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you see what&#039;s in the .sav.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ backup/log xxx.sav/sav/sel=[andres.uct.ipl_for_cust...] disk3:[steve.devel.cipl...]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and it will create the same diretory tree in steve.devel.cipl as it was when I &lt;br /&gt;
packed it into the .sav.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Backup and Archive==&lt;br /&gt;
&lt;br /&gt;
===UI Procedures===&lt;br /&gt;
&lt;br /&gt;
====µCT Disk-Utility====&lt;br /&gt;
The µCT Disk-Utility Program is used to archive and restore scan data. To start the program type &amp;lt;code&amp;gt;$ uct_backup&amp;lt;/code&amp;gt; in a DEC terminal, or use the disk button.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_backup.jpg|40px]]&lt;br /&gt;
*The backup captures both the programs and databases.&lt;br /&gt;
*A little helper terminal comes up and gives feedback of every file backed up.&lt;br /&gt;
[[File:Uct_backup_pic01.jpg|600px]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Two possible ways to use &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt;:&lt;br /&gt;
:* COPY TO -&amp;gt; this does not update the database.&lt;br /&gt;
:* MOVE TO -&amp;gt; this updates the database.&lt;br /&gt;
&lt;br /&gt;
Scenario 1: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Use UCT_BACKUP to &#039;move&#039; the remainder (AIM/GOBJ) to &#039;tape&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*At operation 3, the measurement directory will be deleted from the measurement disk.  &lt;br /&gt;
*The directory will automatically be restored if you restore your data from tape.&lt;br /&gt;
&lt;br /&gt;
Scenario 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Use UCT_BACKUP to &#039;move&#039; the RSQ to &#039;tape&#039;&lt;br /&gt;
2. Use UCT_BACKUP to &#039;move&#039; the ISQ to &#039;garbage&#039;&lt;br /&gt;
3. Move all the GOBJ/AIM/etc to a project directory.&lt;br /&gt;
4. Generate a .SAV file and put on the IMA tape.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You will have to delete the measurement directories (using UCT_BACKUP if you like). &lt;br /&gt;
*The disadvantage of this scenario is that the image data cannot be restored using UCT_BACKUP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Raw Data Backup====&lt;br /&gt;
*Ideally 1-2 week after scanning.&lt;br /&gt;
*RSQ files are backed up onto RAW tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  Put the most recent RAW tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
*Show &amp;quot;Current (with RAW)&amp;quot;, use the file filter (Measurement:     ) to search for your files (e.g., CAMOS) and press enter or press &amp;quot;Update List&amp;quot;.  &lt;br /&gt;
*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
*Highlight RAW, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.  &lt;br /&gt;
*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape. &lt;br /&gt;
*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
*If you select multiple files, be sure they all need to be backed up, otherwise you will get an error.&lt;br /&gt;
:[[File:Uct_backup_pic04.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Image Data Backup====&lt;br /&gt;
*Ideally 1-2 months after scanning, after contouring, onsite analysis and copied image data to project disk.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Delete ISQ After Evaluation&#039;&#039;&#039; &lt;br /&gt;
#*ISQ files are normally deleted after completing your evaluation since they are very large files and can be reconstructed from the RSQ file. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type the beginning of your sample name (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;.&lt;br /&gt;
#*Select all the files for which you have completed the evaluation (there will be a + sign next to any scan that has been evaluated).  #*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Trash&amp;quot;.  &lt;br /&gt;
#*[[File:Important.JPG|20px]] After you choose the trash symbol, you will now be given the option to select specific file types, choose &amp;quot;Select&amp;quot; and &amp;quot;ISQ&amp;quot;.  Press &amp;quot;Start...&amp;quot;.&lt;br /&gt;
#*Only choose one file type to delete at a time. The wildcard (*) indicate all files other than &amp;quot;ISQ&amp;quot; and &amp;quot;AIM&amp;quot; files.&lt;br /&gt;
#:[[File:Uct_backup_pic05.jpg|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Backup IMAGE Data&#039;&#039;&#039; &lt;br /&gt;
#*AIM, GOBJ and other evaluation files are backed up onto IMA tapes (see [[Scanco_Administration#Tape_Label_Convention|&#039;&#039;&#039;Tape Label Convention&#039;&#039;&#039;]]).  &lt;br /&gt;
#*Put the most recent IMA tape into the tape drive, then press &amp;quot;Mount&amp;quot;. &lt;br /&gt;
#*Show &amp;quot;Current (on Disk)&amp;quot;, type in the beginning of your sample names (e.g., CAMOS) in the file filter and press enter or press &amp;quot;Update List&amp;quot;. &lt;br /&gt;
#*Select all the files to backup by highlighting them using the left mouse button and ctrl to select individual files or shift to select a range.  &lt;br /&gt;
#*Highlight IMA, choose &amp;quot;Move To&amp;quot; and &amp;quot;Tape&amp;quot;.  Press &amp;quot;Start...&amp;quot;.   &lt;br /&gt;
#*When the backup is complete press &amp;quot;Dismount&amp;quot; to eject the tape.  &lt;br /&gt;
#*If the tape auto-ejected without pressing &amp;quot;Dismount&amp;quot; then the tape is full (see [[Scanco_Administration#Full_Tape|&#039;&#039;&#039;Full Tape&#039;&#039;&#039;]]).&lt;br /&gt;
#:[[File:Uct_backup_pic06.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Use &#039;Script...&#039; button====&lt;br /&gt;
Usually, you will start the move/copy by clicking on &amp;lt;code&amp;gt;&#039;Start...&#039;&amp;lt;/code&amp;gt; button. The &amp;lt;code&amp;gt;&#039;Script...&#039;&amp;lt;/code&amp;gt; button is for advanced users.&lt;br /&gt;
&lt;br /&gt;
*Use of the &#039;Script...&#039; button will generate a script &amp;lt;code&amp;gt;sys$scratch:archive.com&amp;lt;/code&amp;gt;, that you may submit it in batch mode later (e.g. over night) by typing: &amp;lt;pre&amp;gt;$ scanco_submit_command sys$scratch:archive.com/after=23:59&amp;lt;/pre&amp;gt;&lt;br /&gt;
*In a multi-computer cluster setup, you may want to specify the exact queue name of the computer that has the tape hooked up by giving e.g. &amp;lt;code&amp;gt;/que=sceval_fast&amp;lt;/code&amp;gt;.&lt;br /&gt;
*Insert a tape, but do NOT mount the tape in the normal program. If necessary: if it&#039;s a new tape, [[Scanco_Administration#Initialize_a_New_Tape|&#039;&#039;&#039;initialize&#039;&#039;&#039;]] it as usual. &lt;br /&gt;
*The batch job will be started one minute before midnight in the example above. &amp;lt;code&amp;gt;$ show entry&amp;lt;/code&amp;gt; will show you that it is holding until then.&lt;br /&gt;
*See &amp;lt;code&amp;gt;$ help submit /after&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ help dcl_tips date_time example&amp;lt;/code&amp;gt; for more help on this.&lt;br /&gt;
*Sample script file (archive.com) restoring the RSQs of measurements 6452 and 6580:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
COPY&lt;br /&gt;
DISK&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6452)&lt;br /&gt;
MEAS&lt;br /&gt;
6452&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: SB_BUIE_EX_CTRL_PH_01 (6580)&lt;br /&gt;
MEAS&lt;br /&gt;
6580&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Database Backup====&lt;br /&gt;
&lt;br /&gt;
The database (DB) backup should be performed for each user on the system. It should not be performed as user &#039;calibration&#039; or some derivative. In the case of the XtremeCT2 and XtremeCT cluster, both the &#039;microct&#039; and &#039;xtremect2&#039; user accounts must be used to backup their respective DB. &lt;br /&gt;
&lt;br /&gt;
By performing the DB backup, the warning dialog that appears when logging into the system should go away.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Operating System (OS) Backup====&lt;br /&gt;
If the following error-message appears on the screen then you can click OK to continue your work. &lt;br /&gt;
&lt;br /&gt;
     MESSAGE: No recent OS Backup found!&lt;br /&gt;
     Please perform OS backup (DISK0) in privileged account!&lt;br /&gt;
     %RMS-W-FNF file not found.&lt;br /&gt;
     CODE: 268534416&lt;br /&gt;
     Facility RTL&lt;br /&gt;
&lt;br /&gt;
This message means that no operating system (OS) backup has been performed within the last 6 months. Please perform an OS backup as soon as possible by following the steps below:&lt;br /&gt;
&lt;br /&gt;
1. Make sure there are no scans in progress and that the que is halted from all activity.&lt;br /&gt;
&lt;br /&gt;
2. Log in to the calibration account: Since we have two scanners on the same system, login as either &amp;quot;calib3401&amp;quot; or &amp;quot;calib3309&amp;quot;, depending if you need to backup the XtremeCT2 or XtremeCT, respectively. For microCT clusters, (best to do this on SCEVA3) using the username calib5019 and the password (ask Steve for this).&lt;br /&gt;
&lt;br /&gt;
3. Type in the DECterm window:&lt;br /&gt;
          $ set proc/priv=bypass&lt;br /&gt;
Or Set priviledge to bypass by &amp;lt;code&amp;gt;$ spb&amp;lt;/code&amp;gt;&lt;br /&gt;
          $ r um:uct_b     Or $ uct_backup&lt;br /&gt;
&lt;br /&gt;
4. You will now see 2 additional buttons on the bottom left that is not seen when logged in as microct user. Push either the button &amp;quot;OS Backup to Disk DK0&amp;quot; or mount the specific OS backup tape and push the &amp;quot;OS Backup to Tape&amp;quot; button.&lt;br /&gt;
* A system backup to tape and to DK0 should both be performed. &lt;br /&gt;
&lt;br /&gt;
5. Check the command line &amp;amp; queue to ensure that the backup is being carried out. If you submit the job as &#039;batch mode&#039; the backup is submitted to SYS$BACKUP queue and allows you to close the backup program and &#039;end session&#039; without interrupting a running backup. Check with &#039;show queue&#039; to see the backup job on the queue.&lt;br /&gt;
&lt;br /&gt;
6. Exit the Backup Program and log out of the calibration account.&lt;br /&gt;
&lt;br /&gt;
After a successful OS backup the message above will not appear for the next six months.&lt;br /&gt;
&lt;br /&gt;
Alternatively a system backup can be completed using the command line, without using the uct_backup program. The instructions from Scanco can be found here. The advantage to this method is that you will be able to name the specific backup save set.&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Using Scripts for Backup/Archive===&lt;br /&gt;
&lt;br /&gt;
====Project Backup/Archive====&lt;br /&gt;
*Refer to [[Media:Microct_project_backup.pdf|&#039;&#039;&#039;Project Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_project_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Backup Project=====&lt;br /&gt;
Regularly backup projects on a monthly basis using command &amp;lt;code&amp;gt;$ @com:BACKUP_PROJECT.COM&amp;lt;/code&amp;gt;&lt;br /&gt;
*The script is submitted to the queue and upon completion the log is emailed to the user.&lt;br /&gt;
*a SAVset (an OpenVMS file type similar to a zip file), a project info file and a file list are created in DISK5:[BONELAB.PROJECTS.BACKUP] for the microCTs and DISK4:[BONELAB.PROJECTS.ARCHIVE.ARCHIVE] for the XtremeCTs.&lt;br /&gt;
*The saveset along with two TXT files created will be automatically SFTP to Winston:\\Backups\backup\&lt;br /&gt;
*After the transfer, the saveset file on disk are deleted, leaving only two TXT files on the project disk.&lt;br /&gt;
*Only keep the two most recent backups for each project, A or B version name appended on the project name:&lt;br /&gt;
:*Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
:*Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
*The user MUST verify that the backup completed successfully.&lt;br /&gt;
*SAVsets greater than 250 GB cannot be transferred by automatic SFTP, use interactive/manual SFTP instead to transfer to Winston. &lt;br /&gt;
*If you are backing up a very large project, please check the server disk space before starting the backup. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:BACKUP_PROJECT.COM&lt;br /&gt;
===========================================================&lt;br /&gt;
BACKUP PROJECT TOOL V1.2 (XtremeCT)&lt;br /&gt;
 P1:LOCATION        DISK4:[BONELAB.PROJECTS.DUNCAN]&lt;br /&gt;
 P2:TYPE            1=MOUSE,2=RAT,3=HUMAN,4=OTHER&lt;br /&gt;
 P3:PROJECT         CAMOS&lt;br /&gt;
 P4:PERSON          Ying Zhu&lt;br /&gt;
 P5:DESCRIPTION     A monthly backup&lt;br /&gt;
 P6:EMAIL           me@ucalgary.ca&lt;br /&gt;
 P7:SFTP            y,n&lt;br /&gt;
 P8:START           y,n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Restore Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_RESTORE.COM script which will automatically generate a script to restore a user&#039;s project.  &lt;br /&gt;
*The saveset file has to be moved to Winston:\\Backups\archive folder to be restored.&lt;br /&gt;
*The user will be asked if they wish to restore to the original location, or to a new location.&lt;br /&gt;
*The script is submitted to the queue and the log from the restore job is emailed to the user. &lt;br /&gt;
*The user MUST verify that the job completed successfully.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_RESTORE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Delete Project=====&lt;br /&gt;
In the commands directory (com) is a BACKUP_DELETE.COM script which will automatically generate a script to delete all the files and subdirectories of a specified path.&lt;br /&gt;
*The command script is opened so that the user can check the files to be removed to go ahead.&lt;br /&gt;
*You will need to manually delete the root project directory after it&#039;s empty.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUP_DELETE.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=====Known Bugs in Project Tools=====&lt;br /&gt;
*Long file name won&#039;t work (28 letters work but not 32 letters).&lt;br /&gt;
*if the user specifies too long a file name, the Project Backup Scripts will fail with the following error:&lt;br /&gt;
     RMS-E-CRE, ACP file create failed&lt;br /&gt;
     SYSTEM-W-BADFILENAME, bad file name syntax&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Archive Project Saveset to Tape=====&lt;br /&gt;
Projects should be stored safely onto a backup tape once complete.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Summary&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following steps summarize the process:&lt;br /&gt;
:* Archive the project directory to the tape (detailed instructions below).&lt;br /&gt;
:* Change tape to &amp;quot;read only&amp;quot; to protect contents&lt;br /&gt;
:* Check tape saveset to ensure proper backup&lt;br /&gt;
:* Write name of tape on the project LOG sheet&lt;br /&gt;
:* Copy project LOG sheet and bring to Bone Imaging Laboratory &amp;quot;completed&amp;quot; project book&lt;br /&gt;
:* Bring copy of tape to the Bone Imaging Laboratory for safe keeping&lt;br /&gt;
:* &amp;lt;b&amp;gt;Delete&amp;lt;/b&amp;gt; the contents of the project from the disk&lt;br /&gt;
&lt;br /&gt;
In the project, there should be the regular set of directories including DOC, COM, MODELS, LOG.  Once the project is stored to tape, ensure that the log sheet for that project include a note stating which tape it was backed up to.  Take a photocopy of the log sheet and add it to our Bone Imaging Laboratory project book for COMPLETED projects.&lt;br /&gt;
&lt;br /&gt;
In the following example, a project titled BERN is backed up onto tape.  Ideally, the name of the SAV file on tape is the same as the project (i.e., BERN).  Note that &amp;lt;b&amp;gt;SAV files must have names with no more than 13 characters (including the .SAV)!&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example backs the BERN project/directory onto tape IMA001.  For large projects and/or critical projects, it is advisable to dedicate an entire tape.  The three dots (...) indicate that ALL subfolders of DK0:[MICROCT.PROJECTS.BERN] will be included.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
&lt;br /&gt;
$ backup/log dk0:[microct.projects.bern...]*.*;* tp0:proj_bern.sav -  ! writes a saveset to tape&lt;br /&gt;
        /block=65534 /label=IMA001 -&lt;br /&gt;
        /media_format=nocompaction     ! NEVER use the /rewind option here&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.sav/select=*.isq DISK4:[BONELAB.PROJECTS.TBONE.ISQ_FROM_TAPE...]/by=parent  ! extracts all ISQ files from the tape&lt;br /&gt;
&lt;br /&gt;
$ dismount tp0:  &lt;br /&gt;
$ dismount tp0: /nounload ! same as previous command, but does not eject the tape (i.e. if you want to read the tape once more)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the &amp;lt;code&amp;gt;/rewind&amp;lt;/code&amp;gt; option should never be used for backup as it instructs the tape drive to rewind after backup is complete causing a major risk of over writing.&lt;br /&gt;
&lt;br /&gt;
Sometimes it might be handy to exclude certain files.  For example, to exclude RSQ files: &amp;lt;code&amp;gt;/excl=*.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A good reference for backup commands and ideas are available in the &amp;lt;code&amp;gt;UM:UCT_MOVE_FILES.COM&amp;lt;/code&amp;gt; script which is used by the &amp;lt;code&amp;gt;UCT_BACKUP&amp;lt;/code&amp;gt; program.  See also the &amp;lt;code&amp;gt;help backup&amp;lt;/code&amp;gt; instructions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help backup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To view the contents of a tape to ensure you&#039;ve successfully stored your project use the following commands (further details in &amp;quot;HowTo: View save set (SAV) contents&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
To just view if the saveset is on tape (but not its contents):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/ov=id tp0:&lt;br /&gt;
$ dir/date tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: you can also save the saveset list in a text file using the /output qualifier.&lt;br /&gt;
&lt;br /&gt;
To view the files within a saveset on tape, and save the results in a file called &amp;lt;code&amp;gt;results.txt&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
$ backup/list=results.txt tp0:*.*&lt;br /&gt;
$ dismount tp0:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete a set of directories, use the &amp;lt;code&amp;gt;dl&amp;lt;/code&amp;gt; command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd ur BERN&lt;br /&gt;
$ del *.*;*   ! Deletes ALL files in a directory&lt;br /&gt;
$ dl *.dir;*  ! Will only delete empty directories (not nested directories)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Extract Project Saveset from Tape=====&lt;br /&gt;
To restore a project, you have two choices:&lt;br /&gt;
*1. Login as user &amp;lt;code&amp;gt;calibration&amp;lt;/code&amp;gt; and then go to the projects directory. From there:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ spb (bypass priv)&lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind [*...]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This puts all the files back in their original directory structure.&lt;br /&gt;
&lt;br /&gt;
*2. As user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mount/foreign tp0:&lt;br /&gt;
 &lt;br /&gt;
$ backup/log tp0:proj_davison.sav/rewind/select=[microct.projects.davison...]&lt;br /&gt;
     disk2:[microct.projects.davison...]&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
$ backup/log tp0:*.*/rewind disk3:[microct.projects.vitamink.models]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make sure to write the &amp;lt;b&amp;gt;same&amp;lt;/b&amp;gt; path in the /select as the output (except for the &lt;br /&gt;
actual disk2 portion).  Alternatively, you could unpack it into a slightly different root&lt;br /&gt;
directory (i.e., TMP) by changing the output path.&lt;br /&gt;
&lt;br /&gt;
The three dots infers to use the same paths in the saveset as the file structure put onto disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Scripts to Backup RAW and IMA====&lt;br /&gt;
A script can be output from the backup tool to backup and restore data using the backup program.  &lt;br /&gt;
*When restoring data using this method, choose the COPY to DISK option. The data will be restored to its original location on the data disk.  &lt;br /&gt;
*You must manually submit the script to the backup queue.  &lt;br /&gt;
*The command procedures are written to SYS$SCRATCH:ARCHIVE.COM.  &lt;br /&gt;
*Here is the sample script for backing up RAW data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
RAW&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Here is the sample script for backing up IMA data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ MOUNT/FOREIGN TP0:&lt;br /&gt;
$ UCT_BACKUP_BATCH&lt;br /&gt;
ALL&lt;br /&gt;
IMA&lt;br /&gt;
MOVE&lt;br /&gt;
TAPE&lt;br /&gt;
! Meas: ATHLETE_126 (10565)&lt;br /&gt;
MEAS&lt;br /&gt;
10565&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10566)&lt;br /&gt;
MEAS&lt;br /&gt;
10566&lt;br /&gt;
EXECUTE&lt;br /&gt;
! Meas: ATHLETE_126 (10567)&lt;br /&gt;
MEAS&lt;br /&gt;
10567&lt;br /&gt;
EXECUTE&lt;br /&gt;
EXIT&lt;br /&gt;
$ DISMOUNT TP0:&lt;br /&gt;
$ EXI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Usage information====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:DISK_MOUNTIES.COM	                !Give data disk usage information on an account.&lt;br /&gt;
$ eve sys$scratch:disk_mounties_output_summary.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template file for summarizing the disk mounties results: [[Media:BoneLab_Data_Disc_Usage.xlsx|&#039;&#039;&#039;BoneLab_Data_Disc_Usage.xlsx&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To look at the RSQs in the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir/siz dk0:[microct.data...]*.rsq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
the three dots means all subdirectories.&lt;br /&gt;
&lt;br /&gt;
Other useful commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.isq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ctheader xxxxxx.rsq&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
shows you header.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fda command file-wildcard&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
does a &#039;file do all&#039; of the command on all the given wildcard filenames.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe xxxx | search sys$pipe &amp;quot;patient&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
is the pipe command in VMS.&lt;br /&gt;
&lt;br /&gt;
So all three combined:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pipe fda ctheader dk0:[microct.data...]*.rsq | search sys$pipe &amp;quot;patient name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or any other field you want to search for! &lt;br /&gt;
&lt;br /&gt;
If you have a more complex program to run (e.g. with an argument), use the double quotes as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pipe fda &amp;quot;aix -l&amp;quot; *.AIM | search sys$pipe &amp;quot;Patient Name&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other ideas&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ write_info&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives you a file &amp;lt;code&amp;gt;sys$scratch:info.txt&amp;lt;/code&amp;gt; with info in it (leave defaults to get all samples ever scanned, otherwise &#039;zoom&#039; in on some samples.)&lt;br /&gt;
&lt;br /&gt;
Check out the &amp;lt;code&amp;gt;search&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ help search&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and &amp;lt;code&amp;gt;/match=and&amp;lt;/code&amp;gt;&lt;br /&gt;
or &amp;lt;code&amp;gt;/match=or&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk Backup====&lt;br /&gt;
In the commands directory (com) is a BACKUPDISK script which will automatically generate scripts to backup all the directories on the projects disk.  &lt;br /&gt;
*As the backup requires significant amounts of space, please check the server disk space before starting the backup. &lt;br /&gt;
*Each directory is saved as a separate save set (an OpenVMS file type similar to a zip file) on Winston://Bonelab/Backup/.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:BACKUPDISK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Refer to [[Media:Microct_disk_backup.pdf|&#039;&#039;&#039;Disk Backup SOP&#039;&#039;&#039;]] or [[Media:Microct_disk_backup.docx|&#039;&#039;&#039; its Word format&#039;&#039;&#039;]] for reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Process, Printer and System=&lt;br /&gt;
&lt;br /&gt;
==Processes and Jobs==&lt;br /&gt;
&lt;br /&gt;
===Manage jobs in the queue===&lt;br /&gt;
Use the DELETE/ENTRY and SET ENTRY commands to manage a batch job.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SH QUE                                        !Get process info&lt;br /&gt;
$ SH QUE /all/by_job_status=executing           !Get all executing process info&lt;br /&gt;
$ SHOW ENTRY 1131 /full                         !Get full process info of entry 1131&lt;br /&gt;
$ SE 1311                                       !Get full process info of entry 1131&lt;br /&gt;
&lt;br /&gt;
$ DELETE /ENTRY=251                             !Deletes batch job number 251.&lt;br /&gt;
&lt;br /&gt;
$ SET ENTRY 251/PRIORITY=50                     !Changes the priority of batch job number 251. &lt;br /&gt;
                                                !Default priority is 100 for all jobs, max is 200.&lt;br /&gt;
$ SET ENTRY 251/REQUEUE=SCEVAL_FAST             !Moves to queue sceval_fast. &lt;br /&gt;
                                                !The job cannot be executing to do this, has to be in pending status.&lt;br /&gt;
$ SET ENTRY 251/AFTER=TOMORROW                  !Holds entry 251 until the following day (midnight).&lt;br /&gt;
&lt;br /&gt;
$ HELP SET ENTRY                                !More information on the SET ENTRY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Control processors # on multi-processor machines===&lt;br /&gt;
&lt;br /&gt;
For example, on the itanium there are two processors.  By default, only one takes reconstruction jobs.  The other is left for so that evaluations can take place without competing for the CPU. &lt;br /&gt;
&lt;br /&gt;
But if a bottleneck is the reconstruction, it can be switched as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set que sceva2_slow/job=2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so that it will do two reconstruction jobs simultaneously.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Create a new queue===&lt;br /&gt;
This may be useful to separate jobs for a project.  The following will create a queue called BUIE$FAST, which will submit jobs to SCEVAL_FAST and SC3309_FAST.&lt;br /&gt;
&lt;br /&gt;
 $ initialize/queue/GENERIC=(SCEVAL_FAST,SC3309_FAST)/OWNER=[SYSTEM] -&lt;br /&gt;
   /PROTECTION=(S:M,O:D,G:R,W:S)/BATCH/START BUIE$FAST&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Clear out all entries in a queue===&lt;br /&gt;
First create a dummy queue, then merge (i.e., move) all the entries from the queue to be cleared into it, then delete the dummy queue.&lt;br /&gt;
&lt;br /&gt;
Example:  Clear out the printer queue.&lt;br /&gt;
 $ stop/reset printer1&lt;br /&gt;
 $ initialize/que dummy&lt;br /&gt;
 $ assign/merge dummy printer1&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
 &lt;br /&gt;
Example:  Clear out a batch queue, e.g., sys$fast.&lt;br /&gt;
 $ initialize/que/batch dummy&lt;br /&gt;
 $ assign/merge dummy sys$fast&lt;br /&gt;
 $ delete/que dummy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart queues===&lt;br /&gt;
There are three methods.  First the nice method.&lt;br /&gt;
&lt;br /&gt;
1. As for the printer queue, a normal user can stop and start other queues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/reset sceval_slow&lt;br /&gt;
$ start sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This kills the current process running.  If you want to let the current process complete before stopping the queue, use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/que/next sceval_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use the web browser Mozilla.&lt;br /&gt;
&lt;br /&gt;
:*Open mozilla&lt;br /&gt;
:*&#039;batch queues&#039;&lt;br /&gt;
&lt;br /&gt;
:*Resize the window so it occupies the right half of the screen&lt;br /&gt;
&lt;br /&gt;
:*Click on &#039;delete job&#039; once with the MIDDLE mouse button, this will open a new window on the right half of the screen. Ensure the two windows do not overlap, if they do resize the window which contains the batch queues list. Once window locations are correct MIDDLE click on the rest of the jobs which you wish to delete (click on &#039;Delete Job&#039; in the batch queue list). The reason for locating the widows is because each successive click on &#039;Delete Job&#039; will open a new window and you don&#039;t want it to cover the batch queues list.&lt;br /&gt;
&lt;br /&gt;
:*Then Exit from mozilla, this will delete all the open windows, it may take a bit if you are deleting lots.&lt;br /&gt;
&lt;br /&gt;
3. Now the harsh method.&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!  Explicit permission for this change or similar changes &amp;lt;b&amp;gt;must&amp;lt;/b&amp;gt; be obtained from Dr. Steven Boyd.&lt;br /&gt;
&lt;br /&gt;
Completely remove the queue and re-generate, as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset sc3309_slow&lt;br /&gt;
$ delete/queue sc3309_slow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you must restart the queue.  To learn how to do this refer to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ eve sys$startup:dcps_hpljet_ip.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Kill hunging processes===&lt;br /&gt;
&lt;br /&gt;
Sometimes jobs need to be stopped manually, such as when FTP or TCPIP is hung. This is done as follows:&lt;br /&gt;
&lt;br /&gt;
Checked processes with  &lt;br /&gt;
  $ show sys&lt;br /&gt;
where the FTP jobs are running. Doing it as &amp;lt;b&amp;gt;system&amp;lt;/b&amp;gt; with these commands would show all the FTP jobs on all nodes:&lt;br /&gt;
  $ mcr sysman&lt;br /&gt;
  SYSMAN&amp;gt; set env /cluster&lt;br /&gt;
  SYSMAN&amp;gt; do pipe sh sys|sear sys$pipe ftpc&lt;br /&gt;
It showed that they all were running on SCEVA1 only. So I logged in there and using the IDs given at the list from above&#039;s command:&lt;br /&gt;
  $ stop/id=29804056&lt;br /&gt;
  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Check CPU usage and kill a process===&lt;br /&gt;
Determine what process is using all the CPU (e.g., SYMBIONT, a print process) using the monitor command, then use the show system command to determin the Pid, which can be used to stop the process.&lt;br /&gt;
&lt;br /&gt;
The print (SYMBIONT) process is known to consume excessive CPU when the clocks are advanced for daylight savings on the alpha systems.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor process/topcpu&lt;br /&gt;
$ show system&lt;br /&gt;
OpenVMS V7.3-2 on node SCEVAL 6-APR-2009 12:42:22.82 Uptime 124 23:16:08&lt;br /&gt;
Pid      Process Name     State  Pri  I/O         CPU         Page flts Pages&lt;br /&gt;
20C00081 SWAPPER          HIB    16   0      0 01:07:05.63     0         0&lt;br /&gt;
20C00087 CLUSTER_SERVER   HIB    14   2218   0 00:00:00.54    63        77&lt;br /&gt;
20C00088 CONFIGURE        HIB    10   23     0 00:00:00.02    54        20&lt;br /&gt;
20C00089 LANACP           HIBO   13   -- swapped out --                 32&lt;br /&gt;
20C0008B FASTPATH_SERVER  HIB    10   9      0 00:00:00.01    79        94&lt;br /&gt;
20C0008C IPCACP           HIB    10   10     0 00:00:00.02    37        28&lt;br /&gt;
$ show process/all/id=Pid&lt;br /&gt;
$ set host 0&lt;br /&gt;
     user:  system&lt;br /&gt;
     password:&lt;br /&gt;
$ stop/id=Pid&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Process Name = BATCH_122  means entry 122 in the queue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Printer==&lt;br /&gt;
&lt;br /&gt;
===Set up TCPIP printer queue on a VMS workstation===&lt;br /&gt;
  $ stop/que/res hpljet&lt;br /&gt;
  $ tcpip set nohost hpljet&lt;br /&gt;
  $ tcpip set host &amp;quot;hpljet&amp;quot; /address= xxx.xxx.xxx.xxx&lt;br /&gt;
  $ start hpljet&lt;br /&gt;
&lt;br /&gt;
Note that many HP printers will not work with OpenVMS. Checking for compatibility is important.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Stop and restart the printer queue===&lt;br /&gt;
&lt;br /&gt;
How to fix the printer queue when hung, not working or giving an error.&lt;br /&gt;
A full printer queue can seriously affect system performance.  &lt;br /&gt;
Be sure that the queue is cleaned up from time to time.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ show queue&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to first find out the real name of your printer queue. &lt;br /&gt;
* Replace &amp;quot;hpljet&amp;quot; and &amp;quot;...dcps_hpljet...&amp;quot; by your own queue (i.e., PRINTER1 for XtremeCT) name below. &lt;br /&gt;
* First approach, as normal user &amp;lt;code&amp;gt;microct&amp;lt;/code&amp;gt;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ stop/queue/reset hpljet&lt;br /&gt;
$ start/queue hpljet&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you need to release a job&lt;br /&gt;
  $ set entry/release 123&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==System==&lt;br /&gt;
&lt;br /&gt;
===Monitor System===&lt;br /&gt;
====Monitor system usage====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ monitor/interval=1 processes/topcpu&lt;br /&gt;
$ monitor/interval=1 system&lt;br /&gt;
$ show error&lt;br /&gt;
$ show system&lt;br /&gt;
$ @SCOM:SHOW_DISKS.COM (or simply $ DISKS)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The command &amp;lt;code&amp;gt;show error&amp;lt;/code&amp;gt; may indicate errors.  One or two errors is OK.&lt;br /&gt;
&lt;br /&gt;
To see what processes are running (specific to the machine, not cluster wide).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show device disk2/file&lt;br /&gt;
$ show user /full&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of OpenVMS system====&lt;br /&gt;
&lt;br /&gt;
If when rebooting a VMS system there is a failure, sometimes a message can be repeated many times. The way to stop this repeating message is to press &amp;lt;code&amp;gt;ctrl-C&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ctrl-P&amp;lt;/code&amp;gt; to get to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
&lt;br /&gt;
Then show some of the device information, either specifically&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device py*&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device dy*&lt;br /&gt;
&lt;br /&gt;
or in general&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
&lt;br /&gt;
which might show more than needed. The output of&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show bootdef_dev&lt;br /&gt;
&lt;br /&gt;
can also be useful.&lt;br /&gt;
&lt;br /&gt;
Once settings are all good, you can reboot the system with&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set bootbios pyb0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disk status====&lt;br /&gt;
Login as the system user on the workstation connected to the disk array that you want to check.&lt;br /&gt;
&lt;br /&gt;
 $ run sys$system:msa$util.exe&lt;br /&gt;
 MSA&amp;gt; set controller&lt;br /&gt;
&lt;br /&gt;
Show the raid volumes (e.g., to check if it failed or is recovering).&lt;br /&gt;
 MSA&amp;gt; show unit&lt;br /&gt;
&lt;br /&gt;
Locate disks associated with a raid volume (e.g., unit0).&lt;br /&gt;
 MSA&amp;gt; locate unit0&lt;br /&gt;
&lt;br /&gt;
Accept a failed unit (e.g., unit0) - only for itanium workstations, which use a newer version of OpenVMS.&lt;br /&gt;
 MSA&amp;gt; accept unit0&lt;br /&gt;
&lt;br /&gt;
Show disk information.&lt;br /&gt;
 MSA&amp;gt; show disks&lt;br /&gt;
&lt;br /&gt;
Get information on MSA utility functions.&lt;br /&gt;
 MSA&amp;gt; help&lt;br /&gt;
&lt;br /&gt;
Exit the MSA utility.&lt;br /&gt;
 MSA&amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check status of disk array====&lt;br /&gt;
To look at the disks in an MSA30 tower:&lt;br /&gt;
There are several options to check the status of the disks. One is, if it is installed, to use the command-line utility&lt;br /&gt;
&amp;lt;pre&amp;gt;$ mcr msa$util&amp;lt;/pre&amp;gt;&lt;br /&gt;
as &amp;quot;system&amp;quot;. Enter&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
MSA&amp;gt; set controller&lt;br /&gt;
MSA&amp;gt; show unit&lt;br /&gt;
MSA&amp;gt; show disks&lt;br /&gt;
MSA&amp;gt; exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another is to start the WBEM web interface, which shows the status of the hardware graphically.&lt;br /&gt;
&lt;br /&gt;
It is possible to fix a disk array that hasn&#039;t booted by doing the following:&lt;br /&gt;
&lt;br /&gt;
  At the login prompt, type &#039;shutdown&#039;. This will get you to the &amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; prompt.&lt;br /&gt;
There should be a RAID card, for example on Percy, named &amp;lt;code&amp;gt;pya0&amp;lt;/code&amp;gt;. Try:&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; show device&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action halt&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; init&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; run bios pya0&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; set auto_action restart&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Check disks status in enclosure====&lt;br /&gt;
&lt;br /&gt;
Periodically connect to http://10.148.64.254/ (user name: manage, password same as system password) and check if there are any errors or warnings, like failed disks. You can easily see which disk has failed in the graphical view of &amp;quot;Physical&amp;quot; -&amp;gt; &amp;quot;Enclosure X&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Consider not all web browsers allow connection to this rather old web server. Firefox and Mozilla on the workstations do work fine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Recover System===&lt;br /&gt;
====Consistently needs warm-up scanner - Shutter-failsave-Job====&lt;br /&gt;
&lt;br /&gt;
If the scanner is consistently needing to warm-up on consecutive days, and was not powered off, this is likely due to the Shutter-failsave-Job disappearing from the 3309-Batch queue (for XT1). The job must be re-submitted. &lt;br /&gt;
&lt;br /&gt;
The executing file is located in the CALIB3309 ($ um:submit_shutter_test.com) and the command to submit the job is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ submit/after=&amp;quot;tomorrow&amp;quot;/noprint/que=uct_measurement_queue um:submit_shutter_test.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check the status by typing: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show que *3309_batch*/all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This job tends to disappear now and then, perhaps because of an abrupt shutdown of the workstation or maybe when stop/pause/re-start the queue. Contact Scanco if this does not resolve.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Disk not mounted/unavailable, directory not found, volume not enabled====&lt;br /&gt;
Disk is not mounted or is unavailable.  Error opening ...., directory not found, volume is not software enabled.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
%DIRECT-E-OPENIN, error opening DISK4:[MICROCT.PROJECTS]*.*;* as input&lt;br /&gt;
-RMS-E-DNF, directory not found&lt;br /&gt;
-SYSTEM-F-VOLINV, volume is not software enabled&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen if communication is broken between workstations, causing the disk mount to time out.  Check if this is by showing the devices, then dismount and remount the disk.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev&lt;br /&gt;
&lt;br /&gt;
Device                  Device           Error    Volume         Free  Trans Mnt&lt;br /&gt;
 Name                   Status           Count     Label         Space Count Cnt&lt;br /&gt;
SC3309$DKA100:          Online               0&lt;br /&gt;
SC3309$DKD0:            Mounted              0  ALPHASYS        3.18GB   642   2&lt;br /&gt;
SC3309$DKD1:            Mounted              0  AUSER_01       42.84GB     4   2&lt;br /&gt;
SC3309$DKD2:            Mounted              0  ADATA_01      173.00GB     4   2&lt;br /&gt;
SC3309$DKD3:            Mounted              0  ADATA_02A     215.80GB     1   2&lt;br /&gt;
SC3309$DKD4:            Mounted              0  ADATA_02B     215.85GB     1   2&lt;br /&gt;
SC3309$DKD5:            Mounted              0  ADATA_02C     215.81GB     1   2&lt;br /&gt;
SC3309$DQA0:            Online               0&lt;br /&gt;
SC3309$DQA1:            Offline              1&lt;br /&gt;
SC3309$DQB0:            Offline              1&lt;br /&gt;
SC3309$DQB1:            Offline              1&lt;br /&gt;
SCEVAL$DKA0:            Online               0&lt;br /&gt;
SCEVAL$DKA1500:         Mounted              0  (remote mount)                 1&lt;br /&gt;
SCEVAL$DKC0: MntVerifyTimeout 0 ADATA_03A 541.62GB 1 2 &lt;br /&gt;
SCEVAL$DKC1: MntVerifyTimeout 0 ADATA_03B 541.38GB 1 2 &lt;br /&gt;
SCEVAL$DKC2: MntVerifyTimeout 0 ADATA_03C 541.60GB 1 2 &lt;br /&gt;
SCEVAL$DQA0:            Online               0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ set host 0&lt;br /&gt;
system&lt;br /&gt;
&lt;br /&gt;
$ dismount SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC0: ADATA_03A&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03A mounted on _SCEVAL$DKC0:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC1: ADATA_03B&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03B mounted on _SCEVAL$DKC1:&lt;br /&gt;
$ mount/cluster SCEVAL$DKC2: ADATA_03C&lt;br /&gt;
%MOUNT-I-MOUNTED, ADATA_03C mounted on _SCEVAL$DKC2:&lt;br /&gt;
$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this does not restore the disk, then shutdown the computer.  At the blue screen...&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; init&amp;lt;/code&amp;gt;&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt; run bios pya0&amp;lt;/code&amp;gt;&lt;br /&gt;
Press F2 at the prompt to accept potential data loss.&lt;br /&gt;
Wait for blue screen to return.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Press power button to turn off.&lt;br /&gt;
Press power button to turn on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Kill hanging program====&lt;br /&gt;
&lt;br /&gt;
If a program is hunging, it may not be necessary to shut down the system and restart. For example, if the &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt;&lt;br /&gt;
program is hung, do the following&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ show dev/full microct_scsi&lt;br /&gt;
&lt;br /&gt;
$ stop/id=&amp;lt;Owner process ID&amp;gt; (Replace the &amp;lt;&amp;gt; with the actual ID)&lt;br /&gt;
&lt;br /&gt;
for example: &lt;br /&gt;
&lt;br /&gt;
$ stop/id=2280091C &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Reset the display/GUI====&lt;br /&gt;
These commands will terminate the current login session and may restore a frozen or messed up screen.  You will need to remotely access the problem workstation either from another micro-ct workstation or using a personal computer.&lt;br /&gt;
&lt;br /&gt;
Use the set host command to connect to the problem workstation (e.g., thomas) using the node name (e.g., sc3309) or the IP address (e.g., thomas.kin.ucalgary.ca). &lt;br /&gt;
&lt;br /&gt;
$ set host sc3309&lt;br /&gt;
login:  system&lt;br /&gt;
password: &lt;br /&gt;
&lt;br /&gt;
Issue the reset display command.&lt;br /&gt;
$ @sys$startup:decw$startup restart&lt;br /&gt;
&lt;br /&gt;
At the prompt, type &amp;quot;y&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart screen server====&lt;br /&gt;
&lt;br /&gt;
If the monitor fails to show the login prompt and displays a blank gray screen...telnet to the computer from another computer (e.g. a PC or so) and login as user system. Run the restart command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$set host gordon.ucalgary.ca.    [or other computer name]&lt;br /&gt;
$username: system&lt;br /&gt;
$password: [system password]&lt;br /&gt;
$@sys$startup:decw$startup restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
confirm (answer &amp;quot;yes&amp;quot; at the prompt) and logout.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$y&lt;br /&gt;
$logout&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will kill all programs on your screen, but it will leave all batch jobs running, so if you do a BATCH measurement, this will survive! (but interactive scan will be killed).&lt;br /&gt;
&lt;br /&gt;
If you are restarting a monitor connected to a KVM box, unplug and re-plug in the box.&lt;br /&gt;
&lt;br /&gt;
This command also helps when the mouse/keyboard freezes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Restart Alpha stations====&lt;br /&gt;
&lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Do not do this unless absolutely necessary.&lt;br /&gt;
&lt;br /&gt;
For shutdown&lt;br /&gt;
&lt;br /&gt;
At the login screen, type &amp;quot;shutdown&amp;quot;/no password and hit enter. &lt;br /&gt;
Then, you can turn the computer off at the prompt.&lt;br /&gt;
&lt;br /&gt;
Then, you may turn the disk array off (unplug it as there is no power switch).&lt;br /&gt;
&lt;br /&gt;
After you move the computer, power on the disk array and then the computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow/non-responsive computer====&lt;br /&gt;
&lt;br /&gt;
This is usually caused by people logging in via SSH multiple times.  The solution involves resetting the SSH/TCPIP daemon.&lt;br /&gt;
&lt;br /&gt;
:*If you are local at the computer:&lt;br /&gt;
&lt;br /&gt;
You will need to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt;.  ONLY EXPERIENCED USERS SHOULD EVER LOG IN AS SYSTEM!&lt;br /&gt;
&lt;br /&gt;
The system will be extremely slow (it will take 5 minutes just to get a log in prompt).  This is expected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_shutdown    ! shutdown SSH&lt;br /&gt;
$&lt;br /&gt;
$ set host 0   ! user name &#039;system&#039; and password	&lt;br /&gt;
$&lt;br /&gt;
$ @sys$startup:tcpip$ssh_startup     ! restart SSH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can reboot the system to reset the SSH.  This is not an appropriate solution and it is solving the problem by hitting it with a jack hammer.  Sometimes it is the only choice though.&lt;br /&gt;
&lt;br /&gt;
:*If you are remotely logged in:&lt;br /&gt;
&lt;br /&gt;
You will have to log in as user &amp;lt;code&amp;gt;system&amp;lt;/code&amp;gt; and run a script called STOP_START_TCPIP.COM.  &lt;br /&gt;
&lt;br /&gt;
This works essentially the same as for the above method, except that since it would be impossible to restart SSH remotely once it is shut down, two separate scripts are called and submitted on SCEVAL_FAST (make sure the queue isn&#039;t clogged) separated by a 1 minute delay. The first script called is STOP_TCPIP.COM and the second is START_TCPIP.COM.&lt;br /&gt;
&lt;br /&gt;
To execute this process, you must log in as system, go to the SYS$SCRATCH directory, and interactively execute the script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @STOP_START_TCPIP.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Shutdown a workstation remotely====&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard power off.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Remote shutdown from another micro-ct workstation&#039;&#039;&#039;.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
&lt;br /&gt;
 $ set host 0&lt;br /&gt;
 user:  system&lt;br /&gt;
 password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
 $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
 SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
 SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
*You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2. Remote shutdown from a personal computer&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
 &lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
 $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming). &lt;br /&gt;
 &lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
 $ shutdown&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Slow computers - Change RAID battery for Itanium computers====&lt;br /&gt;
&lt;br /&gt;
If computers become sluggish, particularly when saving data after a scan, have Scanco check the batteries in the RAID drive. The batteries in SCEVA3 were changed 2014-11-10. There are two batteries. Order the HP brand (should look like the ones in the image).&lt;br /&gt;
*Instructions to open the Itanium work station and access the PCI card: [[Media:HP_rx2660_PCI_card.pdf |&#039;&#039;&#039;Change PCI card&#039;&#039;&#039;]].&lt;br /&gt;
*Instructions to change the batteries after accessing the PCI card: [[Media:HP_SA6402_Batteries.pdf |&#039;&#039;&#039;Change batteries&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Frozen computer - &amp;quot;bootstrap failure&amp;quot; on boot up==== &lt;br /&gt;
The micro-CT computer is frozen or there is a &amp;quot;bootstrap failure&amp;quot; on boot up, This happens to the client computers (those connected to the scanners) when there is interruption in the network.  The only option is to restart the computer.&lt;br /&gt;
&lt;br /&gt;
====Crash of XtremeCT II workstation computer====&lt;br /&gt;
&lt;br /&gt;
For a non-responsive monitor and/or a mouse and/or a keyboard of the XtremeCT II workstation (sometimes caused by a lost of connection to server, or an internet outage):&lt;br /&gt;
&lt;br /&gt;
:*1. The first thing to do is to check system logs for any indication of the cause of the issue, if you have the &amp;quot;Administrator&amp;quot; user privilege.&lt;br /&gt;
:*2. The next thing to do is to soft-reboot by remote-login and using command line to reboot the workstation, if you have the &amp;quot;system&amp;quot; user privilege.&lt;br /&gt;
:*3. If no success, try hard-reboot by pressing the power button as indicated below.&lt;br /&gt;
:*4. If no success, try hard-reboot by unplugging both power cords as indicated below.&lt;br /&gt;
:*5. If still no success, contact Scanco immediately.&lt;br /&gt;
:*6. The last thing to do is to record the issue and any possible reasons.&lt;br /&gt;
&lt;br /&gt;
1.  Checking system logs:&lt;br /&gt;
 &lt;br /&gt;
:*1) Remotely log into the iLO (the management console of the workstation) using SSH as user &amp;quot;Administrator&amp;quot; with the system password. &lt;br /&gt;
Both user/pw are case sensitive. For XtremeCT II workstation (James) it is SSH to 10.148.64.231. For others, consult the network diagram. &lt;br /&gt;
&lt;br /&gt;
A trick: This connection only succeeds through a MAC or PC (via putty) direct login, not through an OpenVMS or Scanco system.&lt;br /&gt;
   $ ssh -l Administrator 10.148.64.231&lt;br /&gt;
:*2) Then you get to a   MP&amp;gt;   prompt here:&lt;br /&gt;
&lt;br /&gt;
   MP MAIN MENU:&lt;br /&gt;
         CO: Console&lt;br /&gt;
        VFP: Virtual Front Panel&lt;br /&gt;
         CM: Command Menu&lt;br /&gt;
         CL: Console Log&lt;br /&gt;
         SL: Show Event Logs&lt;br /&gt;
         HE: Main Help Menu&lt;br /&gt;
          X: Exit Connection&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*3) Type in &#039;SL&#039; to show event logs, then you could choose &#039;E&#039; for system event:&lt;br /&gt;
&lt;br /&gt;
   [sc3401-mp]&amp;lt;/&amp;gt; hpiLO-&amp;gt; SL&lt;br /&gt;
     Event Log Viewer Menu:&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
   F - Forward Progress     20000      100 %        13 Sep 2018 11:17:43&lt;br /&gt;
   I - iLO Event              500      100 %        18 Sep 2018 07:46:42&lt;br /&gt;
   C - Clear SEL and FPL&lt;br /&gt;
   L - Live Events&lt;br /&gt;
&lt;br /&gt;
   Enter menu item or [Ctrl-B] to Quit: E&lt;br /&gt;
       Log Name            Entries    % Full      Latest Timestamped Entry&lt;br /&gt;
  -------------------------------------------------------------------------------&lt;br /&gt;
   E - System Event          1661       58 %        13 Sep 2018 11:17:43&lt;br /&gt;
     Event Log Navigation Help:&lt;br /&gt;
   +       View next block     (forward in time,  e.g. from 3 to 4)&lt;br /&gt;
   -       View previous block (backward in time, e.g. from 3 to 2)&lt;br /&gt;
   &amp;lt;CR&amp;gt;    Continue to the next or previous block&lt;br /&gt;
   D       Dump the entire log&lt;br /&gt;
   F       First entry&lt;br /&gt;
   L       Last entry&lt;br /&gt;
   J       Jump to entry number&lt;br /&gt;
   H       View mode configuration - Hex&lt;br /&gt;
   K       View mode configuration - Keyword&lt;br /&gt;
   T       View mode configuration - Text&lt;br /&gt;
   A       Alert Level Filter options&lt;br /&gt;
   U       Alert Level Unfiltered&lt;br /&gt;
   ?       Display this Help menu&lt;br /&gt;
   Q       Quit and return to the Event Log Viewer Menu&lt;br /&gt;
   Ctrl-B  Exit command, and return to the MP Main Menu&lt;br /&gt;
&lt;br /&gt;
:*4) From here you can use -  and  +  to go through the log history back and forth. Not all logs do make a lot of sense though, as they are mainly meant for HPE engineers. &lt;br /&gt;
:*5) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*6) Use  MP&amp;gt; co   to get to the console, where you see at what stage the booting process is, in case it does not boot properly.&lt;br /&gt;
:*7) When finished, use  CTRL + b to get back to the main MP&amp;gt; prompt.&lt;br /&gt;
:*8) Use  MP&amp;gt; x   to end the connection.&lt;br /&gt;
&lt;br /&gt;
2. Soft-reboot by remote login:&lt;br /&gt;
&lt;br /&gt;
If a workstation becomes unresponsive, it may be possible to shut it down remotely from another workstation or personal computer, which is preferable over doing a hard-reboot.  These instructions were provided by Mark Blanchard.&lt;br /&gt;
&lt;br /&gt;
:*2.A) Remote shutdown from another micro-ct workstation.  MAY NOT WORK FOR CLUSTER SERVER&lt;br /&gt;
&lt;br /&gt;
Login as the system user.&lt;br /&gt;
   $ set host 0&lt;br /&gt;
   user:  system&lt;br /&gt;
   password:&lt;br /&gt;
&lt;br /&gt;
Start the system manager.&lt;br /&gt;
   $ mcr sysman&lt;br /&gt;
&lt;br /&gt;
Set the environment to the workstation to be shutdown (e.g., thomas) using its node name (e.g., sc3309).&lt;br /&gt;
   SYSMAN&amp;gt;&amp;lt; set env/node=sc3309&lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.  Add a time delay, e.g., 5 min, if you want to give users time to disconnect and the automatic reboot flag if you want to restart.&lt;br /&gt;
   SYSMAN&amp;gt; shutdown node /min=5 /automatic_reboot&lt;br /&gt;
&lt;br /&gt;
You need to remain logged into the session running the shutdown until the other node has been shutdown completely!!!&lt;br /&gt;
&lt;br /&gt;
:*2.B) Remote shutdown from a personal computer.&lt;br /&gt;
Begin a remote session to the workstation and login as the system user.&lt;br /&gt;
&lt;br /&gt;
Create a detached terminal.&lt;br /&gt;
   $ create/terminal/detach&lt;br /&gt;
 &lt;br /&gt;
On the PC, port 6000 needs to be accessible to the micro-ct workstation and in the X-server&#039;s configuration (e.g., in file X0.hosts for Xming).  &lt;br /&gt;
&lt;br /&gt;
Issue the shutdown command.&lt;br /&gt;
   $ shutdown&lt;br /&gt;
&lt;br /&gt;
3. Hard-reboot by power button:&lt;br /&gt;
&lt;br /&gt;
:*1) Hold the power button until it turns yellow.&lt;br /&gt;
:*2) Wait a minutes or two, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly. &lt;br /&gt;
  &lt;br /&gt;
4. Hard-reboot by unplugging both power cords:&lt;br /&gt;
&lt;br /&gt;
:*1) Hard-reboot by unplugging both the power cords. This will reset the console and controllers.&lt;br /&gt;
:*2) Wait for 5~10 minutes, then press the power button only once and shortly. You will not see anything for a while. Pressing the power button again during this time will turn off the workstation again !&lt;br /&gt;
:*3) After about 10~15 min, the workstation would boot up properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
==For Scanco support==&lt;br /&gt;
===Send a terminal to a remote computer===&lt;br /&gt;
&lt;br /&gt;
To send a terminal from XCT clusters to Scanco for maintenance, you need to know the ip address for the terminal location.&lt;br /&gt;
Such as For Mark Blanchard:&lt;br /&gt;
&lt;br /&gt;
  $ set display/create/transport=tcpip/node=193.72.60.24&lt;br /&gt;
  $ create/terminal/detach&lt;br /&gt;
&lt;br /&gt;
The cursor will disappear for a minute or so, and reappear with the $ prompt indicating sent already.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Access VMS filesystem==&lt;br /&gt;
===Access XtremeCT VMS filesystem on a Mac===&lt;br /&gt;
&lt;br /&gt;
In finder, select Go --&amp;gt; Connect to Server &lt;br /&gt;
&lt;br /&gt;
This opens up a window that allows you to enter a server address. Enter the following information: &lt;br /&gt;
&amp;lt;pre&amp;gt;smb://136.159.130.28&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click connect. If the internet connection is working, you will then be prompted to enter in login info:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select the volumes you want to mount.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View XtremeCT VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: xtremect&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station (i.e., .130) enter the following IP address for Thomas (SC3309):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.130.28\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.130.28\UCT_DATA1&lt;br /&gt;
or&lt;br /&gt;
\\136.159.130.28\UCT_DATA2&lt;br /&gt;
&lt;br /&gt;
User name: xtremect@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===View VivaCT40/uCT35 VMS filesystem from a Windows PC===&lt;br /&gt;
&lt;br /&gt;
The HP program that allows the VMS file system to be viewed by a PC is called Pathworks (on the VMS system).  The following information is needed to connect to the VMS system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USERNAME: vct_40&lt;br /&gt;
PASSWORD: uct&lt;br /&gt;
WORKGROUP: microct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in Windows explorer, while connected in the same network as the VMS station enter the following IP address for SCEVAL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\\136.159.74.140\&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, map the drive.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on my computer and choose map network drive. &lt;br /&gt;
&lt;br /&gt;
Folder:&lt;br /&gt;
\\136.159.74.140\SB_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\SB_PROJ&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_DATA&lt;br /&gt;
or&lt;br /&gt;
\\136.159.74.140\BH_PROJ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
User name: vct_40@microct&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Map a Network Drive to the VMS filesystem from Windows===&lt;br /&gt;
&lt;br /&gt;
To do this you must be on the same network as the OpenVMS system. For main campus and the XtremeCT, you will map the drive to Thomas (136.159.130.28), the workstation connected to the scanner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Right click on My Computer and choose Map Network Drive... &lt;br /&gt;
&lt;br /&gt;
Folder:  \\136.159.130.28\uct_data1     !FOR THE PROJECTS DISK&lt;br /&gt;
&lt;br /&gt;
         and/or &lt;br /&gt;
&lt;br /&gt;
         \\136.159.130.28\uct_data2     !FOR THE DATA DISK&lt;br /&gt;
&lt;br /&gt;
User name: microct\xtremect&lt;br /&gt;
Password:  uct&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note:  You must use the numerical IP address and not the host name (i.e. thomas.kin.ucalgary.ca).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Setup remote access FAQ==&lt;br /&gt;
===Access data remotely===&lt;br /&gt;
Refer to [[Media:Scanco-faq-accessing-data-remotely.pdf|&#039;&#039;&#039;Scanco tutorial on accessing your data remotely&#039;&#039;&#039;]] for&lt;br /&gt;
&lt;br /&gt;
*A quick refresher course on accessing files&lt;br /&gt;
**Web browser&lt;br /&gt;
**File sharing&lt;br /&gt;
**File transfer protocol (FTP)&lt;br /&gt;
*Network file system NFS&lt;br /&gt;
*Running Scanco programs remotely&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use Hummingbird Exceed for remote access===&lt;br /&gt;
&lt;br /&gt;
*Screen definition&lt;br /&gt;
:Server visual = PseudoColor&lt;br /&gt;
:Window mode = multiple&lt;br /&gt;
&lt;br /&gt;
*Keyboard input&lt;br /&gt;
:Primary = decemus&lt;br /&gt;
:Alternate = us&lt;br /&gt;
&lt;br /&gt;
*EVE commands&lt;br /&gt;
:select = &amp;quot;end&amp;quot;&lt;br /&gt;
:cut = &amp;quot;delete&amp;quot;&lt;br /&gt;
:paste = &amp;quot;insert&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:move forward a word = CTRL + right_arrow&lt;br /&gt;
:move to start of document = CTRL + up_arrow&lt;br /&gt;
:move to end of document = CTRL + down_arrow&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Use XWin32 for remote access===&lt;br /&gt;
&lt;br /&gt;
Run XWin32.  Run Putty and connect to sceval.ucalgary.ca.  Use the terminal normally to run programs, which should open with XWin32.  &lt;br /&gt;
&lt;br /&gt;
Additional terminal windows can be opened with &amp;lt;code&amp;gt;$ dec&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you try to connect from somewhere other than the university, you will probably get the following error when trying to open a window:&lt;br /&gt;
&lt;br /&gt;
   Xlib: connection to &amp;quot;sceval.ucalgary.ca:10.0&amp;quot; refused by server&lt;br /&gt;
   Xlib: Can not connect to a host on a restricted network&lt;br /&gt;
   X Toolkit Error: Cannot Open Display&lt;br /&gt;
   %DWT-F-DWTABORT, xtoolkit fatal error&lt;br /&gt;
&lt;br /&gt;
Type the following at the command prompt to direct the display:&lt;br /&gt;
&lt;br /&gt;
   $ set display/create/transport=tcpip/node=Your_IP_Address/server=0&lt;br /&gt;
&lt;br /&gt;
You can find your IP address from:   http://www.ip-adress.com/&lt;br /&gt;
&lt;br /&gt;
If you&#039;re running XWin32 from off campus and behind a router, forward ports 6000 - 6010 TCP and 177 UDP to your computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Set up Putty with gold-key access===&lt;br /&gt;
&lt;br /&gt;
Refer [http://bone.wiki/index.php?title=Scanco_User_Instructions#PuTTY_and_Xming &#039;&#039;&#039;PuTTY and Xming&#039;&#039;&#039;] to download putty.&lt;br /&gt;
&lt;br /&gt;
Set &#039;keyboard&#039; to Vt400, and &#039;initial state of numeric keyapad&#039; to &#039;Application&#039;, and now the &#039;NumLock&#039; key is the gold key (like PF1), and the editor can repeat stuff.&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ set term/vt100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to enable the editor in the terminal.&lt;br /&gt;
&lt;br /&gt;
And duplication of a line is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
- (which would be PF4) to erase a line, &lt;br /&gt;
then twice &amp;quot;numlock, then -&amp;quot;  (gold-PF4 is &#039;restore line&#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===SSH tricks===&lt;br /&gt;
====RSA and DSA Authentication====&lt;br /&gt;
&lt;br /&gt;
The main advantage of setting up RSA authentication is that you will no longer have to type your password each time you access a host with ssh.  There are some technical reasons why RSA and DSA access is more secure than password access.&lt;br /&gt;
&lt;br /&gt;
These instructions work on both Linux and OS-X.  &lt;br /&gt;
&lt;br /&gt;
# Create your public/private key pair on your local computer&lt;br /&gt;
#* At the command prompt type: ssh-keygen -t rsa&lt;br /&gt;
#* You will be asked to create a passphrase.&lt;br /&gt;
#* This will create the files .ssh/id_rsa and .ssh/id_rsa.pub .  Once you have these files, you never have to repeat this step.&lt;br /&gt;
# Copy your public key contents into the .ssh/authorized_keys2 file on the remote server&lt;br /&gt;
#* You can email yourself the file .ssh/id_rsa.pub from the local computer.&lt;br /&gt;
#* Alternatively, you could do this: ssh username@remoteserver.com &#039;cat &amp;gt;&amp;gt; ~/.ssh/authorized_keys2&#039; &amp;lt; /Users/Youruser/.ssh/id_rsa.pub&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;NOTES ABOUT KEYS&amp;lt;/u&amp;gt;&lt;br /&gt;
Remember, the &amp;quot;authorized_keys&amp;quot; file is a concatenation of public (id_rsa.pub) keys, &lt;br /&gt;
and the &amp;quot;id_rsa&amp;quot; is the private key.  &lt;br /&gt;
Every user on every computer should only have ONE &amp;quot;id_rsa&amp;quot; file, &lt;br /&gt;
but can have multiple &amp;quot;id_rsa.pub&amp;quot; files concatenated into&lt;br /&gt;
their &amp;quot;authorized_keys&amp;quot; file.&lt;br /&gt;
&lt;br /&gt;
=====SSH Agent=====&lt;br /&gt;
&lt;br /&gt;
SSH-Agent is a tool to store your passphrase so you don&#039;t have type it every time.&lt;br /&gt;
&lt;br /&gt;
On OS-X, it is integrated into the system Keychain - you will be asked once if it should remember your passphrase, and after that you don&#039;t have to worry about it.&lt;br /&gt;
&lt;br /&gt;
Most Linux systems also have ssh-agent configured to start with every session. You may however have to do this once:&lt;br /&gt;
 ssh-add ~/.ssh/ida_rsa&lt;br /&gt;
&lt;br /&gt;
====SSH Tunneling====&lt;br /&gt;
&lt;br /&gt;
This is an alternative to VPN through kinesiology.  It may come in handy if for some reason VPN is not working.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re outside the university system and want to access, for example, svn on mike.kin, which is normally blocked by the university firewall, you can do that with ssh tunneling.  Here is an example:&lt;br /&gt;
&lt;br /&gt;
 ssh eric@mighty-mac.kin.ucalgary.ca -L 2000:mike.kin.ucalgary.ca:443 -N&lt;br /&gt;
&lt;br /&gt;
Here is what is going on:&lt;br /&gt;
* I want to access port 443 (which is https) on mike.kin.ucalgary.ca.&lt;br /&gt;
* I have an account on mighty-mac, so I&#039;m using that server to create an ssh tunnel inside the university firewall.  I could use any machine I had an account on inside the university system, even mike.kin.ucalgary.ca, the one I&#039;m trying to get to (in fact, that would be best, but for purposes of demonstration I&#039;m using a different machine).&lt;br /&gt;
* I&#039;m mapping the local port 2000 to port 443 on mike.  Anything I send to localhost:2000 will by sent by ssh or the ssh tunnel to mighty-mac, which will then send it on to port 443 on mike.&lt;br /&gt;
* 2000 is a random 4-digit port number.  If by some fluke you happen to choose one that is in use, ssh will complain and you will have to try another port number.&lt;br /&gt;
&lt;br /&gt;
Now I can fire up my browser and point it to&lt;br /&gt;
&lt;br /&gt;
 https://localhost:200/trac/&lt;br /&gt;
&lt;br /&gt;
And what I get is the trac site on mike.&lt;br /&gt;
&lt;br /&gt;
If I want to get the code, I can do this:&lt;br /&gt;
&lt;br /&gt;
 svn checkout https://localhost:2000/svn/numerics88/trunk trunk_tunnel&lt;br /&gt;
&lt;br /&gt;
(&amp;quot;trunk_tunnel&amp;quot; is just the directory name where it will end up.  It can be named anything, but this will remind me that it only works when the tunnel is up.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Physical connections==&lt;br /&gt;
===Connect to VMS station with a serial port cable===&lt;br /&gt;
&lt;br /&gt;
To do this, you will need to connect from a PC using a PC-to-PC (NULL modem) serial cable, 9600 baud. Install PuTTY and connect with the &#039;serial&#039; option. You will need to know the COM port that is used by the PC to connect the serial cable. You can do this by checking on the PC the [Hardware][Device] settings.&lt;br /&gt;
&lt;br /&gt;
Typical login is &amp;quot;Admin&amp;quot; and password is usually same as the &#039;system&#039; password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Export VMS display to SUN or LINUX terminal===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# - temple&lt;br /&gt;
$ - sceval&lt;br /&gt;
# xhost +temple.ucalgary.ca&lt;br /&gt;
# ssh -X microct@sceval.ucalgary.ca&lt;br /&gt;
$ set display /create /transport=tcpip /node=temple.ucalgary.ca&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE:&amp;lt;/b&amp;gt; Do not use &amp;lt;code&amp;gt;xhost+&amp;lt;/code&amp;gt;.  Always specific exactly which computer is being&lt;br /&gt;
allowed X access.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Dose=&lt;br /&gt;
&lt;br /&gt;
==Dose Calculations==&lt;br /&gt;
&lt;br /&gt;
===XtremeCT radiation dose===&lt;br /&gt;
Some notes about radiation dose to help decide acceptable scanning protocols.  These comments are based on scanning an adult (not children having significant red marrow at the scan region).&lt;br /&gt;
&lt;br /&gt;
:*The annual dose limit for the hand for an occupational user is 500 mSv (as per the ICRP), and with the x-ray energy of our XtremeCT that translates to 500 mGy local dose per year. For non-occupational subjects, the limit is generally 10x lower (i.e., our volunteers should not have more than 50 mGy local dose per year).&lt;br /&gt;
:*Our scanner delivers a local dose of about 5.3 mGy per scan.  However, if we have adjacent scans, there is some overlap due to the penumbra of the x-ray beam which results in about double the local dose (a conservative guess would be 10 mGy) for a ~1mm overlap region. Averaging over the whole scanned regions (overlap and non-overlap regions) we can say that the average delivered local dose is about 7-8 mGy. The local dose is not additive.  If we&#039;re very conservative, and we take 10 mGy as the local dose, then we could theoretically scan a person 5 times before exceeding the 50 mGy limit based on a tenth of the occupational limit (500 mGy).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===vivaCT CTDI dose===&lt;br /&gt;
====Dose calculation====&lt;br /&gt;
&lt;br /&gt;
Assuming the following settings on the vivaCT for &amp;quot;high mode&amp;quot;, we will calculate the CTDI dose.&lt;br /&gt;
&lt;br /&gt;
 2000 projections (360 degrees)&lt;br /&gt;
 0.109 mA&lt;br /&gt;
 200 ms IT&lt;br /&gt;
&lt;br /&gt;
I calculate the time current value as:&lt;br /&gt;
&lt;br /&gt;
 0.109 mA * (0.200 + 0.012) S * 2000 proj= 46.22 mAs&lt;br /&gt;
&lt;br /&gt;
The 0.012 is the integration time between projections.&lt;br /&gt;
&lt;br /&gt;
Taking the proportion of the 68 mAs at 55 kV resulting in 720 mGy (see the document on example&lt;br /&gt;
dose calculation on this Wiki site), we have:&lt;br /&gt;
&lt;br /&gt;
 46.22 / 68 * 720 = 490 mGy&lt;br /&gt;
&lt;br /&gt;
Since CTDI in air is approximately two times the weighted CTDI, and since our setup is more like in air, we get:&lt;br /&gt;
&lt;br /&gt;
 2 * 490 = 980 mGy per scan.&lt;br /&gt;
&lt;br /&gt;
It&#039;s always a good idea to look at the time-current product in the control file to get an approximate estimate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Dose chart and example====&lt;br /&gt;
*Refer to [[Media:VivaCT dose information-fyi.pdf|&#039;&#039;&#039;VivaCT CTDI Dose Calculation Example&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
We have measured the following CT dose indices (CTDI). &lt;br /&gt;
:*CTDIw:   Weighted CTDI (chart below)&lt;br /&gt;
:*CTDIair: CTDI in air (2 times CTDIw - calculate from chart below).&lt;br /&gt;
&lt;br /&gt;
The detector was placed in the center of a 35 mm PMMA cylinder which was placed in the center of rotation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 70kV  300ms 85uA  Field of view 38.9mm 1000 Proj./180°:   CTDI = 260 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 220 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 38.9mm 1000 Proj./180°:   CTDI = 190 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 30.7mm 1000 Proj./180°:   CTDI = 420 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 350 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 30.7mm 1000 Proj./180°:   CTDI = 305 mGy&lt;br /&gt;
&lt;br /&gt;
 70kV  300ms 85uA  Field of view 21.5mm 1000 Proj./180°:   CTDI = 850 mGy&lt;br /&gt;
 55kV  300ms 109uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 720 mGy&lt;br /&gt;
 45kV  300ms 133uA Field of view 21.5mm 1000 Proj./180°:   CTDI = 620 mGy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 high res = 1000 Proj./180°&lt;br /&gt;
 medium  = 500 Proj./180°&lt;br /&gt;
 standard  = 250 Proj./180°&lt;br /&gt;
&lt;br /&gt;
The CTDI scales linear with the integration time (s), with the current (uA) and number of projections. If you have different settings there, it is easy to calculate the CTDI.&lt;br /&gt;
&lt;br /&gt;
CTDI Definition:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Integral from +50mm to -50mm of D(z)/NxT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*where D(z) is the dose profile along a line z which is perpendicular to the tomographic plane&lt;br /&gt;
:*N is the number of tomographic sections produced in a single rotation&lt;br /&gt;
:*T is the nominal tomographic section thickness&lt;br /&gt;
&lt;br /&gt;
Example: How to estimate how much radiation would be incurred by a mouse scanned at 25&lt;br /&gt;
um resolution (medium resolution -- MR) at 55 kVp, 109 uA, 150 ms IT, for about 30 minutes?&lt;br /&gt;
&lt;br /&gt;
If you take your settings you can calculate the CTDI.  First thing you have to be aware is that the CTDI is something like the local dose but it takes the cone beam geometry and the not perfect collimation of the x-ray beam into account (The CTDI value is always higher than a local dose measurement with for example TLDs). It does not matter how many stacks you are scanning. The dose you have at one point which is within the volume you are scanning gets the same local dose if you are performing a 1 stack or a 4 stack measurement.&lt;br /&gt;
&lt;br /&gt;
With the 55kVp/109uA HR with 300ms we have a value at the 30.7 mm position of 350 mGy. Because you have MR we can divide the values by a factor of 2; and because you have 150ms instead of 300ms there is an other factor of 2. You would get 87.5 mGy for the position 30.7 mm. Because of the cone beam the dose has a quadratic dependency to the diameter of the field of view. (30.7 mm/25 mm)2 = 1.5. The CTDI value for your settings is in the order of 87.5 mGy * 1.5 = 132 mGy.&lt;br /&gt;
&lt;br /&gt;
Note that for in vivo measurements, we should multiply the result by a factor of two since we are doing the measurement in AIR, not WATER.  The charts above are assuming the CTDI done in water.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Optimize Scan for Low Dose==&lt;br /&gt;
*Refer to [[Media:Scanco-faq-optimization-for-dose.pdf|&#039;&#039;&#039;Optimize Scan Protocols for Low Dose&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:Using_upat.docx&amp;diff=7110</id>
		<title>File:Using upat.docx</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:Using_upat.docx&amp;diff=7110"/>
		<updated>2021-02-02T01:14:28Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Xradia_Instructions&amp;diff=7109</id>
		<title>Xradia Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Xradia_Instructions&amp;diff=7109"/>
		<updated>2021-01-28T20:02:14Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Industrial Materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=User Tutorials=&lt;br /&gt;
*[[Media:Xradiaversausermanual.pdf|&#039;&#039;&#039;Xradia Versa User’s Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Zeiss-xrm-xradia-520-versa-advanced-training-selected-topics_reve.pdf|&#039;&#039;&#039;Xradia Advanced Training slides&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
*Quick Reference Guide: [[Media:updatedzeissxradia5xxversa_scout-and-scan_quickref.pdf|&#039;&#039;&#039;Scout-and-Scan™ Control System Quick Reference Guide&#039;&#039;&#039;]]&lt;br /&gt;
*Log Sheets: [[Media:Xradia_log_sheet_general.pdf|&#039;&#039;&#039;PDF Log sheets&#039;&#039;&#039;]] and [[Media:Xradia_log_sheet_general.xlsx|&#039;&#039;&#039;Excel Log sheets&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Interior Tomography==&lt;br /&gt;
*[[Media:Zeissxrm_technical-procedure-scout_and_zoom-version-10.pdf|&#039;&#039;&#039;Scout-and-Zoom for High Resolution Interior Tomography v10&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vertical Stitching==&lt;br /&gt;
*[[Media:ZEISSXRM_QuickReferenceGuide_VerticalStitching_v11.pdf|&#039;&#039;&#039;Quick Reference Guide for Vertical Stitching v11&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISSXRM_TechnicalProcedure_VerticalStitching_v11.pdf|&#039;&#039;&#039;Technical Procedure for Vertical Stitching v11&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==High Aspect Ratio Tomography (HART)==&lt;br /&gt;
*[[Media:034zeiss-xrm-technical-procedure-high-aspect-ratio-tomography-hart.pdf|&#039;&#039;&#039;High Aspect Ratio Tomography (HART) v10.6&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Reconstruction=&lt;br /&gt;
*[[Media:ZEISSXRM_Scout-and-Scan Reconstructor_QuickRefGuide.pdf|&#039;&#039;&#039;Reconstructor Quick Reference Guide v11&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISSXRM_Scout-and-Scan Reconstructor_Manual.pdf|&#039;&#039;&#039;Reconstructor Manual v11&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Special Topics=&lt;br /&gt;
==Calibration==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_CT_Scaling_Instructions_G000135.pdf|&#039;&#039;&#039;CT Scaling Calibration&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_Filtered_Secondary_Referencing_For_Ring_Artifact_Reduction_-_Xradia_520_Versa.pdf|&#039;&#039;&#039;Filtered Secondary Referencing for Ring Artifact Reduction&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISS XRM Technical Procedure - Despeckling Filter.pdf|&#039;&#039;&#039;Despeckling Filtering&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Dual-Energy Imaging==&lt;br /&gt;
*[[Media:ZEISS_XRM_Xradia_520_Versa_--_Guide_to_DSCoVer.pdf|&#039;&#039;&#039;Guide to DSCoVer v10&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Dualenergy_technical-procedure-zeiss_v4_draft_dis.pdf|&#039;&#039;&#039;Dual-Energy Imaging Manual&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Phase Contrast Imaging==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_Phase_Contrast.pdf|&#039;&#039;&#039;Phase Contrast Imaging Manual&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Image Tours=&lt;br /&gt;
==Industrial Materials==&lt;br /&gt;
*Refer to [https://youtu.be/tT3dz4VrwfE &#039;&#039;&#039;MicroCT Image Tour YouTube Video&#039;&#039;&#039;]&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;MicroCT Scans for Industrial Materials&amp;quot;&amp;gt;&lt;br /&gt;
Image:002.0000_0.png|[[Media:002001-whitebg-movie_0.gif|Steel Welds Fusion Zone (50µm, 39 x 66 x 11 mm3)]]&lt;br /&gt;
Image:Img_20170120_115108-copy_1.jpg|[[Media:002001-50um-xz_140-290.gif|Steel Welds Fusion Zone (50µm, 39 x 66 x 11 mm3)]]&lt;br /&gt;
Image:003.0095.png|[[Media:003001-whitebg-movie.gif|Metal Crack (36µm, 137 x 28 x 15 mm3)]]&lt;br /&gt;
Image:003001_microctwebsite_0.jpg|[[Media:003001-36um_cut_xz_310-390.gif|Metal Crack (36µm, 137 x 28 x 15 mm3)]]&lt;br /&gt;
Image:001001.0000.png|[[Media:001001-whitebg-movie.gif|Corroded Welds Ring (53µm for full FOV, OD 93 mm x 14 mm thick)]] &lt;br /&gt;
Image:001001_microctwebset.jpg|[[Media:001001_full_53um_cut_xz-60-120.gif|Corroded Welds Ring (53µm for full FOV, OD 93 mm x 14 mm thick)]]&lt;br /&gt;
Image:Suncor001002.0000.png|[[Media:001002-whitebg-movie.gif|Corroded Welds Ring (21µm zoom in to right side)]]&lt;br /&gt;
Image:001003_0.jpg|[[Media:001003_zoominside-21um_cut_xz-260-410.gif|Corroded Welds Ring (21µm zoom in to right side)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7108</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7108"/>
		<updated>2021-01-28T20:01:35Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* MicroCT Image Tours */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic02.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  &lt;br /&gt;
:*You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defual ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Refer to [https://youtu.be/tT3dz4VrwfE &#039;&#039;&#039;MicroCT Image Tour YouTube Video&#039;&#039;&#039;]&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data withing the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import MRI to Scanco System==&lt;br /&gt;
#Load MR data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7107</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7107"/>
		<updated>2021-01-28T16:31:57Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Scan Parameters (Controlfiles) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic02.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  &lt;br /&gt;
:*You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defual ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data withing the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import MRI to Scanco System==&lt;br /&gt;
#Load MR data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Xradia_Instructions&amp;diff=7106</id>
		<title>Xradia Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Xradia_Instructions&amp;diff=7106"/>
		<updated>2021-01-27T23:57:30Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Industrial Materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=User Tutorials=&lt;br /&gt;
*[[Media:Xradiaversausermanual.pdf|&#039;&#039;&#039;Xradia Versa User’s Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Zeiss-xrm-xradia-520-versa-advanced-training-selected-topics_reve.pdf|&#039;&#039;&#039;Xradia Advanced Training slides&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
*Quick Reference Guide: [[Media:updatedzeissxradia5xxversa_scout-and-scan_quickref.pdf|&#039;&#039;&#039;Scout-and-Scan™ Control System Quick Reference Guide&#039;&#039;&#039;]]&lt;br /&gt;
*Log Sheets: [[Media:Xradia_log_sheet_general.pdf|&#039;&#039;&#039;PDF Log sheets&#039;&#039;&#039;]] and [[Media:Xradia_log_sheet_general.xlsx|&#039;&#039;&#039;Excel Log sheets&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Interior Tomography==&lt;br /&gt;
*[[Media:Zeissxrm_technical-procedure-scout_and_zoom-version-10.pdf|&#039;&#039;&#039;Scout-and-Zoom for High Resolution Interior Tomography v10&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vertical Stitching==&lt;br /&gt;
*[[Media:ZEISSXRM_QuickReferenceGuide_VerticalStitching_v11.pdf|&#039;&#039;&#039;Quick Reference Guide for Vertical Stitching v11&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISSXRM_TechnicalProcedure_VerticalStitching_v11.pdf|&#039;&#039;&#039;Technical Procedure for Vertical Stitching v11&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==High Aspect Ratio Tomography (HART)==&lt;br /&gt;
*[[Media:034zeiss-xrm-technical-procedure-high-aspect-ratio-tomography-hart.pdf|&#039;&#039;&#039;High Aspect Ratio Tomography (HART) v10.6&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Reconstruction=&lt;br /&gt;
*[[Media:ZEISSXRM_Scout-and-Scan Reconstructor_QuickRefGuide.pdf|&#039;&#039;&#039;Reconstructor Quick Reference Guide v11&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISSXRM_Scout-and-Scan Reconstructor_Manual.pdf|&#039;&#039;&#039;Reconstructor Manual v11&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Special Topics=&lt;br /&gt;
==Calibration==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_CT_Scaling_Instructions_G000135.pdf|&#039;&#039;&#039;CT Scaling Calibration&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_Filtered_Secondary_Referencing_For_Ring_Artifact_Reduction_-_Xradia_520_Versa.pdf|&#039;&#039;&#039;Filtered Secondary Referencing for Ring Artifact Reduction&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISS XRM Technical Procedure - Despeckling Filter.pdf|&#039;&#039;&#039;Despeckling Filtering&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Dual-Energy Imaging==&lt;br /&gt;
*[[Media:ZEISS_XRM_Xradia_520_Versa_--_Guide_to_DSCoVer.pdf|&#039;&#039;&#039;Guide to DSCoVer v10&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Dualenergy_technical-procedure-zeiss_v4_draft_dis.pdf|&#039;&#039;&#039;Dual-Energy Imaging Manual&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Phase Contrast Imaging==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_Phase_Contrast.pdf|&#039;&#039;&#039;Phase Contrast Imaging Manual&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Image Tours=&lt;br /&gt;
==Industrial Materials==&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;MicroCT Scans for Industrial Materials&amp;quot;&amp;gt;&lt;br /&gt;
Image:002.0000_0.png|[[Media:002001-whitebg-movie_0.gif|Steel Welds Fusion Zone (50µm, 39 x 66 x 11 mm3)]]&lt;br /&gt;
Image:Img_20170120_115108-copy_1.jpg|[[Media:002001-50um-xz_140-290.gif|Steel Welds Fusion Zone (50µm, 39 x 66 x 11 mm3)]]&lt;br /&gt;
Image:003.0095.png|[[Media:003001-whitebg-movie.gif|Metal Crack (36µm, 137 x 28 x 15 mm3)]]&lt;br /&gt;
Image:003001_microctwebsite_0.jpg|[[Media:003001-36um_cut_xz_310-390.gif|Metal Crack (36µm, 137 x 28 x 15 mm3)]]&lt;br /&gt;
Image:001001.0000.png|[[Media:001001-whitebg-movie.gif|Corroded Welds Ring (53µm for full FOV, OD 93 mm x 14 mm thick)]] &lt;br /&gt;
Image:001001_microctwebset.jpg|[[Media:001001_full_53um_cut_xz-60-120.gif|Corroded Welds Ring (53µm for full FOV, OD 93 mm x 14 mm thick)]]&lt;br /&gt;
Image:Suncor001002.0000.png|[[Media:001002-whitebg-movie.gif|Corroded Welds Ring (21µm zoom in to right side)]]&lt;br /&gt;
Image:001003_0.jpg|[[Media:001003_zoominside-21um_cut_xz-260-410.gif|Corroded Welds Ring (21µm zoom in to right side)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7105</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7105"/>
		<updated>2021-01-27T23:02:06Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* MicroCT Image Tours */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic02.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  &lt;br /&gt;
:*You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defual ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mouse (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data withing the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import MRI to Scanco System==&lt;br /&gt;
#Load MR data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:001002-whitebg-movie.gif&amp;diff=7104</id>
		<title>File:001002-whitebg-movie.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:001002-whitebg-movie.gif&amp;diff=7104"/>
		<updated>2021-01-27T02:57:26Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Xradia_Instructions&amp;diff=7103</id>
		<title>Xradia Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Xradia_Instructions&amp;diff=7103"/>
		<updated>2021-01-27T02:56:03Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Industrial Materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=User Tutorials=&lt;br /&gt;
*[[Media:Xradiaversausermanual.pdf|&#039;&#039;&#039;Xradia Versa User’s Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Zeiss-xrm-xradia-520-versa-advanced-training-selected-topics_reve.pdf|&#039;&#039;&#039;Xradia Advanced Training slides&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
*Quick Reference Guide: [[Media:updatedzeissxradia5xxversa_scout-and-scan_quickref.pdf|&#039;&#039;&#039;Scout-and-Scan™ Control System Quick Reference Guide&#039;&#039;&#039;]]&lt;br /&gt;
*Log Sheets: [[Media:Xradia_log_sheet_general.pdf|&#039;&#039;&#039;PDF Log sheets&#039;&#039;&#039;]] and [[Media:Xradia_log_sheet_general.xlsx|&#039;&#039;&#039;Excel Log sheets&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Interior Tomography==&lt;br /&gt;
*[[Media:Zeissxrm_technical-procedure-scout_and_zoom-version-10.pdf|&#039;&#039;&#039;Scout-and-Zoom for High Resolution Interior Tomography v10&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vertical Stitching==&lt;br /&gt;
*[[Media:ZEISSXRM_QuickReferenceGuide_VerticalStitching_v11.pdf|&#039;&#039;&#039;Quick Reference Guide for Vertical Stitching v11&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISSXRM_TechnicalProcedure_VerticalStitching_v11.pdf|&#039;&#039;&#039;Technical Procedure for Vertical Stitching v11&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==High Aspect Ratio Tomography (HART)==&lt;br /&gt;
*[[Media:034zeiss-xrm-technical-procedure-high-aspect-ratio-tomography-hart.pdf|&#039;&#039;&#039;High Aspect Ratio Tomography (HART) v10.6&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Reconstruction=&lt;br /&gt;
*[[Media:ZEISSXRM_Scout-and-Scan Reconstructor_QuickRefGuide.pdf|&#039;&#039;&#039;Reconstructor Quick Reference Guide v11&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISSXRM_Scout-and-Scan Reconstructor_Manual.pdf|&#039;&#039;&#039;Reconstructor Manual v11&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Special Topics=&lt;br /&gt;
==Calibration==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_CT_Scaling_Instructions_G000135.pdf|&#039;&#039;&#039;CT Scaling Calibration&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_Filtered_Secondary_Referencing_For_Ring_Artifact_Reduction_-_Xradia_520_Versa.pdf|&#039;&#039;&#039;Filtered Secondary Referencing for Ring Artifact Reduction&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISS XRM Technical Procedure - Despeckling Filter.pdf|&#039;&#039;&#039;Despeckling Filtering&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Dual-Energy Imaging==&lt;br /&gt;
*[[Media:ZEISS_XRM_Xradia_520_Versa_--_Guide_to_DSCoVer.pdf|&#039;&#039;&#039;Guide to DSCoVer v10&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Dualenergy_technical-procedure-zeiss_v4_draft_dis.pdf|&#039;&#039;&#039;Dual-Energy Imaging Manual&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Phase Contrast Imaging==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_Phase_Contrast.pdf|&#039;&#039;&#039;Phase Contrast Imaging Manual&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Image Tours=&lt;br /&gt;
==Industrial Materials==&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Xradia Scans for Industrial Materials&amp;quot;&amp;gt;&lt;br /&gt;
Image:002.0000_0.png|[[Media:002001-whitebg-movie_0.gif|Steel Welds Fusion Zone (50µm, 39 x 66 x 11 mm3)]]&lt;br /&gt;
Image:Img_20170120_115108-copy_1.jpg|[[Media:002001-50um-xz_140-290.gif|Steel Welds Fusion Zone (50µm, 39 x 66 x 11 mm3)]]&lt;br /&gt;
Image:003.0095.png|[[Media:003001-whitebg-movie.gif|Metal Crack (36µm, 137 x 28 x 15 mm3)]]&lt;br /&gt;
Image:003001_microctwebsite_0.jpg|[[Media:003001-36um_cut_xz_310-390.gif|Metal Crack (36µm, 137 x 28 x 15 mm3)]]&lt;br /&gt;
Image:001001.0000.png|[[Media:001001-whitebg-movie.gif|Corroded Welds Ring (53µm for full FOV, OD 93 mm x 14 mm thick)]] &lt;br /&gt;
Image:001001_microctwebset.jpg|[[Media:001001_full_53um_cut_xz-60-120.gif|Corroded Welds Ring (53µm for full FOV, OD 93 mm x 14 mm thick)]]&lt;br /&gt;
Image:Suncor001002.0000.png|[[Media:001002-whitebg-movie.gif|Corroded Welds Ring (21µm zoom in to right side)]]&lt;br /&gt;
Image:001003_0.jpg|[[Media:001003_zoominside-21um_cut_xz-260-410.gif|Corroded Welds Ring (21µm zoom in to right side)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:001003_zoominside-21um_cut_xz-260-410.gif&amp;diff=7102</id>
		<title>File:001003 zoominside-21um cut xz-260-410.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:001003_zoominside-21um_cut_xz-260-410.gif&amp;diff=7102"/>
		<updated>2021-01-27T02:51:34Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:001001-whitebg-movie.gif&amp;diff=7101</id>
		<title>File:001001-whitebg-movie.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:001001-whitebg-movie.gif&amp;diff=7101"/>
		<updated>2021-01-27T02:32:07Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:001001_full_53um_cut_xz-60-120.gif&amp;diff=7100</id>
		<title>File:001001 full 53um cut xz-60-120.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:001001_full_53um_cut_xz-60-120.gif&amp;diff=7100"/>
		<updated>2021-01-27T02:24:16Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:003001-36um_cut_xz_310-390.gif&amp;diff=7099</id>
		<title>File:003001-36um cut xz 310-390.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:003001-36um_cut_xz_310-390.gif&amp;diff=7099"/>
		<updated>2021-01-27T01:47:09Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:003001-whitebg-movie.gif&amp;diff=7098</id>
		<title>File:003001-whitebg-movie.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:003001-whitebg-movie.gif&amp;diff=7098"/>
		<updated>2021-01-27T01:32:06Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: Yingzhu uploaded a new version of File:003001-whitebg-movie.gif&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:002001-whitebg-movie_0.gif&amp;diff=7097</id>
		<title>File:002001-whitebg-movie 0.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:002001-whitebg-movie_0.gif&amp;diff=7097"/>
		<updated>2021-01-27T01:21:55Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: Yingzhu uploaded a new version of File:002001-whitebg-movie 0.gif&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:002001-50um-xz_140-290.gif&amp;diff=7096</id>
		<title>File:002001-50um-xz 140-290.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:002001-50um-xz_140-290.gif&amp;diff=7096"/>
		<updated>2021-01-27T01:12:48Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: Yingzhu uploaded a new version of File:002001-50um-xz 140-290.gif&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Xradia_Instructions&amp;diff=7095</id>
		<title>Xradia Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Xradia_Instructions&amp;diff=7095"/>
		<updated>2021-01-27T00:54:49Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* Industrial Materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=User Tutorials=&lt;br /&gt;
*[[Media:Xradiaversausermanual.pdf|&#039;&#039;&#039;Xradia Versa User’s Guide&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Zeiss-xrm-xradia-520-versa-advanced-training-selected-topics_reve.pdf|&#039;&#039;&#039;Xradia Advanced Training slides&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
*Quick Reference Guide: [[Media:updatedzeissxradia5xxversa_scout-and-scan_quickref.pdf|&#039;&#039;&#039;Scout-and-Scan™ Control System Quick Reference Guide&#039;&#039;&#039;]]&lt;br /&gt;
*Log Sheets: [[Media:Xradia_log_sheet_general.pdf|&#039;&#039;&#039;PDF Log sheets&#039;&#039;&#039;]] and [[Media:Xradia_log_sheet_general.xlsx|&#039;&#039;&#039;Excel Log sheets&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Interior Tomography==&lt;br /&gt;
*[[Media:Zeissxrm_technical-procedure-scout_and_zoom-version-10.pdf|&#039;&#039;&#039;Scout-and-Zoom for High Resolution Interior Tomography v10&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vertical Stitching==&lt;br /&gt;
*[[Media:ZEISSXRM_QuickReferenceGuide_VerticalStitching_v11.pdf|&#039;&#039;&#039;Quick Reference Guide for Vertical Stitching v11&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISSXRM_TechnicalProcedure_VerticalStitching_v11.pdf|&#039;&#039;&#039;Technical Procedure for Vertical Stitching v11&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==High Aspect Ratio Tomography (HART)==&lt;br /&gt;
*[[Media:034zeiss-xrm-technical-procedure-high-aspect-ratio-tomography-hart.pdf|&#039;&#039;&#039;High Aspect Ratio Tomography (HART) v10.6&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Reconstruction=&lt;br /&gt;
*[[Media:ZEISSXRM_Scout-and-Scan Reconstructor_QuickRefGuide.pdf|&#039;&#039;&#039;Reconstructor Quick Reference Guide v11&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISSXRM_Scout-and-Scan Reconstructor_Manual.pdf|&#039;&#039;&#039;Reconstructor Manual v11&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Special Topics=&lt;br /&gt;
==Calibration==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_CT_Scaling_Instructions_G000135.pdf|&#039;&#039;&#039;CT Scaling Calibration&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Image Artifacts==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_Filtered_Secondary_Referencing_For_Ring_Artifact_Reduction_-_Xradia_520_Versa.pdf|&#039;&#039;&#039;Filtered Secondary Referencing for Ring Artifact Reduction&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:ZEISS XRM Technical Procedure - Despeckling Filter.pdf|&#039;&#039;&#039;Despeckling Filtering&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Dual-Energy Imaging==&lt;br /&gt;
*[[Media:ZEISS_XRM_Xradia_520_Versa_--_Guide_to_DSCoVer.pdf|&#039;&#039;&#039;Guide to DSCoVer v10&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:Dualenergy_technical-procedure-zeiss_v4_draft_dis.pdf|&#039;&#039;&#039;Dual-Energy Imaging Manual&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Phase Contrast Imaging==&lt;br /&gt;
*[[Media:ZEISS_XRM_Technical_Procedure_-_Phase_Contrast.pdf|&#039;&#039;&#039;Phase Contrast Imaging Manual&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Image Tours=&lt;br /&gt;
==Industrial Materials==&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Xradia Scans for Industrial Materials&amp;quot;&amp;gt;&lt;br /&gt;
Image:002.0000_0.png|[[Media:002001-whitebg-movie_0.gif|Steel Welds Fusion Zone (50µm, 39 x 66 x 11 mm3)]]&lt;br /&gt;
Image:Img_20170120_115108-copy_1.jpg|[[Media:002001-50um-xz_140-290.gif|Steel Welds Fusion Zone (50µm, 39 x 66 x 11 mm3)]]&lt;br /&gt;
Image:003.0095.png|[[Media:003001-whitebg-movie.gif|Metal Crack (36µm, 137 x 28 x 15 mm3)]]&lt;br /&gt;
Image:003001_microctwebsite_0.jpg|[[Media:003001-whitebg-movie.gif|Metal Crack (36µm, 137 x 28 x 15 mm3)]]&lt;br /&gt;
Image:001001.0000.png|Corroded Welds Ring (53µm for full FOV, OD 93 mm x 14 mm thick) &lt;br /&gt;
Image:001001_microctwebset.jpg|Corroded Welds Ring (53µm for full FOV, OD 93 mm x 14 mm thick) &lt;br /&gt;
Image:Suncor001002.0000.png|Corroded Welds Ring (21µm zoom in to right side)&lt;br /&gt;
Image:001003_0.jpg|Corroded Welds Ring (21µm zoom in to right side)&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:001003_0.jpg&amp;diff=7094</id>
		<title>File:001003 0.jpg</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:001003_0.jpg&amp;diff=7094"/>
		<updated>2021-01-27T00:52:10Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:001001_microctwebset.jpg&amp;diff=7093</id>
		<title>File:001001 microctwebset.jpg</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:001001_microctwebset.jpg&amp;diff=7093"/>
		<updated>2021-01-27T00:50:09Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:003001_microctwebsite_0.jpg&amp;diff=7092</id>
		<title>File:003001 microctwebsite 0.jpg</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:003001_microctwebsite_0.jpg&amp;diff=7092"/>
		<updated>2021-01-27T00:48:31Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:002001-50um-xz_140-290.gif&amp;diff=7091</id>
		<title>File:002001-50um-xz 140-290.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:002001-50um-xz_140-290.gif&amp;diff=7091"/>
		<updated>2021-01-27T00:48:14Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:Img_20170120_115108-copy_1.jpg&amp;diff=7090</id>
		<title>File:Img 20170120 115108-copy 1.jpg</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:Img_20170120_115108-copy_1.jpg&amp;diff=7090"/>
		<updated>2021-01-27T00:45:55Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:Suncor001002.0000.png&amp;diff=7089</id>
		<title>File:Suncor001002.0000.png</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:Suncor001002.0000.png&amp;diff=7089"/>
		<updated>2021-01-27T00:42:30Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:001001.0000.png&amp;diff=7088</id>
		<title>File:001001.0000.png</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:001001.0000.png&amp;diff=7088"/>
		<updated>2021-01-27T00:38:24Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:003001-whitebg-movie.gif&amp;diff=7087</id>
		<title>File:003001-whitebg-movie.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:003001-whitebg-movie.gif&amp;diff=7087"/>
		<updated>2021-01-27T00:37:31Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:003.0095.png&amp;diff=7086</id>
		<title>File:003.0095.png</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:003.0095.png&amp;diff=7086"/>
		<updated>2021-01-27T00:36:24Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:002001-whitebg-movie_0.gif&amp;diff=7085</id>
		<title>File:002001-whitebg-movie 0.gif</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:002001-whitebg-movie_0.gif&amp;diff=7085"/>
		<updated>2021-01-27T00:34:51Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:002.0000_0.png&amp;diff=7084</id>
		<title>File:002.0000 0.png</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:002.0000_0.png&amp;diff=7084"/>
		<updated>2021-01-27T00:33:36Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7083</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7083"/>
		<updated>2021-01-27T00:29:46Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* MicroCT Image Tours */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic02.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  &lt;br /&gt;
:*You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defual ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Hover over a thumbnail and click on its overlaid description to see the animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mosue (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data withing the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import MRI to Scanco System==&lt;br /&gt;
#Load MR data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7082</id>
		<title>Scanco User Instructions</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=Scanco_User_Instructions&amp;diff=7082"/>
		<updated>2021-01-27T00:27:01Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: /* MicroCT Image Tours */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpenVMS Basics=&lt;br /&gt;
The micro-CT scanners in the lab are manufactured by [http://www.scanco.ch Scanco Medical] and most analyses are performed using their custom software.  The micro-CT workstations run OpenVMS as its operating system and it is useful to learn some basic commands. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OpenVMS Beginner&#039;s Reference==&lt;br /&gt;
OpenVMS (informally known as VMS) is a high-end computer server operating system with reliable, multitasking, real-time and batch processing. OpenVMS supports computer clustering via a LAN, enabling computers to share resources such as processors and disks to balance workload efficiently.&lt;br /&gt;
&lt;br /&gt;
*[http://saf.bio.caltech.edu/vms_beginners_faq.html  &#039;&#039;&#039;OpenVMS Beginner&#039;s FAQ&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Session Manager==&lt;br /&gt;
&lt;br /&gt;
The session manager automatically starts after a user logs in locally. For remote sessions, the session manager can be started with the command &amp;lt;code&amp;gt;$ vue &amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
[[Image:SessionManager.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Session===&lt;br /&gt;
Here you will find an option to &amp;quot;End Session&amp;quot;, which you should do when you are finished using a workstation.  You can click &amp;quot;Work in Progress...&amp;quot; when you have to leave in the middle of a session without logging out but showing a work in progress screen to other users to prevent interference. &lt;br /&gt;
&lt;br /&gt;
===Views (directory shortcuts)===&lt;br /&gt;
The session manager is a graphical user interface that can be used to navigate directories (left side of session manager) and open files (right side of session manager). There are shortcuts to key directories under &amp;quot;Views&amp;quot;. Single-click on a directory to list its subdirectories and files. Double-click on a file to open it.&lt;br /&gt;
&lt;br /&gt;
===Commands and Utilities===&lt;br /&gt;
Under commands you will find tools such as copy, delete, and rename; however, it is much more practical to do these sorts of operations from a DEC terminal.&lt;br /&gt;
&lt;br /&gt;
===Applications===&lt;br /&gt;
Under applications you can launch various applications including:&lt;br /&gt;
*DECterm: opens a DEC terminal&lt;br /&gt;
*MICROCT: opens the micro-ct control panel (buttons for Scanco Medical programs)&lt;br /&gt;
*Mozilla/Netscape: opens a web browser&lt;br /&gt;
*XV: opens a screen capture program&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DEC Terminal and Digital Command Language (DCL)==&lt;br /&gt;
This is a DEC terminal: Commands issued in a DEC terminal are DCL commands.&lt;br /&gt;
&lt;br /&gt;
[[Image:decterm.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
===Copy and paste using the mouse in DEC terminal===&lt;br /&gt;
In the DEC terminal, you can highlight text by holding down and moving the mouse. Highlighted text can be pasted into applications or in the terminal using the middle mouse button. You can also highlight files in the Session Manager and paste the filename (with its full path) using the middle mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a symbol===&lt;br /&gt;
DCL can store information such as strings or integers in &amp;quot;symbols&amp;quot;. DCL can also manipulate these symbols to create other symbols.&lt;br /&gt;
Symbols are primarily used to define short strings that replace long commands, perform certain calculations and replacements within DCL&lt;br /&gt;
procedures, hold status information.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UR == &amp;quot;SET DEFAULT DISK4:[BONELAB.PROJECTS]&amp;quot;	!A short hand to change locations to the project disk.&lt;br /&gt;
$ UR :== SET DEFAULT DISK4:[BONELAB.PROJECTS]	!Another way to define the symbol without quotations.&lt;br /&gt;
$ x == 3	                                !Store the value 3 in the symbol x.&lt;br /&gt;
$ SHOW SYMBOL x                                 !Displays the value of the specified symbol, x.&lt;br /&gt;
$ DELETE/SYMBOL/GLOBAL x                        !Deletes the specified symbol, x.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected symbols on the Scanco system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UD	                            !Changes to the data directory.&lt;br /&gt;
$ UR	                            !Changes to the projects directory.&lt;br /&gt;
$ DISKS	                            !Shows the current disk usage.&lt;br /&gt;
$ DEC                               !Opens a new DEC terminal.&lt;br /&gt;
$ EVE file.txt                      !Opens the file in the text editor.&lt;br /&gt;
$ AIX file.aim                      !Shows the processing log for an aim file. &lt;br /&gt;
$ AIX -L file.aim                   !The &amp;quot;-L&amp;quot; is used to show the full processing log.&lt;br /&gt;
$ QUE	                            !Shows all entries in the queue.&lt;br /&gt;
$ GS file.ps or file.pdf            !Opens *.ps and *.pdf files in GhostScript.&lt;br /&gt;
$ CTHEADER file.isq or file.rsq     !Shows scan information for an *.isq or *.rsq file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===What is a logical===&lt;br /&gt;
Logical names are strings, like symbols, but can be passed into programs whereas symbols can usually only be interpreted by the command line interpreter. For example, if the logical name UD was defined to be DISK2:[XTREMECT2.DATA] then UD: could be used as a substitute when entering the path to search for files from within a program.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEFINE UD DISK2:[XTREMECT2.DATA]   !Defines a logical ud to point to the data directory.&lt;br /&gt;
$ DEFINE uct_default_isq myfile.isq  !Defines the default isq file for Scanco Medical programs. The isq filename must contain the full path to the file to be evaluated, whereas the path can be left out if you just want to contour the scan.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Selected logicals on the micro-CT system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
COM            !Logical pointing to the commands directory IDISK1:[XTREMECT2.COMMANDS]&lt;br /&gt;
UD             !Logical pointing to the data directory DISK2:[XTREMECT2.DATA]&lt;br /&gt;
UD6            !Logical pointing to the data directory DISK6:[XTREMECT2.DATA]&lt;br /&gt;
UR             !Logical pointing to the projects directory DISK4:[BONELAB.PROJECTS]&lt;br /&gt;
UE             !Logical pointing to the evaluation script directory MICROCT_ROOT:[EVAL]&lt;br /&gt;
UU             !Logical pointing to the templates directory MICROCT_ROOT:[UIL]&lt;br /&gt;
UCT_RESULTS    !Logical pointing to the results directory MICROCT_USER:[RESULTS]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Arithmetic operations===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Addition ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| + ||The plus sign (+) adds two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Subtraction ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| - ||The minus sign (-) subtracts the second specified number from the first specified number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Multiplication ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| * ||The asterisk (*) multiplies two numbers.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Division ||style=&amp;quot;width: 5%;text-align:center;&amp;quot;| / ||The slash (/) divides the first specified number by the second specified number. If a number does not divide evenly, the remainder is lost. No rounding takes place.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Logical expressions===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|And||.AND.||The operator .AND. combines two logical values as follows&lt;br /&gt;
true .AND. true = true&amp;lt;br/&amp;gt;true .AND. false = false&amp;lt;br/&amp;gt;false .AND. true = false&amp;lt;br/&amp;gt;false .AND. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Or||.OR.||The operator .OR. combines two logical values as follows&lt;br /&gt;
true .OR. true = true&amp;lt;br/&amp;gt;true .OR. false = true&amp;lt;br/&amp;gt;false .OR. true = true&amp;lt;br/&amp;gt;false .OR. false = false&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 10%&amp;quot;|Not||.NOT.||The operator .NOT. reverses the bit configuration of a logical value. A true value becomes false and a false value becomes true.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Numeric comparisons===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQ.||Compares one number to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NE.||Compares one number to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GT.||Compares one number to another for a greater value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GE.||Compares one number to another for greater or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LE.||Compares one number to another for a lesser or equal value in the first number.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LT.||Compares one number to another for a lesser value in the first number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===String comparisons===&lt;br /&gt;
The operators for string comparisons are the same as for numeric comparisons with an added &amp;quot;S&amp;quot; for string. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.EQS.||Compares one character string to another for equality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Not equal||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.NES.||Compares one character string to another for inequality.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GTS.||Compares one character string to another for a greater value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Greater than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.GES.||Compares one character string to another for greater or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than or equal to||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LES.||Compares one character string to another for a lesser or equal value in the first specified string.&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;width: 15%&amp;quot;|Less than||style=&amp;quot;width: 5%;text-align:center;&amp;quot;|.LTS.||Compares one character string to another for a lesser value in the first specified string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==DCL Programming Guide==&lt;br /&gt;
The OpenVMS systems allow for scripts to be written in a language called &#039;&#039;&#039;DCL (DIGITAL Command Language)&#039;&#039;&#039;. It was not designed to be more difficult than other scripting languages, but learning any new programming language comes with its learning curve.&lt;br /&gt;
&lt;br /&gt;
*DCL has 243 commands, but most programs can be written with a base set of about 20 commands. The goal of this section is to provide a convenient reference for these commonly-used commands.&lt;br /&gt;
&lt;br /&gt;
It is recommended to open a text editor, enter the whole series of commands, and then run them as a whole program. The terminal on OpenVMS is technically a DCL interpreter, so these commands could be typed in sequence into a terminal with the same result. Typing code interactively is helpful when testing a small code snippet in more detail.&lt;br /&gt;
&lt;br /&gt;
===Your First DCL Script===&lt;br /&gt;
Ever since Kernighan and Ritchie wrote the book &amp;quot;The C Programming Language&amp;quot;, it has been custom to start with a program that prints the text &amp;quot;Hello, world&amp;quot; to the screen. Open a text editor (for example &amp;quot;EVE&amp;quot;) and enter the text below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$! My First DCL Script&lt;br /&gt;
$ mymessage = &amp;quot;Hello, world&amp;quot;&lt;br /&gt;
$ WRITE SYS$OUTPUT mymessage&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the file as HELLO1.COM, and run it using &amp;lt;pre&amp;gt;$ @HELLO1.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several things are happening in the above program:&lt;br /&gt;
*&#039;&#039;&#039;Comment !&#039;&#039;&#039;: The exclamation mark can appear anywhere on the line, and everything following the mark will be treated as a comment. &lt;br /&gt;
*&#039;&#039;&#039;Variable&#039;&#039;&#039;: &amp;quot;mymessage&amp;quot; variable is populated with the string &amp;quot;Hello, world&amp;quot;, which can be used in the rest of the script. &lt;br /&gt;
*&#039;&#039;&#039;Command&#039;&#039;&#039; &amp;quot;WRITE&amp;quot; send text to various places, in this case to &amp;quot;SYS$OUTPUT&amp;quot;, that is to the standard output (i.e. screen). &lt;br /&gt;
*&#039;&#039;&#039;EXIT&#039;&#039;&#039; command tells the DCL interpreter that the script is done and we should exit.&lt;br /&gt;
*Commands in DCL are &#039;&#039;&#039;NOT case sensitive&#039;&#039;&#039;, so the command &amp;quot;write sys$output mymessage&amp;quot; would produce the exact same result, but by convention we write commands in all uppercase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Special Comment !!&#039;&#039;&#039; automatically prints the contents of the comment to the screen/logfile. It is useful when you want to know what part of the script you are in.&lt;br /&gt;
&lt;br /&gt;
===Basic Arithmetic===&lt;br /&gt;
The DCL language supports several types of data in variables. In the &amp;quot;Hello, world&amp;quot; example above, we saw how to store a string in a variable. We could have stored an integer, that is a positive or negative whole number, in the variable, and done some basic math.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Arithmetic_operations|&#039;&#039;&#039;Arithmetic Operations&#039;&#039;&#039;]],  For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$ WRITE SYS$OUTPUT i+1&lt;br /&gt;
$ j = 3&lt;br /&gt;
$ k = j * (i + 1)&lt;br /&gt;
$ WRITE SYS$OUTPUT k&lt;br /&gt;
$ WRITE SYS$OUTPUT (k / 4)&lt;br /&gt;
$ WRITE SYS$OUTPUT 2 + 2 * 2&lt;br /&gt;
$ EXIT&lt;br /&gt;
will return:&lt;br /&gt;
&lt;br /&gt;
2&lt;br /&gt;
6&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Two things are worth noting. &lt;br /&gt;
*Because we are limited to integers, division of 6 / 4 needs to return an integer (1.5 is not an integer); the value is truncated, which means rounding is always done toward zero. &lt;br /&gt;
*Order of operations is done in the &amp;quot;correct&amp;quot; order, and not left-to-right, so &amp;quot;2 + 2 * 2&amp;quot; is interpreted as &amp;quot;2 + (2 * 2)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Conditional Statements===&lt;br /&gt;
Sooner or later, you will want to run a program with some logic. The general syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition]&lt;br /&gt;
THEN&lt;br /&gt;
  [do something]&lt;br /&gt;
ELSE&lt;br /&gt;
  [do something else]&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The &amp;quot;ELSE&amp;quot; component is optional. &lt;br /&gt;
*If you need a very simple if..then with only one command, it can be written on one line without the &amp;quot;ENDIF&amp;quot;: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IF [condition] THEN [do something]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#Numeric_comparisons|&#039;&#039;&#039;Numeric Comparisons&#039;&#039;&#039;]], [[Scanco_User_Instructions#String_comparisons|&#039;&#039;&#039;String Comparisons&#039;&#039;&#039;]] and [[Scanco_User_Instructions#Logical_expressions|&#039;&#039;&#039;	Logical Expressions&#039;&#039;&#039;]] for all possible logical operators (very similar to Fortran).&lt;br /&gt;
&lt;br /&gt;
===Loops===&lt;br /&gt;
Most programming languages have 3 kinds of loops: &lt;br /&gt;
*Precondition Loops: Condition is tested at the beginning of the loop&lt;br /&gt;
*Postcondition Loops: Condition is tested after the loop has executed at least once&lt;br /&gt;
*Iterative Loops: A variable changes in a predetermined fashion each time the loop is called. &lt;br /&gt;
&lt;br /&gt;
DCL has none of these. Instead, it has the concept of a &amp;quot;label&amp;quot; and the &amp;quot;GOTO&amp;quot; command. A loop in DCL would look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ i = 1&lt;br /&gt;
$loop1:&lt;br /&gt;
$   IF i .GE. 10 THEN GOTO exitloop1&lt;br /&gt;
$   WRITE SYS$OUTPUT i&lt;br /&gt;
$   i = i + 1&lt;br /&gt;
$   GOTO loop1&lt;br /&gt;
$exitloop1:&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This program will print the numbers from 1 to 10 in sequence.&lt;br /&gt;
&lt;br /&gt;
===Subroutines===&lt;br /&gt;
Most programming languages allow to define a set of commands that can be called from various parts of the program. &lt;br /&gt;
*In DCL, the subroutine can be defined anywhere in the file (unlike C or Python, where the definition must precede the call).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CALL mycustomsub Joe&lt;br /&gt;
$ CALL mycustomsub Mary&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first line calls a subroutine named &amp;quot;mycustomsub&amp;quot;, which jumps execution to the 4th line. The parameters after the name of the function get copied over to local variables named &amp;quot;P1&amp;quot;, &amp;quot;P2&amp;quot;, &amp;quot;P3&amp;quot; etc. (in this example, only one parameter, but the maximum is 8) that are available to the subroutine. Note that the command &amp;quot;WRITE&amp;quot; accepts several arguments separated by commas, which get printed on one line. &lt;br /&gt;
*The subroutine should be terminated with the command &amp;quot;EXIT&amp;quot; followed by &amp;quot;ENDSUBROUTINE&amp;quot;.&lt;br /&gt;
*Note that the parameters get passed literally to the subroutine, that is the subroutine gets the text &amp;quot;Joe&amp;quot;, and not the contents of a variable named &amp;quot;Joe&amp;quot;. &lt;br /&gt;
*To force symbol substitution, the parameter would need to be enclosed in single quotes.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ Joe = &amp;quot;Joe Smith&amp;quot;&lt;br /&gt;
$ Mary = &amp;quot;Mary Jane&amp;quot;&lt;br /&gt;
$ CALL mycustomsub &#039;Joe&#039;&lt;br /&gt;
$ CALL mycustomsub &#039;Mary&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$mycustomsub: SUBROUTINE&lt;br /&gt;
$ WRITE SYS$OUTPUT &amp;quot;Hello, &amp;quot;, P1, &amp;quot;!&amp;quot;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reading from files===&lt;br /&gt;
Sometimes you have a list of files (for example Micro-CT scans) that are to be processed in a certain way. The obvious way is to copy-paste the code several times, changing only the name of the file, but this is error-prone and inefficient. &lt;br /&gt;
*A better way is to put the list of models into a text file, and then call a subroutine on each model file. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ OPEN/READ foo DISK3:[MICROCT.PROJECTS.OWOC.COM]MYLIST.TXT&lt;br /&gt;
$read_loop:&lt;br /&gt;
$   READ/END=done foo myline&lt;br /&gt;
$   CALL process_me &#039;myline&#039;&lt;br /&gt;
$   GOTO read_loop&lt;br /&gt;
$done:&lt;br /&gt;
$ CLOSE/NOLOG foo&lt;br /&gt;
$ EXIT&lt;br /&gt;
$process_me: SUBROUTINE&lt;br /&gt;
$ scriptname = DISK3:[MICROCT.PROJECTS.OWOC.COM]MYSCRIPT.COM&lt;br /&gt;
$ SUBMIT/NOPRINT/QUE=SYS$FAST/PARAM=&#039;P1&#039; &#039;scriptname&#039;&lt;br /&gt;
$ EXIT&lt;br /&gt;
$ ENDSUBROUTINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The first line closes the file handle, in case it was left open in a previous script. &lt;br /&gt;
*The second opens the file &amp;quot;MYLIST.TXT&amp;quot; for reading, and assigns the open file a handle named &amp;quot;foo&amp;quot;. &lt;br /&gt;
*A loop reads the file line-by-line, calling a subroutine with the contents of each line. &lt;br /&gt;
*When the end of the file is reached, the file is closed and the script exits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==List of basic commands==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ VUE	                            !Start the session manager. Press enter after to regain prompt.&lt;br /&gt;
$ DEC	                            !Open a new DEC terminal&lt;br /&gt;
$ UCT	                            !Open the micro-CT control panel.&lt;br /&gt;
$ UCT_SAMPLE	                    !Start µCT Samples.&lt;br /&gt;
$ UCT_MEASUREMENT	            !Start µCT Tomography.&lt;br /&gt;
$ UCT_EVALUATION	            !Start µCT Evaluation Program.&lt;br /&gt;
$ UCT_3D	                    !Start µCT Ray.&lt;br /&gt;
$ UCT_BACKUP	                    !Start µCT Disk-Utility.&lt;br /&gt;
$ CD UD	                            !Change location to the data directory.&lt;br /&gt;
$ CD UR	                            !Change location to the projects directory.&lt;br /&gt;
$ CD SYS$SCRATCH	            !Change location to the scratch directory.&lt;br /&gt;
$ CD UCT_RESULTS	            !Change location to the results directory.&lt;br /&gt;
$ DIR UE	                    !List files in the evaluation directory.&lt;br /&gt;
$ DIR UU	                    !List files in the templates directory.&lt;br /&gt;
$ DIR COM	                    !List files in the commands directory.&lt;br /&gt;
$ UCT_LIST	                    !Extract results from the database.&lt;br /&gt;
$ AIX -L	                    !View the header of an AIM file.&lt;br /&gt;
$ CTHEADER	                    !View the header of an RSQ or ISQ file.&lt;br /&gt;
$ EVE	                            !Start the text editor.&lt;br /&gt;
$ DISKS		                    !Show the current disk usage (all hard drives).&lt;br /&gt;
$ LOGOUT	                    !End a session. For remote sessions, logout from the main (initial) login terminal.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===How to move to a different directory===&lt;br /&gt;
Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET DEFAULT disk:[dir.subdir]	      !Moves to specified path.&lt;br /&gt;
$ SET DEFAULT [.subdir]		      !Moves one level into subdirectory subdir.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CD subdir	                      !Moves into subdirectory subdir.&lt;br /&gt;
$ CD subdir1 subdir2	              !Moves into subdirectory subdir1, then into subdir2.&lt;br /&gt;
$ CD ..		                      !Moves up one level (i.e., out of one directory).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to list the files in a directory===&lt;br /&gt;
Use the DIRECTORY command, which may be abbreviated to DIR.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DIR		                      !List everything in the current directory.&lt;br /&gt;
$ DIR disk:[dir.subdir]		      !Lists everything in the specified directory.&lt;br /&gt;
$ DIR disk:[dir.subdir...]	      !Lists everything in the specified directory and subdirectories. &lt;br /&gt;
$ DIR/COL=1 *.aim	              !Lists all files with the extension .aim in a single column.&lt;br /&gt;
$ DIR /VERSIONS=1	              !Show only the newest version of each file in the directory.&lt;br /&gt;
$ DIR/SINCE=TODAY		      !Lists all files created today.&lt;br /&gt;
$ DIR [...*.aim]                      !The &amp;quot;...&amp;quot; indicates to do so recursively (i.e., counting all files in all subdirectories).&lt;br /&gt;
$ DIR/SIZE	                      !Lists each file and its size.&lt;br /&gt;
$ dir/size/grand_total [.subdir...]   !List the total size of all files in the SUBDIR directory. &lt;br /&gt;
$ HELP DIR	                      !More information on the DIRECTORY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to copy files===&lt;br /&gt;
Use the COPY or BACKUP command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ COPY file1.ext disk:[dir.subdir1]file2.ext          !Make a copy of file1.ext to another location and call it file2.ext&lt;br /&gt;
$ COPY *.aim;* disk:[dir.subdir1]	              !Copy all .aim files (including all versions) to another location keeping the same name.&lt;br /&gt;
$ HELP COPY		                              !More information on the COPY command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...]      !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2.&lt;br /&gt;
$ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine.&lt;br /&gt;
$ HELP BACKUP		                              !More information on the BACKUP command.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to delete files===&lt;br /&gt;
Use the DELETE command, which may be abbreviated to DEL.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL myfile.txt;	              !Delete the most recent version of myfile.txt.&lt;br /&gt;
$ DEL myfile.txt;*	              !Delete all versions of myfile.txt.&lt;br /&gt;
$ HELP DELETE		              !More information on the DELETE command.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
[[Image:Bones2.jpg|20px]] &amp;lt;b&amp;gt;Warning:&amp;lt;/b&amp;gt; Extreme caution!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ DEL *.*;*	                      !Delete everything in the current directory! &lt;br /&gt;
&amp;lt;/pre&amp;gt;  	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to create a directory===&lt;br /&gt;
Use the CREATE/DIR command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ CREATE/DIR [.subdir]	              !Creates a subdirectory named subdir.dir in the current directory.&lt;br /&gt;
$ CREATE/DIR disk:[dir.subdir]	      !Creates the subdirectory subdir at the specified path.&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to rename files and directories===&lt;br /&gt;
Use the RENAME command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SET FILE/PROTECTION=O:RWED olddir.dir         !Sets protections so you can rename the directory.&lt;br /&gt;
$ RENAME oldfile.ext newfile.ext                !Renames oldfile.ext to newfile.ext.&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to check the queue===&lt;br /&gt;
Use the SHOW QUEUE command, which may be abbreviated to SH QUE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW QUEUE	                      !Shows all the queues, there are many!&lt;br /&gt;
$ SH QUE *FAST	                      !Shows all queues whose names end with &amp;quot;fast&amp;quot;, these are used for evaluations.&lt;br /&gt;
$ SH QUE *SLOW                        !Shows all queues whose names end with &amp;quot;slow&amp;quot;, these are used for reconstructions.&lt;br /&gt;
$ SH QUE *FAST/ALL	              !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier.&lt;br /&gt;
$ SH QUE *FAST/BY=EXE/ALL	      !Show only jobs that are currently executing for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===How to get queue information===&lt;br /&gt;
Use the SHOW ENTRY command to obtain information about batch jobs in the queues.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ SHOW ENTRY	                      !Shows all the batch jobs for your user, there may be lots!&lt;br /&gt;
$ SHOW ENTRY 251	              !Shows information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY 251/FULL                 !Shows detailed information for batch job number 251.&lt;br /&gt;
$ SHOW ENTRY/ALL                      !Shows all the batch jobs for all users.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Micro-Computed Tomography (µCT) Basics=&lt;br /&gt;
&lt;br /&gt;
==User Tutorials==&lt;br /&gt;
For Scanco MicroCT Systems and Software:&lt;br /&gt;
:*[[Media:Microct-v14.pdf | &#039;&#039;&#039;Scanco MicroCT Systems and Software&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For XtremeCT II and I:&lt;br /&gt;
:*[[Media:SOP Berlin V1.0.pdf | &#039;&#039;&#039;Scanco XtremeCT I SOP (Berlin)&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:XtremectIIB-v4-us.pdf | &#039;&#039;&#039;Scanco XtremeCT II Specs&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
For MicroCT35, VivaCT40 and VivaCT80:&lt;br /&gt;
:*[[Media:ScancoMicro-CT_User_Policy_Guidelines_19052005.pdf| &#039;&#039;&#039;MicroCT User Policy &amp;amp; Guidelines&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:MicroCT_Starter_Package.pdf | &#039;&#039;&#039;MicroCT Starter Package&#039;&#039;&#039;]] and its [[Media:Microctstarterpackagejun2012.docx| &#039;&#039;&#039;Word format&#039;&#039;&#039;]].&lt;br /&gt;
:*[[Media:Scanco-training-uct35-and-vivact40.pdf | &#039;&#039;&#039;MicroCT Customer Training Guide&#039;&#039;&#039;]]&lt;br /&gt;
:*[[Media:Vivact_80_v3-nomarks.pdf | &#039;&#039;&#039;VivaCT 80 Specifications&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Micro-CT Image Basics==&lt;br /&gt;
Computed tomography is a non-destructive x-ray imaging modality that enables three-dimensional (3D) virtual models of an object to be created, which can be subsequently visualized and analyzed.  Micro-CT refers to CT in which the [http://www.scanco.ch/index.php?id=faq_general#c779 resolution] lies in the micro-scale, which is achieved with a high-resolution x-ray detector and a field of view that is much smaller than conventional CT.  Structural detail provided by CT depends on differences in x-ray attenuation properties.  Components with very different x-ray attenuation properties, for example air, soft tissue, and bone, can be differentiated in a CT scans whereas different types of soft tissues, for example muscle and cartilage, do not have sufficient differences in attenuation to be distinguish. &lt;br /&gt;
&lt;br /&gt;
===Dark Field===&lt;br /&gt;
Detector response with x-rays off.  Enables corrections of non-uniformities of the detector.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Dark_field_single.img_assist_custom-400x97.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Bright Field===&lt;br /&gt;
Detector response with x-rays on but no sample.  Enables corrections of non-uniformities of the x-ray beam.  Acquired automatically by the scanning software before each scan.&lt;br /&gt;
&lt;br /&gt;
[[File:Bright_field_single.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Raw Projection===&lt;br /&gt;
A raw x-ray projection of a mouse leg.  The darker regions correspond with higher x-ray attenuation. The discontinuities result from overlaps where the detector was shifted to acquire the large region of interest (3x2 detector frames in this example).  Projections are acquired at many incremental rotations around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Raw_projection_notes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Sinogram===&lt;br /&gt;
The sinogram is a different representation of the projection data.  The sinogram represents the attenuation values of one row of the detector at each rotational increment around the sample.&lt;br /&gt;
&lt;br /&gt;
[[File:Sinogram.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Attenuation Projection===&lt;br /&gt;
Accounting for the inhomogeneities of the detector and beam, we can calculate the x-ray attenuation caused by the sample.  Bright regions correspond with higher attenuation.&lt;br /&gt;
&lt;br /&gt;
[[File:Attenuation_projection.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
===Reconstructed Image===&lt;br /&gt;
From the attenuation projections, the original structure can be calculate using filtered back projection.&lt;br /&gt;
&lt;br /&gt;
*[https://youtu.be/DBLYSETYbe8 CT Back-projection Reconstruction]&lt;br /&gt;
*[https://youtu.be/NWeM35_KR2w CT Reconstruction of a Head]&lt;br /&gt;
&lt;br /&gt;
[[File:Reconstruction_xy_yz_planes.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Data==&lt;br /&gt;
===Image Data Type===&lt;br /&gt;
====Binary Images====&lt;br /&gt;
Binary images are images whose pixels contain only two possible intensity values (off-on, or black-white B&amp;amp;W). The off or black value is usually 0 and the on or white value is usually 1 (1-bit pixel) or 255 (8-bit pixel). This type of image is commonly used as a multiplier to mask regions within another image.&lt;br /&gt;
&lt;br /&gt;
====Grayscale Images====&lt;br /&gt;
Grayscale images represent intensities. Pixels range from least intense (black) to most intense (white). Pixel values usually range from 0 to 255 or are scaled to this range when displayed.&lt;br /&gt;
&lt;br /&gt;
====Indexed Images====&lt;br /&gt;
An indexed image uses direct mapping of pixel values to colormap values. Instead of intensities, a pixel value within an indexed image relates to a color value within a color lookup table. An indexed image consists of a data matrix and a colormap matrix. The data matrix can be of class uint8, uint16, or double. The colormap matrix is an m-by-3 array of class double containing floating-point values in the range [0,1]. Each row of map specifies the red, green, and blue components of a single color. Since indexed images reference color tables composed of up to 256 colors, the data values of these images are usually scaled to range from 0 to 255.&lt;br /&gt;
&lt;br /&gt;
====RGB Images====&lt;br /&gt;
Within the three-dimensional array of an RGB image, two of the dimensions specify the location of a pixel within an image. The other dimension specifies the color of each pixel. The color dimension always has a size of 3 and is composed of the red, green, and blue color bands (channels) of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Image Data Pixel Values===&lt;br /&gt;
The image data type is determined by the pixel depth in bits per channel, or bit depth. Bit depth for each channel can be 8, 16, 32 or 64. The data may be signed, unsigned (u), floating-point (f), real or complex (c) for some arithmetic functions, where each channel value is represented by two numbers: real and imaginary part. All channels in an image must have the same data type.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Image Data Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Byte&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Value Range&lt;br /&gt;
! scope=&#039;col&#039;| Comments&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| char&lt;br /&gt;
| 8-bit signed integer&lt;br /&gt;
| 1&lt;br /&gt;
| -128 ~ 127 &lt;br /&gt;
| Scanco SEG.AIM, GOBJ  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uchar&lt;br /&gt;
| 8-bit unsigned integer&lt;br /&gt;
| 1&lt;br /&gt;
| 0 ~ 255&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| int&lt;br /&gt;
| 16-bit signed integer&lt;br /&gt;
| 2&lt;br /&gt;
| −32768 ~ 32767&lt;br /&gt;
| Scanco grey-scaled images, ISQ, AIM &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| uint&lt;br /&gt;
| 16-bit unsigned integer&lt;br /&gt;
| 2&lt;br /&gt;
| 0 ~ 65535&lt;br /&gt;
| Converted format of Scanco grey-scaled images&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long&lt;br /&gt;
| 32-bit signed integer&lt;br /&gt;
| 4&lt;br /&gt;
| −2^31 ~ 2^31 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong&lt;br /&gt;
| 32-bit unsigned integer&lt;br /&gt;
| 4&lt;br /&gt;
| 0 ~ 2^32 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| float&lt;br /&gt;
| floating point&lt;br /&gt;
| 4&lt;br /&gt;
| ±3.40282347 E+38&lt;br /&gt;
| 32-bit single-precision with 6~7 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| long64&lt;br /&gt;
| 64-bit signed integer&lt;br /&gt;
| 8&lt;br /&gt;
| −2^63 ~ 2^63 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ulong64&lt;br /&gt;
| 64-bit unsigned integer&lt;br /&gt;
| 8&lt;br /&gt;
| 0 ~ 2^64 - 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| double&lt;br /&gt;
| double precision floating point&lt;br /&gt;
| 8&lt;br /&gt;
| ±1.79769313486231570 E+308&lt;br /&gt;
| 64-bit double-precision with 15~16 significant digits&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| complex&lt;br /&gt;
| floating point complex&lt;br /&gt;
| 8&lt;br /&gt;
| same as floating-point&lt;br /&gt;
| same as floating-point&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| dcomplex&lt;br /&gt;
| double precision complex&lt;br /&gt;
| 16&lt;br /&gt;
| same as double-precision&lt;br /&gt;
| same as double-precision&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scanco Image File Types===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Extension &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;, style=&amp;quot;width: 65%&amp;quot;| Description &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Creation &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Opens with &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSQ &lt;br /&gt;
| &#039;&#039;&#039;R&#039;&#039;&#039;aw &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the raw data collected after the scan. This file contains the bright and dark field corrections and the raw projections. || created with scan || $ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| ISQ &lt;br /&gt;
| &#039;&#039;&#039;I&#039;&#039;&#039;mage &#039;&#039;&#039;S&#039;&#039;&#039;e&#039;&#039;&#039;Q&#039;&#039;&#039;uence data. This is the reconstructed 3D image, which you see in the µCT Evaluation Program. || created from RSQ &lt;br /&gt;
| $ uct_evaluation &lt;br /&gt;
$ x &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| AIM &lt;br /&gt;
| &#039;&#039;&#039;A&#039;&#039;&#039;ny &#039;&#039;&#039;IM&#039;&#039;&#039;age data. This is a binary raw data format (16-bit signed data, little endian) 3D discretized data you see using the µCT Ray Program and used for the analysis. The AIM file is a volume of interest isolated from the ISQ file.  || extracted from ISQ &lt;br /&gt;
|$ uct_3d&lt;br /&gt;
$ uct_evaluation &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| GOBJ &lt;br /&gt;
| &#039;&#039;&#039;G&#039;&#039;&#039;raphical &#039;&#039;&#039;OBJ&#039;&#039;&#039;ect data. These are the green contours in the µCT Evaluation Program, which are used to isolate regions of interest from an AIM file for analysis. || extracted from ISQ/AIM || $ uct_evaluation   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| SCV&lt;br /&gt;
| &#039;&#039;&#039;SC&#039;&#039;&#039;out &#039;&#039;&#039;V&#039;&#039;&#039;iew || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RAD&lt;br /&gt;
| Scout View || created with scan || $ x   &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RSW &lt;br /&gt;
| raw data (RSQ) || created with scan || $ x  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| IMA &lt;br /&gt;
| image data (AIM, ISQ, GOBJ)|| created from RSQ || $ uct_evaluation &lt;br /&gt;
|}&lt;br /&gt;
*Refer to [[Media:Aimpack_documentation.pdf|&#039;&#039;&#039;Scanco Aim Format&#039;&#039;&#039; ]] or its [[Media:Scanco_Aim_File_Format.doc|&#039;&#039;&#039;Doc Format&#039;&#039;&#039;]] for its header info.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scanco Medical Micro-CT Software==&lt;br /&gt;
In the bottom left hand corner of the micro-CT workstation desktop is the micro-CT control panel, from which the micro-CT programs can be launched. The standard operating procedure for scanning a samples involves proceeding through the programs in the control panel from left to right: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UCT_SAMPLE         !Samples:      Registering a sample&lt;br /&gt;
$ UCT_MEASUREMENT    !Tomography:   Scanning&lt;br /&gt;
$ UCT_EVALUATION     !Evaluation:   Evaluating the scan&lt;br /&gt;
$ UCT_3D             !Ray:          Viewing the 3D scan&lt;br /&gt;
$ UCT_BACKUP         !Disk-Utility: Archiving the data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You must specify an operator in the control panel to use the scanning and evaluation programs.&lt;br /&gt;
* XtremeCT&lt;br /&gt;
[[File:XCTcontrol_panel.img_assist_custom-302x100.jpg|300px]]&lt;br /&gt;
* MicroCT35, VivaCT40 and VivaCT80&lt;br /&gt;
[[File:Uct35_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT40_control_panel.jpg|300px]]&lt;br /&gt;
[[File:VivaCT80_control_panel.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Samples===&lt;br /&gt;
The µCT-Samples program is used to register new samples to be scanned and update sample names (e.g., to correct a sample name). To start the program type &amp;lt;code&amp;gt;$ uct_sample&amp;lt;/code&amp;gt; in a DEC terminal, or use the sample button.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_samples.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_sample_vivact40.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Prepare Sample Names&#039;&#039;&#039; according to [[Scanco_User_Instructions#Sample_Name_Convention|&#039;&#039;&#039;Sample Name Convention&#039;&#039;&#039;]]&lt;br /&gt;
#&#039;&#039;&#039;Register Sample Names&#039;&#039;&#039;&lt;br /&gt;
#*Create a new sample by clicking “New” and typing in your sample name where it says “Name.” “Save” the sample.&lt;br /&gt;
#*You are now given a sample number. Record the sample number on the log sheet.&lt;br /&gt;
#:[[File:Uct_sample_pic01.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Create Additional Sample Names Using Copy and Paste&#039;&#039;&#039;&lt;br /&gt;
#*If you have many samples to register, you can copy and paste part of the sample name you just created. Highlight the part of the sample name you want to copy by holding down the left mouse button while dragging the mouse, then release the mouse button.&lt;br /&gt;
#:[[File:Uct_sample_pic02.jpg|500px]]&lt;br /&gt;
#*Paste the highlighted text into a DEC terminal by pressing the middle mouse button.  Now highlight the text in the DEC term.&lt;br /&gt;
#:[[File:Uct_sample_pic03.jpg|300px]]&lt;br /&gt;
#*Go back to the µCT-sample window, click &amp;quot;New&amp;quot;, and paste the information next to &amp;quot;Name&amp;quot; using the middle mouse button. Update the name as required and &amp;quot;Save.&amp;quot;&lt;br /&gt;
#&#039;&#039;&#039;Add Additional Sample Details&#039;&#039;&#039;&lt;br /&gt;
#*When a patient comes in for their first scan, you need to update their sample with their date of birth, sex, and hand/foot dominance.  &lt;br /&gt;
#*Use the &amp;quot;Find...&amp;quot; button to search for a sample that has already been registered.  You can search by sample number or by project name (e.g., CAMOS).&lt;br /&gt;
#*Date of birth:   DD/MMM/YYYY. Example:  14/JAN/1951&lt;br /&gt;
#*Remarks:  include the sex and hand/foot dominance. Example:  F-RHRF for female that is right hand dominant and right foot dominant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Tomography===&lt;br /&gt;
The µCT-Tomography program is used to perform a scan. To start the program type &amp;lt;code&amp;gt;$ uct_measurement&amp;lt;/code&amp;gt; in a DEC terminal on the scanner computer (remote access does not allow this functionality), or use the scanner button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Xtremect_button_scan.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_uct35.jpg|40px]]&lt;br /&gt;
[[File:Uct_measurement_vivact40.jpg|40px]]&lt;br /&gt;
[[File:VivaCT80_scan.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_tomography_pic00.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select Sample&#039;&#039;&#039;&lt;br /&gt;
#*When the µCT-Tomography program is first started, you will be prompted to enter the sample name or number of the specimen you are about to scan. &lt;br /&gt;
#*If you have not registered your sample, press &amp;quot;Cancel&amp;quot; to close the select sample box, then press &amp;quot;New...&amp;quot; in the measurement sample box to register a new sample (see [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT-Samples&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once you have entered your sample information, the measurement sample box will show details for that sample, including the sample name and scan (measurement) history.&lt;br /&gt;
#:[[File:Uct_tomography_pic01.jpg|400px]]&lt;br /&gt;
#*After your first scan you will need to press the &amp;quot;Other...&amp;quot; button to open the sample selection box and find your next sample. &lt;br /&gt;
#&#039;&#039;&#039;Select a Controlfile&#039;&#039;&#039;&lt;br /&gt;
#*The controlfile contains scan parameters such as the x-ray energy, current, and more (see [[Scanco_User_Instructions#Scan_Parameters_.28Controlfiles.29 controlfiles |&#039;&#039;&#039;Controlfiles&#039;&#039;&#039;]]). &lt;br /&gt;
#*Once the controlfile is setup, you need only to select it. If there are many controlfiles, you may want to search for yours using the file filter by entering part of the name or number in the white box and pressing enter; if you do this, you still must click on the controlfile so that it is highlighted in black as shown below.&lt;br /&gt;
#:[[File:Uct_tomography_pic02.jpg|400px]]&lt;br /&gt;
#&#039;&#039;&#039;Precalibrate&#039;&#039;&#039; &lt;br /&gt;
#*Calibrations are done before loading your patient/animal and scanning for quality control and to reduce the time the patient/animal is under preparation/anaesthesia. Start the calibration by pressing the  &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic03.jpg|400px]]&lt;br /&gt;
#*Press &amp;quot;Start Calibration&amp;quot;. The calibration will start with an &amp;quot;X-Ray Warmup&amp;quot;, followed by &amp;quot;Measuring Dark&amp;quot; and &amp;quot;Measuring I0&amp;quot; and usually takes about 2-3 minutes to complete.&lt;br /&gt;
#:[[File:Precalibrate.jpg|300px]]&lt;br /&gt;
#*The precalibration is good for 15~20 min.  The time remaining is shown on the &amp;quot;Precalibrate&amp;quot; button.&lt;br /&gt;
#:[[File:Uct_tomography_pic5.jpg|400px]]&lt;br /&gt;
#*The precalibrate option cannot be used with batch measurements, and it&#039;s not available for MicroCT35 which is not intended for invivo/live scan.&lt;br /&gt;
#&#039;&#039;&#039;Load and Position the Patient/Sample&#039;&#039;&#039;&lt;br /&gt;
#*Instruct the patient to remove any jewelry in the scan areas (wrist/ankle/knee/elbow ect). With the patient seated, put the wrist/ankle/knee/elbow into the appropriate cast. Different pads with different sizes can be used to fit the patient.&lt;br /&gt;
#*For invivo/invitro samples, prepare your sample in terms of orientation, immobilization, hydration ect.&lt;br /&gt;
#*After the precalibration is complete, you can now open the bore cover and insert the patient&#039;s wrist/ankle/knee/elbow or sample into the scanner. Gently move the wrist/ankle/knee/elbow or sample into the scanner until you can snap in the cast at the gantry. Check that the cast is positioned correctly and the patient/sample is comfortable. &lt;br /&gt;
#*Close the bore cover.&lt;br /&gt;
#&#039;&#039;&#039;Scout-View&#039;&#039;&#039;&lt;br /&gt;
#*A scout-view is similar to a 2D x-ray image and allows the user to set where to start and stop the scan. &lt;br /&gt;
#*After loading your sample, press the &amp;quot;Scout-View...&amp;quot; button to bring up the scout-view window. &lt;br /&gt;
#*The start position (top of the scanner) and end position (bottom of the scanner) can be modified to zoom in on the region of interest. &lt;br /&gt;
#*The angle of the scout view can also be changed to see the object in a different orientation. &lt;br /&gt;
#*Once pressed the &amp;quot;Scout-View&amp;quot; button but the scout view is found not in an appropriate position, press &amp;quot;Cancel&amp;quot;, modify the start position, end position, or angle and press &amp;quot;Scout-View&amp;quot; again. &lt;br /&gt;
#:[[File:Scout_view_window.jpg|400px]]&lt;br /&gt;
#*Scout view image is displayed in the top right hand corner of the program and will start by showing the right half of the image, followed by the left half of the image.&lt;br /&gt;
#&#039;&#039;&#039;Set Reference Line and Launch a Scan&#039;&#039;&#039;&lt;br /&gt;
#*A reference line (solid green line) is placed to set the scan region (green block). &lt;br /&gt;
#*Press the &amp;quot;Reference-Line&amp;quot; button to show the reference line and default scan region over the scout view. &lt;br /&gt;
#*To change the number of slices to scan, move the reference line to the top of the scan region, then hold down the shift button while dragging the mouse to extend the scan region and press the left mouse button to set the reference line. &lt;br /&gt;
#*To centre the scan region between two reference lines, move the reference line to the top of the scan region, then hold down the alt key while dragging the mouse until the second green reference line is in place, then press the left mouse button to set while still holding down the alt key!&lt;br /&gt;
#:[[File:Uct_tomography_pic06.jpg|700px]]&lt;br /&gt;
#*For a single scan, select &amp;quot;OK&amp;quot;, &amp;quot;Scan&amp;quot; and &amp;quot;Start Measurement&amp;quot;. Record measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].&lt;br /&gt;
#*For a batch scan which is only available on microCTs, select &amp;quot;Batch Measurement&amp;quot; and record the measurement number on your [[Scanco_User_Instructions#Log_Sheets |&#039;&#039;&#039;log sheet&#039;&#039;&#039;]]. You may now setup a new scan (select new sample and controlfile, perform scout, etc). When you have finished setting up all scans, press &amp;quot;Start Batch Scans.&amp;quot;  (See [[Scanco_User_Instructions&amp;amp;action=edit&amp;amp;section=48#Perform_Batch_Scans|&#039;&#039;&#039;Perform Batch Scans&#039;&#039;&#039;]] for detailed instructions)&lt;br /&gt;
#&#039;&#039;&#039;Cancel or Reposition a Scan&#039;&#039;&#039;&lt;br /&gt;
#*If you need to interrupt a scan, press the cancel button and restart the scan or if you do not want to rescan then &amp;quot;unload&amp;quot; the scanner.  &lt;br /&gt;
#*If you have not started a scan and need to reposition the patient, you also must &amp;quot;unload&amp;quot; the scanner.&lt;br /&gt;
#&#039;&#039;&#039;Remove Patient/Sample from Scanner&#039;&#039;&#039;&lt;br /&gt;
#*After the scanning is complete, open the bore cover and slide the patient&#039;s wrist/ankle/knee/elbow or sample out of the scanner. Release the cast by pushing down the cast release handle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Evaluation Program===&lt;br /&gt;
The µCT Evaluation Program is used to evaluate a scan. To start the program type &amp;lt;code&amp;gt;$ uct_evaluation&amp;lt;/code&amp;gt; in a DEC terminal, or use the graph button. If you use the button, you must specify an operator prior to using the program.&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_evaluation_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Find Your Sample&#039;&#039;&#039;&lt;br /&gt;
#:Enter the first part of your sample name in the file filter box and press enter.  The samples are shown in the left hand box.  The measurement box on the right shows scans for the selected sample (highlighted in black).  Select a measurement and press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic02.jpg|500px]]&lt;br /&gt;
#&#039;&#039;&#039;Draw Contours (If Applicable)&#039;&#039;&#039;&lt;br /&gt;
#*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
#*Contours must always be drawn COUNTER-CLOCKWISE!!!   &lt;br /&gt;
#*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring tools reference sheet&#039;&#039;&#039;]]&lt;br /&gt;
#*For this sample, we are only interested in viewing the object in 3D and drew contours to isolate the bone and soft tissue from the sample tube.&lt;br /&gt;
#:[[File:Uct evaluation pic03.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Evaluate&#039;&#039;&#039;&lt;br /&gt;
#*Scanco Medical provides several standard evaluation scripts. Open the 3D-Evaluation menu either using the &amp;quot;T...&amp;quot; button or from the top menu by going to &amp;quot;Tasks&amp;quot; and &amp;quot;Evaluation 3D...&amp;quot;.  If you set a default evaluation script in your scanning controlfile, it will be listed under &amp;quot;Task/Evaluation.&amp;quot;&lt;br /&gt;
#:[[File:Uct_evaluation_pic04.jpg|400px]]&lt;br /&gt;
#*If you want to run a different evaluation press &amp;quot;Select...&amp;quot;, highlight the evaluation script of interest, and press &amp;quot;OK&amp;quot;.&lt;br /&gt;
#:[[File:Uct_evaluation_pic05.jpg|400px]]&lt;br /&gt;
#*When the 3D-Evaluation window is activated, a white box will appear on your reconstructed image.  The white box is the region of interest that will be &amp;quot;cut out&amp;quot; of the full scan.  If you have drawn contours, the white box will automatically be adjusted to fit the contours.  Adjust the box if necessary by grabbing one of the white handles; use the left mouse button to move the box and the right mouse button to resize.  The box can also be resized using the &amp;quot;VOI Start&amp;quot; and &amp;quot;Dimensions&amp;quot; in the 3D-Evaluation window.&lt;br /&gt;
#*For most evaluation scripts, you will be required to specify parameters for a Gaussian filter, to reduce noise, and a threshold, to isolate your object (e.g., bone) from the background. Check that the parameters used provide a good representation of your scanned sample by flipping back and forth between the segmented and grayscale image using the &amp;quot;Preview&amp;quot; and &amp;quot;Grayscale&amp;quot; buttons.&lt;br /&gt;
#:[[File:Uct_evaluation_pic06.jpg|400px]]&lt;br /&gt;
#*When you are satisfied with the segmentation parameters, press &amp;quot;Start Evaluation&amp;quot;, which will submit the job to the queue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===µCT Ray===&lt;br /&gt;
The µCT Ray program is used to view scanned objects in 3D, create images, and create image sequences for animations.  To start the program type &amp;lt;code&amp;gt;$ uct_3d&amp;lt;/code&amp;gt; in a DEC terminal, or use the 3D object button. &lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d.jpg|40px]]&lt;br /&gt;
&lt;br /&gt;
[[File:Uct_3d_pic01.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Select and Render Your Sample&#039;&#039;&#039;&lt;br /&gt;
#*&#039;&#039;&#039;Select:&#039;&#039;&#039; If you have used the default Scanco Medical scripts, then &lt;br /&gt;
#:*If your data is on the &amp;quot;data disk&amp;quot; and you can search for your files using the file filter to select a sample and measurement then press &amp;quot;OK&amp;quot;.   To open a new file, File --&amp;gt; Open.  &lt;br /&gt;
#:*If your data is not in the standard location (e.g., it was copied to the projects disk), then use File --&amp;gt; Read and navigate to find the file to open.&lt;br /&gt;
#:*Alternatively you can start the program with a file to open  &amp;lt;code&amp;gt;$ uct_3d myfile_seg.aim&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&#039;&#039;&#039;Rendering:&#039;&#039;&#039; &lt;br /&gt;
#:*Use a single click of the left mouse button to start or to stop rendering the sample.  &lt;br /&gt;
#:*You can also use the &amp;quot;Start&amp;quot; and &amp;quot;Stop&amp;quot; buttons at the bottom of the options on the left.  &lt;br /&gt;
#:*You must stop rendering to change viewing options on the left.&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_View&amp;quot;&amp;gt;&#039;&#039;&#039;Change View:&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#:*To adjust the view, move the &amp;quot;Rotation&amp;quot; and &amp;quot;Elevation&amp;quot; slider bars in the options on the left. &lt;br /&gt;
#:*The slider bar is located above its label.&lt;br /&gt;
#:[[File:Uct_3d_pic02.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Change_the_Colours&amp;quot;&amp;gt;&#039;&#039;&#039;Change Colours&#039;&#039;&#039; &amp;lt;/span&amp;gt; (Object and Background): &lt;br /&gt;
#:*From the top menu choose &amp;quot;Options&amp;quot; then &amp;quot;Object/Display Properties...&amp;quot;.  &lt;br /&gt;
#:*A segmented image typically only has two values, 0 (black, background) and 127 (white, object).  To change the colour of the object only, we need to set the value 127 to a specific colour.  &lt;br /&gt;
#:*In this example, the slider bar value &amp;quot;1&amp;quot; corresponds with the value 127 and we will set both slider bars to &amp;quot;1&amp;quot; so that we are adjusting values &amp;quot;127 ... 127&amp;quot;, in other words, only value &amp;quot;127&amp;quot;.&lt;br /&gt;
#:*Under &amp;quot;Surface&amp;quot; click on the &amp;quot;white box&amp;quot; to open the &amp;quot;Color Mixing&amp;quot; window.  &lt;br /&gt;
#:*Choose the new colour for the object (e.g., orange) and press &amp;quot;OK.&amp;quot;  &lt;br /&gt;
#:*Close the &amp;quot;Object Properties&amp;quot; window or move it to the side. &lt;br /&gt;
#:*Now re-render the object with a single click of the left mouse button.&lt;br /&gt;
#:[[File:Uct_3d_pic03.jpg|300px]] [[File:Uct_3d_pic04.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*&amp;lt;span id=&amp;quot;Cutplane_and_Subdim&amp;quot;&amp;gt;&#039;&#039;&#039;Cutplane (left options) and Subdim (top menu):&#039;&#039;&#039; &amp;lt;/span&amp;gt;&lt;br /&gt;
#:*The cutplane and subdim functions allow you to show a cross-section of your object.  &lt;br /&gt;
#:*The subdim function tends to work better than the cutplane but is limited to axes of the scan.&lt;br /&gt;
#:[[File:Uct_3d_pic05.jpg|600px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_the_Image&amp;quot;&amp;gt;&#039;&#039;&#039;Print an Image to File&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*An image must be fully rendered in order to be saved.  &lt;br /&gt;
#*From the top menu choose &amp;quot;File&amp;quot; then &amp;quot;Print&amp;quot;.  Set the print format to &amp;quot;TIFF&amp;quot; and the directory to &amp;quot;Scratch/Temp&amp;quot; (or another location using the &amp;quot;Specify in Filename&amp;quot; option).  &lt;br /&gt;
#*Change the filename to something meaningful then press &amp;quot;OK.&amp;quot;&lt;br /&gt;
#:[[File:Uct_3d_pic06.jpg|300px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;span id=&amp;quot;Save_for_Animation&amp;quot;&amp;gt;&#039;&#039;&#039;Auto-Print Images for an Animation&#039;&#039;&#039;&amp;lt;/span&amp;gt; &lt;br /&gt;
#*Creating an animation involves saving a sequence of rendered images, which can then be compiled into an animated GIF or other video format using various software packages (e.g., Photoshop, Quicktime Pro).  &lt;br /&gt;
#*From the top menu choose &amp;quot;Options&amp;quot; and &amp;quot;Animation...&amp;quot; to open the Animation Settings window.  Set the viewing parameters for the start of the animation, fully render the image, then press the &amp;quot;Get Settings A&amp;quot; button.  &lt;br /&gt;
#*Set the parameters for the end of the animation, fully render the image, then press the &amp;quot;Get Settings B&amp;quot; button.  &lt;br /&gt;
#*Set the number of frames you want, the higher the number frames, the smoother the animation will be, but also the larger the file size.&lt;br /&gt;
#*Now setup the auto-print feature.  From the top menu choose &amp;quot;File&amp;quot;, then &amp;quot;Print&amp;quot;.  Choose &amp;quot;TIFF&amp;quot; for the print format, and the &amp;quot;Scratch/Temp&amp;quot; for the directory (or use the &amp;quot;Specify in Filename&amp;quot;).  Specify a filename prefix, to which numbers will be appended for the image sequence.  &lt;br /&gt;
#*Activate the &amp;quot;Auto-Print&amp;quot; feature.  Press &amp;quot;OK&amp;quot; then press the &amp;quot;Start Calculation&amp;quot; button on the Animation Settings window.  &lt;br /&gt;
#*Do not interrupt the program while the frames are being rendered and saved.  When the program is done rendering all the frames, transfer them to your computer to compile into an animation.&lt;br /&gt;
#:[[File:Uct_3d_pic07.jpg|200px]] [[File:Uct_3d_pic08.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===XImage===&lt;br /&gt;
The XImage program is used to view the raw data (RSQ file) and scout view.  To start the program type &amp;lt;code&amp;gt;$ run um:ximage&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;$ x &amp;lt;/code&amp;gt;in a DEC terminal. &lt;br /&gt;
&lt;br /&gt;
When loading an RSQ, the default view (XY plane) is of the sinogram.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_1.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the attenuations, choose the XZ plane.  The first slice in this orientation is the dark field, the second slice is the bright field , and slices three and onward are the raw projections (attenuations).&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_2.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
To view the corrected projections, from the Evaluations menu, choose Projection Mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Ximage_3.jpg|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Scanning=&lt;br /&gt;
==Sample Name Convention==&lt;br /&gt;
*At the Bone Imaging Laboratory, all sample naming must conform to the following format&lt;br /&gt;
:&#039;&#039;&#039;PROJECT IDENTIFIER _ SAMPLE DETAILS&#039;&#039;&#039;&lt;br /&gt;
*In CAPITAL LETTERS (filenames are case sensitive, so this makes it easy to remember how you input your sample name)&lt;br /&gt;
*No special characters (spaces, /, %, etc.) as further evaluations will not work if spaces are present.&lt;br /&gt;
:Examples: CAMOS_771, TESTS_0001, TESTS_0002, TESTS_0003&lt;br /&gt;
&lt;br /&gt;
==Register Samples for Scanning==&lt;br /&gt;
*Although samples can be registered immediately prior to a scan, it is much more efficient to register all your samples beforehand.&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Samples|&#039;&#039;&#039;µCT Samples&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
==Log Sheets==&lt;br /&gt;
*Log sheets are used to record important information about scans that are performed, such as sample and measurement numbers ect.  &lt;br /&gt;
*Log sheets are to remain in the lab.  If you would like a copy of your log sheets, please make a photocopy or print two copies to record the scan information.&lt;br /&gt;
*Use the PDF file to print blank log sheets. Use the Excel file to make your own custom log sheet.&lt;br /&gt;
&lt;br /&gt;
#Bone Lab for General Patients&lt;br /&gt;
#*[[Media:XCT_II_Log_(Studies).pdf|&#039;&#039;&#039;XCT II Log Sheet for Studies&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:XCT_II_Log_(Miscellaneous).pdf|&#039;&#039;&#039;XCT II Log Sheet for Miscellaneous&#039;&#039;&#039;]]&lt;br /&gt;
#MicroCT Lab for General Non-Patients&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.pdf|&#039;&#039;&#039;MicroCT Log Sheet for Studies (PDF)&#039;&#039;&#039;]]&lt;br /&gt;
#*[[Media:UCT_log_sheet_general.xlsx|&#039;&#039;&#039;MicroCT Log Sheet for Studies (Excel)&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Patient Casts and Sample Holders==&lt;br /&gt;
===Patient Casts for XtremeCTs===&lt;br /&gt;
&lt;br /&gt;
===Sample Holders and Scan SOP for microCTs===&lt;br /&gt;
====Ex Vivo Sample Holders====&lt;br /&gt;
*Ex vivo and inanimate samples are scanned in sample holder tubes. These tubes come in a variety of diameters. It is extremely important that the tube diameter corresponds to, or is smaller than, the field of view (FOV) set in your scanning control file. &lt;br /&gt;
&lt;br /&gt;
*Biological tissues should be hydrated and wrapped in plastic wrap to prevent drying of the sample. Your sample should then be secured in the sample holder using foam to prevent it from shifting around during scanning, which would lead to poor image quality. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Chemical Resistivity of Sample Holders=====&lt;br /&gt;
*White tube sample holders are made of PMMA (poly-methyl-methacrylate). &lt;br /&gt;
*Yellow tube samples holders are made of PEI (poly-ether-imide). &lt;br /&gt;
*Use the yellow tubes if you will need to disinfect the sample holder after scanning.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Thermal and chemical compatibility of sample holders&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Properties&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| White Tubes (PMMA)&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Yellow Tubes (PEI)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Max. Temperature&lt;br /&gt;
| +85°C&lt;br /&gt;
| +170°C&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sterilization Steam Autoclave&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant (138°C for 20 Min. at 1 bar)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Water&lt;br /&gt;
|resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Acids&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Inorganic Bases&lt;br /&gt;
|non resistant&lt;br /&gt;
|limited resistance&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Aldehydes (Formaldehyde)&lt;br /&gt;
|limited resistance only in diluted form&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Alcohols&lt;br /&gt;
|limited resistance&lt;br /&gt;
|resistant &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Bleach&lt;br /&gt;
|non resistant&lt;br /&gt;
|resistant &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Mounting of Sample Holders=====&lt;br /&gt;
[[File:Uct35_holder.jpg|thumb|right|100px|µCT35 setup]]&lt;br /&gt;
*The spindle (metal bit) of the sample holder has a slot, which must be aligned in the scanner or adapter plate.  &lt;br /&gt;
*The sample holder sits vertically in the µCT35 while horizontally in the VivaCT80 and VivaCT40. &lt;br /&gt;
*For the vivaCT40, attach the adapter plate for the tube sample holders to one of the animal bed. The tube sample holders are held horizontally in the vivaCT 40.&lt;br /&gt;
:[[File:Vivact40_holder.jpg|thumb|none|700px|VivaCT40 setup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====Ex vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.pdf|&#039;&#039;&#039;Ex Vivo Rodent Scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:Ex_vivo_scan_sop.docx|&#039;&#039;&#039;Ex Vivo Rodent Scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====In Vivo Sample Fixtures and Anesthetic System====&lt;br /&gt;
*[[Media:VivaCT40_Anaesthetic_System.pdf |&#039;&#039;&#039;Anaesthetic System&#039;&#039;&#039;]] : You must receive training to use the anaesthetic system.&lt;br /&gt;
*[[Media:VivaCT40_Mouse_and_Rat_Tibia_Fixture.pdf |&#039;&#039;&#039;Mouse/Rat Tibia Fixture&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:VivaCT40_Mouse_Lower_Body_Fixture.pdf|&#039;&#039;&#039;Mouse Lower Body Fixture&#039;&#039;&#039;]]&lt;br /&gt;
*[[Media:VivaCT40_Mouse_Whole_Body_Tube.pdf|&#039;&#039;&#039;Mouse Whole Body Tube&#039;&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=====In vivo rodent scanning SOP=====&lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.pdf|&#039;&#039;&#039;In vivo rodent scanning&#039;&#039;&#039;]] for its scan SOP. &lt;br /&gt;
*Refer to [[Media:In_vivo_scan_sop.docx|&#039;&#039;&#039;In vivo rodent scanning in docx&#039;&#039;&#039;]] for its Word version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Align whole body device in FOV====&lt;br /&gt;
&lt;br /&gt;
It&#039;s important to have your whole sample in the field of view for accurate density measurements.  &lt;br /&gt;
* Refer to [[Media:wholebody.pdf |&#039;&#039;&#039;Align the device&#039;&#039;&#039;]] for detailed instructions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Scan Parameters (Controlfiles)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot;|  Manufacturer&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot;|[http://www.scanco.ch &#039;&#039;&#039;Scanco Medical AG&#039;&#039;&#039;]&lt;br /&gt;
| [https://www.zeiss.com/microscopy/int/products/x-ray-microscopy.html &#039;&#039;&#039;Carl Zeiss X-ray Microscopy&#039;&#039;&#039;]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; rowspan=&amp;quot;2&amp;quot;| Model&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II || XtremeCT I || VivaCT80 || VivaCT40 || µCT35 || Xradia 520 Versa&lt;br /&gt;
|-&lt;br /&gt;
|[[File:XtremeCT.jpg|150px]] &lt;br /&gt;
|[[File:XtremeCT.jpg|150px]]&lt;br /&gt;
|[[File:VivaCT80.jpg|120px]] &lt;br /&gt;
|[[File:VivaCT40.jpg|135px]] &lt;br /&gt;
|[[File:UCT35.JPG|150px]]&lt;br /&gt;
|[[File:Xradia-520-versa-small.jpg|160px]]&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Application&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Clinical studies for human extremities in vivo &lt;br /&gt;
Horizontal static patient setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| Preclinical in vivo animal studies &lt;br /&gt;
Horizontal static animal setup &lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| High resolution ex vivo specimen scans &lt;br /&gt;
Vertical rotational sample setup &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 || 60 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 45, 55, 70  &lt;br /&gt;
| 30 ~ 160&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 || 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 4, 8&lt;br /&gt;
|4 ~ 10&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Filter&lt;br /&gt;
| Fixed 0.2mm Cu + 1mm Al&lt;br /&gt;
(Equivalent 6.7mm Al)&lt;br /&gt;
| Fixed 0.1mm Cu + 0.6mm Al &lt;br /&gt;
| Default 0.5mm Al,&lt;br /&gt;
Air, 0.1mm Al, 0. mm Cu&lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Fixed 0.5mm Al &lt;br /&gt;
| Air, LE1~LE6, HE1~HE6, &lt;br /&gt;
customizable filter&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV (⌀ * L) (mm^2)&lt;br /&gt;
| 140 ⌀ * 200 L&lt;br /&gt;
| 126 ⌀ * 150 L&lt;br /&gt;
| 31.9 ~ 80 ⌀ * 145 L&lt;br /&gt;
| 21.5 ~ 38.9 ⌀ * 148 L&lt;br /&gt;
| 7.2 ~ 38 ⌀ * 140 L &lt;br /&gt;
(75 L standard)&lt;br /&gt;
| 90 ⌀ * 100 L&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Image Matrix&lt;br /&gt;
| 4608*4608 ~ 512*512&lt;br /&gt;
| 3072*3072 ~ 512*512&lt;br /&gt;
| 4096*4096 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
| 2048*2048 ~ 512*512&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
| Standard 60.7&lt;br /&gt;
(30.3 ~ 273.4)&lt;br /&gt;
| Standard 82.0 &lt;br /&gt;
(41.0 ~ 246.0)&lt;br /&gt;
| 5 ~ 156&lt;br /&gt;
| 10.5 ~ 76&lt;br /&gt;
| 3.5 ~ 74&lt;br /&gt;
| 0.7 ~ 50 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Sample Image&lt;br /&gt;
|[[File:XCT2_human_distal_femur.png|160px]] &lt;br /&gt;
human distal femur&lt;br /&gt;
|[[File:XCT1_human_distal_tibia.JPG|160px]] &lt;br /&gt;
human distal tibia&lt;br /&gt;
|[[File:VivaCT80_Rat_distal_femur.JPG|160px]] &lt;br /&gt;
rat distal femur&lt;br /&gt;
|[[File:Vivact40_in-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Uct35_ex-vivo_dist_femur.jpg|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|[[File:Xradia_mouse_distal_femur.png|160px]]&lt;br /&gt;
mouse distal femur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Controlfiles are used to specify the parameters for the scans. Once your controlfile is setup, you should not modify it over the course of your project. &lt;br /&gt;
&lt;br /&gt;
[[File:XCT2 ControlFile.JPG|right|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Control File Name&#039;&#039;&#039;: Specify a meaningful name so that others can reuse yours.&lt;br /&gt;
&lt;br /&gt;
===General Settings===&lt;br /&gt;
*&#039;&#039;&#039;Holder Type&#039;&#039;&#039;: Choose the used holder type for XtremeCT II from Standard Casts, Knee Cast and Elbow Cast. No option for XtremeCT I scanner. For microCTs, Choose the used sample holder type with the correct diameter. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mode of operation&#039;&#039;&#039;: Default is continuous operation for all scanners. Gated operation mode is available for VivaCT80 and VivaCT40 scanners.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Evaluation Script&#039;&#039;&#039;: This sets the default evaluation script used for the analysis. You can manually select a different script from the evaluation program.&lt;br /&gt;
&lt;br /&gt;
===X-ray Settings===&lt;br /&gt;
*&#039;&#039;&#039;Tube Energy (KVp)&#039;&#039;&#039;: Fixed energy for XtremeCTs while having 3 options for each of microCTs: Use the 70 KVp for most samples, use the 55 or 45 KVp for low density objects (e.g., soft tissue) or specimens with a diameter less than 20 mm. Lower energies provide better contrast while higher energies provide better signal to noise (SNR).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Tube Current (µA)&#039;&#039;&#039;: Fixed current for XtremeCTs while having 2 options for each of energy settings of each microCTs: Use the higher current except when the voxel size is set for the best resolution of the scanner. The higher current will yield better SNR but a larger spot size.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT II&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| XtremeCT I&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot;| vivaCT80，vivaCT40， µCT35&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| E (KVp)&lt;br /&gt;
| 68 &lt;br /&gt;
| 60 &lt;br /&gt;
| 70  &lt;br /&gt;
| 55 &lt;br /&gt;
| 45 &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| I (µA)&lt;br /&gt;
| 1470 &lt;br /&gt;
| 900 &lt;br /&gt;
| 114, 57&lt;br /&gt;
| 145, 72 &lt;br /&gt;
| 177, 88  &lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Power (W)&lt;br /&gt;
| 100 &lt;br /&gt;
| 54 &lt;br /&gt;
|colspan=&amp;quot;3&amp;quot;| 8, 4 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter&#039;&#039;&#039;:  Fixed filter settings for all scanners except VivaCT 80 has 4 filter options.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Calibration&#039;&#039;&#039;: This sets the mu scaling factor, density and beam hardening correction used for the reconstruction. For standard patient scans use 200 mg HA/cm3.  For ex vivo bone scans, use 1200 mg HA/cm3, for soft tissue use the plexi scaling, and for non-biological tissues use the aluminum scaling. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Scout-View Settings===&lt;br /&gt;
Normally you will want to enable this and here you can specify the default start and end position, and scout-view angle, which you may override for each scan.&lt;br /&gt;
&lt;br /&gt;
===CT Scan Settings===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Resolution&#039;&#039;&#039;: This setting includes the reconstruction matrix size (2048x2048, 1536x1536, 1024x1024, or 512x512) and the number of projections per 180°. The lower the resolution setting, the better the SNR and larger the voxel size.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV / Diameter&#039;&#039;&#039;: This field of view must fully contain the sample holder for accurate density measurements. Fixed FOV for XtremeCTs while having 5 options for each of microCTs: If you choose a smaller FOV than the sample holder, the scan may be aborted to prevent damage to the scanner. For the best resolution, you should choose the smallest holder that contains your sample.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Voxel Size&#039;&#039;&#039;: The nominal isotropic voxel size is determined by the FOV and the reconstruction matrix.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Slices&#039;&#039;&#039;: You can specify a specific number of slices or image stacks to acquire (1x110 = 1 image stacks of 110 slices). The scan time increases with each image stack, therefore pay attention to the stack boundaries (e.g., 111 slices will take 2x longer to scan than 110 slices).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Rel Position of First Slice&#039;&#039;&#039;: This option enables you to offset the scan region from the reference line. This is useful for scanning a region a specific distance from the growth plate or centering the scan region around the reference line. If you disable the scout view, then the position is relative to the absolute 0 position of the scanner (top of the sample holder for the µCT35 and towards the back of the scanner for the vivaCT40).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Integration Time&#039;&#039;&#039;: The higher the integration time, the better the SNR and longer the scan time. Use 100 ms for patient scans and higher values for ex vivo scans of better image quality.  To get the highest integration time, uncheck the &amp;quot;Continuous ROT&amp;quot; button. For standard microCT measurements, use ~400 ms for the µCT35 and ~200 ms for the vivaCT40. The maximum integration time is scanner-specific and limited to prevent saturation of its detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Average Data&#039;&#039;&#039;: This is often referred to as frame averaging and is used to improve a scan&#039;s SNR. Multiply the average data value by the integration time to calculate the effective integration time. Only use this if the integration time is maxed out.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Measurement Time&#039;&#039;&#039;: This is the estimated scan time without the time performing the scout view or warm-up of the scanner.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;CTDIvol&#039;&#039;&#039;: Computed Tomography Dose Index (CTDI) is a standardized measure of radiation dose output of a CT scanner for scanner settings&#039; comparison purposes only, and it represents the average absorbed dose along the longitudinal axis from a series of contiguous CT exposures. Volumetric CTDI is the ratio of the weighted-CTDI to the level of overlap between slices (pitch). CTDIvol has no consideration of real scan length and does not represent actual dose administered to the patient.&lt;br /&gt;
:[[File:CTDI.JPG|600px]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;DLP&#039;&#039;&#039;: Dose Length Product DLP = CTDIvol *  Scan Length in unit of mGy-cm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====XtremeCT II Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;|   High  &lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 4608&lt;br /&gt;
| 2304&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 3000&lt;br /&gt;
| 900&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 140 mm&lt;br /&gt;
| 30.3&lt;br /&gt;
| 60.7&lt;br /&gt;
| 91.1&lt;br /&gt;
| 136.7&lt;br /&gt;
| 273.4&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 338&lt;br /&gt;
| 168&lt;br /&gt;
| 112&lt;br /&gt;
| 74&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 10.24&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.20&lt;br /&gt;
| 10.12&lt;br /&gt;
| 10.12&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 43 ms Integration Time)&lt;br /&gt;
| 8.1&lt;br /&gt;
| 2.0&lt;br /&gt;
| 2.0&lt;br /&gt;
| 1.4&lt;br /&gt;
| 0.7&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 238&lt;br /&gt;
| 71&lt;br /&gt;
| 59&lt;br /&gt;
| 40&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 37.4&lt;br /&gt;
| 11.2&lt;br /&gt;
| 9.3&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| DLP (mGycm)&lt;br /&gt;
| 38.3&lt;br /&gt;
| 11.4&lt;br /&gt;
| 9.5&lt;br /&gt;
| 6.4&lt;br /&gt;
| 3.2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====XtremeCT I Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 1536&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 750&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 126 mm&lt;br /&gt;
| 41&lt;br /&gt;
| 82&lt;br /&gt;
| 123&lt;br /&gt;
| 246&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 221&lt;br /&gt;
| 110&lt;br /&gt;
| 73&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Stack Thickness (mm)&lt;br /&gt;
| 9.06&lt;br /&gt;
| 9.02&lt;br /&gt;
| 8.98&lt;br /&gt;
| 8.86&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 100 ms Integration Time)&lt;br /&gt;
| 3.7&lt;br /&gt;
| 2.8&lt;br /&gt;
| 1.9&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 114&lt;br /&gt;
| 86&lt;br /&gt;
| 57&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| CTDIvol (mGy)&lt;br /&gt;
| 7.3&lt;br /&gt;
| 5.5&lt;br /&gt;
| 3.6&lt;br /&gt;
| 1.9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====VivaCT80 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Native&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 3072&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1500&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;6&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 31.9 mm&lt;br /&gt;
| 10.4&lt;br /&gt;
| 15.6&lt;br /&gt;
| 31.9&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.9 mm&lt;br /&gt;
| 11.6&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 39.9 mm&lt;br /&gt;
| 13&lt;br /&gt;
| 19.5&lt;br /&gt;
| 39&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 49.8 mm&lt;br /&gt;
| 16.1&lt;br /&gt;
| 24.2&lt;br /&gt;
| 48.5&lt;br /&gt;
| 48.5&lt;br /&gt;
| 97.1&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 63.9 mm&lt;br /&gt;
| 20.8&lt;br /&gt;
| 31.2&lt;br /&gt;
| 62.4&lt;br /&gt;
| 62.4&lt;br /&gt;
| 124.8&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 79.9 mm&lt;br /&gt;
| 26&lt;br /&gt;
| 39&lt;br /&gt;
| 78&lt;br /&gt;
| 78&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 333 ~ 328&lt;br /&gt;
| 222 ~ 219&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 111 ~ 109&lt;br /&gt;
| 55 ~ 54&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 14.9&lt;br /&gt;
| 10.0&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 73&lt;br /&gt;
| 48&lt;br /&gt;
| 24&lt;br /&gt;
| 12&lt;br /&gt;
| 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====VivaCT40 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 21.5 mm&lt;br /&gt;
| 10.5&lt;br /&gt;
| 21&lt;br /&gt;
| 21&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 25.6 mm&lt;br /&gt;
| 12.5&lt;br /&gt;
| 25&lt;br /&gt;
| 25&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 35.8 mm&lt;br /&gt;
| 17.5&lt;br /&gt;
| 35&lt;br /&gt;
| 35&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 38.9 mm&lt;br /&gt;
| 19&lt;br /&gt;
| 38&lt;br /&gt;
| 38&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 213&lt;br /&gt;
| 106&lt;br /&gt;
| 106&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 200 ms Integration Time)&lt;br /&gt;
| 9.9&lt;br /&gt;
| 5.0&lt;br /&gt;
| 2.5&lt;br /&gt;
| 1.3&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 61&lt;br /&gt;
| 31&lt;br /&gt;
| 15&lt;br /&gt;
| 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====µCT35 Scan Settings====&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center;&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Resolution Choice&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| High&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Medium&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Standard&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Custom&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Image Matrix&lt;br /&gt;
| 2048&lt;br /&gt;
| 1024&lt;br /&gt;
| 1024&lt;br /&gt;
| 512&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Projection/180°&lt;br /&gt;
| 1000&lt;br /&gt;
| 500&lt;br /&gt;
| 250&lt;br /&gt;
| 125&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=&amp;quot;5&amp;quot;| Voxel Size (µm)&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 7.2 mm&lt;br /&gt;
| 3.5&lt;br /&gt;
| 7&lt;br /&gt;
| 7&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 12.3 mm&lt;br /&gt;
| 6&lt;br /&gt;
| 12&lt;br /&gt;
| 12&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 20.5 mm&lt;br /&gt;
| 10&lt;br /&gt;
| 20&lt;br /&gt;
| 20&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 30.7 mm&lt;br /&gt;
| 15&lt;br /&gt;
| 30&lt;br /&gt;
| 30&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| FOV/Diameter 37.9 mm&lt;br /&gt;
| 18.5&lt;br /&gt;
| 37&lt;br /&gt;
| 37&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Slices/Stack&lt;br /&gt;
| 232 ~ 235&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 116 ~ 117&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time/Stack (min, at 400 ms Integration Time)&lt;br /&gt;
| 23.9&lt;br /&gt;
| 12.3&lt;br /&gt;
| 6.5&lt;br /&gt;
| 3.5&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot;| Time Current Product (mAs)&lt;br /&gt;
| 119&lt;br /&gt;
| 60&lt;br /&gt;
| 30&lt;br /&gt;
| 15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Advanced Settings===&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for Scout-View)&#039;&#039;&#039;: Defines how many lines on the detector shall be used during the Scout-View. Using all available lines provides faster Scout-Views but some faint horizontal lines might be seen between the stacks. Limit the number of lines to a small number to obtain Scout-Views without these artifacts but the time of the Scout-View will increase.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of Det-lines (for CT-scan)&#039;&#039;&#039;: Defines how many lines on the detector should be used. This number influences the number of slices within a stack. Limit the number of detection lines if you see residual cone beam artifacts.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;FOV/Scan Diameter&#039;&#039;&#039;: Chose the diameter of the FOV. This action is cropping the area of the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Software binning&#039;&#039;&#039;: factor of the pixels on the detector.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hardware binning&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Samples&#039;&#039;&#039;: number of (possibly binned) pixels on the detector that are used for each slice (note: this number is given for the whole FOV).&lt;br /&gt;
*&#039;&#039;&#039;Proj/180°&#039;&#039;&#039;: number of projections taken per 180° turn of the sample.&lt;br /&gt;
&lt;br /&gt;
===Reconstruction===&lt;br /&gt;
&lt;br /&gt;
*After each image stack is acquired, it is automatically submitted to the queue (sys$slow) for reconstruction. The reconstruction for each image stack is split into four jobs to make efficient use of processors. &lt;br /&gt;
*The reconstruction time depends on the resolution setting, with low resolution scans reconstructing faster than high resolution scans. Normally scans are reconstructed within a day or two. &lt;br /&gt;
*It is possible to resubmit a scan for reconstruction (refer to [[Scanco_Administration#Reconstruction | &#039;&#039;&#039;Scanco Administration&#039;s Reconstruction&#039;&#039;&#039;]]) for details. This may be necessary or desirable for several reasons:&lt;br /&gt;
#The sample did not reconstruct properly (e.g., due to a power failure)&lt;br /&gt;
#To reconstruct the object at an angle (e.g., so that the anterior surface of a bone is always in the same direction).&lt;br /&gt;
#A new beam hardening correction was applied to the sample&lt;br /&gt;
#The scaling was changed for the sample to change the brightness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Perform a Scan==&lt;br /&gt;
===Perform a Single Scan===&lt;br /&gt;
*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] for instructional details.&lt;br /&gt;
&lt;br /&gt;
===Perform Batch Scans===&lt;br /&gt;
*Batch scan mode is only available on microCT scanners.&lt;br /&gt;
*Batch scans can be setup for different regions of interest (ROI) within a sample or for different samples contained within a sample holder.  &lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Setup the First Scan&#039;&#039;&#039;&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Tomography|&#039;&#039;&#039;µCT Tomography&#039;&#039;&#039;]] to use the &amp;quot;Other...&amp;quot; button to find your sample number, choose a controlfile, perform a scout view (a mouse&#039;s whole body in this example), use the reference line to setup the first scan region (mouse skull in this example).  &lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button.&lt;br /&gt;
#:[[File:Batch_scan_01.preview.jpg|600px]]&lt;br /&gt;
#*An information window is displayed with the scan measurement number.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]] then press &amp;quot;OK&amp;quot; to close the window.  An entry is also added to the measurement history for the sample.&lt;br /&gt;
#:[[File:Batch_scan_02.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Setup the Next Scan&#039;&#039;&#039;&lt;br /&gt;
#*Using the &amp;quot;Other...&amp;quot; button, find your next sample number, choose a new control file (if desired).  &lt;br /&gt;
#*If the next region of interest or sample is not in view of the current scout view, adjust the parameters of the scout view and obtain a new one.  &lt;br /&gt;
#*Use the reference line to set a new scan region (upper limbs in this example).&lt;br /&gt;
#*To add a batch scan press the &amp;quot;Batch Measurement&amp;quot; button. &lt;br /&gt;
#*As the first scan, a measurement number is assigned for this new scan.  Record the measurement number on your [[Scanco_User_Instructions#Log_Sheets|&#039;&#039;&#039;log sheet&#039;&#039;&#039;]].  &lt;br /&gt;
#:[[File:Batch_scan_03.preview.jpg|600px]]&lt;br /&gt;
#*Repeat this process until you have added all your scans.&lt;br /&gt;
#&#039;&#039;&#039;Start the Batch Scans&#039;&#039;&#039;&lt;br /&gt;
#:There are two ways to start a batch scan:  &lt;br /&gt;
##Click the &amp;quot;Start Batch Scans&amp;quot; button: the program will automatically close so that control of the scanner can be allotted to the queue.&lt;br /&gt;
##Exit the scanning program.  &lt;br /&gt;
#:[[File:Batch_scan_04.preview.jpg|600px]]&lt;br /&gt;
#&#039;&#039;&#039;Check the Queue&#039;&#039;&#039;&lt;br /&gt;
#*Batch jobs will be submitted to the SCEVA2_BATCH queue for µCT35 or SC5019_BATCH queue for vivaCT40. &lt;br /&gt;
#*Initially the jobs will show up as temporary (TMP) jobs:&lt;br /&gt;
#:[[File:Batch_scan_05.preview.jpg]]&lt;br /&gt;
#*After about 30 seconds, the sample number will show up in entrie names:&lt;br /&gt;
#:[[File:Batch_scan_06.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Request an Email Notification&#039;&#039;&#039;&lt;br /&gt;
#*There is a script in the commands (com) directory that will put an entry into the batch queue to send an email.  Run the script and input parameters (queue and email) as prompted.&lt;br /&gt;
#:[[File:Batch_scan_07.preview.jpg]]&lt;br /&gt;
#&#039;&#039;&#039;Cancel a Batch Scan&#039;&#039;&#039;&lt;br /&gt;
#*For errors made during batch scan setup, to cancel a scan in progress, or to cancel a pending scan.&lt;br /&gt;
#:[[File:Batch_scan_08.preview.jpg]]&lt;br /&gt;
#*If you cancel all the scans and the scanner door does not unlock automatically (µCT 35 only), then start the measurement program and the scanner will unload, unlocking the door.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Action on Image Artifacts==&lt;br /&gt;
===Rescan for===&lt;br /&gt;
*&#039;&#039;&#039;Motion Artifacts&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Sample Out of the Field of View&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Contact Scanco Medical for===&lt;br /&gt;
*&#039;&#039;&#039;Ring Artifacts&#039;&#039;&#039; (Bad Detector)&lt;br /&gt;
:*Ring artifacts are caused by a faulty detector pixel and show up in the reconstructed image as a full or partial white circle.  &lt;br /&gt;
:*When noticed, please notify lab technicians who will contact Scanco Medical to perform a &amp;quot;Pixel Correction&amp;quot;, which will correct this artifact for future scans and can be used to update previous scans.  &lt;br /&gt;
:*You should not rescan the sample if there is a ring artifact.&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact.jpg|thumb|none|350px|Image with Ring Artifact]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Ring_artifact_corrected.jpg|thumb|none|350px|Same Image after with Detector Correction]]&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bad Centre Calibration Values&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Defective Shutter Artifact&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Evaluation=&lt;br /&gt;
==Evaluate a Scan==&lt;br /&gt;
*To evaluate a scan, refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Open default ISQ===&lt;br /&gt;
You can load a defual ISQ usig uct_evaluation program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ def uct_default_isq DISK3:[MICROCT.PROJECTS.VALIDATION.MODELS]C0000123.ISQ   ! or&lt;br /&gt;
$ def uct_default_isq DISK2:[MICROCT.DATA.00001234.00005678]C0003456.ISQ&lt;br /&gt;
$ uct_evaluation    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hit &amp;lt;code&amp;gt;cancel&amp;lt;/code&amp;gt; when asked files to load, and the file you just set as default will be loaded.&lt;br /&gt;
&lt;br /&gt;
*Use the whole pathname for ISQ.&lt;br /&gt;
*If you don&#039;t import your data into the system, you cannot store your evaluation results in the measurement database.  You will have to use the LOG file to access your results.&lt;br /&gt;
*Only start a 3D evaluation if and only if the sample (patient) and measurement index are &amp;lt;b&amp;gt;correct&amp;lt;/b&amp;gt; in the ISQ full path!  Also, no results will be stored in the database unless the ISQ header info (samp/meas) is correct.&lt;br /&gt;
*Many of the UCT_xxx.COM scripts use the whole filename to extract the sample and measurement numbers, so it is possible that some evaluations will not run.  UCT_xxx_BATCH_V4.COM is an example of an evaluation that will not run, but UCT_CUTOUT.COM will run (doesn&#039;t need any sample/meas info).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Draw Contours==&lt;br /&gt;
*Contours, or GOBJ files, are drawn to define regions of interest.  Depending on the analysis required, contours may be drawn to isolate the object from the sample tube or to separate bone compartments (e.g., cortical versus trabecular).  &lt;br /&gt;
*Contouring is the first step in the analysis process, which allows you to segment the desired bone from surrounding tissues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Contouring Tools Reference Sheet===&lt;br /&gt;
*[[Media:Contouring-tools.pdf |&#039;&#039;&#039;Contouring Tools Reference Sheet&#039;&#039;&#039;]]&lt;br /&gt;
*Contours must always be drawn COUNTER-CLOCKWISE!!!  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Contour and Run the Standard Patient Evaluation===&lt;br /&gt;
The following instructions are for contouring standard patient radius and tibias. &lt;br /&gt;
&lt;br /&gt;
#Open the Evaluation Program and select your sample.&lt;br /&gt;
#*Refer to [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]] for general instructions on how to open the evaluation program and draw a contour.&lt;br /&gt;
#Zoom into the desired bone (Radius or Tibia)&lt;br /&gt;
#*Using the zoom menu from the top panel, zoom into the Radius or Tibia. &lt;br /&gt;
#*Usually 3x zoom is appropriate.&lt;br /&gt;
#Draw contours roughly around the bone.&lt;br /&gt;
#*Select the first contouring tool (top left button) and draw COUNTER-CLOCKWISE.&lt;br /&gt;
#Automatically generate contours for all slices in the scan.&lt;br /&gt;
#*Double click the image to bring up the contouring window. &lt;br /&gt;
#*Double click again and the program will attempt to snap the contour to the bone. Double click again if needed.&lt;br /&gt;
#*Select Forwards, and then Iterate Forwards to have the evaluation program automatically segment the bone. &lt;br /&gt;
#Modify any contours as needed.&lt;br /&gt;
#*Select the second contouring tool (2nd button from top) to fix any &amp;quot;wrong&amp;quot; contours. &lt;br /&gt;
#*Draw COUNTER-CLOCKWISE!!&lt;br /&gt;
#*If many contours cannot be automatically generated correctly i.e. cortical bone is porous and evaluation program misses a lot of bone, it may be better to use the Range/Morph function rather than fixing each individual slice. &lt;br /&gt;
##This is done by first clearing all the breakpoints (Clear all BP in contouring window). The boxes will now become red.&lt;br /&gt;
##Manually fix the slice that does not have the correct contour automatically drawn, skip a few slices and manually fix that slice as well. The slices that you have fixed will turn green, indicating that it is a breakpoint (BP). &lt;br /&gt;
##Now you can morph between the two breakpoints (BP, green boxes) you have just created. Select the BP with the higher slice number, select range (first column on left) from the contouring window, followed by morph (second column from left).&lt;br /&gt;
#Save Contour (.GOBJ): Make sure you save your work!&lt;br /&gt;
#Run the 3D Standard Evaluation for your specific project (and timepoint). &lt;br /&gt;
#*Select 3D evaluation under Tasks to bring up the window. You&#039;ll then need to Select... the evaluation specific for your project. &lt;br /&gt;
#*There are a variety of evaluations to choose from, you can search for your project&#039;s evaluation script by typing in the name of your project in the filter window. &lt;br /&gt;
#Check the queue to ensure that the evaluation is running properly.&lt;br /&gt;
#*Type &amp;lt;code&amp;gt;$ show que&amp;lt;/code&amp;gt; in a terminal window will allow you to see all running processes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Correct Trabecular Contours and Run the Cortical Evaluation===&lt;br /&gt;
Once the standard evaluation has been completed, an auto-segmentation process is completed to segment the cortical from the trabecular bone. However, the auto-segmentation is not always accurate, and hence the contour (TRAB.GOBJ) will need to be checked.&lt;br /&gt;
&lt;br /&gt;
#Load TRAB.GOBJ by selecting File, then load GOBJ from the top panel.&lt;br /&gt;
#*You will now see a list of all GOBJ files pertaining to your sample. You&#039;ll need to load the TRAB.GOBJ.&lt;br /&gt;
#*When the TRAB.GOBJ has loaded, you will see that the loaded contour is between the cortical and trabecular bone.&lt;br /&gt;
#Correct contours as needed&lt;br /&gt;
#*Can manually adjust the slices or use the Range/Morph function. &lt;br /&gt;
#*Remember to draw COUNTER-CLOCKWISE!&lt;br /&gt;
#Run the 3D cortical evaluation for your specific project (and timepoint, if relevant). &lt;br /&gt;
#*Select 3D evaluation under Tasks to select the appropriate evaluation script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Evaluation Scripts==&lt;br /&gt;
===Scanco Standard Evaluation Scripts===&lt;br /&gt;
The following are descriptions of some of the standard evaluation scripts provided by Scanco Medical.  &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Segmentation of VOI, 1 solid object&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented (binary) object with values 0 (background, hidden) and 127 (solid).  Input Gaussian filtering and threshold parameters.  Draw contour to isolate the object of interest (optional).&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;3D Seg. of 2 VOIs: solid dense in transparent low dens obj&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values -1 (transparent), 0 (background, hidden), and 127 (solid). Input two sets of Gaussian filtering and threshold parameters (input the second set by pressing the red 2 button).  The preview shows the solid object in white and the transparent object in red.  Draw one contour to isolate the object of interest (optional).  This script is useful for showing soft tissue and bone.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Trab. Morphometry (3D Seg, 3D Calc, Print Sheet)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the trabecular bone.  Performs model-independent (direct) measurements on the trabecular region.  Outputs:  BV, TV, BV/TV, TbBMD, TbTMD, BS, SMI, DA, ConnD, TbTh, TbThSD, TbSp, TbSpSD, TbN, and Tb1/NSD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;BV/Density only Bone Eval. (3D Seg, BV and Dens Calc, Print)&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour to isolate the region of interest.  Outputs:  BV, TV, BV/TV, BMD, and TMD.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  Outputs:  BV, TV, BV/TV, BMD, TMD, and moment of inertia parameters.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Bone Midshaft more than e.g. 50 slices Evaluation&#039;&#039;&#039;&lt;br /&gt;
:Produces a 3D segmented object with values 0 (background, hidden) and 127 (solid) from Gaussian filtering and threshold inputs.   Draw contour on the outer surface of the bone.  If you wish to exclude the medullary area from the analysis, then draw a counterclockwise contour on the outer surface of the bone and a clockwise contour on the inner surface of the bone.  Performs direct measurements in addition to the standard midshaft analysis.  Outputs:  BV, TV, BV/TV, BMD, TMD, moment of inertia parameters, Th, and Sp.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to TIFF&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to TIFF slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convert to DICOM&#039;&#039;&#039;&lt;br /&gt;
:Converts the grayscale data to DICOM slices for the region inside the white evaluation box. The converted files are output into the scan directory.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Reformat to Axial Cuts&#039;&#039;&#039;&lt;br /&gt;
:Flips the dataset from the XY plane to the XZ or YZ planes (specify in the advanced options for the script). This is useful if you want to contour your sample in a different plane.  The flipped sample is imported as a new measurement under the same sample number as the original data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understanding Evaluation Scripts===&lt;br /&gt;
Following are some example evaluation scripts full of comments to promote understanding:&lt;br /&gt;
*[[Media:IPLV6_VOI.pdf|IPLV6_VOI script]]&lt;br /&gt;
*[[Media:IPLV6_MIDSHAFT.pdf|IPLV6_MIDSHAFT script]]&lt;br /&gt;
*[[Media:IPLV6_TRABECULAR_BONE.pdf|IPLV6_TRABECULAR_BONE script]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup Customized Evaluation Scripts===&lt;br /&gt;
To setup an evaluation script customized to your project, in the [[Scanco_User_Instructions#.C2.B5CT_Evaluation_Program|&#039;&#039;&#039;µCT Evaluation Program&#039;&#039;&#039;]]:&lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Import from&amp;quot; then &amp;quot;TEMPLATES&amp;quot;, pick a Scanco Standard Evaluation Scripts and Save.  &lt;br /&gt;
*Choose &amp;quot;Scripts&amp;quot; then &amp;quot;Modify&amp;quot;.  Choose the script that was just imported and click &amp;quot;OK&amp;quot;,  Change the name of the script.  &lt;br /&gt;
*Modify the default segmentation and other parameters for the script.  When finished making changes press &amp;quot;Save&amp;quot; then &amp;quot;OK&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Processing Language (IPL) Scripting==&lt;br /&gt;
The following documentations related to IPL scripting, as it applies to image analysis was compiled by Jan Owoc in July 2013 based on numerous sources including own experience.&lt;br /&gt;
&lt;br /&gt;
===Your First IPL Script===&lt;br /&gt;
*&#039;&#039;&#039;Prerequisite&#039;&#039;&#039;: you are familiar with navigating the VMS system. &lt;br /&gt;
*&#039;&#039;&#039;&amp;quot;$&amp;quot; or &amp;quot;ipl&amp;gt;&amp;quot;&#039;&#039;&#039;: the DCL and IPL prompts respectively, and you should only type the text after the prompt. &lt;br /&gt;
*If you FTP the file to the OpenVMS system, ensure you use &amp;quot;binary&amp;quot; to transfer the file.&lt;br /&gt;
You can run these commands on almost any greyscale AIM file. Example file here: MJ7101.AIM &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Interactive IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl&amp;lt;/code&amp;gt; starts IPL interactively, that is you see the result of each command as you run it. &lt;br /&gt;
*While it is useful for testing, running large scripts interactively may interfere with others using the computer. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Reading an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Before you can run any analysis on the AIM file, you need to read it into IPL and assign it a file handle. This is done using the command &amp;lt;pre&amp;gt;ipl&amp;gt; read in MJ7101.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:A fraction of a second later, the file should have been read into memory and assigned the internal name &amp;quot;in&amp;quot;. If we want to do some basic density calculations on it, we can use the command&amp;lt;pre&amp;gt;ipl&amp;gt; vox_ in 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*IPL, much like DCL, will automatically complete the command if it is given enough characters. &lt;br /&gt;
:The &amp;quot;vox_&amp;quot; was expanded to the command &amp;quot;vox_scanco_param&amp;quot; (calculates voxel-counting parameters) and told you that the mean density of the cube is 114 mg HA/cm3 and a standard deviation of 283 mg HA/cm3. &lt;br /&gt;
:The argument &amp;quot;in&amp;quot; is the internal name of the image.&lt;br /&gt;
:The argument &amp;quot;0&amp;quot; is the region. The command vox_scanco_param supports several numbered regions if, for example, you wanted to separately compute the density for the trabecular region and the cortical region.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Segmenting an AIM file&#039;&#039;&#039;&lt;br /&gt;
:Some parameters, like average density, are computed from the [[Scanco_User_Instructions#Grayscale_Images|&#039;&#039;&#039;Greyscale Image&#039;&#039;&#039;]]. Other parameters, like the trabecular number, require an image that has been segmented to [[Scanco_User_Instructions#Binary_Images|&#039;&#039;&#039;Binary Images&#039;&#039;&#039;]], that is converted into &amp;quot;bone&amp;quot; and &amp;quot;not bone&amp;quot;. &lt;br /&gt;
:There are many ways to separate bone from non-bone, and parameters that work well for one dataset will not generally work for images of different samples, or acquired at different resolutions.&lt;br /&gt;
:One of the simplest segmentation methods &amp;quot;seg_gauss&amp;quot; is to apply Gaussian smoothing to the sample, to eliminate the noise present in the image, followed by a semi-arbitrary threshold that preserves the trabecular structure. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ipl&amp;gt; seg_gauss in seg&lt;br /&gt;
&lt;br /&gt;
  -sigma                     [1.000000] &amp;gt;  &lt;br /&gt;
  -support                   [2] &amp;gt; &lt;br /&gt;
  -lower_in_perm_aut_al      [300.000000] &amp;gt; &lt;br /&gt;
  -upper_in_perm_aut_al      [100000.000000] &amp;gt; &lt;br /&gt;
  -value_in_range            [127] &amp;gt; &lt;br /&gt;
  -unit                      [0] &amp;gt; 2 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:seg_gauss expects 8 parameters, and we have provided only 2. It will now prompt us for the remaining 6 one-by-one. &lt;br /&gt;
:Leave everything at the defaults (simply hit &amp;quot;Enter&amp;quot;) except the unit, which we will change to &amp;quot;2&amp;quot;. &lt;br /&gt;
:For young human trabecular bone from the distal tibia scanned at 20 um in the uCT 35, but then downscaled to 80 um, the above parameters give a reasonable representation of the trabecular structure. With other bones at other resolution, you may need to change the sigma, the support, and the lower threshold. &lt;br /&gt;
:The unit of &amp;quot;2&amp;quot; simply means that we are working in units of mg HA/cm3.&lt;br /&gt;
:Now that the cube is segmented, we can run the same voxel-counting command as above and obtain more information. &amp;lt;pre&amp;gt;ipl&amp;gt; vox_ seg 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:We now know that our combination of smoothing and threshold resulted in an object volume of 103 mm3 (i.e. volume of bone) and a bone volume ratio of 22.88%.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Writing out a file&#039;&#039;&#039;&lt;br /&gt;
:we can write the segmented file out for future use. Accept the defaults for the remaining arguments. &amp;lt;pre&amp;gt;ipl&amp;gt; write seg MJ7101_SEG.AIM&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Now you can quit IPL and verify that the segmented file has been written out. &amp;lt;pre&amp;gt;ipl&amp;gt; quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Batch IPL====&lt;br /&gt;
*Command &amp;lt;code&amp;gt;$ ipl_batch&amp;lt;/code&amp;gt; starts IPL inside a script that would be submitted to a queue.&lt;br /&gt;
While the following code is likely to work, it is not very readable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
read in MJ7101.AIM&lt;br /&gt;
vox_ in&lt;br /&gt;
seg_gauss in seg 1 2 300 100000 127 2&lt;br /&gt;
vox_ seg&lt;br /&gt;
write seg MJ7101_SEG.AIM&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Instead, it is recommended that you copy and paste the &amp;quot;pretty&amp;quot; output of the command after you have run it once interactively.&lt;br /&gt;
*Values that are likely to change should be variables, defined at the top of the script. &lt;br /&gt;
*To substitute a variable from DCL into IPL, use a double-quote character before the variable name, as shown in the example below. &lt;br /&gt;
Copy and paste the below into a text editor.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ modelname  :== MJ7101.AIM&lt;br /&gt;
$ threshold   == 300&lt;br /&gt;
$ outputfile :== MJ7101_SEG.AIM&lt;br /&gt;
$&lt;br /&gt;
$ IPL_BATCH&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  &amp;quot;modelname&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     in&lt;br /&gt;
&lt;br /&gt;
/seg_gauss&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -output                    seg&lt;br /&gt;
  -sigma                     1.000000&lt;br /&gt;
  -support                   2&lt;br /&gt;
  -lower_in_perm_aut_al      &amp;quot;threshold&lt;br /&gt;
  -value_in_range            127&lt;br /&gt;
  -unit                      2&lt;br /&gt;
&lt;br /&gt;
/vox_scanco_param&lt;br /&gt;
  -input                     seg&lt;br /&gt;
&lt;br /&gt;
/write&lt;br /&gt;
  -name                      seg&lt;br /&gt;
  -filename                  &amp;quot;outputfile &lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
$ EXIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, it is clear what the full names of the commands are, and what the parameters mean. &lt;br /&gt;
*If a parameter isn&#039;t important and can be left at the default (for example the region number during vox_scanco_param), you can leave it out of the file. &lt;br /&gt;
Save the file as MYSCRIPT.COM and run it using &amp;lt;code&amp;gt;@MYSCRIPT.COM&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Submitting to the queue&#039;&#039;&#039;&lt;br /&gt;
:As mentioned in the introduction, running IPL interactively on larger models negatively impacts other users of the system. Copying the commands to a file and running it from the command line has the same effect. &lt;br /&gt;
:*The correct way to run larger scripts is to submit the job to the queue. &amp;lt;pre&amp;gt;SUBMIT/QUE=SYS$FAST MYSCRIPT.COM&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===IPL Reference===&lt;br /&gt;
*[[Media:SCANCO_-_Software_-_IPL_instruction_manual_0.pdf|&#039;&#039;&#039;Official Scanco IPL Documentation&#039;&#039;&#039;]] &lt;br /&gt;
*[[Media:scanco-software-ipl-instruction-manual.pdf|&#039;&#039;&#039;Scanco IPL Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Standard Read Write etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/read&#039;&#039;&#039;: Reads a file into ipl and gives the file an internal name &lt;br /&gt;
*&#039;&#039;&#039;/aim_read&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/read_versatile&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_v020&#039;&#039;&#039;: Writes an aim file to the directory in which ipl is open (or specified directory if in a script)&lt;br /&gt;
*&#039;&#039;&#039;/write_new&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/write_part&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/copy&#039;&#039;&#039;:  Copies an internal file (a file that is already in the ipl system) and allows the copy to be given a new name.&lt;br /&gt;
*&#039;&#039;&#039;/delete&#039;&#039;&#039;:   Deletes an internal file (a file that is already in the ipl system)&lt;br /&gt;
*&#039;&#039;&#039;/rename&#039;&#039;&#039;:  Changes the name of the file (input is the old name and output the new name)&lt;br /&gt;
*&#039;&#039;&#039;/list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/options&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/release_history&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/commands_write_log&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Segmentation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gauss_lp&#039;&#039;&#039;: Applies a low pass gaussian filter with specified sigma and support values&lt;br /&gt;
*&#039;&#039;&#039;/fft_laplace_hamming&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/median_filter&#039;&#039;&#039;: Applies a low pass median filter to reduce unwanted noise in an image&lt;br /&gt;
*&#039;&#039;&#039;/seg_gauss&#039;&#039;&#039;: Segments aim files using the input sigma of gauss and the filter support for gauss.  A threshold can also be applied using this function.&lt;br /&gt;
*&#039;&#039;&#039;/threshold&#039;&#039;&#039;: Removes data outside of the specified range &lt;br /&gt;
*&#039;&#039;&#039;/absolute_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/adaptive_iter_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/matching_threshold&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Gobj and Masking Functions====&lt;br /&gt;
*&#039;&#039;&#039;/gobj_maskaimpeel_ow&#039;&#039;&#039;: Cuts an aim file with a gobj so that only the portion of the aim within the gobj remains. Peel_iter value used to specify the number of pixels within the gobj the function will need to cut.&lt;br /&gt;
*&#039;&#039;&#039;/gobj_to_aim&#039;&#039;&#039;: Reads a gobj file from the directory and makes an aim file (the aim file is in ipl, to output it to the directory use write).&lt;br /&gt;
*&#039;&#039;&#039;/togobj_from_aim&#039;&#039;&#039;: Takes an aim file and writes a gobj file (the gobj is output to directory).  &lt;br /&gt;
*&#039;&#039;&#039;/gobj_circumf_area&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_join_consec&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_scale&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gobj_isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cortex_maskoff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/peel3d&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxel-Counting, Density and Triangulation Functions====&lt;br /&gt;
*&#039;&#039;&#039;/db_scanco_activate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_clear_eval&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_calib_unit_fill&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/db_set_mean_accur&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/voxgobj_scanco_param&#039;&#039;&#039;: Inputs an aim file and a gobj and provides information (including total volume, object volume and the mean value of the points)  on the region within the gobj.  &lt;br /&gt;
*&#039;&#039;&#039;/vox_scanco_param&#039;&#039;&#039;: Inputs an aim and provides information including total volume, object volume and the mean value of the points. &lt;br /&gt;
*&#039;&#039;&#039;/tri_da_metric_db&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/tri_direc_distr&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/connectivity&#039;&#039;&#039;: Receives a component labelled aim object and calculates the connectivity of the labelled components.&lt;br /&gt;
*&#039;&#039;&#039;/conn_nocl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/conn_bgcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fractal_dimension&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Distance Transformation (Sphere Filling) Functions====&lt;br /&gt;
*&#039;&#039;&#039;/dt_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_ow_object_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_background_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_cortex_obj_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_value_output&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dt_mat_output&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Statistical Functions====&lt;br /&gt;
*&#039;&#039;&#039;/examine&#039;&#039;&#039;: Receives an AIM object and outputs specified information based on the item input.&lt;br /&gt;
*&#039;&#039;&#039;/histo&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment2d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/moment3d_of_inertia&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/zmeanmax&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Voxelsize-Scaling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/isotrop&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/ipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/noipscale_elsize&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/scale_ow_elsize_noip&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Component Labeling Functions====&lt;br /&gt;
*&#039;&#039;&#039;/cl_ow_rank_extract&#039;&#039;&#039;: Receives AIM file and over writes it with an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl_rank_extract&#039;&#039;&#039;: Receives AIM file and outputs an AIM containing the extracted and component labelled pieces based on their size. First_rank specifies the largest selected piece to be extracted and last_rank specifies the last selected piece.&lt;br /&gt;
*&#039;&#039;&#039;/cl26_rank_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_image&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_extract&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_slicewise_extractow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cl_nr_extract&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Add, Concat, Cut etc. Functions====&lt;br /&gt;
*&#039;&#039;&#039;/add_aims&#039;&#039;&#039;: Adds the values of two AIM images in a 3D space.&lt;br /&gt;
*&#039;&#039;&#039;/add_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/border_change&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/bounding_box_cut&#039;&#039;&#039;: Cuts extra space out of an aim file so that only the region with the data remains. A border can be added to the image using the border input.&lt;br /&gt;
*&#039;&#039;&#039;/concat&#039;&#039;&#039;: Takes two aim files and combines them.  The data from both aims or just the common region can be kept.  To add the images add_not_overlay is set to true (for example if image 1 has a value of 41 and image 2 has a value of 82, the combined value will be 123).&lt;br /&gt;
*&#039;&#039;&#039;/concat_adapt&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/divide_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_min_max_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_geo_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_log_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/header_calib_ov&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/invert_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mult_constant_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/multiply_volumes&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqr_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sqrt_to_float&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_add&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/offset_set&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/clear_offset&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_mirror&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/fill_offset_duplicate&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/set_value&#039;&#039;&#039;: Sets the values of the object and background of an aim file to chosen values&lt;br /&gt;
*&#039;&#039;&#039;/sub_get&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sub_pick&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/subtract_aims&#039;&#039;&#039;: Subtracts one aim from another and outputs the remaining region. &lt;br /&gt;
*&#039;&#039;&#039;/sup_divide&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/transparent_concat&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Erosion Dilation Open Close Functions====&lt;br /&gt;
*&#039;&#039;&#039;/erosion&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dilation&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/open&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/close&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/erosion_dilat_variable&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Import Export Conversion Norming Functions====&lt;br /&gt;
*&#039;&#039;&#039;/import_freeformat&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/todicom_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dicom_list_series&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/isq_gobjfit_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/toisq_from_aim&#039;&#039;&#039;: Writes an isq file to the directory ipl is open in (or specified directory) from an aim file.  The isq name should be 8 characters long.  &lt;br /&gt;
*&#039;&#039;&#039;/mesh&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/msq_from_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/rsq_to_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/stl_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_to_type&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/convert_unsigned&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/norm_max&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions for Root Canal Evaluations====&lt;br /&gt;
*&#039;&#039;&#039;/separ_roots&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_list&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/calc_ctr_mass_diff&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/treated_surf&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/match_cut_adapt&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Miscellaneous Functions====&lt;br /&gt;
*&#039;&#039;&#039;/align_z&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/dcl&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/flip_aim&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/growback_to_orig&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn3d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/turn2d&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/upat_filldb&#039;&#039;&#039;: Fill special Upat DB for patient (radius/tibia) evaluation&lt;br /&gt;
*&#039;&#039;&#039;/xray&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Obsolete, Experimental and Duplicate Functions====&lt;br /&gt;
*&#039;&#039;&#039;/curv_tri&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/cut2D_shape_ow&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/join_uncompress&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/mil_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/milv1_param&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/gauss_seg&#039;&#039;&#039;: duplicate of /seg_gauss&lt;br /&gt;
*&#039;&#039;&#039;/from_aim_to_isq&#039;&#039;&#039;: The function toisq_from_aim will also convert an aim to an isq &lt;br /&gt;
*&#039;&#039;&#039;/local_threshold&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/edge_canny&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/sobel_grad&#039;&#039;&#039;: &lt;br /&gt;
*&#039;&#039;&#039;/hysteresis_thresholg&#039;&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Functions only available in iplfe====&lt;br /&gt;
*&#039;&#039;&#039;/register&#039;&#039;&#039;: Registers two aim files and output a transformation matrix of the transformation to moving input 2 into the space of input  1. Gobjs can be input (registration is more successful with gobjs).  Orientation search can be done with masscenter, and/or moment of inertia (MoI), or degree intervals. &lt;br /&gt;
*&#039;&#039;&#039;/transform&#039;&#039;&#039;: Transforms an aim file using a transformation matrix (a text file of the matrix can be input).  Interpolation options are nearest neighbor, linear, and cubic interpolation.  The inverse of the transform provided can be done by setting Tmat_invert to true.  &lt;br /&gt;
*&#039;&#039;&#039;/fe_solveD&#039;&#039;&#039;: A number of finite element functions are available in iplfe, not all are listed here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
==Images and Animations==&lt;br /&gt;
Refer to [[Scanco_User_Instructions#.C2.B5CT_Ray|&#039;&#039;&#039;µCT Ray&#039;&#039;&#039;]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
===[[#Change_the_View|Change View]]===&lt;br /&gt;
===[[#Change_the_Colours|Change Object Colors]]===&lt;br /&gt;
===[[#Cutplane_and_Subdim|Show a Section-View of an Object]]===&lt;br /&gt;
&lt;br /&gt;
===Save a Screetshot Image===&lt;br /&gt;
#Open XV from a dec terminal on a workstation by typing &amp;lt;code&amp;gt;$ xv&amp;lt;/code&amp;gt;. &lt;br /&gt;
#Open and frame the image, program etc. that you would like to save an image of.&lt;br /&gt;
#In XV, click GRAB. You can either autograb the entire screen after a delay or manually grab a desired area.&lt;br /&gt;
#After grabbing the desired section, click Save in XV.&lt;br /&gt;
&lt;br /&gt;
===[[#Save_the_Image|Save Image]]===&lt;br /&gt;
===[[#Save_for_Animation|Save Frames for an Animation]]===&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert AIM to TIF series===&lt;br /&gt;
&lt;br /&gt;
Use the utility SEQ_TO_IMAGE located in the UT directory.  A symbol has been set up to run this called TIF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mcr ut:seq_to_image&lt;br /&gt;
Program: seq_to_image V1.1b&lt;br /&gt;
Input-File []: WISDOM_L_R05.AIM&lt;br /&gt;
File Format [TIF]: &lt;br /&gt;
Default TIF Names: WISDOM_L_R05_xxxx.TIF&lt;br /&gt;
&lt;br /&gt;
Output-File [WISDOM_L_R05]: &lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
Start Slice [0]: &lt;br /&gt;
End Slice [179]: 5&lt;br /&gt;
Number of images thereof (count) [6]: &lt;br /&gt;
Scale Factor (Integer) [1]: &lt;br /&gt;
global_pos (1=true, 0=false) [0]: &lt;br /&gt;
Max value to norm to 255 [32767]: &lt;br /&gt;
Slice: 0&lt;br /&gt;
Slice: 1&lt;br /&gt;
Slice: 2&lt;br /&gt;
Slice: 3&lt;br /&gt;
Slice: 4&lt;br /&gt;
Slice: 5&lt;br /&gt;
$ dir wisdom*&lt;br /&gt;
&lt;br /&gt;
Directory DISK1:[MICROCT.SCRATCH]&lt;br /&gt;
&lt;br /&gt;
WISDOM_L_R05.AIM;1  WISDOM_L_R05_0000.TIF;1                 WISDOM_L_R05_0001.TIF;1&lt;br /&gt;
WISDOM_L_R05_0002.TIF;1                 WISDOM_L_R05_0003.TIF;1&lt;br /&gt;
WISDOM_L_R05_0004.TIF;1                 WISDOM_L_R05_0005.TIF;1&lt;br /&gt;
&lt;br /&gt;
Total of 7 files.&lt;br /&gt;
$ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate TIF (or others) from 3D rendered volume===&lt;br /&gt;
&lt;br /&gt;
This replaces uct_movie that operated on the alpha systems. UCT_3D can be called in batch mode.&lt;br /&gt;
&lt;br /&gt;
A pdf describing this tool is located here: [[Media:UCT_RAY V4.0-1.pdf]] &lt;br /&gt;
&lt;br /&gt;
To interactively declare the desired settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch&lt;br /&gt;
?CT RAY_BATCH V4.0-1&lt;br /&gt;
&lt;br /&gt;
UCT_R: Application initialized&lt;br /&gt;
Filename             []: &lt;br /&gt;
Print-Filename       [SYS$SCRATCH:TEMP_3D.PS]: &lt;br /&gt;
Ambient   (0.0..1.0) [0.200]: &lt;br /&gt;
Shadows        (0/1) [1]: &lt;br /&gt;
Size       (1..1024) [1024]: &lt;br /&gt;
Elevation  (-90..90) [30]: &lt;br /&gt;
Rotation (-180..180) [35]: &lt;br /&gt;
Copies        (0..9) [1]: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply a saved set of settings, a setup-file can be created by running uct_3d in interactive mode. Select &amp;quot;Presets&amp;quot; from the toolbar and save the settings you desire (e.g. elevation 90, rotation 0).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_3d_batch setup-file [data-file printfile]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.ps&lt;br /&gt;
$uct_3d_batch uu:3d_preset_test.dat myaimfile.aim sys$scratch: x.tif&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To automatically generate tifs for many files, a script was created to replace PRINT_3D.COM&lt;br /&gt;
The script is currently stored in the xtremect2 com directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@COM:PRINT_REG_TIF.COM&lt;br /&gt;
&lt;br /&gt;
 Generates a 3D image from a segmented file.  &lt;br /&gt;
&lt;br /&gt;
 The outputs include:&lt;br /&gt;
  - two 3D renderings (TIF)&lt;br /&gt;
&lt;br /&gt;
 Use full pathnames for the segmented AIM.&lt;br /&gt;
&lt;br /&gt;
 P1 - Segmented AIM&lt;br /&gt;
&lt;br /&gt;
 Usage:&lt;br /&gt;
 @COM:PRINT_REG_TIF.COM DISK2:[MICROCT.DATA.00000379.00001376]C0001234_SEG.AIM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be modified to  use a custom preset file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Make an Animation===&lt;br /&gt;
&lt;br /&gt;
To calculate an Animation, two (separate) tools of the 3D program are used: the set-up of start and end point of the Animation, and the &#039;Auto-Print&#039; tool that automatically creates the TIF files for every rendered image.&lt;br /&gt;
&lt;br /&gt;
This is a &#039;step by step&#039; guide to create an animation using TIFF files:&lt;br /&gt;
:* Open your sample in the 3D program.&lt;br /&gt;
:* Now, open &#039;options&#039;,&#039;Animation&#039;&lt;br /&gt;
:* Render your Image the way you want your animation to start. e.g. observer rotation -179 degrees. You may interrupt if you want. If you are satisfied with all the settings (rotation, elevation, transparency, colors etc.) the Click on &#039;Get Settings A&#039;&lt;br /&gt;
:* Then, adjust all the settings for the endpoint of your animation (with the mouse or the sliders) e.g. observer rotation +179, and start the rendering. If satisfied, click &#039;Get settings B&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; To test, put # of views to 5 or 10... You can also interrupt the build-ups for faster viewing.&lt;br /&gt;
:* Click the START button again, wait till the build-up of the 3D image is finished.&lt;br /&gt;
:* DO NOT HIT &#039;START CALCULATION&#039; YET!&lt;br /&gt;
:* First, you also need to set-up the &#039;Auto-Print&#039; mode:&lt;br /&gt;
:* Go to the &#039;Print&#039; menu (file --&amp;gt; print), choose print to TIF and to File and enter THE BEGINNING OF A FILENAME, e.g. sys$scratch:test_ (the program will append 0000.TIF, 0001.TIF etc afterwards) Or enter (possibly with middle-mouse-click): &amp;quot;DK0:[MICROCT.DATA.00001234.00003456]ANIMATION_&amp;quot; to have the result go to the measurement directory.&lt;br /&gt;
:* Click on the &#039;Auto-Print&#039; box. Then &#039;ok&#039;&lt;br /&gt;
:* Adjust the number of views (e.g. 200), then click on &#039;Start Calculation&#039;, and it will render. This may well take a long time.&lt;br /&gt;
:* Take those TIFF files to your PC, and combine the sequences in the program that you are using to convert the TIFF files to AVI or MOV files (like Windows Movie Maker 2, or Quick Time Pro, or Adobe Premiere etc.) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Notes/Hints:&amp;lt;/b&amp;gt;&lt;br /&gt;
:* The order in the above list can also be reversed: You can first set up the &#039;Auto-Print&#039;, and then go into the &#039;Animation&#039; menu, choose start and end settings, and hit &#039;Start Calculation&#039;&lt;br /&gt;
:* The positions A and B can be any: e.g. with subdim, you can first take everything (A), then slide it back to nothing (B).&lt;br /&gt;
:* You can even slowly change the color of an object. Or slowly hiding objects: choose &#039;transparent&#039; for object, but change from 0.0 (A) to 1.0 (B)&lt;br /&gt;
:* If you want to create a movie with different sections, e.g. first rotate around, then slowly make bone transparent, then cut in: Do this in multiple sections with the 3D program, e.g. first create Auto-Print files &#039;rotation_0000 to rotation_0200&#039;, then &#039;transp_0000 to transp_0050&#039;, and then &#039;cut_0000 to cut_0100&#039;. Make sure ALL the settings from the last view of the previous section match those of the first view of the next section so you get smoot transitions.&lt;br /&gt;
:* The &#039;Auto-Print&#039; box is also usable without the &#039;Animation&#039; Menu: Activate it, Like above, with sys$scratch:test_ only the beginning of filename. &#039;ok&#039; Then, whenever a 3D image is completely built-up (so when you are happy with a view and you do not interrupt the build-up), automatically a TIF file is generated, numbered sequentially.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Combine two volumes to create transparent image===&lt;br /&gt;
&lt;br /&gt;
First create your two start &amp;quot;seg.aim&amp;quot; images&lt;br /&gt;
Start by running either the normal eval, or $ voi to get one _seg.aim file of one region&lt;br /&gt;
&lt;br /&gt;
Rename it to a better name in the session manager, e.g. c0001234_all.aim&lt;br /&gt;
&lt;br /&gt;
Then either by choosing different contours, or a different threshold, start the $ voi or the normal evaluation again, which will create another _seg.aim file.&lt;br /&gt;
&lt;br /&gt;
Load them in the 3D viewer (&#039;all files&#039;) to check that they look like expected.&lt;br /&gt;
&lt;br /&gt;
Now we will go into IPL and concatenate those two volumes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ipl&lt;br /&gt;
/read all xx_all.aim&lt;br /&gt;
/read trab xx_seg.aim&lt;br /&gt;
/transparent&lt;br /&gt;
  -input_solid               trab&lt;br /&gt;
  -input_transp              all&lt;br /&gt;
  -output                    out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the solid volume is OVERWRITING the transparent input volume, so usually, it&lt;br /&gt;
is the smaller (inner) of the two.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/write out xxx_transp.aim&lt;br /&gt;
/quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then load the _transp.aim file in 3D, go to 3D program FAQ to see how to change transparency levels in the Display options there.&lt;br /&gt;
&lt;br /&gt;
See IPL FAQ or 3D program FAQ if you need help with these parts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing your chosen trab VOI within whole bone&lt;br /&gt;
:* $ voi, enter threshold in ipl_voi.com, start 3d eval WITHOUT contours&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_all.aim&lt;br /&gt;
:* Start up normal eval program, draw trabecular contours, check threshold in ipl_fixed_batch_v4.com, start 3D eval.&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step by Step Example:&amp;lt;/b&amp;gt; Showing high-dense volume surronded by lower density volume&lt;br /&gt;
&lt;br /&gt;
:* Start normal 3D eval with HIGH threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* Rename xxxx_seg.aim to xxxx_high.aim&lt;br /&gt;
:* If wished: read out 3d result database with $ uct_list&lt;br /&gt;
:* Start normal 3D eval with LOW threshold entered in ipl_fixed_batch_v4.com&lt;br /&gt;
:* WAIT UNTIL THE JOB IS FINISHED!&lt;br /&gt;
:* go into ipl and combine the two, see code above&lt;br /&gt;
:* Voila, finished&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Image Tours==&lt;br /&gt;
===XtremeCT Image Tours===&lt;br /&gt;
&lt;br /&gt;
===MicroCT Image Tours===&lt;br /&gt;
*Refer to [[Media:Tours_image_gallery.pdf|&#039;&#039;&#039;MicroCT Image Gallery&#039;&#039;&#039;]] with its [[Media:Tours_image_notes.pdf|&#039;&#039;&#039;Image Notes&#039;&#039;&#039;]].&lt;br /&gt;
*Hover over a thumbnail and click on the description to see its animated GIF or a larger version of the image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:MOUSE_SKELETON_PIC01.jpg|[[Media:MOUSE_SKELETON_360.gif|Mosue (38µm)]]&lt;br /&gt;
Image:Segmented_Mouse_Femur.jpg|[[Media:Segmented_Mouse_Femur.jpg|Mouse Femur showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:LIZARD_WHOLE_VIEW_P1_0044.jpg|[[Media:LIZARD_SKELETON_360.gif|Lizard (88µm)]]&lt;br /&gt;
Image:LIZARD_SKULL.jpg|[[Media:LIZARD_SKULL.jpg|Lizard Skull showing Thickness Distribution (25µm)]]&lt;br /&gt;
Image:DUCK_BEAK_PIC01.jpg|[[Media:DUCK_BEAK_360.gif|Duck Beak (60µm) Courtesy of Dr. A. Iwaniuk]]&lt;br /&gt;
Image:Human_Tooth.jpg|[[Media:Human_Tooth.jpg|Human Tooth (30µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
Image:PINECONE_TH_PIC05.jpg|[[Media:PINECONE_360.gif|Pinecone showing Thickness Distribution (69µm)]]&lt;br /&gt;
Image:SHELL01_SEG_PIC01.jpg|[[Media:SEASHELL_360.gif|Seashell (50µm)]]&lt;br /&gt;
Image:TURTLE_SKULL.jpg|[[Media:TURTLE_SKULL_360.gif|Turtle Skull (60µm)]]&lt;br /&gt;
Image:SAND_DOLLAR.jpg|[[Media:SAND_DOLLAR.jpg|Sand Dollar (37µm)]]&lt;br /&gt;
Image:MOUSE_L1-L6.jpg|[[Media:MOUSE_SPINE_SEG_360.gif|Mouse Spine showing Cortical and Trabecular Bone (10µm)]]&lt;br /&gt;
Image:MOLAR.jpg|[[Media:MOLAR.gif|Human Tooth (60µm) Courtesy of Dr. C. Stewart]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed-hover&amp;quot; heights=220px caption=&amp;quot;Contrast-Enhanced Micro-CT Scans&amp;quot;&amp;gt;&lt;br /&gt;
Image:Contrast_mouse_head_XZ_thumb.jpg|[[Media:Contrast mouse head XZ.jpg|Mouse Head (60µm, XZ plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_XY_thumb.jpg|[[Media:Contrast mouse head XY.jpg|Mouse Head (60µm, XY plane)]]&lt;br /&gt;
Image:Contrast_mouse_head_YZ_thumb.jpg|[[Media:Contrast mouse head YZ.jpg|Mouse Head (60µm, YZ plane)]]&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Extract Results==&lt;br /&gt;
===Automatic Results===&lt;br /&gt;
Results are generally automatically extracted after each analysis to the UCT_RESULTS directory.&amp;lt;br&amp;gt;  &lt;br /&gt;
The results files have the form of: &lt;br /&gt;
*UCT_LIST_*&#039;&#039;PROJECT&#039;&#039;*.TXT for XtremeCTs: e.g. result file UCT_LIST_KYLA.TXT for the following project.&lt;br /&gt;
*UCT_LIST_3DLOG_*&#039;&#039;PROJECT&#039;&#039;*.TXT for microCTs: e.g. result file UCT_LIST_3DLOG_KYLA.TXT for the following project.&lt;br /&gt;
*where &#039;&#039;PROJECT&#039;&#039; is specified in the evaluation tool script setup.&lt;br /&gt;
[[File:Script_modify_basic_project.jpg|500px]]&lt;br /&gt;
&lt;br /&gt;
Open the result file and copy and paste it into Excel, e.g.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dir uct_results:*kyla*&lt;br /&gt;
$ eve uct_results:UCT_LIST_3DLOG_KYLA.TXT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Or transfer the file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].  &lt;br /&gt;
*microct/vivact account UCT_RESULTS location:    ADISK1:[MICROCT.RESULTS]&lt;br /&gt;
*invivo/invitro account UCT_RESULTS location:    ADISK1:[BONELAB.RESULTS]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extract Results from XtremeCT Database using UPAT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UPAT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the standard patient results, which may include scans from other projects.&lt;br /&gt;
&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ @com:EXTRACT_UPAT_LIST&amp;lt;/code&amp;gt; to take in a list of sample numbers and extract the standard patient results with follow-ups and append them to a result file.  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$@COM:EXTRACT_UPAT_LIST P1 P2 P3 P4 P5&lt;br /&gt;
&lt;br /&gt;
    P1 = Sample List&lt;br /&gt;
    P2 = Site (RR, RL, TR, TL, R*, T*, *)&lt;br /&gt;
    P3 = Number of Follow-Ups (max 19)&lt;br /&gt;
    P4 = Results Output File&lt;br /&gt;
    P5 = Eval type (4=XT1, 5=Trab, 6=Cort)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example to extract all sites:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @com:EXTRACT_UPAT_LIST mysamples.txt * 19 myresults.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Extracts Results from microCT Database using UCT_LIST===&lt;br /&gt;
*Run &amp;lt;code&amp;gt;$ UCT_LIST&amp;lt;/code&amp;gt; to take in a range of samples and extract the results, by specifying the first and last measurement numbers for the range they want to extract&lt;br /&gt;
*This may include scans results from other projects, but you can delete unrelated results that are extracted afterwards.&lt;br /&gt;
*The program will output a tab-delimited text file, which can be read into Excel or other analysis programs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ uct_list&lt;br /&gt;
&lt;br /&gt;
     UCT_LIST.EXE Version V5.22&lt;br /&gt;
     Template-File [UCT_3D_LIST_SHEET]:         !Press Enter to use the default results sheet.&lt;br /&gt;
     Output-File [SYS$SCRATCH:UCT_EVAL.TXT]:    !Enter a filename, e.g., BUIE_RESULTS.TXT.&lt;br /&gt;
     Density units (0 default) [0]:             !Press Enter.&lt;br /&gt;
     From Meas. # [0]:                          !Enter the first measurement number, e.g., 100.&lt;br /&gt;
     To Meas. #   [0]:                          !Enter the last measurement number, e.g., 101.  &lt;br /&gt;
&lt;br /&gt;
Processing measurement 100&lt;br /&gt;
Processing measurement 101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*An example output file: [[Media:Buie_results.xlsx|Buie_results.txt]]&lt;br /&gt;
*Or Run &amp;lt;code&amp;gt;$ @com:extract_results.com&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*References of results template: &lt;br /&gt;
:*Formatted [[Media:Results_template_uct_list.xlsx|Excel template 1]] for results extracted with uct_list.&lt;br /&gt;
:*Formatted [[Media:Results_template_extract_results.xlsx|Excel template 2]] for results extracted with extract_results.com.&lt;br /&gt;
:*In vivo spreadsheet template for UCT data: [[Media:In vivo results template.xls| In vivo results template.xls]]&lt;br /&gt;
:*In vitro spreadsheet template for UCT data: [[Media:In vitro results template.xls| In vitro results template.xls]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Understand Morphological Parameters===&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_upat_list.doc|&#039;&#039;&#039;Explanation of UPAT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
*Refer to [[Media:Reference_Document_-_Parameters_from_uct_list.doc|&#039;&#039;&#039;Explanation of UCT_LIST Output&#039;&#039;&#039;]] to understand the result file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All values are determined on a slice-by-slice basis, then averaged over all the slices to calculate morphological results:&lt;br /&gt;
&lt;br /&gt;
:*BV/TV -&amp;gt; Sum all raw data withing the GOBJ and divide by 1200 mg/cc HA&lt;br /&gt;
:*Tb.N  -&amp;gt; As per standard method&lt;br /&gt;
:*Tb.Th and Tb.Sp -&amp;gt; Derived from BV/TV and Tb.N above (semi-derived method)&lt;br /&gt;
:*D100  -&amp;gt; Average density of entire cross section&lt;br /&gt;
:*DTrab -&amp;gt; Average density of trabecular region&lt;br /&gt;
:*Ct.Th -&amp;gt; Cortical area (from seg) divided by circumference (from GOBJ)&lt;br /&gt;
:*GOBJ circumference can be determined with /gobj_circum.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BV/TV  -&amp;gt; VOX-BV/TV&lt;br /&gt;
BS/BV  -&amp;gt; TRI-BS/BV&lt;br /&gt;
Tb.Th  -&amp;gt; DT-Tb.Th&lt;br /&gt;
Tb.Sp  -&amp;gt; DT-Tb.Sp&lt;br /&gt;
Tb.N   -&amp;gt; DT-Tb.N&lt;br /&gt;
ConnD  -&amp;gt; Conn-Dens&lt;br /&gt;
SMI    -&amp;gt; TRI-SMI&lt;br /&gt;
DA     -&amp;gt; TRI-DA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually I&#039;d use the names on the left for the plots, but these correspond to the names on the right of the arrow in the Scanco output files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;, if you use the TRI-Tb.Th rather than the DT-Tb.Th*, then you are using the derived (plate-model) morphological parameters.  These are less accurate than the direct parameters.  They are calculated by triangulating the surface (marching cubes) to get BS, and then calculate thickness&lt;br /&gt;
Th = 2 * BV / BS, etc...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mean Values&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mean 1: mean of bone AND marrow --&amp;gt; &#039;apparent density&#039;&lt;br /&gt;
mean 2: mean of what was considered bone only (i.e. what was segmented) &lt;br /&gt;
&#039;bone tissue density&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, there are five possible categories for the mean Mu.  They are assigned by setting &amp;lt;code&amp;gt;-region_number&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;/voxgobj_scanco_param&amp;lt;/code&amp;gt; function.  The region number is zero-based, so setting it to 0 corresponds to mean1, 1 corresponds to mean2, etc.  So, although mean1 and mean2 are typically apparent and tissue density, respectively, this can be adjusted in the IPL script by setting the region_number.  Mean3 might be useful for storing cortical bone density, for example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/voxgobj_scanco_param      Voxel or Mu Scanco Parameters&lt;br /&gt;
  -input                     Gray scale or Segmented AIM object&lt;br /&gt;
  -gobj_filename             GOBJ: input or Automatic&lt;br /&gt;
  -peel_iter                 Peel Iterations or Automatic&lt;br /&gt;
  -region_number             Region number for Mu only&lt;br /&gt;
&lt;br /&gt;
! -region_number             0   ! mean1&lt;br /&gt;
! -region_number             1   ! mean2&lt;br /&gt;
! -region_number             2   ! mean3&lt;br /&gt;
! -region_number             3   ! mean4&lt;br /&gt;
! -region_number             4   ! mean5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;What you should also know&amp;lt;/b&amp;gt;: because of partial voluming effects, for Mean2, we are DISCARDING the 2 surface voxels of EVERY trabeculae - thus, to get meaningful Mean2, you have to do your scan with the chosen resolution high enough, such that the mean trabeculae is depicted by at the very least 5 pixels, better actually more than 6 pixels thickness. (You can do this check at the end in the XLS sheet: divide DT-Tb.Th* by el-size-mm.x, and you need to get numbers bigger than 6 or 7 or 10 or so.&lt;br /&gt;
&lt;br /&gt;
For parameters such as ConnD where no GOBJ is taken as input, the TV is determined from the processing log stored in an AIM that has previously had a GOBJ applied (stored as the relative region of interest; ROI).  So, it is important to apply a GOBJ prior to ConnD measurements to ensure the TV is correctly determined (and not taken as the whole AIM).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Trabecular Number (TbN)&#039;&#039;&#039;&lt;br /&gt;
The epsilon values can be set to account for differences in scanner resolution, and hence &#039;surface roughness&#039; for individual pixel suppression.&lt;br /&gt;
&lt;br /&gt;
For microct, for good resolution: if there is a pixel &#039;sticking out&#039; from a flat surface we do not assign that pixel with a thickness value of 1, but we let it &#039;get eaten&#039; by the bigger sphere that sits in the center of the trabeculae. So this is nice for &#039;noise&#039;  (0.9/1.5). &lt;br /&gt;
&lt;br /&gt;
For XT resolution, where also many &#039;good&#039; features are just one or two pixels wide, I liked a lower epsilon value better (0.9/0.5).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Generate Report==&lt;br /&gt;
===Generate Standard Patient Report===&lt;br /&gt;
The standard patient reports are extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*The number of follow-ups specified will determine if a baseline or follow-up report is generated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 for baseline report, press return for follow-ups&lt;br /&gt;
     Template file [default]:	                !press return to use the default template&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Generate CaMos Patient Report===&lt;br /&gt;
The [http://www.camos.org &#039;&#039;&#039;CaMos&#039;&#039;&#039;] patient report is extracted from a DEC terminal using upat_list in print mode, which will print to a postscript (PS) file and can also print a hard copy.  &lt;br /&gt;
*To ensure the report is generated using the appropriate normative results, the patient&#039;s sample remarks should be in the form &amp;quot;F-RHRF&amp;quot; where the first character indicates the sex of the individual, otherwise the patient is assumed to be male.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list&lt;br /&gt;
&lt;br /&gt;
     Mode (1 = list, 2 = print, 3 = show) [1]:  2&lt;br /&gt;
     Patient # (1-3162) [1]:                    !input the patient&#039;s sample number&lt;br /&gt;
     Site (found RR) [RR]:	                !RR or RL or TR or TL&lt;br /&gt;
     Maximum # of follow-ups (0-19) [19]:	!0 - 1st scan, 1 - 2nd scan, 2 - 3rd scan...press return for latest scan report &lt;br /&gt;
     Template file [default]:	                COM:UPAT_EVAL_CAMOS.PS&lt;br /&gt;
     Output filename [SYS$SCRATCH:UPAT...]:	!default output file (with sample number and the site) goes to sys$scratch&lt;br /&gt;
     # copies [1]:	                        !the number of printouts, 0 if no printout is desired&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Print out report sheets===&lt;br /&gt;
&lt;br /&gt;
The postscript report sheets can be generated and printed on the command line.  For the XtremeCT system, use &amp;lt;code&amp;gt;UPAT_PRINT_LIST.EXE&amp;lt;/code&amp;gt; which can be run (using the symbol):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in the UU: directory to see options for the template files (UPAT*.TXT) and the postscript output files (*.PS).&lt;br /&gt;
:* UU:UPAT_EVAL_FUP05_SCUSA.PS&lt;br /&gt;
:* UU:UPAT_EVAL_BASELINE_SCUSA.PS&lt;br /&gt;
&lt;br /&gt;
For other options, see the upat_list help:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One particular option that may be useful, is to turn off slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ UPAT_LIST -nomatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of producing a report for the third measurement of TL for a patient, where we want only the most recent results in the report, without slice matching:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=UU:UPAT_EVAL_BASELINE_SCUSA.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_0fu.ps&lt;br /&gt;
&lt;br /&gt;
$ upat_list -b=3818 -e=3818 -s=TL -mb=01-MAY-2018 -me=01-AUG-2018 -nomatch -t=DISK1:[MICROCT.COMMANDS]UPAT_EVAL_CAMOS.PS -c=0 -o=sys$scratch:upat_pat_3818_tl_camos.ps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The first command line generates a normal Scanco report, and the second command line generates a CAMOS report.&lt;br /&gt;
&lt;br /&gt;
For reports from non-patient measurements (i.e., the vivaCT system or non-patient scans on the XtremeCT), the template files are different (UCT*.TXT) and the postscript outputs are different (UCT*.PS). To print a result sheet use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ RUN UM:UCT_RAY_BATCH.EXE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to create a postscript file, but not send it to the printer, set the number of copies to zero (interactive).  Then, find the postscript file from the &amp;lt;code&amp;gt;SYS$SCRATCH&amp;lt;/code&amp;gt; directory and transfer it to your PC.  You must transfer the postscript file in ASCII mode.  The files are typically called TEMP_3D.PS or UPAT_PAT_62_RR.PS.  A program such as Adobe Photoshop can convert the postscript file to a different format.&lt;br /&gt;
&lt;br /&gt;
See also our custom scripts:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ @COM:PRINT_2D.COM&lt;br /&gt;
$ @COM:PRINT_3D.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Convert PS to PDF report===&lt;br /&gt;
The report can be converted to PDF using &amp;lt;code&amp;gt;$ @SCOM:PS_TO_PDF&amp;lt;/code&amp;gt;  by:&lt;br /&gt;
&lt;br /&gt;
#Follow the instructions above for creating a report, using &amp;quot;2&amp;quot; to print and &amp;quot;0&amp;quot; for the number of copies. (Use the default template file and output filename.)&lt;br /&gt;
#Locate the file on the sys$scratch by &amp;lt;code&amp;gt;$ cd sys$scratch&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$ dir&amp;lt;/code&amp;gt;&lt;br /&gt;
#*The file should read &amp;quot;UPAT_PAT_[sample #]_[site].PS;1&amp;quot; (e.g. UPAT_PAT_0010_RL.PS;1)&lt;br /&gt;
#*You can view this file on the monitor by typing &amp;lt;code&amp;gt;$ gs UPAT_PAT_0010_RL.PS;1&amp;lt;/code&amp;gt;&lt;br /&gt;
#Convert the postscript to PDF by typing in the command followed by the .PS file to convert &amp;lt;pre&amp;gt;$ @SCOM:PS_TO_PDF  UPAT_PAT_0010_RL.PS;1&amp;lt;/pre&amp;gt;&lt;br /&gt;
#The PDF file can then be located again in the sys$scratch directory.  &lt;br /&gt;
&lt;br /&gt;
You can transfer the result file to your computer using [[Scanco_User_Instructions#How_to_FTP_files|&#039;&#039;&#039;FTP&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Data Management=&lt;br /&gt;
==Trainee’s Data Responsibility==&lt;br /&gt;
#Perform &#039;&#039;&#039;Contouring and Data Analysis&#039;&#039;&#039; on Data Disk ideally 1-2 months after scanning.&lt;br /&gt;
#After finished onsite analysis, [[Scanco_User_Instructions#Move_data_from_Data_Disk_to_Project_Disk|&#039;&#039;&#039;use Scripts&#039;&#039;&#039;]] to &#039;&#039;&#039;Copy and Rename&#039;&#039;&#039; image data (no RSQ, no ISQ, only AIM, SEG.AIM, GOBJ, COM, LOG, PDF, PS ect) to your specific project folder on Project Disk.&lt;br /&gt;
#After finished copying all your image data to Project Disk, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to delete your data on Data Disk by providing a [[Media:Data_Scans_to_delete_template.xlsx|&#039;&#039;&#039;Data Scans to Delete Template&#039;&#039;&#039;]].&lt;br /&gt;
#&#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to backup your project folder on Project Disk to Winston server on a monthly basis. &lt;br /&gt;
#*Only the two most recent backups (A or B version) are kept for each project on Winston:&lt;br /&gt;
#:Backup version &amp;quot;_A&amp;quot; for odd months (Jan, Mar, May, Jul, Sep, Nov), e.g. YZHU_A_OTHER_2017-01-12.SAV&lt;br /&gt;
#:Backup version &amp;quot;_B&amp;quot; for even months (Feb, Apr, Jun, Aug, Oct, Dec), e.g. YZHU_B_OTHER_2020-04-08.SAV&lt;br /&gt;
#When a project is finished, &#039;&#039;&#039;Notify&#039;&#039;&#039; lab personal to archive your project to HOG server.&lt;br /&gt;
#When a trainee is about leaving, &#039;&#039;&#039;Notify&#039;&#039;&#039; Steve and lab personal to determine either to backup or to archive your project. &lt;br /&gt;
&lt;br /&gt;
[[File:BoneLabDataManagement.JPG|800px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Move data from Data Disk to Project Disk==&lt;br /&gt;
This is generally done after onsite analysis (i.e. autocontour, cortical porosity, FE etc.) is done. Examples of this can be found in DISK3:[MICROCT.PROJECTS.GRACE.COM]&amp;lt;br&amp;gt;&lt;br /&gt;
1. Go to the specific project&#039;s .COM directory, for example:  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd DISK3:[MICROCT.PROJECTS.GRACE.COM]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
2. Create a script that will move all IMA (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) to the .MODELS directory for the project. You will use the rename_to_models.com script to generate this script. To move Grace data for example, with a measurement range of 2684 to 2685, you would use: &lt;br /&gt;
 $ @com:rename_to_models.com &amp;lt;b&amp;gt;meas#1:meas#2 DESTINATION DIR&amp;lt;/b&amp;gt;&lt;br /&gt;
 $ @com:rename_to_models.com 2684:2685 DISK3:[MICROCT.PROJECTS.GRACE.MODELS]&lt;br /&gt;
&lt;br /&gt;
3.This will create a file named RENAME_ALL.COM to the project&#039;s COM directory. You will now have to open the RENAME_ALL.COM file and add site + other details into the script. Following the same example as above, it should look like this: &lt;br /&gt;
 $ eve RENAME_ALL.COM     ! to open the file using a text editor &lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RR&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002684]C0002040.AIM;1&lt;br /&gt;
 $ COPY DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM -&lt;br /&gt;
    DISK3:[MICROCT.PROJECTS.GRACE.MODELS]GRACE_020_&amp;lt;b&amp;gt;00MTH_RL&amp;lt;/b&amp;gt;.AIM&lt;br /&gt;
 $! DELETE/CONFIRM DISK2:[MICROCT.DATA.00000700.00002685]C0002041.AIM;1&lt;br /&gt;
4. You also need to copy the rest of the standard patient image files (i.e. .AIM, .GOBJ, _SEG.AIM, _CORTEX.AIM, _LHTH_DTN.AIM) which is easily done by copying the above lines and replacing .AIM with the respective files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Import and Export=&lt;br /&gt;
==Import Foreign Data to Scanco System==&lt;br /&gt;
Only RSQ and ISQ files can be imported into the database, however it is possible to convert other types of data into ISQ files (i.e., stacks of BMPs into ISQ).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 1:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After transfering your data to the VMS system (use the data disk &amp;lt;code&amp;gt;disk2&amp;lt;/code&amp;gt;, NOT the user disk &amp;lt;code&amp;gt;disk1&amp;lt;/code&amp;gt;), use the IPL commands &amp;lt;code&amp;gt;/import_freeformat&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/read_aim function&amp;lt;/code&amp;gt; to import your data for conversion to an ISQ.&lt;br /&gt;
&lt;br /&gt;
For AIM files, navigate to the location of the AIM file.  Then open IPL by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ IPL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In IPL, read in the .AIM file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in [.AIM file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IPL will do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; read in STUDYID_001_RL.AIM&lt;br /&gt;
&lt;br /&gt;
/read&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  STUDYID_001_RL.AIM&lt;br /&gt;
!&amp;gt; Reading AimVersion020 &lt;br /&gt;
&lt;br /&gt;
!%  /read completed:  CPU: 00:01.03  ELAP: 00:01.55  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For DICOM files, start IPL and run the &amp;lt;code&amp;gt;/dicom&amp;lt;/code&amp;gt; function to import. For DICOM, if your object is a single 3D file (-multifile false) or many many individual slice files (-multifile true, and give beginning of filenames, and –extension).&lt;br /&gt;
&lt;br /&gt;
There may be requests by IPL to convert your data to &amp;lt;code&amp;gt;signed short&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;signed char&amp;lt;/code&amp;gt; from other data types. Obey these requests and do it by running the &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
Then, write the ISQ file using either the &amp;quot;toisq&amp;quot; or &amp;quot;from_aim&amp;quot; commands:&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt; toisq&lt;br /&gt;
-aim_name                  [in] &amp;gt;[leave blank as you defined “in” as .AIM file.]              &lt;br /&gt;
  -isq_filename              [default_file_name] &amp;gt; C0001234.ISQ [Create a 1 letter and 7 digit file name]&lt;br /&gt;
  -square_flag               [true] &amp;gt; false&lt;br /&gt;
  -original_position         [true] &amp;gt; false&lt;br /&gt;
&lt;br /&gt;
ipl&amp;gt;toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              C0001234.ISQ&lt;br /&gt;
  -square_flag               false&lt;br /&gt;
  -original_position         false&lt;br /&gt;
&lt;br /&gt;
!%  Dimensions of ISQ file: dim.x dim.y dim.z 558 638 168&lt;br /&gt;
Write_ctdata_headerext_new: no mhext found. Init mhext.&lt;br /&gt;
Extended header successfully added of type            8&lt;br /&gt;
&lt;br /&gt;
!%  Writing ISQ slice   167  (Done:   168/168)&lt;br /&gt;
&lt;br /&gt;
!%  /toisq_from_aim completed:  CPU: 00:05.12  ELAP: 00:10.47  &amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Type ipl&amp;gt;help toisq [or ipl&amp;gt;help from_aim] to see details of the command.&lt;br /&gt;
&lt;br /&gt;
This writes the ISQ file. Make note of the ISQ file name.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Remember&amp;lt;/b&amp;gt;, the ISQ name must be 8 characters long (1 character followed by seven digits)!!! The letters and numbers can be chosen freely.&lt;br /&gt;
&lt;br /&gt;
Exit IPL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ipl&amp;gt;quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 2:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
The measurement can be verified by looking at the Header Information. (File, Header)&lt;br /&gt;
&lt;br /&gt;
If you only needed to view the ISQ, delete the file when finished by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ dir/sincet&lt;br /&gt;
$del [.ISQ file]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PART 3:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use the ISQ further (e.g. for evaluations, contouring, etc.) create a sample in the database and write down the sample and measurement number. Then, run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ run um:uct_import   ! will import both RSQ and ISQ (modify patient index, etc)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and give the new ISQ file, the new sample-number and check that the feedback is correct (i.e., that the name from the database is matching the name from the ISQ file header).  If the Patient Name in the ISQ header doesn&#039;t match the measurement database Patient Name (very likely), then upon importing the RSQ/ISQ the headers will be updated to the new Patient Name.&lt;br /&gt;
&lt;br /&gt;
Operator and controlfile can be left 0 if you want.  However, controlfile should be set appropriately if the data being imported is for the XtremeCT patient database.&lt;br /&gt;
&lt;br /&gt;
If you are also importing the RSQ, put it in the same directory as the ISQ.&lt;br /&gt;
&lt;br /&gt;
Then it changes the sample and measurement number in the ISQ file, makes the correct directory on &amp;lt;code&amp;gt;DK0&amp;lt;/code&amp;gt;, and gives you the line on the screen of how to rename the file to the correct, new directory. Take this line and use it on the command line.  Done!  &lt;br /&gt;
&lt;br /&gt;
You can now use the normal &amp;lt;code&amp;gt;uct_evaluation&amp;lt;/code&amp;gt; program with this file.  If the control file was set properly, then the evaluation will be done correctly (i.e., for XtremeCT patient measurements).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Any AIMs created from the original ISQ should be recreated.  So, it is important that you re-evaluate your newly imported ISQ.  It is OK to move the GOBJ from the old directory to the same directly as the newly imported ISQ (it does not have a &#039;registry&#039; in the database).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import MRI to Scanco System==&lt;br /&gt;
#Load MR data in Osirix&lt;br /&gt;
#Export from Osirix&lt;br /&gt;
#*Click export button in top left in osirix.  &lt;br /&gt;
#*Select &amp;quot;flat&amp;quot; and &amp;quot;decompress all DICOM files&amp;quot;&lt;br /&gt;
#Copy files to correct folder in scanco system&lt;br /&gt;
#*Use Fillezilla or FTP (make sure it&#039;s set to binary mode)&lt;br /&gt;
#Use IPL to convert dicom to aim or isq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dicom_to_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -dicom_filename            IM-0001-0001.DCM   ! Note - choose the first filename of the series&lt;br /&gt;
  -multifiles                true&lt;br /&gt;
&lt;br /&gt;
/convert_unsigned&lt;br /&gt;
  -input                     in&lt;br /&gt;
  -shift_flag                false&lt;br /&gt;
  -divide_by_2               true&lt;br /&gt;
&lt;br /&gt;
/write_v020&lt;br /&gt;
  -name                      in&lt;br /&gt;
  -filename                  PREOA_023_L_MR.aim&lt;br /&gt;
  -compress_type             bin&lt;br /&gt;
  -version_020               true&lt;br /&gt;
&lt;br /&gt;
/toisq_from_aim&lt;br /&gt;
  -aim_name                  in&lt;br /&gt;
  -isq_filename              MROA023L.isq&lt;br /&gt;
  -square_flag               true&lt;br /&gt;
  -original_position         true&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Delete dicoms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/del *.dcm;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Import Xradia *.bin to Scanco System==&lt;br /&gt;
Xradia scanner exports a *.bin image that is:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit unsigned          ! This is &amp;quot;short&amp;quot; (8-bit is char - we don&#039;t want this for a grey-scale image)&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - little endian notation&lt;br /&gt;
&lt;br /&gt;
To upload this binary image to Scanco database, the steps are as follows:&lt;br /&gt;
&lt;br /&gt;
#Ftp the *.bin to Scanco system using binary transfer (not ascii)&lt;br /&gt;
#Convert it to an AIM or ISQ in IPL&lt;br /&gt;
&lt;br /&gt;
 $ipl&lt;br /&gt;
 &lt;br /&gt;
 /import_freeformat  &lt;br /&gt;
 -internal_name             in&lt;br /&gt;
 -file_name                 BMLPL_006.BIN&lt;br /&gt;
 -sample_name               BMLPL_006&lt;br /&gt;
 -data_offset               0&lt;br /&gt;
 -data_dim                  1000 1024 1016    !dimensions from header file&lt;br /&gt;
 -data_el_size              0.013 0.013 0.013 !voxel size from header file&lt;br /&gt;
 -bytes_per_voxel           2          &lt;br /&gt;
 -data_endian               little_endian&lt;br /&gt;
 -data_type                 integer&lt;br /&gt;
 -signed_type               unsigned          !correct&lt;br /&gt;
 -multifiles                false&lt;br /&gt;
 &lt;br /&gt;
 /convert_unsigned&lt;br /&gt;
 -input                     in&lt;br /&gt;
 -shift_flag                true              !shift_flag = TRUE will produce an ISQ/AIM with negative values which may not be visualized properly using uct_evaluation, but keeps the original image resolution.&lt;br /&gt;
 -divide_by_2               false             !divide_by_2 = TRUE will down grade image resolution, but all positive values in an ISQ/AIM will be visualized properly using uct_evaluation.&lt;br /&gt;
 &lt;br /&gt;
 /write_v020 &lt;br /&gt;
 -name                      in   &lt;br /&gt;
 -filename                  test.aim   &lt;br /&gt;
 -compress_type             bin   &lt;br /&gt;
 -version_020               true&lt;br /&gt;
 &lt;br /&gt;
 /from_aim_to_isq&lt;br /&gt;
  -aim_name             in&lt;br /&gt;
  -isq_filename         bmlpl006.isq !ISQ name requires 8 characters   &lt;br /&gt;
  -square_flag          true&lt;br /&gt;
  -original_position  true&lt;br /&gt;
 &lt;br /&gt;
quit &lt;br /&gt;
&lt;br /&gt;
To VIEW the ISQ, refer to [[Scanco_User_Instructions#Open_default_ISQ|&#039;&#039;&#039;Open default ISQ&#039;&#039;&#039;]].&lt;br /&gt;
&lt;br /&gt;
Alternatively the image can be converted to a 16-bit signed in ImageJ (and cropped) before importing to ipl. It then becomes:&lt;br /&gt;
&lt;br /&gt;
 - 16-bit signed&lt;br /&gt;
 - 2 bytes per voxel&lt;br /&gt;
 - big endian notation&lt;br /&gt;
&lt;br /&gt;
It can then be imported into ipl without the need to run &amp;lt;code&amp;gt;/convert_unsigned&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Get Your Files==&lt;br /&gt;
===MAC/Linux Options===&lt;br /&gt;
====Fetch====&lt;br /&gt;
#Download and install [http://fetchsoftworks.com/fetch/|&#039;&#039;&#039;Fetch&#039;&#039;&#039;]&lt;br /&gt;
#*This program is free for university staff and students. &lt;br /&gt;
#Fill out [http://fetchsoftworks.com/fetch/free|&#039;&#039;&#039;a form&#039;&#039;&#039;]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====FTP from Terminal====&lt;br /&gt;
#Open a terminal&lt;br /&gt;
#*MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Navigate to where you want to transfer the files to.&lt;br /&gt;
#Connect to the micro-CT ftp server using the ftp command in the terminal:&lt;br /&gt;
#*Login with the micro-CT user account and password.&lt;br /&gt;
#Navigate to the directory of interest on the micro-CT system.&lt;br /&gt;
#*Logicals such as &amp;quot;ur&amp;quot; can be used as short cuts. Whole directory names must be used.&lt;br /&gt;
#Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
#*The command &amp;lt;code&amp;gt;ftp&amp;gt; nmap $1;$2 $1&amp;lt;/code&amp;gt; sets anything before the version number to parameter $1 and anything after the version number to $2. The file output will be set to $1, therefore the version number will not be kept. &lt;br /&gt;
#Set the file transfer mode.&lt;br /&gt;
#*[[File:Important.JPG|20px]] If you transfer an .AIM file in ascii mode, you will receive a &amp;quot;mesh generation&amp;quot; errors and &amp;quot;material ID out of range&amp;quot; message.&lt;br /&gt;
#Transfer your files.&lt;br /&gt;
#*Option: Turn off prompt so does not ask you whether or not to transfer each file.&lt;br /&gt;
#*If you do not turn off the prompt prior to transferring the files, press &amp;quot;a&amp;quot; (for all) to transfer all files at once.&lt;br /&gt;
#Exit FTP.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ FTP 136.159.74.231	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP emily.ucalgary.ca	              !Connect to an FTP Server. Need to input user name and password.	&lt;br /&gt;
$ FTP microct@emily.ucalgary.ca       !Connect to an FTP Server. Need to input password. &lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; cd ur                            !Navigate to the directory containing the target files.&lt;br /&gt;
FTP&amp;gt; cd sys$scratch                   !Navigate to the directory containing the target files.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; nmap $1;$2 $1                    !Set a filename mapping convention to remove OpenVMS version numbers.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; bin	                      !Set transfer mode to binary (.aim, .gobj, .isq, and most image file types).&lt;br /&gt;
FTP&amp;gt; ascii	                      !Set transfer mode to ascii (.txt, .log, .com, .ps, .pdf and all other files in general).&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; put test.aim                     !Put the file&lt;br /&gt;
FTP&amp;gt; get test.aim                     !Get the file&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; prompt                           !Interactive mode off before transferring multiple files without having to be prompted.&lt;br /&gt;
FTP&amp;gt; mput *.aim	                      !Put all files with the .aim extension on the FTP server (mput = multiple put).&lt;br /&gt;
FTP&amp;gt; mget *.aim	                      !Get all files with the .aim extension from the FTP server (mget = multiple get).&lt;br /&gt;
FTP&amp;gt; mget *.aim;	              !Transfer the latest version of all aim files in a directory.&lt;br /&gt;
&lt;br /&gt;
FTP&amp;gt; quit	                      !Disconnect from the FTP Server.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
===Windows Options===&lt;br /&gt;
====Scanco Medical µCT FTP====&lt;br /&gt;
#Downlod &#039;&#039;&#039;Scanco Medical MicroCT FTP 3.4&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Scanco Medical MicroCT FTP 3.4\&lt;br /&gt;
#Install the software using the default parameters.&lt;br /&gt;
#Click on FTP Connection and input the host to connect to, the username, password. &lt;br /&gt;
#Give this profile a name.&lt;br /&gt;
#:[[File:Microct_FTP_pic01.jpg|600px]]&lt;br /&gt;
#Click on the options tab to set the locations to connect to (e.g., project disk, scratch) and the location on your computer to transfer files to.&lt;br /&gt;
#:[[File:Microct_FTP_pic02.jpg|600px]]&lt;br /&gt;
#Go back to FTP Connection and press the Connect button.  &lt;br /&gt;
#*If you are connecting from off campus to the XtremeCT you will need to use the VPN to gain access through the firewall.&lt;br /&gt;
#Use the left tree to navigate folders.  &lt;br /&gt;
#*Use the file filter to search for specific file types or file names (bottom left).  &lt;br /&gt;
#Select files to download and press the Download Selected Files button (bottom right).&lt;br /&gt;
#:[[File:Microct_FTP_pic03.jpg|600px]]&lt;br /&gt;
#Press the Exit button to disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
====Filezilla====&lt;br /&gt;
#Download &#039;&#039;&#039;Filezilla 2.2.32&#039;&#039;&#039; from BoydDrive:\\04 - Resources\04 - Software\Filezilla 2.2.32\  &lt;br /&gt;
#*This version of Filezilla will remove the OpenVMS version number from files, the new version will not! &lt;br /&gt;
#*The left side of the program shows your computer, the right side will show the micro-CT system once you have connected.&lt;br /&gt;
#:[[File:Filezilla_pic01.jpg|500px]]&lt;br /&gt;
#On the top menu, choose &amp;quot;File&amp;quot;, then &amp;quot;Site Manager&amp;quot;.  &lt;br /&gt;
#Create a &amp;quot;New Site&amp;quot; for all the directories that you frequently access.  &lt;br /&gt;
#*Give the site a meaningful name.  &lt;br /&gt;
#*For the host, you may connect to &amp;quot;emily.ucalgary.ca&amp;quot; or &amp;quot;sceval.ucalgary.ca&amp;quot;.   &lt;br /&gt;
#*For the logon type choose &amp;quot;Normal&amp;quot; and input the micro-CT user name and password.&lt;br /&gt;
#:[[File:Filezilla_pic02.jpg|400px]]&lt;br /&gt;
#Click on the &amp;quot;Advanced...&amp;quot; button to set the default remote directory (i.e., on the micro-CT system).&lt;br /&gt;
#Set the default local directory if there is a specific location you plan to always transfer files to. &lt;br /&gt;
#Setup any additional sites you want then press &amp;quot;Save and Exit&amp;quot;.&lt;br /&gt;
#:[[File:Filezilla_pic03.jpg|300px]]&lt;br /&gt;
#To connect to a session, hold the left mouse button down over the arrow next to the site manager button (computer icon under &amp;quot;File&amp;quot;) to bring up your list of sites.  Highlight the site of interest then release the mouse button to connect.  &lt;br /&gt;
#Once connected, you can drag and drop files from the remote site to your local computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;*Common FTP locations&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Account&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Location&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Path&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Data Disk	||DISK2:[MICROCT.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Projects Disk	||DISK3:[MICROCT.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| microct / vivact ||	Scratch Disk	||ADISK1:[MICROCT.SCRATCH]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Data Disk	||DISK4:[BONELAB.DATA]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Projects Disk	||DISK5:[BONELAB.PROJECTS]&lt;br /&gt;
|-&lt;br /&gt;
| invivo / invitro ||	Scratch Disk	||ADISK1:[BONELAB.SCRATCH]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=Remote Access=&lt;br /&gt;
&lt;br /&gt;
== VPN Setup ==&lt;br /&gt;
&lt;br /&gt;
Access to the OpenVMS workstations from campus does not require VPN setup; however, to access from off the campus requires establishing a VPN connection prior to connecting.&lt;br /&gt;
&lt;br /&gt;
*The VPN server is: gpvpn2.ucalgary.ca&lt;br /&gt;
&lt;br /&gt;
*The client needed for VPN connection is &#039;&#039;&#039;FortiClient SSL&#039;&#039;&#039; which is available through [https://ucalgary.service-now.com/it| UofC IT Service Request] &amp;quot;Order Something&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for MAC/Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Terminal and XQuartz ===&lt;br /&gt;
You need following to access the MicroCT system remotely.&lt;br /&gt;
#&#039;&#039;&#039;Terminal&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Preinstalled in MAC/Linux. &lt;br /&gt;
#&#039;&#039;&#039;XQuartz&#039;&#039;&#039;: an X server for X11 forwarding&lt;br /&gt;
#*X11 was previously distributed with Mac OSX but has since stopped.&lt;br /&gt;
#*Check if preinstalled in MAC: open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, there should be a file called &amp;quot;XQuartz&amp;quot;. No need to open.&lt;br /&gt;
#*If not preinstalled, download the most recent [https://www.xquartz.org/ &#039;&#039;&#039;XQuartz.dmg&#039;&#039;&#039;]. &lt;br /&gt;
#*Once downloaded, double click the .dmg file to follow the instructions and install.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;SSH from terminal&lt;br /&gt;
#Open a terminal. &lt;br /&gt;
#*MAC: Open the &amp;quot;Applications&amp;quot; folder, choose &amp;quot;Utilities&amp;quot;, then &amp;quot;Terminal&amp;quot;.&lt;br /&gt;
#Type &amp;lt;pre&amp;gt;$ ssh xtremect2@emily.ucalgary.ca -Y&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*The -Y flag activates X11 forwarding.&lt;br /&gt;
#Or type &amp;lt;pre&amp;gt;$ ssh -Y -p22 -c 3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss xt2recalib@emily.ucalgary.ca &amp;lt;/pre&amp;gt;&lt;br /&gt;
#*Type &amp;lt;pre&amp;gt;$ alias xt2recalib=&#039;&amp;lt;ssh command above&amp;gt;&#039;&amp;lt;/pre&amp;gt;  allows you to only type &amp;lt;pre&amp;gt;&amp;quot;$ xt2recalib&amp;quot;&amp;lt;/pre&amp;gt; in the terminal from here on out to access the MicroCT system.&lt;br /&gt;
#You&#039;re good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
== Setup for Windows ==&lt;br /&gt;
=== MobaXterm ===&lt;br /&gt;
&lt;br /&gt;
There is only one program required to access MicroCT remotely: MobaXterm. It will act as both an SSH client and as an X server.&lt;br /&gt;
&lt;br /&gt;
*Download [https://mobaxterm.mobatek.net/download-home-edition.html MobaXterm Home Edition (Portable Edition)]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure MobaXterm&lt;br /&gt;
*Run the .exe file after downloading MobaXterm. &lt;br /&gt;
:[[File:MobaXterm_init.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User Sessions&amp;quot; and choose &amp;quot;SSH&amp;quot; in the top left of the &amp;quot;Session settings&amp;quot; window. &lt;br /&gt;
*Input your host info into the &amp;quot;Remote host&amp;quot; dialogue box such as &amp;quot;emily.ucalgary.ca&amp;quot;, check on &amp;quot;Specify username&amp;quot; and input your username such as &amp;quot;xt2recalib&amp;quot; and ensure &amp;quot;X-11 Forwarding&amp;quot; is checked in &amp;quot;Advanced SSH Settings&amp;quot; tab, and click OK.&lt;br /&gt;
:[[File:MobaXterm_SSH.PNG|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the session&lt;br /&gt;
*Launch the MobaXterm client and under &amp;quot;Sessions&amp;quot; -&amp;gt; &amp;quot;User session&amp;quot; you should have something titled &amp;quot;xt2recalib@emily.ucalgary.ca&amp;quot;. &lt;br /&gt;
*Double click that session and you&#039;re good to go!&lt;br /&gt;
:[[File:MobaXterm_Session.PNG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== PuTTY and Xming ===&lt;br /&gt;
There are two programs required: &lt;br /&gt;
#&#039;&#039;&#039;PuTTY&#039;&#039;&#039;: an SSH client&lt;br /&gt;
#*Download [http://www.chiark.greenend.org.uk/~sgtatham/putty/ &#039;&#039;&#039;PuTTY&#039;&#039;&#039;] or from BoydDrive:\\04 - Resources\04 - Software\PuTTY.&lt;br /&gt;
#&#039;&#039;&#039;Xming&#039;&#039;&#039;: an X server&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/latest/download?source=files &#039;&#039;&#039;Xming 6.9.0.31&#039;&#039;&#039;]&lt;br /&gt;
#*Download [https://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.93/Xming-fonts-7-5-0-93-setup.exe/download &#039;&#039;&#039;Xming Fonts&#039;&#039;&#039;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Configure PuTTY&lt;br /&gt;
*Under categories, expand the &amp;quot;Connection&amp;quot; and &amp;quot;SSH&amp;quot; trees. Click on &amp;quot;X11&amp;quot; and check the &amp;quot;Enable X11forwarding&amp;quot; box.&lt;br /&gt;
:[[File:Putty1.png|400px]]&lt;br /&gt;
*Under categories, now choose &amp;quot;Sessions&amp;quot;. &lt;br /&gt;
*Under host name, put in &amp;quot;emily.ucalgary.ca&amp;quot;. Choose &amp;quot;SSH&amp;quot; for the connection type. &lt;br /&gt;
*Under Saved Sessions, give the session a name (e.g., Emily). Click the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
:[[File:Putty2.png|400px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
;Start the Session&lt;br /&gt;
*Launch the Xming program, nothing should open except the Xming icon on the task bar. &lt;br /&gt;
*Open PuTTY. Double-click on the saved session, which will open a DEC terminal.&lt;br /&gt;
*Any program that you run remotely will be displayed by Xming.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
==Remote Access FAQ==&lt;br /&gt;
=== MAC Open SSH Authentication Issue ===&lt;br /&gt;
You might get an error similar to the following especially after a recent OS update:&lt;br /&gt;
  Unsupported KEX algorithm &amp;quot;+diffie-hellman-group1-sha1&amp;quot;&lt;br /&gt;
  command-line line 0: Bad SSH2 KexAlgorithms &#039;+diffie-hellman-group1-sha1&lt;br /&gt;
This is not Apple’s fault, it’s OpenSSH version 7. SHA1 is weak, so support for it has been removed. Which is fine, but VMS clients are probably using RSA/SHA1. So until they’re all updated (i.e. never!) we need to re-enable SHA1.&lt;br /&gt;
&lt;br /&gt;
Open a terminal windows and execute the following:&lt;br /&gt;
  sudo nano /etc/ssh/ssh_config&lt;br /&gt;
ENTER YOUR PASSWORD&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160′ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Locate the line ‘# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc’ and remove the Hash/Pound sight from the beginning.&lt;br /&gt;
&lt;br /&gt;
Then paste the following on the end;&lt;br /&gt;
&lt;br /&gt;
  HostkeyAlgorithms ssh-dss,ssh-rsa&lt;br /&gt;
  KexAlgorithms +diffie-hellman-group1-sha1&lt;br /&gt;
There’s no reason to reboot, it should work straight away.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== SSH Speed Issues  ===&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you notice that the remote display is quite slow, you may prefer to enter the &#039;manual&#039; X display redirection after connecting with ssh. &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The steps to enter the &#039;manual&#039; X display redirection are outlined in one of Scanco&#039;s FAQs found [http://www.scanco.ch/en/support/customer-login/faq-customers/faq-customers-general.html here]. &amp;lt;br /&amp;gt;&lt;br /&gt;
Click the &amp;quot;Remote Graphical Access from your PC to the MicroCT&amp;quot; tab (5th tab) and scroll down to &amp;quot;SSH Speed Issue&amp;quot; for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;br /&gt;
&lt;br /&gt;
=== MobaXterm Backspace Issue ===&lt;br /&gt;
If the Backspace/Delete key doesn&#039;t work on your MobaXterm&lt;br /&gt;
&lt;br /&gt;
#Right-click on a session name on the left column and click &amp;quot;Edit session&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm1.png|500px]]&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#Under &amp;quot;SSH&amp;quot; page &amp;quot;Terminal settings&amp;quot; tab, toggle off &amp;quot;Backspace sends ^H&amp;quot; and &amp;quot;Save&amp;quot;&lt;br /&gt;
#:[[File:MobaXterm2.JPG|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Redirect.jpg|15px]] [[#top|&#039;&#039;Return to Contents&#039;&#039;]] or [[Main_Page|&#039;&#039;Return to Main Page&#039;&#039;]]&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
	<entry>
		<id>https://bone.wiki/index.php?title=File:Contrast_mouse_head_YZ.jpg&amp;diff=7081</id>
		<title>File:Contrast mouse head YZ.jpg</title>
		<link rel="alternate" type="text/html" href="https://bone.wiki/index.php?title=File:Contrast_mouse_head_YZ.jpg&amp;diff=7081"/>
		<updated>2021-01-27T00:24:59Z</updated>

		<summary type="html">&lt;p&gt;Yingzhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Yingzhu</name></author>
	</entry>
</feed>