def analyzer_resolution(analyzer_information, slit_width=None, slit_number=
    None, pass_energy=10):
    """
    Estimates analyzer resolution from slit dimensioons pass energy, and analyzer radius.
    :param analyzer_information:
    :param slit_width:
    :param slit_number:
    :param pass_energy:
    :return:
    """
    if slit_width is None:
        slit_width = analyzer_information['slits'][slit_number]
    return 1000 * pass_energy * (slit_width / (2 * analyzer_information[
        'radius']))
