ifw-odp 5.0.0
Loading...
Searching...
No Matches
Macros | Functions | Variables
testRecipe.cpp File Reference
#include <iostream>
#include <vector>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "ifw/odp/cppcpl/matrix.hpp"
#include "ifw/odp/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

◆ STRINGIZE

#define STRINGIZE ( x)    STRINGIZE2(x)

◆ STRINGIZE2

#define STRINGIZE2 ( x)    #x

Function Documentation

◆ TEST() [1/11]

TEST ( TestRecipe ,
Barycenter  )

◆ TEST() [2/11]

TEST ( TestRecipe ,
CenterGauss  )

◆ TEST() [3/11]

TEST ( TestRecipe ,
CenterMoment  )

◆ TEST() [4/11]

TEST ( TestRecipe ,
CrossCorrelation  )

◆ TEST() [5/11]

TEST ( TestRecipe ,
DetectCircularApertures  )

◆ TEST() [6/11]

TEST ( TestRecipe ,
EstimateBackground  )

◆ TEST() [7/11]

TEST ( TestRecipe ,
EstimateFwhm  )

◆ TEST() [8/11]

TEST ( TestRecipe ,
GetRngPoisson2d  )

◆ TEST() [9/11]

TEST ( TestRecipe ,
GetSlitPos  )

◆ TEST() [10/11]

TEST ( TestRecipe ,
Iqe  )

◆ TEST() [11/11]

TEST ( TestRecipe ,
MultiCenterGauss  )

Variable Documentation

◆ TEST_IMG1

std::string const TEST_IMG1 = std::string(WAF_MODULE_PATH) + "/test/res/spectro_rot0.fits"

◆ TEST_IMG2

std::string const TEST_IMG2 = std::string(WAF_MODULE_PATH) + "/test/res/spectro_rot60.fits"

◆ TEST_IMG3

std::string const TEST_IMG3 = std::string(WAF_MODULE_PATH) + "/test/res/spectratilt.fits"

◆ TEST_IMG4

std::string const TEST_IMG4 = std::string(WAF_MODULE_PATH) + "/test/res/rect_aper.fits"

◆ TEST_IMG5

std::string const TEST_IMG5 = std::string(WAF_MODULE_PATH) + "/test/res/circ_aper.fits"

◆ TEST_IMG6

std::string const TEST_IMG6 = std::string(WAF_MODULE_PATH) + "/test/res/barycentre.fits"

◆ TEST_IMG7

std::string const TEST_IMG7 = std::string(WAF_MODULE_PATH) + "/test/res/tts_image.fits"