Project

General

Profile

Gon Modeler » History » Revision 3

Revision 2 (Amber Herold, 04/27/2010 02:37 PM) → Revision 3/4 (Eric Hou, 06/25/2010 09:07 AM)

h1. Gon Modeler 

 


 The GonModeler node models the goniometer/stage movement to give a more accurate stage 
 position/movement calibration. The stage position is modeled in both x and y directions. For a 
 more accurate calibration, many points or images need to be acquired to give a more accurate 
 mathematical fit to the function. This calibration works best on a grid that will always give 
 good cross correlations. Slot grids give large areas that can cross correlate well, but this 
 type of grid tends to drift. Negatively stained grids or grids with a carbon in the background 
 will work well. 

 <blockquote> 

 _How does modeled stage position 
 work?_ 

 


 There are two types of results from doing a modeled stage calibration: 1) a function (in 
 the form of a harmonic series) that models the mechanical behavior of the stage 2) a 
 magnification adjustment (scaling and rotation) that allows the model function to be used at 
 different magnifications. Part 1 needs to be done at only one magnification, because the 
 result will be normalized in the database so that it can be used at any other magnification. 
 Part 2 needs to be done at any other magnifications that you wish to use this calibration. 
 The user interface of GonModeler node gives you two methods: "Fit Model" and "Mag Only" 
 These two methods are really identical except for the final result they store in the 
 database. "Fit Model" will store both part 1 and 2 above. "Mag Only" will onlystore part 2 
 (and assumes that you already have part 1 done). Since "Fit Model" is responsible for part 
 1, you generally need to measure a lot of points to get a good fit. You will normally select 
 between 2 and 5 terms for the harmonic series to get a good fit. The "Mag Only" method will 
 also fit a function to your measured points using the number of terms you specify. But the 
 resulting best fit function is not stored in the database. Only the constant term of the 
 resulting function is stored, because this can be used to scale the existing normalized 
 model function to the current magnification. 

 


 See ( "http://emg.nysbc.org/publications/techreports/99-001/":http://emg.nysbc.org/publications/techreports/99-001/ ). 


 Right now it is not possible to use the modeled stage calibration for building a mosaic 
 of images. The reason is that we have not yet implemented the inverse transform of this 
 calibration. All of the matrix calibrations are easy to invert (for instance, you can 
 convert from a pixel shift to a stage shift, or invert that and convert from a stage shift 
 to a pixel shift). The modeled stage calibration is more complicated to invert, so right now 
 we can only convert from a pixel shift to a stage shift. The MosaicClickTargetFinder node is 
 responsible for assembling the images into a complete mosaic image. It does this by looking 
 at the stage position of each of the component images, and doing the reverse transform from 
 stage position to pixel shift. The result is the pixel offset of the component image in the 
 overall mosaic. 

 </blockquote> 

 Required bindings to use preset instrument configuration set by presets manager 

 <simplelist type="vert"> 
 <member> PresetsManagerNode - (PresetChangedEvent) -> GonioMedelerNode 

 GonioMedelerNode</member> 
 </simplelist> 


 h2.    Toolbar 

 





 *    Settings = set calibration, measurement, and modeling parameters 

 


 *    Acquire Image = acquire an image within this node 

 


 *    Measure = measure the distance of the latest movement 

 


 *    Play = calibrate the goniometer model 

 


 *    Abort = abort the goniometer modeling routine 

 









 h2.    Settings 

 





 *    Use "cross | phase" correlation = to calculate the goniometer model 

 


 *    Override Preset = use this node's <link linkend="camconfig">Instrument and Camera 
 Configuration</link> to acquire the images in this node 

 


 *    Measurement 

  ## 




 *    Axis: x or y = the selected axis the stage model is being measured 
 for 
  &nbsp; 
  ## 


 *    Points: 200 (default) = number of data points (stage movements) used 
  &nbsp; 
  ## 


 *    Tolerance: 25 % = percentrage of error allowed in calculations 
  &nbsp; 
  ## 


 *    Interval: 5e-06 m = interval used to incrementally move the stage to model 
 the stage movement 
  &nbsp; 
  ## 


 *    Label = name of the goniometer measurement (without axis suffix) 

 






 *    Modeling 

  ## 




 *    Label = name of the goniometer model (without axis suffix) 
  &nbsp; 
  ## 


 *    Axis: x or y = axis the goniometer model is calculated for 
  &nbsp; 
  ## 


 *    Magnification = the magnification the goniometer model is being created 
 for 
  &nbsp; 
  ## 


 *    Terms = 5 (default) 
  &nbsp; 
  ## 


 *    Model magnification only = disabled (default). When enabled, the node still 
 fit the full modeling but only the scale and the basic matrix that defines the 
 image and stage axis relationship are stored in the database. 

 



 ______ 

 [[Focuser|< Focuser]] | [[Hole Finder|Hole Finder >]] 

 ______