STIR  6.2.0
Classes | Namespaces | Functions
test_IO_ParametricDiscretisedDensity.cxx File Reference

A simple program to test the stir::OutputFileFormat function. More...

#include "stir/IO/test/test_IO.h"
#include "stir/modelling/ParametricDiscretisedDensity.h"
#include "stir/ProjDataInfoCylindricalNoArcCorr.h"

Classes

class  stir::IOTests_ParametricDiscretisedDensity
 A simple class to test the OutputFileFormat function. More...
 

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

int main (int argc, char **argv)
 

Detailed Description

A simple program to test the stir::OutputFileFormat function.

Author
Kris Thielemans
Richard Brown

To run the test, you should use a command line argument with the name of a file. This should contain a test par file. See stir::OutputFileFormatTests class documentation for file contents.

Warning
Overwrites files STIRtmp.* in the current directory
Todo:
The current implementation requires that the output file format as also readable by stir::read_from_file. At least we should provide a run-time switch to not run that part of the tests.