| Bsoft 2.0.5 Bernard's software package

rwmg.h
Go to the documentation of this file.
1
9 #include "mg_processing.h"
10
11 #ifndef _RWMG_
12 // Function prototypes
13 Bproject* read_project(const char* filename, int flags=0);
14 Bproject* read_project(Bstring& filename, int flags=0);
15 Bproject* read_project(Bstring& filename, Bstring& xsdfile, int flags=0);
16 Bproject* read_project(Bstring* file_list, int flags=0);
17 Bproject* read_project(Bstring* file_list, Bstring& xsdfile, int flags=0);
18 long append_project(Bproject* project, Bstring* file_list, Bstring& xsdfile, int flags);
19 Bparticle* read_particle(Bstring& filename, Bparticle** partlist, FOMType fom_tag[NFOM]);
20 int write_project(const char* filename, Bproject* project);
21 int write_project(Bstring& filename, Bproject* project,
22 int mg_select, int rec_select);
23 int write_project(Bstring& filename, Bproject* project, int flags=0);
24 int write_particle(Bstring& filename, Bparticle* part, int euler_flag, int omega_flag, FOMType fom_tag[NFOM]);
25 Bstring ppx_filename(Bstring& mg_id, int part_id);
26 int ppx_check(Bparticle* part, FOMType fom_tag[NFOM]);
27 int ppx_check(Bparticle* part);
28 int project_update_comment(Bproject* project, int n, char** strings);
29 int project_split_write(Bstring& filename, Bproject* project);
30 int project_split_field_write(Bproject* project);
31 #define _RWMG_
32 #endif
33
34
35
write_project
int write_project(const char *filename, Bproject *project)
Writing micrograph parameters to a file.
Definition: rwmg.cpp:320
read_project
Bproject * read_project(const char *filename, int flags=0)
Reading micrograph parameters from files.
Definition: rwmg.cpp:140
project
Bproject * project
Definition: bshow.cpp:31
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:678
ppx_filename
Bstring ppx_filename(Bstring &mg_id, int part_id)
Definition: rwmg.cpp:412
NFOM
#define NFOM
Definition: mg_processing.h:16
ppx_check
int ppx_check(Bparticle *part, FOMType fom_tag[NFOM])
Definition: rwmg.cpp:418
write_particle
int write_particle(Bstring &filename, Bparticle *part, int euler_flag, int omega_flag, FOMType fom_tag[NFOM])
Definition: rwmg.cpp:403
append_project
long append_project(Bproject *project, Bstring *file_list, Bstring &xsdfile, int flags)
Definition: rwmg.cpp:282
Bparticle
Definition: mg_processing.h:89
Bstring
Definition: Bstring.h:29
FOMType
FOMType
Definition: mg_processing.h:38
mg_processing.h
Header file for micrograph processing.
project_update_comment
int project_update_comment(Bproject *project, int n, char **strings)
Puts a set of strings and time in the main comment of a project.
Definition: rwmg.cpp:468
read_particle
Bparticle * read_particle(Bstring &filename, Bparticle **partlist, FOMType fom_tag[NFOM])
Definition: rwmg.cpp:304
Bproject
Definition: mg_processing.h:333
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:610