Main Page | Class List | Directories | File List | Class Members | File Members

auto.h File Reference

AutoFlatField/AutoFocus. More...

Go to the source code of this file.

Defines

#define __auto_h   1

Enumerations

enum  auto_run_modes { auto_run_flat, auto_run_focus, auto_run_shutter_offset, auto_run_mask }

Functions

void auto_start_flat (int gain, int sequence, long counts, int n)
 Starts the automated flatfielding mode.
void auto_do_flat ()
 Acquires one automated flatfield.
void auto_do_focus ()
 does the automated focussing procedure
void auto_stop_thread ()
 stops the automated mode
void auto_do_shutter_offset ()
 does the automated shutter calibration
void auto_do_mask ()
 Acquires one automated mask exposure (deprected).
void auto_start_shutter_offset ()
 Starts the automated shutter offset calibration.
void auto_start_mask ()
 Starts the automated flatmask generation (deprected).
void auto_start_focus ()
 Starts the automated focussing mode.
void auto_set_flat_minmax_exposuretime (double min, double max)
 sets the minimum and manximum exposuretime, that is accepted during automated flatfielding
void ui_auto_msg (char *msg)
 called by auto.c whenever it wants to tell the user a message.
void ui_auto_flats_done_changed (int flats_done)
 called by auto.c whenever the number of flats done has changed.
void ui_auto_shutter_offset_changed (double offset)
 called by auto.c whenever the shutter_offset has changed.
void ui_auto_ended (char *msg)
 called by auto.c whenever and automated operatin has ended.

Variables

volatile int auto_run_mode
volatile int auto_flat_seq
volatile int auto_focus_seq
char auto_end_msg [1000]


Detailed Description

AutoFlatField/AutoFocus.

Copyright (C) 2001-2003 Dirk Huenniger (dhun@astro.uni-bonn.de)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.


Function Documentation

void auto_do_flat  ) 
 

Acquires one automated flatfield.

Returns:
void This function acquires one automated flatfield. It does the test exposure calcultes the exposuretime. Than it takes the actual Flatfield exposure and writes it to disk.

void auto_do_focus  ) 
 

does the automated focussing procedure

Returns:
void This function does the automated shutter calibration

void auto_do_mask  ) 
 

Acquires one automated mask exposure (deprected).

Returns:
void This function acquires one automated mask exposure. It has never been tested or used. Masks could be usefull for sextractor based astrometry.

void auto_do_shutter_offset  ) 
 

does the automated shutter calibration

Returns:
void This function does the automated shutter calibration

void auto_set_flat_minmax_exposuretime double  min,
double  max
 

sets the minimum and manximum exposuretime, that is accepted during automated flatfielding

Parameters:
min minimum
max maximum
Returns:
void
This function sets the minimum and manximum exposuretime, that is accepted during automated flatfielding

void auto_start_flat int  gain,
int  sequence,
long  counts,
int  n
 

Starts the automated flatfielding mode.

Parameters:
gain The readout gain of the CCD Controller
sequence The readout sequence of the CCD Controller
counts The requested median of the counts in the Flatfiled
n the number of flatfield exposures requested
Returns:
void This function checks whether a proposed exposuretime fits between the minimum and maximum limits for automated flatfileding. The automeated mode is stopped if it does not.

void auto_start_focus  ) 
 

Starts the automated focussing mode.

Returns:
void This function starts the automated focussing mode

void auto_start_mask  ) 
 

Starts the automated flatmask generation (deprected).

Returns:
void This function starts the automated flatmask generation (deprected). Flatmasks might be usefull in combination with pipepline based astrometric reduction systems (masks for sextractor). This function is neither tested nor used.

void auto_start_shutter_offset  ) 
 

Starts the automated shutter offset calibration.

Returns:
void This function starts the automated shutter offset calibration

void auto_stop_thread  ) 
 

stops the automated mode

Returns:
void This function stops the automated mode

void ui_auto_ended char *  msg  ) 
 

called by auto.c whenever and automated operatin has ended.

Parameters:
msg a text string desribing why the automated mode ended
Returns:
void
This function is called by auto.c whenever and automated operatin has ended.. It is declared as an abstract function in auto.h and implemented here.

void ui_auto_flats_done_changed int  flats_done  ) 
 

called by auto.c whenever the number of flats done has changed.

Parameters:
msg the message string
Returns:
void
This function is called by acquisition.c whenever the number of flats done has changed. It is declared as an abstract function in auto.h and implemented here.

void ui_auto_msg char *  msg  ) 
 

called by auto.c whenever it wants to tell the user a message.

Parameters:
msg the message string
Returns:
void
This function is called by auto.c whenever it wants to tell the user a message. It is declared as an abstract function in auto.h and implemented here.

void ui_auto_shutter_offset_changed double  offset  ) 
 

called by auto.c whenever the shutter_offset has changed.

Parameters:
offset the message string
Returns:
void
This function is called by acquisition.c whenever the number of flats done has changed. It is declared as an abstract function in auto.h and implemented here.


Variable Documentation

char auto_end_msg[1000]
 

A string describing how and why the automated operation ended

volatile int auto_flat_seq
 

the readout sequence used for test exposures in automated flatfielding

volatile int auto_focus_seq
 

the readout sequence used in automated focussing

volatile int auto_run_mode
 

the run mode as defined in auto.h


Generated on Fri Dec 16 22:23:35 2005 for gboccia by  doxygen 1.4.2