ifw-odp  2.0.0-alpha
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
testRecipe.cpp File Reference
#include <iostream>
#include <vector>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "cppcpl/matrix.hpp"
#include "cppcpl/recipe.hpp"

Macros

#define STRINGIZE2(x)   #x
 
#define STRINGIZE(x)   STRINGIZE2(x)
 

Functions

 TEST (TestRecipe, CrossCorrelation)
 
 TEST (TestRecipe, CenterGauss)
 
 TEST (TestRecipe, CenterMoment)
 
 TEST (TestRecipe, MultiCenterGauss)
 
 TEST (TestRecipe, Iqe)
 
 TEST (TestRecipe, EstimateBackground)
 
 TEST (TestRecipe, Barycenter)
 
 TEST (TestRecipe, EstimateFwhm)
 
 TEST (TestRecipe, DetectCircularApertures)
 
 TEST (TestRecipe, GetRngPoisson2d)
 
 TEST (TestRecipe, GetSlitPos)
 

Variables

std::string const TEST_IMG1 = std::string(WAF_MODULE_PATH) + "/test/res/spectro_rot0.fits"
 
std::string const TEST_IMG2 = std::string(WAF_MODULE_PATH) + "/test/res/spectro_rot60.fits"
 
std::string const TEST_IMG3 = std::string(WAF_MODULE_PATH) + "/test/res/spectratilt.fits"
 
std::string const TEST_IMG4 = std::string(WAF_MODULE_PATH) + "/test/res/rect_aper.fits"
 
std::string const TEST_IMG5 = std::string(WAF_MODULE_PATH) + "/test/res/circ_aper.fits"
 
std::string const TEST_IMG6 = std::string(WAF_MODULE_PATH) + "/test/res/barycentre.fits"
 
std::string const TEST_IMG7 = std::string(WAF_MODULE_PATH) + "/test/res/tts_image.fits"
 

Macro Definition Documentation

#define STRINGIZE (   x)    STRINGIZE2(x)
#define STRINGIZE2 (   x)    #x

Function Documentation

TEST ( TestRecipe  ,
CrossCorrelation   
)
TEST ( TestRecipe  ,
CenterGauss   
)
TEST ( TestRecipe  ,
CenterMoment   
)
TEST ( TestRecipe  ,
MultiCenterGauss   
)
TEST ( TestRecipe  ,
Iqe   
)
TEST ( TestRecipe  ,
EstimateBackground   
)
TEST ( TestRecipe  ,
Barycenter   
)
TEST ( TestRecipe  ,
EstimateFwhm   
)
TEST ( TestRecipe  ,
DetectCircularApertures   
)
TEST ( TestRecipe  ,
GetRngPoisson2d   
)
TEST ( TestRecipe  ,
GetSlitPos   
)

Variable Documentation

std::string const TEST_IMG1 = std::string(WAF_MODULE_PATH) + "/test/res/spectro_rot0.fits"
std::string const TEST_IMG2 = std::string(WAF_MODULE_PATH) + "/test/res/spectro_rot60.fits"
std::string const TEST_IMG3 = std::string(WAF_MODULE_PATH) + "/test/res/spectratilt.fits"
std::string const TEST_IMG4 = std::string(WAF_MODULE_PATH) + "/test/res/rect_aper.fits"
std::string const TEST_IMG5 = std::string(WAF_MODULE_PATH) + "/test/res/circ_aper.fits"
std::string const TEST_IMG6 = std::string(WAF_MODULE_PATH) + "/test/res/barycentre.fits"
std::string const TEST_IMG7 = std::string(WAF_MODULE_PATH) + "/test/res/tts_image.fits"