Gon Modeler » History » Version 1
  Amber Herold, 04/23/2010 09:57 AM 
  
| 1 | 1 | Amber Herold | h1. Gon Modeler  | 
|---|---|---|---|
| 2 | |||
| 3 | |||
| 4 | The GonModeler node models the goniometer/stage movement to give a more accurate stage  | 
||
| 5 | position/movement calibration. The stage position is modeled in both x and y directions. For a  | 
||
| 6 | more accurate calibration, many points or images need to be acquired to give a more accurate  | 
||
| 7 | mathematical fit to the function. This calibration works best on a grid that will always give  | 
||
| 8 | good cross correlations. Slot grids give large areas that can cross correlate well, but this  | 
||
| 9 | type of grid tends to drift. Negatively stained grids or grids with a carbon in the background  | 
||
| 10 | will work well.  | 
||
| 11 | |||
| 12 | <blockquote>  | 
||
| 13 | |||
| 14 | _How does modeled stage position  | 
||
| 15 | work?_  | 
||
| 16 | |||
| 17 | |||
| 18 | There are two types of results from doing a modeled stage calibration: 1) a function (in  | 
||
| 19 | the form of a harmonic series) that models the mechanical behavior of the stage 2) a  | 
||
| 20 | magnification adjustment (scaling and rotation) that allows the model function to be used at  | 
||
| 21 | different magnifications. Part 1 needs to be done at only one magnification, because the  | 
||
| 22 | result will be normalized in the database so that it can be used at any other magnification.  | 
||
| 23 | Part 2 needs to be done at any other magnifications that you wish to use this calibration.  | 
||
| 24 | The user interface of GonModeler node gives you two methods: "Fit Model" and "Mag Only"  | 
||
| 25 | These two methods are really identical except for the final result they store in the  | 
||
| 26 | database. "Fit Model" will store both part 1 and 2 above. "Mag Only" will onlystore part 2  | 
||
| 27 | (and assumes that you already have part 1 done). Since "Fit Model" is responsible for part  | 
||
| 28 | 1, you generally need to measure a lot of points to get a good fit. You will normally select  | 
||
| 29 | between 2 and 5 terms for the harmonic series to get a good fit. The "Mag Only" method will  | 
||
| 30 | also fit a function to your measured points using the number of terms you specify. But the  | 
||
| 31 | resulting best fit function is not stored in the database. Only the constant term of the  | 
||
| 32 | resulting function is stored, because this can be used to scale the existing normalized  | 
||
| 33 | model function to the current magnification.  | 
||
| 34 | |||
| 35 | |||
| 36 | See ( "http://emg.nysbc.org/publications/techreports/99-001/":http://emg.nysbc.org/publications/techreports/99-001/ ).  | 
||
| 37 | |||
| 38 | |||
| 39 | Right now it is not possible to use the modeled stage calibration for building a mosaic  | 
||
| 40 | of images. The reason is that we have not yet implemented the inverse transform of this  | 
||
| 41 | calibration. All of the matrix calibrations are easy to invert (for instance, you can  | 
||
| 42 | convert from a pixel shift to a stage shift, or invert that and convert from a stage shift  | 
||
| 43 | to a pixel shift). The modeled stage calibration is more complicated to invert, so right now  | 
||
| 44 | we can only convert from a pixel shift to a stage shift. The MosaicClickTargetFinder node is  | 
||
| 45 | responsible for assembling the images into a complete mosaic image. It does this by looking  | 
||
| 46 | at the stage position of each of the component images, and doing the reverse transform from  | 
||
| 47 | stage position to pixel shift. The result is the pixel offset of the component image in the  | 
||
| 48 | overall mosaic.  | 
||
| 49 | |||
| 50 | </blockquote>  | 
||
| 51 | |||
| 52 | Required bindings to use preset instrument configuration set by presets manager  | 
||
| 53 | |||
| 54 | <simplelist type="vert">  | 
||
| 55 | <member> PresetsManagerNode - (PresetChangedEvent) -> GonioMedelerNode</member>  | 
||
| 56 | </simplelist>  | 
||
| 57 | |||
| 58 | |||
| 59 | h2. Toolbar  | 
||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | * Settings = set calibration, measurement, and modeling parameters  | 
||
| 66 | |||
| 67 | |||
| 68 | * Acquire Image = acquire an image within this node  | 
||
| 69 | |||
| 70 | |||
| 71 | * Measure = measure the distance of the latest movement  | 
||
| 72 | |||
| 73 | |||
| 74 | * Play = calibrate the goniometer model  | 
||
| 75 | |||
| 76 | |||
| 77 | * Abort = abort the goniometer modeling routine  | 
||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | h2. Settings  | 
||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | * Use "cross | phase" correlation = to calculate the goniometer model  | 
||
| 94 | |||
| 95 | |||
| 96 | * Override Preset = use this node's <link linkend="camconfig">Instrument and Camera  | 
||
| 97 | Configuration</link> to acquire the images in this node  | 
||
| 98 | |||
| 99 | |||
| 100 | * Measurement  | 
||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | * Axis: x or y = the selected axis the stage model is being measured  | 
||
| 106 | for  | 
||
| 107 | |||
| 108 | |||
| 109 | * Points: 200 (default) = number of data points (stage movements) used  | 
||
| 110 | |||
| 111 | |||
| 112 | * Tolerance: 25 % = percentrage of error allowed in calculations  | 
||
| 113 | |||
| 114 | |||
| 115 | * Interval: 5e-06 m = interval used to incrementally move the stage to model  | 
||
| 116 | the stage movement  | 
||
| 117 | |||
| 118 | |||
| 119 | * Label = name of the goniometer measurement (without axis suffix)  | 
||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | * Modeling  | 
||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | * Label = name of the goniometer model (without axis suffix)  | 
||
| 132 | |||
| 133 | |||
| 134 | * Axis: x or y = axis the goniometer model is calculated for  | 
||
| 135 | |||
| 136 | |||
| 137 | * Magnification = the magnification the goniometer model is being created  | 
||
| 138 | for  | 
||
| 139 | |||
| 140 | |||
| 141 | * Terms = 5 (default)  | 
||
| 142 | |||
| 143 | |||
| 144 | * Model magnification only = disabled (default). When enabled, the node still  | 
||
| 145 | fit the full modeling but only the scale and the basic matrix that defines the  | 
||
| 146 | image and stage axis relationship are stored in the database.  |