SDSUAutoguider CORBA Interface
 All Classes Namespaces Files Functions Variables
iSDSUAutoguider.idl
Go to the documentation of this file.
1 /*
2 =====================================================================
3 File : AutoguiderInterface.idl
4 Description
5 -----------
6 IDL CORBA description for the SDSU Autoguider
7 =====================================================================
8 @Author R.Bassom
9 Control Software Group
10 Isaac Newton Group of Telescopes
11 La Palma
12 Canary Islands
13 Spain
14 =====================================================================
15 Modification Log
16 Vers Date Author Reason
17 ---- ---- ------ ------
18 1
19 Commissioning Notes
20 -------------------
21 None
22 =====================================================================
23 Identifier : $Id: iSDSUAutoguider.idl,v 1.1 2008/02/11 08:23:26 cb Exp $
24 RO : $Author: cb $
25 Header : $Header: /opt/INGsrc/src/CVS/softproj/IDL/src/iSDSUAutoguider/iSDSUAutoguider.idl,v 1.1 2008/02/11 08:23:26 cb Exp $
26 Log : $Log: iSDSUAutoguider.idl,v $
27 Log : Revision 1.1 2008/02/11 08:23:26 cb
28 Log : First version
29 Log :
30 Log : Revision 1.14 2005/02/24 09:59:25 rab
31 Log : Added centroid and centroidInWindow methods to IDL interface.
32 Log :
33 Log : Revision 1.13 2004/06/02 13:36:52 rab
34 Log : Added hasNewImage method to IDL.
35 Log :
36 Log : Revision 1.12 2004/03/12 09:08:21 rab
37 Log : Removed moveGuideWindow method, and changed setGuideWindow to accept only centre coordinates.
38 Log :
39 Log : Revision 1.11 2004/03/02 15:31:43 rab
40 Log : Added open and close guide loop methods. Added resetReferenceStar method for relative transparency reset.
41 Log :
42 Log : Revision 1.10 2004/02/27 10:02:21 rab
43 Log : Added GuideStarTracking methods. Removed getAutoguiderStatus method.
44 Log :
45 Log : Revision 1.9 2004/02/24 11:12:20 rab
46 Log : Added moveGuideWindow and offsetGuideWindow methods.
47 Log :
48 Log : Revision 1.8 2004/02/13 09:26:23 rab
49 Log : Added setGuideWindowSize method. Added autoguider status parameter getters which deprecate the getAutoguiderStatus method: State, IntegrationTime, AcquisitionWindow, GuideWindow, AutoguiderCycle, GuideTargetPosition, SNRThreshold.
50 Log :
51 Log : Revision 1.7 2004/02/11 09:59:45 rab
52 Log : Added RelativeTransparency to Star structure. Added IntegrationTime to autoguider status structure.
53 Log :
54 Log : Revision 1.6 2004/02/03 15:28:43 rab
55 Log : Corrected some comments.
56 Log :
57 Log : Revision 1.5 2004/01/30 12:05:52 rab
58 Log : Added moveObject method, header and comments.
59 Log :
60 
61 
65 module iSDSUAutoguider {
66 
68  typedef sequence <unsigned short> Image;
69 
71  struct ImageData {
73  Image AutoguiderImage;
75  float integration_time;
77  unsigned short x;
79  unsigned short y;
80  };
81 
83  struct Star {
85  double Centroidx;
87  double Centroidy;
89  double IsophotalIntensity;
91  double PeakIntensity;
93  double IsophotalSize;
95  double Ellipticity;
97  double FWHMx;
99  double FWHMy;
101  double SkyNoise;
103  double SkyLevel;
105  double PeakSNR;
107  double Seeing;
109  double Magnitude;
111  double RelativeTransparency;
112  };
113 
115  typedef sequence <Star> StarList;
116 
118  struct Window {
120  long x1;
122  long y1;
124  long x2;
126  long y2;
127  };
128 
130  struct Pixel {
132  double x;
134  double y;
135  };
136 
138  struct CameraStatus {
140  string CCDClocks;
142  string ReadoutSpeed;
144  long Xbinning;
146  long Ybinning;
148  double CCDDemandTemperature;
150  double CCDActualTemperature;
152  double CCDSinkTemperature;
154  boolean PeltierStatus;
155  };
156 
157  typedef sequence <Star, 20> Stars;
158 
159  interface AutoguiderInterface {
161  void guide ();
162 
165  void guideOnObject (
166  in double x,
167  in double y
168  );
169 
172  void guideOnPixel (
173  in double x,
174  in double y
175  );
176 
178  void stop ();
179 
181  void suspendGuiding ();
182 
184  void continueGuiding ();
185 
187  void openGuideLoop ();
188 
190  void closeGuideLoop ();
191 
193  void field ();
194 
197  void centroid ();
198 
202  void centroidInWindow (in Window theWindow);
203 
205  void startTV ();
206 
209  void moveObject (
210  in double xoffset,
211  in double yoffset
212  );
213 
215  void setCameraName (
216  in string CameraName
217  );
218 
221  void setInstrumentPlatform (
222  in string InstrumentName
223  );
224 
226  void setIntegrationTime (
227  in double IntegrationTime
228  );
229 
231  void setSNRThreshold (
232  in double SNRThreshold
233  );
234 
236  void setAcquisitionWindow (
237  in long x1,
238  in long y1,
239  in long x2,
240  in long y2
241  );
242 
244  void setGuideWindow (
245  in long x,
246  in long y
247  );
248 
250  void offsetGuideWindow (
251  in long xoffset,
252  in long yoffset
253  );
254 
256  void setGuideWindowSize (
257  in long size
258  );
259 
261  void setGuideObject (
262  in long GuideObject
263  );
264 
267  void setGuideStarTrackingOn (
268  );
269 
271  void setGuideStarTrackingOff (
272  );
273 
275  void resetReferenceGuideStar (
276  );
277 
278 
280  boolean hasNewImage();
281 
283  ImageData getImage();
284 
286  Star getGuideStar();
287 
289  Star getStar(
290  in long StarIndex
291  );
292 
293 
295  long NumberOfStars();
296 
298  string State();
299 
301  double IntegrationTime();
302 
304  Window AcquisitionWindow();
305 
307  Window GuideWindow();
308 
310  long AutoguiderCycle();
311 
313  Pixel GuideTargetPosition();
314 
316  double SNRThreshold();
317 
319  double Centroidx(
320  in long StarIndex
321  );
322 
324  double Centroidy(
325  in long StarIndex
326  );
327 
329  double IsophotalIntensity(
330  in long StarIndex
331  );
332 
334  double PeakIntensity(
335  in long StarIndex
336  );
337 
339  double IsophotalSize(
340  in long StarIndex
341  );
342 
344  double Ellipticity(
345  in long StarIndex
346  );
347 
349  double FWHMx(
350  in long StarIndex
351  );
352 
354  double FWHMy(
355  in long StarIndex
356  );
357 
359  double SkyNoise(
360  in long StarIndex
361  );
362 
364  double SkyLevel(
365  in long StarIndex
366  );
367 
369  double PeakSNR(
370  in long StarIndex
371  );
372 
374  double Seeing(
375  in long StarIndex
376  );
377 
379  double Magnitude(
380  in long StarIndex
381  );
382 
384  CameraStatus getCameraStatus();
385 
386  };
387 
388 };