lu_spots2ratios

lu_spots2ratios

    Usage: lu_spots2ratios.py [options] file__spots.h5 [> output.txt]

    Options:
      -h, --help            show this help message and exit
      -o FO, --output=FO    output file (HDF5) name [default: ]
      -f FILTER, --filter=FILTER
                            optional R_min,R_max filter for R for textual output, e.g. 0.1,10.0
      -I IMIN, --I-min=IMIN
                            minimum intensity of reflexions to consider [default: 0.01]

Input - file__spots.h5, an output from lu_hdf2spots program

Output - binary file in HDF5 format,
- a list of ratio values in text format produced in console window or into the optional text file. The block, pair, OFF frame, ON frame mask and label number are listed in according order, followed by OFF and ON intensities, according Ratio, XY spot center position for OFF and ON reflection and a number of pixels included in a mask:

    block  pair froff fron  mask label          Ioff           Ion             R   Xoff Yoff   Xon  Yon      n
        0     0     1    0     0     0     219.88938     190.88938       0.86812     42 1062    42 1062     36

Program calculates the ratios of the intensities of ON and OFF reflections integrated with the same synchronized masks by lu_hdf2spots program with -S blocks option enabled.

Option -f allows to select only the Ratio values from a chosen range.
Option -I sets a minimum intensity for either OFF or ON data, necessary to include the calculated ratio in the listing.


Related

Wiki: Programs