![]() |
Bsoft 2.1.4
Bernard's software package
|
A tool to merge data from micrograph reconstruction and model files. More...
#include "mg_processing.h"
#include "rwmg.h"
#include "rwimg.h"
#include "rwmodel.h"
#include "model_transform.h"
#include "marker.h"
#include "linked_list.h"
#include "utilities.h"
#include "options.h"
#include "timer.h"
Functions | |
Bmodel * | project_model_generate (Bproject *project, Bmodel *temp, int flags) |
Generates a model from each particle defined in a reconstruction. More... | |
int | project_model_consolidate (Bproject *project, Bmodel *model) |
Exchanges information between reconstruction and model structures. More... | |
int | main (int argc, char **argv) |
Variables | |
int | verbose |
const char * | use [] |
A tool to merge data from micrograph reconstruction and model files.
int main | ( | int | argc, |
char ** | argv | ||
) |
Exchanges information between reconstruction and model structures.
*project | project parameter structure. |
*model | model parameter structures. |
This function assumes there is a 1-1 relationship between models and particles derived from reconstructions and that they are in corresponding sequence. The type id and hand from each model is converted into an integer and the particle group set to it. Each model id is reset to a combined reconstruction and particle id.
Generates a model from each particle defined in a reconstruction.
*project | project parameter structure. |
*temp | template model. |
flags | conversion options: 1=images. |
The model id is a combined reconstruction and particle id. The model type id is taken from the particle group id. The selection and FOM is taken from the particle properties. The model map file name is taken from the particle file name if it is defined, otherwise it is taken from the reconstruction structure and the image number is taken from the particle id. Flags: 1 transform each particle images to standard orientation. 2 write a model file for each particle.
const char* use[] |
|
extern |