Name

copy_trans_angles: copy SPIDER format 3D alignment paramters(spider trans file and angles file), and store them into HDF file headers

Usage

copy_trans_angles_s(transtr,ptlstr,angstr,defo_fname,outstack,Pixel_size,voltage,cs=2,ctf_mul=1,symmetry="c1",deci=1,verify=1,m_radius=0,amp_contrast=.1)

Input

transtr
SPIDER trans file pattern, such as FINAL/def{***}/trans171.ttG
ptlstr
SPIDER particles of signle defocus stack file pattern, such as FINAL/def{***}/data.ttG
angstr
SPIDER angles file pattern, such as FINAL/def{***}/trans171.ttG
defo_fname
SPIDER defocus document file, such as "FINAL/ctfs.ttG"
outstack
output stack file, such as "data.hdf"
Pixel_size
image pixel size.
voltage
accelerating voltage. cs::2
amp_contrast
.1

Output

outstack
output stack file, such as "data.hdf"

Options

ctf_mul
set as 1 if the parameters-in-header particles are multiplied by CTF.
symmetry
c1, or else.
deci
1 The output data is size-reduced or not. deci=2 gives two times size reduction.
verify
1 Verify paramters are properly instored. set as 0 the program would skip the verification.
m_radius
0, mask radius for calculating fsc of paramters verification 3D reconstruction. default is zero, the program will take int(nx/2)-10 as mask radius for FSC calculating.

Description

Method

Reference

Author / Maintainer

Zhong Huang

Keywords

category 1
UTILITIES

Files

utilities.py

See also

References to relevant other routines.

Maturity

alpha
crashes and nobody knows why, works but results are incorrect, works for author but noone else
beta
works for author, often works for others.
stable
works for most people, has been tested; test cases/examples available.

Bugs

None. It is perfect.

copy trans angles s (last edited 2006-12-20 23:16:19 by zhong)