BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Defines class IOFactory.
Definition in file IOFactory.h.
Go to the source code of this file.
Classes | |
class | IOFactory |
Provides users with possibility to read and write IntensityData from/to files in different format. Type of the file will be deduced from file name. *.txt - ASCII file with 2D array [nrow][ncol], layout as in numpy. *.int - BornAgain internal ASCII format. *.tif - 32-bits tiff file. If file name ends with "*.gz" or "*.bz2" the file will be zipped on the fly using appropriate algorithm. More... | |
Namespaces | |
IOUtil | |
Functions | |
bool | IOUtil::filesAgree (const std::string &datFileName, const std::string &refFileName, double tol) |
Returns true if data in both files agree. More... | |