Difference between revisions of "Scripting Homer Functions"

From LIBISIS
Jump to navigation Jump to search
Line 12: Line 12:
  
  
[[Creating IXTmap and IXTmask from the matlab command line]]
+
[[IXTmap and IXTmask from the matlab command line]]
  
  

Revision as of 10:17, 30 January 2008

It is possible to treat your data by making calls to the homer function only, but it can be quite involved, requiring specific keyword arguments to be specified for different parts of the process. These three functions can be called in conjunction with diagnose to fully homer your data. They all call the homer function underneath, but they set up particular default values particular to the process. All these default values can be overridden if they are defined as arguments to the function.

  • All three functions have required keywords and accept all the optional keywords from homer
  • Before any of the following commands can be called the appropriate Instrument Setup functions must be called.
  • run_no is a keyword common to all these functions, it is a string defining the run number to be homered
  • if multiple runs are to be added together then they can be provided in a cell array of strings
>> run_no={'11045' '23456' '12345'}

keywords which are not default values are mon_map mon_mask det_map det_mask


IXTmap and IXTmask from the matlab command line


white_beam

>> runfile=white_beam(dso,  run_no, 'keyword_1', parameter_1,..., 'keyword_N',parameter_N)


mono_van

>> runfile=mono_van(dso,  run_no, chopper_type,'keyword_1', parameter_1,..., 'keyword_N',parameter_N)

chopper type is a string argument denoting the type of chopper used in the experiment eg 'sloppy'

mono_sample