DP3
Namespaces | Classes | Functions | Variables
dp3::steps::test Namespace Reference

Namespaces

 ddecal
 

Classes

struct  H5ParmFixture
 Creates a basic H5Parm file for testing H5ParmPredict. More...
 
class  ThrowStep
 

Functions

dp3::common::ParameterSet CreateParameterSet (const std::vector< std::pair< std::string, std::string >> &parameters)
 
void Execute (const std::vector< std::shared_ptr< Step >> &steps)
 Connect a series of steps and execute them. More...
 
std::string Show (const Step &step)
 

Variables

constexpr base::Direction kExpectedFirstDirection
 
const std::string kPredictDirection = "0002.2+3139"
 
const std::string kPredictSkymodel
 MS name for the predict tests. More...
 

Function Documentation

◆ CreateParameterSet()

dp3::common::ParameterSet dp3::steps::test::CreateParameterSet ( const std::vector< std::pair< std::string, std::string >> &  parameters)

Returns a dp3::common::ParameterSet based on parameters.

◆ Execute()

void dp3::steps::test::Execute ( const std::vector< std::shared_ptr< Step >> &  steps)

Connect a series of steps and execute them.

◆ Show()

std::string dp3::steps::test::Show ( const Step step)
inline

Helper function to aid testing Step::show.

Returns
The result of Step::show, using the C locale.

Variable Documentation

◆ kExpectedFirstDirection

constexpr base::Direction dp3::steps::test::kExpectedFirstDirection
constexpr
Initial value:
{0.0097549942552467052,
0.55260038817991308}

Expected first direction when using tNDPPP-generic.MS. Multiple predict tests use this value.

◆ kPredictDirection

const std::string dp3::steps::test::kPredictDirection = "0002.2+3139"

◆ kPredictSkymodel

const std::string dp3::steps::test::kPredictSkymodel
Initial value:
=
DP3_RESOURCE_DIR "/tNDPPP-generic-skymodel.txt"

MS name for the predict tests.