archiveorig(1)                                                  archiveorig(1)



NAME
       archiveorig - Archive/restore original data after X-ray removal

SYNOPSIS
       archiveorig [options] setname.st

DESCRIPTION
       archiveorig is a Python script that allows one to create a small file
       to archive original data after removing X-rays with ccderaser.  This
       eliminates the huge redundancy in archiving the both original and X-ray
       removed data.  The script assumes that files are named with the conven-
       tions that eTomo uses.  Specifically, when the input file is given as
       setname.st, the original stack is assumed to be named setname_orig.st.
       The program then computes the difference between the original and X-ray
       removed stack and uses gzip compression of the difference file, which
       is named setname_xray.st.gz.  The resulting file should be ~2 MB for a
       1 GB data stack.

   Options
       -r     Restore setname_orig.st from setname_xray.st.gz and setname.st.
              The X-ray removed stack (setname.st) must be present to perform
              this operation.

       -d     Delete setname_orig.st after successfully producing set-
              name_xray.st.gz.  By default, the file is left for the user to
              delete.

       -P     Output process ID.

FILES
       If the final output file already exists a backup image of the original
       is created with the ~ extension.

AUTHOR
       David Mastronarde  <mast at colorado dot edu>

SEE ALSO
       ccderaser, subimage



BL3DEMC                              4.3.7                      archiveorig(1)