pipeline:utilities:sxheader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pipeline:utilities:sxheader [2018/08/22 10:59]
fmerino
pipeline:utilities:sxheader [2019/04/02 10:08] (current)
lusnig
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
  
-===== sxheader ​=====+===== sp_header ​=====
 Header Operations: Perform operations on headers of hdf or bdb file. Header Operations: Perform operations on headers of hdf or bdb file.
  
Line 9: Line 9:
 Usage in command line Usage in command line
  
-  ​sxheader.py  stack  --params=PARAMS_NAME_LIST ​ --import=INPUT_PARAMS_PATH ​ --export==OUTPUT_PARAMS_FILE ​ --delete ​ --zero ​ --one  --set  --consecutive ​ --randomize ​ --rand_alpha ​ --print ​ --backup ​ --restore ​ --suffix=PARAMS_FILE_SUFFIX+  ​sp_header.py  stack  --params=PARAMS_NAME_LIST ​ --import=INPUT_PARAMS_PATH ​ --export==OUTPUT_PARAMS_FILE ​ --delete ​ --zero ​ --one  --set  --consecutive ​ --randomize ​ --rand_alpha ​ --print ​ --backup ​ --restore ​ --suffix=PARAMS_FILE_SUFFIX
  
 \\ \\
 ===== Typical usage ===== ===== Typical usage =====
  
-sxheader ​does not support MPI.+sp_header ​does not support MPI.
  
 \\ __Print parameterrs__:​ \\ __Print parameterrs__:​
-  ​sxheader.py bdb:file --print --params=xform.projection+  ​sp_header.py bdb:file --print --params=xform.projection
  
 \\ __Export ctf values to a text file__: \\ __Export ctf values to a text file__:
-  ​sxheader.py bdb:file --export=ctf.txt --params=ctf+  ​sp_header.py bdb:file --export=ctf.txt --params=ctf
  
 \\ __Import ctf values from a text file and set them to headers__: \\ __Import ctf values from a text file and set them to headers__:
-  ​sxheader.py bdb:file --import=ctf.txt --params=ctf+  ​sp_header.py bdb:file --import=ctf.txt --params=ctf
  
 \\ __Backup current alignment parameters__:​ \\ __Backup current alignment parameters__:​
-  ​sxheader.py bdb:file --backup --suffix=_original --params=xform.projection+  ​sp_header.py bdb:file --backup --suffix=_original --params=xform.projection
  
 \\ __Restore original alignment parameters__:​ \\ __Restore original alignment parameters__:​
-  ​sxheader.py bdb:file --restore --params=xform.projection_original+  ​sp_header.py bdb:file --restore --params=xform.projection_original
  
 Note: command will recognize the valid name of a parameters and truncate the suffix, thus in this case the restored parameter will be xform_projection. Note: command will recognize the valid name of a parameters and truncate the suffix, thus in this case the restored parameter will be xform_projection.
  
 \\ __Delete parameters__:​ \\ __Delete parameters__:​
-  ​sxheader.py bdb:file --delete --params=xform.projection_original+  ​sp_header.py bdb:file --delete --params=xform.projection_original
  
 Note: the parameters will be permanently deleted and cannot be recovered. Note: the parameters will be permanently deleted and cannot be recovered.
Line 98: Line 98:
 \\ \\
 ==== Files ==== ==== Files ====
-sparx/bin/sxheader.py+sparx/bin/sp_header.py
  
 \\ \\
Line 113: Line 113:
  
 \\ \\
 +
  • pipeline/utilities/sxheader.txt
  • Last modified: 2019/04/02 10:08
  • by lusnig