Skip to content

Infogeo

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

header_print

Purpose

This utility shows some information stored in the SPIDER header of the selected image/volume or set of images/volumes (there can be both types in the same selfile). You can also see some statistical information (the statistical output is processable directly bygnuplot). Statistics can be restricted to a masked area. This program can be also used to repair (reset to a default value) the header of files.

Usage


$ header_print [input] ...


Parameters

  • `` Input file, may be a selfile, image or volume
  • `` Shows the field old rotational angle for images
  • `` Shows minimum value, maximum value, average and standard deviation within the selected (mask or the whole file) area
    • `` Save the statistics in an output docfile
    • `` Avoid applying the header when the image is read
  • `` Generates a mask with the given specifications. SeeMask for details
  • `` Show statistics with a shorter form
  • `` Save the masks generated for the selected regions with names:mask2D and`mask3D`
  • %GREEN -repair = Reset header information (angles are lost)

Examples and notes

Ask for information of a single image


$ header_print g0ta0001.xmp


Ask for information of a sel file:


$ header_print g0ta.sel


Reset all headers in a sel file


$ hedaer_print g0ta.sel -repair


Ask for the ol rotational angle of a sel file


$ header_print g0ta.sel -show_old_rot


Ask for the statistics of a set of images


$ hedaer_print g0ta.sel -stats


Ask for the statistics inside a circle of radius 15


$ header_print g0ta.sel -stats -mask circular -15


The output formats are usually like:


FileName     : g0ta00001.xmp
Image type   : 2D Xmipp image
dimensions   : 1 x 40 x 40  (slices x rows x columns)
Euler angles :
  Phi   (rotation around Z axis) = 3.17127
  theta (tilt, second rotation around new Y axis) = 7.90344
  Psi   (third rotation around new Z axis) = 7.46583
Date         : 17-6-99
Time         : 0:48
Title        : g0ta00001.xmp


or


Format: Name ZxYxX min max avg stddev <rot tilt psi>
g0ta00001.xmp      40x 40    0.00972   23.13958  6.0062671  4.5024815  0.000e+00  0.000e+00  0.000e+00
g0ta00002.xmp      40x 40     0.0135  22.979053  6.1273956  4.3232908   -0.02195  7.1752858 -4.4213557
g0ta00003.xmp      40x 40    0.00052  23.075073  6.1548462  4.4185324  50.484497  13.192568  5.3582182
g0ta00004.xmp      40x 40    0.00284  22.968636  6.0893946  4.4305935  112.27727  2.2592173 -4.9685431
g0ta00005.xmp      40x 40    0.00311  23.040869  5.9709911   4.457603   175.3855 -1.5951099  4.1586528
g0ta00006.xmp      40x 40    0.01608  23.165062  6.0627551  4.5187697  231.51004  8.5219421 -1.4227229
g0ta00007.xmp      40x 40    0.01642  23.122177  6.0572343  4.4896326  290.15482  11.689285  1.9614701
g0ta00008.xmp      40x 40    0.01199  22.956175  6.1088805  4.4206181  339.80527  5.4582701  6.3777609
g0ta00009.xmp      40x 40    0.00074  23.491722  6.0448518  4.4466472    0.77749  23.060038    0.16307
g0ta00010.xmp      40x 40     0.0024  23.398567  6.0779767  4.4056931  31.529181  5.6837187 -5.0035334
==================================================
Total number of images/volumes: 10
                             0.00773  23.133692  6.0700593  4.4413862


--Main.AlfredoSolano - 18 Jan 2007

Clone this wiki locally