32#ifndef eman__imagicio2_h__
33#define eman__imagicio2_h__ 1
79 static bool is_valid(
const void *first_block);
244 void write_ctf(
const Ctf *
const ctf,
int image_index = 0);
Ctf is the base class for all CTF model.
ImageIO classes are designed for reading/writing various electron micrography image formats,...
IMAGIC-5 Header File Format.
static const char * IMG_EXT
int get_nimg()
Get number of images in this file.
static bool is_valid(const void *first_block)
static const char * REAL_TYPE_MAGIC
@ IMAGIC_FFT_FLOAT_COMPLEX
ImagicIO2(const string &fname, IOMode rw_mode=READ_ONLY)
void write_ctf(const Ctf *const ctf, int image_index=0)
Ctf * read_ctf(const Imagic4D &hed) const
the Ctf object is a EMAN1Ctf object.
static const char * HED_EXT
void make_header_host_endian(Imagic4D &hed) const
int generate_machine_stamp() const
int to_em_datatype(DataType t) const
static const char * CTF_MAGIC
void swap_header(Imagic4D &hed) const
size_t get_datatype_size(DataType t) const
DataType get_datatype_from_name(const char *name) const
bool is_single_image_format() const
If this file format is only for single iamge.
IMAGIC-4D file format http://www.imagescience.de/formats/formats.htm.