sxfind_struct - use the "common line" algorithm to assign initial values of phi, theta, psi to 2D average projections.

Usage

Usage in command lines:

sxfind_struct.py prj_stack outdir --delta=delat_angle --rand_seed=random_seed --trials=number_of_trials --refine --MPI

Usage in python programing:

sxfind_struct(prj_stack, delta, outdir, random_seed, trials, refine, MPI)

Input

prj_stack
projection stack file with parameters phi, theta and psi set to zero
outdir
output directory

Output

outdir/result.hdf
it is the copy of the input stack file with the parameters (phi, theta and psi) set for each projection according the orientation found
outdir/progress
this file is updated for each iteration of the algorithm, it can be use to watch the progression
outdir/angle.txt
this file contain a summarize of the orientation found for each projection
outdir/plot_agls.hdf
this image in the hdf format, displays the orientation found for each projection on a 2D map (top view) locate on the hemisphere

Options

random_seed
seed for random assignment
delta
angle step to generate evenly distributed angles, default is 10.0
refine
to refine the angles with simplex method, default is False
trials
number of trials, repeat many times find_struct with different random_seed and accept the 'best' solution, default is 1
MPI
to use the MPI version

Description

Method

As described in the reference paper below, with modification of a full 2D Voronoi diagram on a sphere.

How to use the function sxfind_struct:

Firstly, the parameters of the stack, phi, theta and psi must be set to zero:

Select a value for the angle step, delta. More delta is low and more the list of angles (candidates to perform the search) is large.

If the speed of the algorithm is too long, you can try to decrease the number of angles and used the option refine to perform a local refinement on each angle after research by the simplex method ex.:

To get a quick view of the structure found, use this function to reconstruct the volume:

The structure found depend of the random assignment for each projection, controled by the option value random_seed. To improve the structure use the option trials in order to repeat many times the algorithm with different seed value. The structure selected is the best according a criterion. In the logfile or in the file angle.txt you can found the criterion, named Discrepancy which defined the 'quality' of the structure found. A lower criterion mean a better structure.

Reference

Penczek, P., Zhu, J. and Frank, J.: A common-lines based method for determining orientations for N>3 particle projections simultaneously. Ultramicroscopy 63:205-218, 1996.

Author / Maintainer

Julien Bert

Keywords

category 1
APPLICATIONS

Files

applications.py

See also

Maturity

stable
works for most people, has been tested; test cases/examples available.

Bugs

sxfind struct (last edited 2008-08-08 21:48:32 by zweig)