Class to read EM maps (3D) in Spider and Xmipp formats.
More...
#include <IMP/em/SpiderReaderWriter.h>
|
String | filename_ |
|
bool | force_reversed_ |
|
bool | skip_extra_checkings_ |
|
bool | skip_type_check_ |
|
- Note
- : Compatible only with Xmipp 2.2 and Spider floating point maps
-
: A DensityHeader class must be provided
Definition at line 35 of file SpiderReaderWriter.h.
IMP::em::SpiderMapReaderWriter::SpiderMapReaderWriter |
( |
| ) |
|
Empty constructor. It does not force reversed header and does not skip any of the tests
Definition at line 44 of file SpiderReaderWriter.h.
IMP::em::SpiderMapReaderWriter::SpiderMapReaderWriter |
( |
String |
filename, |
|
|
bool |
skip_type_check, |
|
|
bool |
force_reversed, |
|
|
bool |
skip_extra_checkings |
|
) |
| |
- Parameters
-
[in] | filename | file to read |
[in] | skip_type_check | if true, the check for type of image is skipped |
[in] | force_reversed | if true, the reverse mode is enforced for reading and writting |
[in] | skip_extra_checkings | if true, the most stringent tests for consistency of images are skipped when reading |
Definition at line 59 of file SpiderReaderWriter.h.
void IMP::em::SpiderMapReaderWriter::read |
( |
const char * |
filename, |
|
|
float ** |
data, |
|
|
DensityHeader & |
header |
|
) |
| |
|
virtual |
- Parameters
-
[in] | filename | file to read |
[in] | data | pointer to the structure where to store the data |
[in] | header | DensityHeader class where to store the info from the header. |
Reimplemented from IMP::em::MapReaderWriter.
void IMP::em::SpiderMapReaderWriter::write |
( |
const char * |
filename, |
|
|
const float * |
data, |
|
|
const DensityHeader & |
header |
|
) |
| |
|
virtual |
- Parameters
-
[in] | filename | file to write |
[in] | data | pointer to the structure where data are stored |
[in] | header | DensityHeader class where the header info is stored data from the header. |
Reimplemented from IMP::em::MapReaderWriter.
The documentation for this class was generated from the following file: