Logo Search packages:      
Sourcecode: cbflib version File versions  Download package

def pycbf::cbf_handle_struct::set_pixel_size (   args  ) 

Returns : 
*args   : Int element_number,Int axis_number,Float pixel size

C prototype: int cbf_set_pixel_size (cbf_handle handle,
         unsigned int    element_number, unsigned int axis_number,
         double psize);

CBFLib documentation:
DESCRIPTION
cbf_set_pixel_size sets the item in the &quote;size&quote; column of 
the "array_structure_list" category at the row which matches axis 
axis_number of the detector element element_number converting the 
double pixel size psize from meters to millimeters in storing it in 
the "size" column for the axis axis_number of the detector element 
element_number. The axis_number is numbered from 1, starting with the 
fastest axis.
If the "array_structure_list" category does not already exist, it 
is created.
If the appropriate row in the "array_structure_list" catgeory does 
not already exist, it is created.
If the pixel size is not given explcitly in the "array_element_size 
category", the function returns CBF_NOTFOUND.
ARGUMENTS
handle   CBF handle. element_number   The number of the detector 
element counting from 0 by order of appearance in the 
"diffrn_data_frame" category. axis_number   The number of the axis, 
fastest first, starting from 1.

Definition at line 2292 of file pycbf.py.

02292                              :
        """
        Returns : 
        *args   : Int element_number,Int axis_number,Float pixel size

        C prototype: int cbf_set_pixel_size (cbf_handle handle,
                         unsigned int    element_number, unsigned int axis_number,
                         double psize);

        CBFLib documentation:
        DESCRIPTION
        cbf_set_pixel_size sets the item in the &quote;size&quote; column of 
        the "array_structure_list" category at the row which matches axis 
        axis_number of the detector element element_number converting the 
        double pixel size psize from meters to millimeters in storing it in 
        the "size" column for the axis axis_number of the detector element 
        element_number. The axis_number is numbered from 1, starting with the 
        fastest axis.
        If the "array_structure_list" category does not already exist, it 
        is created.
        If the appropriate row in the "array_structure_list" catgeory does 
        not already exist, it is created.
        If the pixel size is not given explcitly in the "array_element_size 
        category", the function returns CBF_NOTFOUND.
        ARGUMENTS
        handle   CBF handle. element_number   The number of the detector 
        element counting from 0 by order of appearance in the 
        "diffrn_data_frame" category. axis_number   The number of the axis, 
        fastest first, starting from 1.

        """
        return _pycbf.cbf_handle_struct_set_pixel_size(*args)


Generated by  Doxygen 1.6.0   Back to index