JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
Macros | Functions
sanityck.cpp File Reference

Implementation of JEMRIS unit test (santity-check) More...

#include <iostream>
#include <iomanip>
#include <typeinfo>
#include <vector>
#include "Simulator.h"
#include "BinaryContext.h"
#include "SequenceTree.h"
#include "ConcatSequence.h"
+ Include dependency graph for sanityck.cpp:

Macros

#define DEFAULT_TOLERANCE_SEQ_COMPARE_PPM   1.0
 
#define DEFAULT_TOLERANCE_SIG_COMPARE_PPM   10.0
 
#define DEFAULT_TOLERANCE_SEN_COMPARE_PPM   5.0
 

Functions

void usage ()
 
bool compare_text_files (string file1, string file2)
 
double compare_binary_files (string file1, string file2)
 
double compare_hdf5_fields (string file1, string file2, string field)
 
bool CheckSeqs (string path, vector< string > seq)
 
bool CheckSigs (string path, vector< string > seq, double tolerance_in_percent)
 
bool CheckSens (string path, vector< string > coils)
 
bool CheckOutput (string path, vector< string > seq)
 
int main (int argc, char *argv[])
 

Detailed Description

Implementation of JEMRIS unit test (santity-check)


-- last change 03.01.2025 | Tony Stoecker | Imprint | Data Protection --