def get_physrot_specs(cell_name, model):
    """  Return physrot specifications for cell types

    Parameters:
    -----------
    cell_name : string
        The name of the cell.
    Returns:
    --------
    polarlim : array_like
        lower and upper bound for the polar angle
    pref_orient : array_like
        3-dim vetor of preferred orientation
    """
    if model == 'bbp':
        polarlim = {'BP': [0.0, 15.0], 'AC': None, 'BTC': None, 'ChC': None,
            'DBC': None, 'LBC': None, 'MC': [0.0, 15.0], 'NBC': None, 'NGC':
            None, 'SBC': None, 'PC': [0.0, 15.0], 'SS': [0.0, 15.0], 'SP':
            [0.0, 15.0]}
        pref_orient = {'BP': [0.0, 0.0, 1.0], 'AC': None, 'BTC': None,
            'ChC': None, 'DBC': None, 'LBC': None, 'MC': [0.0, 0.0, 1.0],
            'NBC': None, 'NGC': None, 'SBC': None, 'PC': [0.0, 0.0, 1.0],
            'SS': [0.0, 0.0, 1.0], 'SP': [0.0, 0.0, 1.0]}
        polar = None
        orient = None
        for k in polarlim.keys():
            if k in cell_name.split('_')[1]:
                polar = polarlim[k]
                orient = pref_orient[k]
                break
        return polar, orient
    else:
        raise NotImplementedError('Cell model %s is not implemented' % model)
