OPERA  1.0
Open source echelle spectrograph reduction pipeline
operaEspadonsImage.cpp File Reference

This class extands the FITS image to espadons image. More...

#include <iostream>
#include <string>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "fitsio.h"
#include "libraries/operaException.h"
#include "libraries/operaFITSImage.h"
#include "libraries/operaEspadonsImage.h"
#include "libraries/operaImage.h"
#include "libraries/operaParameterAccess.h"
#include "libraries/operaConfigurationAccess.h"
Include dependency graph for operaEspadonsImage.cpp:

Namespaces

namespace  operaEspadonsImage

Functions

unsigned * where (operaEspadonsImage *b, unsigned *count)
 where function - return an index vector of count size of all image values at index that satisfy condition.
unsigned * where (operaEspadonsImage &b, unsigned *count)

Variables

static string imagetypestrings [] = {"GENERIC", "BIAS", "FLAT", "COMPARISON", "ALIGN", "OBJECT", "DARK"}
static string detectorstrings [] = {"UNKNOWN", "EEV1", "OLAPA"}
static string amplifierstrings [] = {"UNKNOWN", "a", "ab"}
static string instrumentmodestrings [] = {"UNKNOWN", "STAR_ONLY", "STAR_PLUS_SKY", "POLAR"}
static string speedstrings [] = {"UNKNOWN", "FAST", "NORMAL", "SLOW"}
static string stokesstrings [] = {"STOKES_UNKNOWN", "STOKES_I", "STOKES_U", "STOKES_Q", "STOKES_V"}
static string polarquadstrings [] = {"UNKNOWN", "1", "2", "3", "4"}

Detailed Description

This class extands the FITS image to espadons image.


Function Documentation

unsigned* where ( operaEspadonsImage b,
unsigned *  count 
)

where function - return an index vector of count size of all image values at index that satisfy condition.

where function - return a vector of the same size .

where

Parameters:
b- operaFITSImage*
count- count of 1's
Note:
usage: operaEspadonsImage a = operaEspadonsImage b; copies the pixel values from b to a
Returns:
operaFITSImage&

Here is the call graph for this function:

unsigned* where ( operaEspadonsImage b,
unsigned *  count 
)

Here is the call graph for this function:


Variable Documentation

string amplifierstrings[] = {"UNKNOWN", "a", "ab"} [static]
string detectorstrings[] = {"UNKNOWN", "EEV1", "OLAPA"} [static]
string imagetypestrings[] = {"GENERIC", "BIAS", "FLAT", "COMPARISON", "ALIGN", "OBJECT", "DARK"} [static]
string instrumentmodestrings[] = {"UNKNOWN", "STAR_ONLY", "STAR_PLUS_SKY", "POLAR"} [static]
string polarquadstrings[] = {"UNKNOWN", "1", "2", "3", "4"} [static]
string speedstrings[] = {"UNKNOWN", "FAST", "NORMAL", "SLOW"} [static]
string stokesstrings[] = {"STOKES_UNKNOWN", "STOKES_I", "STOKES_U", "STOKES_Q", "STOKES_V"} [static]