fitsutil.c File Reference

#include <Python.h>
#include "fitsutil.h"
#include "fitsio.h"
Include dependency graph for fitsutil.c:
This graph shows which files directly or indirectly include this file:

Functions

void handle_fitsio_error (int status)
int get_width (fitsfile *fptr)
int get_height (fitsfile *fptr)
void get_rawimage (fitsfile *fptr, float *buffer, long long npixels)
 Read image data in FITSIO fitsfile pointer and place it in the buffer.
void get_cds (fitsfile *fptr, double *cdbuf)
 Read matrix elements in the current fits file pointer.

Detailed Description

Author:
Ian Bond, IfA, University of Edinburgh

Function Documentation

void get_cds ( fitsfile *  fptr,
double *  cdbuf 
)

Read matrix elements in the current fits file pointer.

References handle_fitsio_error().

Referenced by mef2jpeg().

int get_height ( fitsfile *  fptr  ) 

Return key word value associted with "NAXIS2" in the current fits file pointer.

References handle_fitsio_error().

Referenced by mef2jpeg().

void get_rawimage ( fitsfile *  fptr,
float *  buffer,
long long  npixels 
)

Read image data in FITSIO fitsfile pointer and place it in the buffer.

References handle_fitsio_error().

Referenced by mef2jpeg().

int get_width ( fitsfile *  fptr  ) 

Return key word value associted with "NAXIS1" in the current fits file pointer.

References handle_fitsio_error().

Referenced by mef2jpeg().

void handle_fitsio_error ( int  status  ) 

Function to take desired action if a fitsio error, where status is non-zero, occurs

Referenced by get_cds(), get_height(), get_rawimage(), get_width(), and mef2jpeg().

Generated on Mon Oct 4 10:39:51 2010 for WsaTools by  doxygen 1.6.3