|
OPERA
1.0
Open source echelle spectrograph reduction pipeline
|
#include <fitsio.h>#include <string>#include "libraries/operaImage.h"#include "libraries/operaParameterAccess.h"#include "libraries/operaConfigurationAccess.h"

Go to the source code of this file.
Data Structures | |
| class | operaFITSImage |
| Basic operaFITSImage constructor. More... | |
Typedefs | |
| typedef unsigned * | ImageIndexVector |
| typedef float ** | Matrix |
Enumerations | |
| enum | ebitpix { short_img = SHORT_IMG, ushort_img = USHORT_IMG, float_img = FLOAT_IMG, double_img = DOUBLE_IMG } |
| enum | edatatype { tshort = TSHORT, tushort = TUSHORT, tstring = TSTRING, tfloat = TFLOAT, tdouble = TDOUBLE } |
Functions | |
| unsigned | veclen (ImageIndexVector v) |
| since ImageIndexVectors are null-terminated, we emulate strlen. | |
| string | trimFITSKeyword (const char *in) |
| Trim the single quotes and trailing spaces from a FITS keyword value. | |
| ImageIndexVector | where (operaFITSImage *b, unsigned *count) |
| where function - return a vector of the same size . | |
| ImageIndexVector | where (operaFITSImage &b, unsigned *count) |
| ImageIndexVector | where (operaFITSImage *b) |
| ImageIndexVector | where (operaFITSImage &b) |
| typedef unsigned* ImageIndexVector |
an ImageIndexVector is a vector of indices into a operaFITSImage, the index values start from 1 and the vector is null terminated.
| typedef float** Matrix |
a Matrix is a 2D image array, the first dimension is y, and the second is x. C libraries may make use of this data structure for simple indexing in to an image. where C libraries could not access the operFITSImage class in the same way.
| enum ebitpix |
| enum edatatype |
| unsigned veclen | ( | ImageIndexVector | v | ) |
since ImageIndexVectors are null-terminated, we emulate strlen.
veclen
| v | - ImageIndexVector* |
| ImageIndexVector where | ( | operaFITSImage * | b, |
| unsigned * | count | ||
| ) |
where function - return a vector of the same size .
where
| b | - operaFITSImage* |
| count | - count of 1's |
where function - return a vector of the same size .
where
| b | - operaFITSImage* |
| count | - count of 1's |

| ImageIndexVector where | ( | operaFITSImage & | b, |
| unsigned * | count | ||
| ) |

| ImageIndexVector where | ( | operaFITSImage * | b | ) |

| ImageIndexVector where | ( | operaFITSImage & | b | ) |
