Difference between revisions of "Homer Gui setup"

From LIBISIS
Jump to navigation Jump to search
 
Line 13: Line 13:
 
* indat.maskdir -> this is where your instrument mask 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
 
* indat paramdir -> this is where your instrument parameter files are kept
These files for each instrument are supplied with the libisis distribution in <tt>./matlab/Instrument_files</tt>. An example set for the mari instrument is defined below
+
These files for each instrument are supplied with the libisis distribution in <tt>./matlab/Instrument_files</tt>. 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.
  
 
<pre>
 
<pre>

Revision as of 11:00, 31 January 2008

To set up the Homer GUI interface you must define instrument related directories in the inst_defs.m file this is contained in the ./matlab/homer_gui directory of the libisis distribution.

Each instrument has its own section in the inst_defs.m file, and 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