예제 #1
0
def lst(filename, treename=None):
    """Return tree structures.

    Parameters
    ----------
    filename : str
        Path to ROOT file.
    treename : str, optional (default=None)
        Name of tree in the ROOT file
        (optional if the ROOT file has only one tree).
    """
    return _librootnumpy.list_structures(filename, treename)
예제 #2
0
def list_structures(filename, treename=None):
    """Get a dictionary mapping branch names to leaf structures.

    Parameters
    ----------
    filename : str
        Path to ROOT file.
    treename : str, optional (default=None)
        Name of tree in the ROOT file
        (optional if the ROOT file has only one tree).

    Returns
    -------
    structures : OrderedDict
        An ordered dictionary mapping branch names to leaf structures.

    """
    return _librootnumpy.list_structures(filename, treename)
예제 #3
0
def list_structures(filename, treename=None):
    """Get a dictionary mapping branch names to leaf structures.

    Parameters
    ----------
    filename : str
        Path to ROOT file.
    treename : str, optional (default=None)
        Name of tree in the ROOT file
        (optional if the ROOT file has only one tree).

    Returns
    -------
    structures : OrderedDict
        An ordered dictionary mapping branch names to leaf structures.

    """
    return _librootnumpy.list_structures(filename, treename)
예제 #4
0
def lst(fname, treename=None):
    """
    return tree structures.
    *treename* is optional if fname has only one tree
    """
    return _librootnumpy.list_structures(fname, treename)
예제 #5
0
def lst(fname, treename=None):
    """
    return tree structures.
    *treename* is optional if fname has only one tree
    """
    return _librootnumpy.list_structures(fname, treename)