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

fitsoutput.h

Go to the documentation of this file.
00001 
00015 #ifndef __fitsoutput_h
00016 #define __fitsoutput_h 1
00017 
00022 struct dap_struct {
00024         char observername[1000];
00026         char telescopename[1000];
00028         char instrumentname[1000];
00029 };
00030 
00031 
00033 struct ccd_compiled_struct {
00035         double crpix1,crpix2;
00038         double cd1_1,cd1_2,cd2_1,cd2_2;
00039 };
00040 
00042 struct ccd_struct {
00044         double crpix1,crpix2;
00047         double cd1_1,cd1_2,cd2_1,cd2_2;
00049         char camera[1000];
00051         double pixscale;
00052 };
00053   
00055 struct fitsoutput_status_struct {
00057         char filename[1000];
00059         struct dap_struct dap;
00061         struct ccd_struct ccd;
00062 };
00063 
00065 struct fitsoutput_devices_struct {
00067         double mjd;
00069         char timestr[1000];
00071         double airmass;
00073         double ccdtemperature;
00074 };
00075 
00076 extern struct fitsoutput_status_struct fitsoutput_status;
00077 extern volatile int fitsoutput_write_file;
00078 void write_fitsfile( unsigned char *data, int size);
00079 int close_fitsfile ( void );
00080 int init_fitsfile ( void );
00081 int init_fitsfile_noheader (int xsize,int ysize);
00082 void fitsoutput_set_dap(struct dap_struct dap);
00083 char* fitsoutput_get_filename();
00084 void fitsoutput_set_ccd(struct ccd_struct ccd);
00085 int fitsfile_shutter_opening();
00086 int fitsfile_shutter_closing();
00087 int fitsfile_create_image (int xsize,int ysize);
00088 void fitsoutput_postproc(char* filename);
00089 extern struct dap_struct fitsoutput_get_dap(void);
00090 extern void ui_fitsoutput_status_changed(struct fitsoutput_status_struct);
00091 struct fitsoutput_status_struct fitsoutput_get_status(void);
00092 #endif

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