← Back to the Export tab · Export, Stats & Notifications
Export Tomo Tiltseries experimental
This script (export/DEVELOPMENT/export_tomo_tiltseries.script, a
C-shell script) assembles the drift-corrected images of an electron-tomography
session into one tilt-series stack per specimen, ordered by tilt
angle, with a .tlt file of the angles and a STAR file of the metadata
of every tilt — the input IMOD and other tomography packages expect.
Status. One of the four Development exports inherited from
Focus, not shown in 4D-STEM or Fibril picking projects and awaiting
porting. Its parameter
export_tomo_basedir is not defined in the
current parameter files, so the Parameters panel shows nothing to set; it reads
the per-image 2dx_image.cfg files of a Focus project; and it needs
IMOD (addtostack, alterheader) through the
dir_imod setting of the Preferences. It does not run as it stands.
Parameters
| Parameter | Role |
|---|---|
export_tomo_basedir | The directory the stacks are written into, created next to merge/ in the project directory. |
Algorithm
- Takes the first path component of every image directory (
<specimen>/<image>) as the specimen; the images of one specimen are one tilt series. - For each specimen: reads the tilt angle (
TLTANG) of every image and sorts the images by it. - Appends each image's
movie_aligned.mrcto<specimen>_stack.mrcswith IMOD'saddtostack(the first one is copied), writes its tilt angle to<specimen>_stack.tlt, and one row to<specimen>_stack.star: specimen name and number, image number, tilt angle, magnification, defocus U/V/angle, Cs, voltage, and the dose of this frame, the dose before it and the total dose. An image withoutmovie_aligned.mrcis noted in<specimen>_stack_errors.txtand left out of all three files. - Writes the pixel size into the header of the stack with
alterheader. - Lists the stack as an important result and the STAR, TLT and error files as results, for every specimen.