|---------------------------------------------------|
| How to do an experiment with the take program.    |
|                                                   |
| Maria Magnusson 2012-09-20                        |
|---------------------------------------------------|

1) Start matlab
2) Set path, for example:
   path(path,'/proj/tomo/maria/OlleMajaTake/prog/matlab')
   for maria at Unix or
   path(path,'C:\Documents and Settings\maria\My Documents\Research\OlleMajaTake\prog\matlab')
   at marias laptop
   or something else or your computer...
3) Go to experimentX, where X is 5.1, 5.2, 5.3 or 5.4
4) This command start the program:
   >> plex
5) This probably don't work the first time. Then you need a new compilation! 
   Go to the matlab-directory and edit make.m. 
   You probably need to change the path to the matlab-directory.
6) The following command compiles the mex-files:
   >> make
------------------------------------------------------------------------------------------------
7) Do you want to run take as a stand-alone program? 
   Then, go to the matlab-directory. 
   The compile instructions is located in Makefile. 
   The following command compiles the mex-files:
   > make take
------------------------------------------------------------------------------------------------


|---------------------------------------------------|
| Licence information.                              |
|                                                   |
| Maria Magnusson 2013-10-29                        |
|---------------------------------------------------|

The program take is licenced under the X11 license:

Copyright (C), 1996-2005, Jens Mueller-Merbach, Maria Magnusson, Henrik Turbell, Olle Seger

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
