Bsoft
2.1.0
Bernard's software package
rwEM.h
Go to the documentation of this file.
1
11
#include "
rwimg.h
"
12
13
#define EMSIZE 512 // Size of the EM header (constant)
14
15
struct
EMhead
{
// file header for EM data
16
char
stamp
[4];
// 0 0 machine & data stamp
17
int
nx
;
// 1 4 image size
18
int
ny
;
// 2 8
19
int
nz
;
// 3 12
20
char
label
[80];
// 4 16 80-character comment
21
int
volt
;
// 96 Acceleration voltage (kV)
22
int
Cs
;
// 100 Spherical aberration (micron)
23
int
aperture
;
// 104 Aperture (mrad)
24
int
mag
;
// 108 Nominal magnification wrt film
25
int
post_mag
;
// 112 Additional magnification at CCD (x1000)
26
int
exp_time
;
// 116 Exposure time (ms)
27
int
nsampling
;
// 120 Number of sampling points
28
int
pixel_size
;
// 124 CCD or scanner pixel size (nm)
29
int
pad1
;
// 128
30
int
field_length
;
// 132 = sampling points x pixel size
31
int
defocus
;
// 136 Defocus determined from power spectrum (angstrom)
32
int
astigmatism
;
// 140 Magnitude of astigmatism (angstrom)
33
int
ast_angle
;
// 144 Angle of astigmatism (deg x 1000)
34
int
drift
;
// 148 Drift during exposure time (angstrom)
35
int
drift_angle
;
// 152 Angle of drift (deg x 1000)
36
int
defocus_inc
;
// 156 Defocus increment for focal series (angstrom)
37
int
pad2
;
// 160
38
int
pad3
;
// 164
39
int
tilt_angle
;
// 168 Tilt angle (deg x 1000)
40
int
tilt_dir
;
// 172 Tilt direction (deg x 1000)
41
char
extra
[336];
// 176 user-defined info
42
} ;
43
44
// I/O prototypes
45
int
readEM
(
Bimage
* p,
int
readdata);
46
int
writeEM
(
Bimage
* p);
EMhead::ny
int ny
Definition:
rwEM.h:18
EMhead::nsampling
int nsampling
Definition:
rwEM.h:27
EMhead::mag
int mag
Definition:
rwEM.h:24
EMhead::stamp
char stamp[4]
Definition:
rwEM.h:16
EMhead::volt
int volt
Definition:
rwEM.h:21
EMhead
Definition:
rwEM.h:15
EMhead::post_mag
int post_mag
Definition:
rwEM.h:25
EMhead::drift_angle
int drift_angle
Definition:
rwEM.h:35
EMhead::pad1
int pad1
Definition:
rwEM.h:29
EMhead::tilt_dir
int tilt_dir
Definition:
rwEM.h:40
writeEM
int writeEM(Bimage *p)
Writing a EM map image file format. A 3D image format used in electron microscopy.
Definition:
rwEM.cpp:115
EMhead::field_length
int field_length
Definition:
rwEM.h:30
Bimage
General image parameter class.
Definition:
Bimage.h:177
EMhead::pad3
int pad3
Definition:
rwEM.h:38
EMhead::extra
char extra[336]
Definition:
rwEM.h:41
readEM
int readEM(Bimage *p, int readdata)
Reading a EM map image file format. A 3D image format used in electron microscopy....
Definition:
rwEM.cpp:41
EMhead::tilt_angle
int tilt_angle
Definition:
rwEM.h:39
EMhead::drift
int drift
Definition:
rwEM.h:34
EMhead::pad2
int pad2
Definition:
rwEM.h:37
EMhead::label
char label[80]
Definition:
rwEM.h:20
EMhead::aperture
int aperture
Definition:
rwEM.h:23
EMhead::ast_angle
int ast_angle
Definition:
rwEM.h:33
rwimg.h
Header file for 2D and 3D image I/O.
EMhead::defocus_inc
int defocus_inc
Definition:
rwEM.h:36
EMhead::astigmatism
int astigmatism
Definition:
rwEM.h:32
EMhead::nx
int nx
Definition:
rwEM.h:17
EMhead::defocus
int defocus
Definition:
rwEM.h:31
EMhead::nz
int nz
Definition:
rwEM.h:19
EMhead::exp_time
int exp_time
Definition:
rwEM.h:26
EMhead::Cs
int Cs
Definition:
rwEM.h:22
EMhead::pixel_size
int pixel_size
Definition:
rwEM.h:28
include
rwEM.h
Generated on Mon Oct 26 2020 09:24:41 for Bsoft by
1.8.20