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

def pycbf::cbf_handle_struct::get_gain (   args  ) 

Returns : Float gain,Float gain_esd
*args   : 

C prototype: int cbf_get_gain (cbf_handle handle, unsigned int element_number,
            double *gain, double *gain_esd);

CBFLib documentation:
DESCRIPTION
cbf_get_gain sets *gain and *gain_esd to the corresponding gain 
parameters for element number element_number.
Either of the destination pointers may be NULL.
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. gain   Pointer to the destination 
gain. gain_esd   Pointer to the destination gain_esd.
RETURN VALUE
Returns an error code on failure or 0 for success. 
_________________________________________________________________

Definition at line 2091 of file pycbf.py.

02091                        :
        """
        Returns : Float gain,Float gain_esd
        *args   : 

        C prototype: int cbf_get_gain (cbf_handle handle, unsigned int element_number,
                            double *gain, double *gain_esd);

        CBFLib documentation:
        DESCRIPTION
        cbf_get_gain sets *gain and *gain_esd to the corresponding gain 
        parameters for element number element_number.
        Either of the destination pointers may be NULL.
        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. gain   Pointer to the destination 
        gain. gain_esd   Pointer to the destination gain_esd.
        RETURN VALUE
        Returns an error code on failure or 0 for success. 
        _________________________________________________________________

        """
        return _pycbf.cbf_handle_struct_get_gain(*args)


Generated by  Doxygen 1.6.0   Back to index