Bsoft  2.1.0
Bernard's software package
rwmg.h
Go to the documentation of this file.
1 
9 #include "mg_processing.h"
10 #include "mg_select.h"
11 
12 #ifndef _RWMG_
13 // Function prototypes
14 Bproject* read_project(const char* filename, int flags=0);
15 Bproject* read_project(Bstring& filename, int flags=0);
16 Bproject* read_project(Bstring& filename, Bstring& xsdfile, int flags=0);
17 Bproject* read_project(Bstring* file_list, int flags=0);
18 Bproject* read_project(Bstring* file_list, Bstring& xsdfile, int flags=0);
19 long append_project(Bproject* project, Bstring* file_list, Bstring& xsdfile, int flags);
20 Bparticle* read_particle(Bstring& filename, Bparticle** partlist, FOMType fom_tag[NFOM]);
21 int write_project(const char* filename, Bproject* project);
22 int write_project(Bstring& filename, Bproject* project,
23  int mg_select, int rec_select);
24 int write_project(Bstring& filename, Bproject* project, int flags=0);
25 int write_particle(Bstring& filename, Bparticle* part, int euler_flag, int omega_flag, FOMType fom_tag[NFOM]);
26 Bstring ppx_filename(Bstring& id, int part_id);
27 int ppx_exists(Bparticle* part, int flag);
28 int ppx_check(Bparticle* part, FOMType fom_tag[NFOM]);
29 int ppx_check(Bparticle* part);
32 long project_list_ppx(Bproject* project, int flag);
35 #define _RWMG_
36 #endif
37 
38 
39 
project_split_field_write
int project_split_field_write(Bproject *project)
Splits a project into sets of particle selections and write the files.
Definition: rwmg.cpp:810
NFOM
#define NFOM
Definition: mg_processing.h:16
project_update_from_ppx
long project_update_from_ppx(Bproject *project)
Updates a project with ppx files.
Definition: rwmg.cpp:655
Bstring
Definition: Bstring.h:29
Bparticle
Definition: mg_processing.h:90
project_list_ppx
long project_list_ppx(Bproject *project, int flag)
Lists existing ppx files for a project.
Definition: rwmg.cpp:696
FOMType
FOMType
Definition: mg_processing.h:38
mg_select.h
Header file for micrograph processing.
ppx_filename
Bstring ppx_filename(Bstring &id, int part_id)
Definition: rwmg.cpp:415
project_find_particle
Bparticle * project_find_particle(Bproject *project, Bstring &fn)
Finds a particle associated with a file name.
Definition: rwmg.cpp:610
ppx_exists
int ppx_exists(Bparticle *part, int flag)
Definition: rwmg.cpp:421
project
Bproject * project
Definition: bshow.cpp:33
append_project
long append_project(Bproject *project, Bstring *file_list, Bstring &xsdfile, int flags)
Definition: rwmg.cpp:283
Bproject
Definition: mg_processing.h:336
read_project
Bproject * read_project(const char *filename, int flags=0)
Reading micrograph parameters from files.
Definition: rwmg.cpp:141
project_split_write
int project_split_write(Bstring &filename, Bproject *project)
Splits a project into sets of particle selections and write the files.
Definition: rwmg.cpp:742
read_particle
Bparticle * read_particle(Bstring &filename, Bparticle **partlist, FOMType fom_tag[NFOM])
Definition: rwmg.cpp:305
write_project
int write_project(const char *filename, Bproject *project)
Writing micrograph parameters to a file.
Definition: rwmg.cpp:321
mg_processing.h
Header file for micrograph processing.
ppx_check
int ppx_check(Bparticle *part, FOMType fom_tag[NFOM])
Definition: rwmg.cpp:441
write_particle
int write_particle(Bstring &filename, Bparticle *part, int euler_flag, int omega_flag, FOMType fom_tag[NFOM])
Definition: rwmg.cpp:406