9 #ifndef IMPEM_XPLOR_READER_WRITER_H
10 #define IMPEM_XPLOR_READER_WRITER_H
12 #include <IMP/em/em_config.h>
15 #include "internal/XplorHeader.h"
24 #if !defined(DOXYGEN) && !defined(SWIG)
26 void read(
const char *filename,
float **data,
29 void write(
const char *filename,
const float *data,
33 int read_header(std::ifstream &XPLORstream, internal::XplorHeader &header);
34 int read_map(std::ifstream &XPLORstream,
float *data,
35 internal::XplorHeader &header);
Helper functions to check for NaN or infinity.
The base class to handle reading and writing of density maps.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
An abstract class for reading a map.