 |
Bsoft
2.1.0
Bernard's software package
|
Go to the documentation of this file.
30 #ifndef _ProjectParamStructs_
351 #define _ProjectParamStructs_
Bparticle ** particle_array(Bparticle *partlist, int part_select, long &npart)
Sets up an array of selected particle pointers.
int project_kill(Bproject *project)
Frees a whole project.
long micrograph_set_part_links(Bmicrograph *mg)
Sets the links from particles back to the micrograph.
int rec_part_links(Breconstruction *rec)
Sets the links from particles to reconstructions.
int field_kill(Bfield *field)
Frees a whole field-of-view structure.
int project_sort_by_tilt(Bproject *project)
Sorts the micrographs in each field by tilt angle.
int project_set_powerspectrum_path(Bproject *project, Bstring &path)
Sets the path to powerspectrum files for all the micrographs.
int project_update(Bproject *project, Bproject *proj_new, int fom_index)
Updates an existing project with new information.
long project_show_hierarchy(Bproject *project)
Shows the project hierarchy.
int project_set_dose(Bproject *project, double dose)
Sets the electron dose of all the micrographs.
Bfield * field_add(Bfield **field, Bstring &field_id)
Adds a field-of-view parameter structure to a linked list.
Vector3< double > voxel_size
int micrograph_kill(Bmicrograph *mg)
Frees a whole micrograph parameter structure.
long project_divide(Bproject *project, long n)
Divides a project into a number of micrograph subsets.
Header file for general symmetry functions.
int project_set_part_pixel_size(Bproject *project, Vector3< double > pixel_size)
Sets the pixel size for all the particles.
long reconstruction_set_part_links(Breconstruction *rec)
Sets the links from particles back to the reconstruction.
Bfilament * filament_add(Bfilament **fil, int pid)
Adds a filament parameter structure to a linked list.
Bproject * project_init()
Initializes a micrograph processing project parameter structure.
int project_set_frame_path(Bproject *project, Bstring &path)
Sets the path to micrograph frames files for all the micrographs.
int project_set_field_id(Bproject *project, int nseries, Bstring &field_id)
Sets the field id's according to a regular series.
long project_show_class_averages(Bproject *project)
Shows the class averages in a project.
Bmicrograph ** project_micrograph_array(Bproject *project, long &nmg)
Sets up an array of selected micrograph pointers.
int project_set_micrograph_origins(Bproject *project, Vector3< double > origin)
Sets micrograph origins to the given origin.
Bparticle ** project_rec_particle_array(Bproject *project, int part_select, long &npart)
Sets up an array of selected particle pointers.
Bproject * project_create(int nmg, int nrec)
Creates a micrograph processing project parameter structure.
Header file for image parameter functions.
int mg_part_links(Bmicrograph *mg)
Sets the links from particles to micrographs.
int project_set_rec_voxel_size(Bproject *project, Vector3< double > pixel_size)
Sets the pixel size for all the reconstructions.
int project_set_mg_pixel_size(Bproject *project, Vector3< double > pixel_size)
Sets the pixel size for all the micrographs.
int project_merge_part_parameters(Bproject *project, Bproject *partproject)
Puts particle parameters from one project into another.
int project_set_particle_path(Bproject *project, Bstring &path)
Sets the path to particle files for all the micrographs.
long project_dump(Bproject *project, Bstring &filename)
Dumps particle info in the project hierarchy.
int project_set_particle_asu_views(Bproject *project, Bstring &symmetry_asu)
Sets particle views within the asymmetric unit.
Bstring get_fom_tag(FOMType fom_type)
Returns the tag associated with a particular FOM.
Header file for CTF (contrast transfer function) functions.
int project_set_tilt(Bproject *project, double tilt_axis, double tilt_angle)
Sets the tilt parameters for all the micrographs.
int project_rotate_particle_views(Bproject *project, View view)
Rotates particle views with respect to a reference view.
Bparticle * part_find_first(Bproject *project)
Finds the first particle in a project.
int reconstruction_update(Breconstruction *rec, Breconstruction *nu_rec, int fom_index, int flags)
Updates an existing reconstruction with new information.
Tcl_Obj * part_select(Bparticle *part, int objc, Tcl_Obj *CONST objv[])
Vector3< double > pixel_size
Header file for the string class.
int project_equal_mg_part_files(Bproject *project)
Sets micrograph and particle files to be the same.
int project_set_filament_path(Bproject *project, Bstring &path)
Sets the path to filament files for all the micrographs.
long project_set_part_links(Bproject *project)
Sets the links from particles back to the micrographs and reconstructions.
int reconstruction_kill(Breconstruction *rec)
Frees a whole reconstruction parameter structure.
long project_renumber_particles(Bproject *project)
Renumbers particles.
int project_set_particle_box_size(Bproject *project, Vector3< long > box_size)
Sets particle box size to the given value.
Bparticle * particle_add(Bparticle **part, int pid)
Adds a particle parameter structure to a linked list.
int project_revert_filenames(Bproject *project, Bproject *project_old, int flag)
Reverts file names to what it was in an old project.
int project_set_particle_origins(Bproject *project, Vector3< double > origin)
Sets particle origins to given values.
int project_flip_origins(Bproject *project, int flip)
Flip origin coordinates.
Bparticle ** project_mg_particle_array(Bproject *project, int part_select, long &npart)
Sets up an array of selected particle pointers.
Bmicrograph * micrograph_add(Bmicrograph **mg, Bstring &mg_id)
Adds a micrograph parameter structure to a linked list.
int project_set_scan_sampling(Bproject *project, double sampling)
Sets the scan sampling for all the micrographs.
Bparticle * particle_copy(Bparticle **partlist, Bparticle *part)
Adds one particle onto a list of particle parameters.
Bframe * frame_add(Bframe **frame, int pid)
Adds a movie frame parameter structure to a linked list.
View * views_from_project(Bproject *project, int selection)
Retrieves the particle views from a project.
int filament_kill(Bfilament *fil)
Frees a list of filaments.
Vector3< double > pixel_size
int project_set_magnification(Bproject *project, double mag)
Sets the magnification for all the micrographs.
long project_reset(Bproject *project, Bstring &reset)
Reset a particle parameter from its micrograph.
int particle_kill(Bparticle *part)
Frees a list of particles.
Breconstruction * reconstruction_add(Breconstruction **rec, Bstring &rec_id)
Adds a reconstruction parameter structure to a linked list.
Bfilnode * filament_node_add(Bfilnode **fnode, int pid)
Adds a filament node parameter structure to a linked list.
int micrograph_update(Bmicrograph *mg, Bmicrograph *nu_mg, int fom_index, int flags)
Updates an existing micrograph with new information.
int particle_update(Bparticle *part, Bparticle *nu_part)
Updates one existing particle with new information.
int project_add_origins_to_coords(Bproject *project)
Adds the particle origins to the micrograph coordinates.
int project_apply_map_magnifications(Bproject *project, int mag_num, float *mag)
Change particle pixel sizes for particles based on map magnifications.
double filament_length(Bfilament *fil)
Calculates the length of a filament.
Bmicrograph * micrograph_copy(Bmicrograph *mg)
Copies a micrograph.
int project_set_micrograph_path(Bproject *project, Bstring &path)
Sets the path to micrograph files for all the micrographs.