Name

project - calculate 2-D projection of a 3-D volume using three Eulerian angles and two shifts using linear interpolation

Usage

proj = project(vol, params, radius)

Input

vol

input volume, if radius<nx/2 all dimensions have to be the same (nx=ny=nz), if radius>nx/2, the dimensions can be arbitrary.

params
input parameters given as a list [phi, theta, psi, s2x, s2y], projection in calculated using the three Eulerian angles and then shifted by s2x,s2y
radius

radius of a sphere within which the projection of the volume will be calculated. Note: if the average of the structure within the sphere is not zero, the projection will contain a projection of a sphere (an artifact).

Output

proj
generated 2-D projection

Method

linear interpolation.

Author / Maintainer

Pawel A. Penczek

Keywords

category 1
TRANSFORMS
category 2
SPATIAL

Files

projection.py

See also

prg

Maturity

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

Bugs

None. It is perfect.

project (last edited 2015-05-28 20:19:04 by penczek)