40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  TCS elog  Not logged in ELOG logo
Message ID: 92     Entry time: Wed Aug 18 18:38:11 2010
Author: Aidan 
Type: Computing 
Category: Hartmann sensor 
Subject: Hartmann sensor code 

 I downloaded and tested revision 47 of the Adelaide Hartmann sensor code from the SVN (https://trac.ligo.caltech.edu/Hartmann_Sensor/browser/users/won/HS_OO?rev=47). After giving it the correct input filenames it centroided the Hartmann sensor images pretty seamlessly. The output and code is attached below.

The code takes two Hartmann images. Locates the centroids in both instances and then determines the displacements of all the centroids between the two images. The locations of the centroids are plotted in a diagram and the x- and y- centroid displacements are plotted vs the index of each centroid.

The following comments are output on the command line in MATLAB:


>> test_HS_Classes
Current plot held
Current plot released
Obtained reference and test centroids.
Number of centroids in reference centroids = 951
average position of reference centroids:
x = 506.39615297  y = 512.890603168
Number of centroids in test centroids = 951
average position of test centroids:
x = 506.396160891  y = 512.892513673


HWS_code_output.png - shows the output from the code: we'll need to get more labels on these plots.

HWS_input_image.png - the reference input image (using false color scale) to the Hartmann code

Attachment 1: test_HS_Classes.m  4 kB  | Hide | Hide all
% test_HS_classes.m
% A script to test and demonstrate the usage of classes HS_Centroids and
% HS_Classes.

% (LIGO) If half_offset is set true, image and centroids won't be in
% sync in the scatter plot.

% Input parameters
background = 49.3;
... 107 more lines ...
Attachment 2: HS_Image.m  2 kB  | Hide | Hide all
% HS_Image.m
% HS_Image is a class used to store and interact with images from
% Hartmann Sensor camera.
% An instance of the class HS_Image is also used as a property of an
% instance of the class HS_Centroids.
% Properties:
... 70 more lines ...
Attachment 3: HS_Centroids.m  10 kB  | Hide | Hide all
% HS_Centroids.m
% HS_Centroids is a class used to generate and interact with centroids
% of Hartmann Sensor images.
% An instance of the class HS_Centroids holds a set of centroids of an
% image.
% Properties:
... 254 more lines ...
Attachment 4: HWS_code_output.png  621 kB  Uploaded Wed Aug 18 19:44:02 2010  | Hide | Hide all
Attachment 5: HWS_input_image.png  344 kB  Uploaded Wed Aug 18 19:44:28 2010  | Hide | Hide all
ELOG V3.1.3-