Difference between revisions of "Homer Gui setup"

From LIBISIS
Jump to navigation Jump to search
m
m
Line 1: Line 1:
== Matlab Version ==
+
== Standalone Version Installation==
  
To set up the Homer GUI interface you must define instrument related directories in the <tt>inst_defs.m</tt> file this is contained in the <tt>./matlab/homer_gui</tt> directory of the libisis distribution.
+
* Download the homer gui standalone zip file
 +
* Unzip all files
 +
* Double click "mcrinstall.exe" And follow the onscreen instructions. This creates the matlab runtime components so that libraries required by homer are installed.
 +
* Run the file homer_ver0.exe to start homer
  
Each instrument has its '''own section''' in the <tt>inst_defs.m</tt> file, and there are five directories which need to be defined.  
+
 
 +
== Matlab / Libisis version ==
 +
 
 +
This is typically contained in the folder <tt> applications/homer_gui </tt>. In matlab, when running libisis simply type
 +
 
 +
* <tt> >> homer_ver0</tt>
 +
 
 +
To open the homer gui
 +
 
 +
 
 +
== Instrument Setup ==
 +
 
 +
To set up the Homer GUI interface you must define instrument related directories in the text files located in the <tt>instrument_setup</tt> folder contained in the main folder. Each instrument has it's own text file. There is also a file called required_fields.txt that contains the field names that MUST be entered. This may also be changed (but not deleted).
 +
 
 +
For each instrument, there are five directories which need to be defined.  
  
 
input/output directories
 
input/output directories
Line 28: Line 45:
 
end
 
end
 
</pre>
 
</pre>
 
 
== Standalone Version ==
 

Revision as of 13:33, 14 August 2008

Standalone Version Installation

  • Download the homer gui standalone zip file
  • Unzip all files
  • Double click "mcrinstall.exe" And follow the onscreen instructions. This creates the matlab runtime components so that libraries required by homer are installed.
  • Run the file homer_ver0.exe to start homer


Matlab / Libisis version

This is typically contained in the folder applications/homer_gui . In matlab, when running libisis simply type

  • >> homer_ver0

To open the homer gui


Instrument Setup

To set up the Homer GUI interface you must define instrument related directories in the text files located in the instrument_setup folder contained in the main folder. Each instrument has it's own text file. There is also a file called required_fields.txt that contains the field names that MUST be entered. This may also be changed (but not deleted).

For each instrument, there are five directories which need to be defined.

input/output directories

  • indat.datadir -> this is where your raw data is kept
  • indat.spedir -> this is where homer will write the SPE file to

parameter directories

  • indat.mapdir -> this is where your instrument map files are kept
  • indat.maskdir -> this is where your instrument mask files are kept
  • indat paramdir -> this is where your instrument parameter files are kept

These files for each instrument are supplied with the libisis distribution in ./matlab/Instrument_files. An example set for the mari instrument is defined below, there are many other values which are defined in this file, ask your instrument scientist if there are any particular default settings which have been changed for your experiment, such as whitebeam integration limits or background subtraction limits.

if strcmp(instname,'mar')
:
   indat.datadir='C:\mprogs\RAW\';
   indat.mapdir='C:\mprogs\libisis\Instrument_files\mari_files\';
   indat.maskdir='C:\mprogs\libisis\Instrument_files\mari_files\';
   indat.spedir='C:\mprogs\mari_spe\'; % defines the directory to output SPE files to
   indat.paramdir='C:\mprogs\libisis\Instrument_files\mari_files\';
:
end