[Imgcif-l] three new suggested tags for binning

Chris Nielsen cn at adsc-xray.com
Tue Jun 20 12:10:58 BST 2006


      Hi Herbert,

      I'm not sure if there will ever be non-integral binning, but
it does not hurt to make the definition general.  I would expect
binning to be 1, 2, 4 & 8, and almost always fast=slow.  The Bruker
small molecule detectors use binning 2, 4, and 8, and some mar
detectors use 2 and 4.

      Could we add "none" as the method for unbinned images?  Kinda
looks neater.

      Best,

      Chris


-----Original Message-----
From:	Herbert J. Bernstein [mailto:yaya at bernstein-plus-sons.com]
Sent:	Mon 6/19/2006 6:56 PM
To:	imgcif-l at iucr.org
Cc:	
Subject:	[Imgcif-l] three new suggested tags for binning
At the suggestion of Chris Nielsen, we propose the following three
new tags to hold information on the binning of images:

_array_intensities.pixel_fast_bin_size
      (1, 2, ...)
_array_intensities.pixel_slow_bin_size
      (1, 2, ...)
_array_intensities.pixel_binning_method
      (hardware, software, combined, unspecified)

In order to allow for software binning involving fractions of pixels,
the bin sizes would be floats, not ints.

Comments, corrections and suggestions with respect to the appended
proposed formal definitions would be appreciated.

     --  H. J. Bernstein

The proposed formal definitions are:

save__array_intensities.pixel_fast_bin_size
     _item_description.description
;
    The value of '_array_intensities.pixel_fast_bin_size' specifies the
    number of pixels that compose one element in the direction of the
    most rapidly varying array dimension.

    It is specified as a float to allow for binning algorithms that create
    array elements that are not integer multiples of the detector pixel size.
.
;
     _item.name              '_array_intensities.pixel_fast_bin_size'
     _item.category_id          array_intensities
     _item.mandatory_code       implicit
     _item_type.code            float
     _item_default.value        1.
      loop_
     _item_range.maximum
     _item_range.minimum
                             .   0.0
     _item_units.code           'pixels_per_element'
      loop_
     save_

save__array_intensities.pixel_slow_bin_size
     _item_description.description
;
    The value of '_array_intensities.pixel_slow_bin_size' specifies the
    number of pixels that compose one element in the direction of the
    second most rapidly varying array dimension.

    It is specified as a float to allow for binning algorithms that create
    array elements that are not integer multiples of the detector pixel size.
.
;
     _item.name              '_array_intensities.pixel_slow_bin_size'
     _item.category_id          array_intensities
     _item.mandatory_code       implicit
     _item_type.code            float
     _item_default.value        1.
      loop_
     _item_range.maximum
     _item_range.minimum
                             .   0.0
     _item_units.code           'pixels_per_element'
      loop_
     save_

save__array_intensities.pixel_binning_method
     _item_description.description
;
   The value of '_array_intensities.pixel_binning_method' specifies the
   method used to derive array elements from multiple pixels.
;
     _item.name              '_array_intensities.pixel_slow_bin_size'
     _item.category_id          array_intensities
     _item.mandatory_code       implicit
     _item_type.code            code
      loop_
     _item_enumeration.value
     _item_enumeration.detail
                                'hardware'
;
   The element intensities were derived from the raw data of one or more pixels
   by used of hardware in the dectector, e.g. by used of shift 
registers in a CCD
   to combine pixels into super-pixels.
;
                                'software'
;
   The element intensities were derived from the raw data of more than one pixel
   by use of software.
;
                                'combined'
;
   The element intensities were derived from the raw data of more than one pixel
   by use of both hardware and software, as when hardware binning is used in
   one direction and software in the other.
;
                                'unspecified'
;
   The method used to derive element intensities is not specified
;


     _item_default.value        'unspecified'
     save_


-- 
=====================================================
  Herbert J. Bernstein, Professor of Computer Science
    Dowling College, Kramer Science Center, KSC 121
         Idle Hour Blvd, Oakdale, NY, 11769

               Office:  +1-631-244-3035
            Lab (KSC 020): +1-631-244-3451
                  yaya at dowling.edu
=====================================================
_______________________________________________
imgcif-l mailing list
imgcif-l at iucr.org
http://scripts.iucr.org/mailman/listinfo/imgcif-l





More information about the imgcif-l mailing list