|
Bsoft
2.0.0
Bernard's software package
|
Convert between micrograph parameter formats. More...
#include "mg_processing.h"#include "rwmg.h"#include "rwmgSTAR.h"#include "rwmgXML.h"#include "mg_ctf.h"#include "file_util.h"#include "linked_list.h"#include "utilities.h"#include "options.h"#include "timer.h"Go to the source code of this file.
Macros | |
| #define | DATLINELENGTH 120 |
Functions | |
| Bproject * | read_project_conv (Bstring *file_list) |
| int | write_project_conv (Bstring &filename, Bproject *project, int mg_select, int rec_select) |
| int | read_project_dat (Bstring &filename, Bproject *project) |
| Reading micrograph parameters from a DAT file. More... | |
| int | write_project_dat (Bstring &filename, Bproject *project, int mg_select, int rec_select) |
| Writing micrograph parameters to a DAT file. More... | |
| int | read_project_crd (Bstring &filename, Bproject *project) |
| Reading micrograph parameters from a CRD file. More... | |
| int | write_project_crd (Bstring &filename, Bproject *project, int mg_select, int rec_select) |
| Writing micrograph parameters to a CRD file. More... | |
| int | read_project_relion (Bstring &filename, Bproject *project) |
| Reading micrograph parameters from a Relion file. More... | |
| int | write_project_relion (Bstring &filename, Bproject *project, int mg_select, int rec_select) |
| Writing micrograph parameters to a Relion file. More... | |
| int | project_modify_parameters (Bproject *project, char flags) |
| Modifies some micrograph parameters. More... | |
| int | main (int argc, char **argv) |
| int | relion_to_project (Bstar *star, Bproject *project) |
| int | project_to_relion (Bproject *project, Bstar *star, int mg_select, int rec_select) |
Variables | |
| int | verbose |
| const char * | use [] |
Convert between micrograph parameter formats.
Compile with:
g++ mgconvert.cpp -o mgconvert -I$BSOFT/include -L$BSOFT/lib -lbsoft -DHAVE_FFTW3
Compile on Mac OS X 10.7+:
clang++ mgconvert.cpp -o mgconvert -I$BSOFT/include -L$BSOFT/lib -lbsoft -DHAVE_FFTW3Definition in file mgconvert.cpp.
| #define DATLINELENGTH 120 |
Definition at line 28 of file mgconvert.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 69 of file mgconvert.cpp.
| int project_modify_parameters | ( | Bproject * | project, |
| char | flags | ||
| ) |
Modifies some micrograph parameters.
| project | project structure. |
| flags | bit 0 = omega 90 flag, bit 1 = mag flag. |
| *project | project structure. |
| flags | bit 0 = omega 90 flag, bit 1 = mag flag. |
Definition at line 829 of file mgconvert.cpp.
Definition at line 759 of file mgconvert.cpp.
Definition at line 146 of file mgconvert.cpp.
Reading micrograph parameters from a CRD file.
| filename | file name (or comma-delimited list). |
| project | initialized project structure. |
| &filename | file name (or comma-delimited list). |
| *project | initialized project structure. |
Definition at line 471 of file mgconvert.cpp.
Reading micrograph parameters from a DAT file.
| filename | file name (or comma-delimited list). |
| project | initialized project structure. |
| &filename | file name (or comma-delimited list). |
| *project | initialized project structure. |
Definition at line 279 of file mgconvert.cpp.
Reading micrograph parameters from a Relion file.
| filename | file name (or comma-delimited list). |
| project | initialized project structure. |
| &filename | file name (or comma-delimited list). |
| *project | initialized project structure. |
Definition at line 775 of file mgconvert.cpp.
Definition at line 644 of file mgconvert.cpp.
Definition at line 226 of file mgconvert.cpp.
Writing micrograph parameters to a CRD file.
| filename | file name. |
| project | project structure. |
| mg_select | flag to select micrograph. |
| rec_select | flag to select reconstruction. |
| *filename | file name. |
| *project | project structure. |
| mg_select | flag to select micrograph. |
| rec_select | flag to select reconstruction. |
Definition at line 571 of file mgconvert.cpp.
Writing micrograph parameters to a DAT file.
| filename | file name. |
| project | project structure. |
| mg_select | flag to select micrograph. |
| rec_select | flag to select reconstruction. |
| *filename | file name. |
| *project | project structure. |
| mg_select | flag to select micrograph. |
| rec_select | flag to select reconstruction. |
Definition at line 402 of file mgconvert.cpp.
Writing micrograph parameters to a Relion file.
| filename | file name. |
| project | project structure. |
| mg_select | flag to select micrograph. |
| rec_select | flag to select reconstruction. |
| *filename | file name. |
| *project | project structure. |
| mg_select | flag to select micrograph. |
| rec_select | flag to select reconstruction. |
Definition at line 803 of file mgconvert.cpp.
| const char* use[] |
Definition at line 45 of file mgconvert.cpp.
| int verbose |