Name
update_attrt - update the pre-set image attributes during a 3D or 2D alignment.
Usage
- output = update_attrt(image, par_str, params, opt="s")
Input
- image
- image whose attributes to be updated
- par_str
- a list contains attributes ID strings, such as "psi", "theta", "phi", and "sx","sy", "ctf_applied".
- params
- a list contains new attributes value, the new values can be either subtracted from, added to or replace the previous values.
Output
- output
- images with updated attributes
Options
- opt
- 1. "s" subtract the new parameters 2."a" add the new parameters. 3. "r" relpaced by the new parameters
Description
Method
Reference
Author / Maintainer
Zhong Huang
Keywords
- category 1
- UTILITIES
Files
utilities.py
See also
Maturity
- stable
- works for most people, has been tested; test cases/examples available.
Bugs
None. It is perfect.