![]() |
Bsoft 2.1.4
Bernard's software package
|
Converts between SerialEM MDOC files and a micrograph parameter file. More...
#include "mg_processing.h"
Functions | |
int | read_project_serialem (Bstring &filename, Bproject *project, int flag) |
Creates a project structure using SerialEM MDOC parameters. More... | |
int | write_project_serialem (Bstring &filename, Bproject *project) |
Creates SerialEM MDOC files from a project structure. More... | |
Converts between SerialEM MDOC files and a micrograph parameter file.
Creates a project structure using SerialEM MDOC parameters.
filename | SerialEM MDOC file name. |
*project | initialized project structure. |
flag | flag to indicate conversion of the image file. |
Requirements: Tilt series micrograph image (if 3D then converted to multi-2D) 2D transform file (.xf) Tilt angle file (.tlt) Calculations: Tilt angle: from tilt angle file Tilt axis: ta = (atan2(-A11, A12) + atan2(-A22, -A21))/2 Mg origin: o = on - Ad where A: 2x2 transformation matrix ta: tilt axis angle on: nominal micrograph origin (center of mg) o: aligned micrograph origin d: shift for micrograph