8 #include <UnitTest++.h> 19 SetQdc(21329.85714285);
25 CHECK_CLOSE(0.8565802, GetAmplitude(), 0.1);
26 CHECK_CLOSE(-0.0826487, phase, 1.);
29 int main(
int argv,
char *argc[]) {
30 return (UnitTest::RunAllTests());
Implementation of the GSL fitting routine for GSL v2+.
static const std::vector< double > waveform(trace_sans_baseline.begin()+71, trace_sans_baseline.begin()+86)
static const std::pair< double, double > fitting_parameters(0.2659404170, 0.2080547991796)
static const std::pair< unsigned int, double > max_pair(max_position, maximum_value)
This is the pair made from the expected maximum information.
static const std::pair< double, double > baseline_pair(baseline, standard_deviation)
This header provides sample data that can be used by Unit Tests to ensure proper functionality.
TEST_FIXTURE(GslFitter, TestGslFitter)
int main(int argv, char *argc[])