def METHOD_NAME(slice_index='centre', projection_index=0, ang_tol=0.1):
    r'''This creates a CentreOfRotationCorrector processor using the cross-correlation algorithm.
    For use on parallel-beam geometry it requires two projections 180 degree apart.
    Parameters
    ----------
    slice_index : int, str='centre', default='centre'
        An integer defining the vertical slice to run the algorithm on.
    projection_index : int
        An integer defining the first projection the algorithm will use. The second projection at 180 degrees will be located automatically.
    ang_tol : float, default=0.1
        The angular tolerance in degrees between the two input projections 180 degree gap
    Example
    -------
    >>> from cil.processors import CentreOfRotationCorrector
    >>> processor = CentreOfRotationCorrector.xcorrelation('centre')
    >>> processor.set_input(data)
    >>> data_centred = processor.get_ouput()
    Example
    -------
    >>> from cil.processors import CentreOfRotationCorrector
    >>> processor = CentreOfRotationCorrector.xcorrelation(slice_index=120)
    >>> processor.set_input(data)
    >>> processor.get_ouput(out=data)
    Example
    -------
    >>> from cil.processors import CentreOfRotationCorrector
    >>> import logging
    >>> logging.basicConfig(level=logging.WARNING)
    >>> cil_log_level = logging.getLogger('cil.processors')
    >>> cil_log_level.setLevel(logging.DEBUG)
    >>> processor = CentreOfRotationCorrector.xcorrelation(slice_index=120)
    >>> processor.set_input(data)
    >>> data_centred = processor.get_ouput()
    Note
    ----
    setting logging to 'debug' will give you more information about the algorithm progress
    '''
    processor = CofR_xcorrelation(slice_index, projection_index, ang_tol)
    return processor