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

def pycbf::cbf_handle_struct::construct_detector (   args  ) 

Returns : pycbf detector object
*args   : Integer element_number

C prototype: int cbf_construct_detector (cbf_handle handle,
         cbf_detector *detector,    unsigned int element_number);

CBFLib documentation:
DESCRIPTION
cbf_construct_detector constructs a detector object for detector 
element number element_number using the description in the CBF object 
handle and initialises the detector handle *detector.
ARGUMENTS
handle   CBF handle. detector   Pointer to the destination detector 
handle. element_number   The number of the detector element counting 
from 0 by order of appearance in the "diffrn_data_frame" category.
RETURN VALUE
Returns an error code on failure or 0 for success. 
_________________________________________________________________

Definition at line 970 of file pycbf.py.

00970                                  :
        """
        Returns : pycbf detector object
        *args   : Integer element_number

        C prototype: int cbf_construct_detector (cbf_handle handle,
                         cbf_detector *detector,    unsigned int element_number);

        CBFLib documentation:
        DESCRIPTION
        cbf_construct_detector constructs a detector object for detector 
        element number element_number using the description in the CBF object 
        handle and initialises the detector handle *detector.
        ARGUMENTS
        handle   CBF handle. detector   Pointer to the destination detector 
        handle. element_number   The number of the detector element counting 
        from 0 by order of appearance in the "diffrn_data_frame" category.
        RETURN VALUE
        Returns an error code on failure or 0 for success. 
        _________________________________________________________________

        """
        return _pycbf.cbf_handle_struct_construct_detector(*args)


Generated by  Doxygen 1.6.0   Back to index