示例#1
0
def plot_scatter_authors_hits(pm_frame, project,
                              thread_type="all threads", stage=-1,
                              thread=None,
                              thresh=15):
    """Wrapper function for author_network.scatter_authors_hits.
    If thread is not None, an author_network is created for single thread at
    iloc[thread]"""
    project, data = thread_or_project(
        pm_frame, project, thread_type, stage, thread)
    data.scatter_authors_hits(project=project, thresh=thresh)
示例#2
0
def plot_delays(pm_frame, project,
                thread_type="all threads", stage=-1,
                thread=None,
                thresh=10,
                ylim=16):
    """Wrapper function for author_network.plot_centre_closeness.
    If thread is not None, an author_network is created for a single thread at
    iloc[thread]"""
    project, data = thread_or_project(
        pm_frame, project, thread_type, stage, thread)
    data.plot_centre_closeness(project=project,
                               thresh=thresh, ylim=ylim)
示例#3
0
def plot_centre_crowd(pm_frame, project,
                      thread_type="all threads", stage=-1,
                      thread=None,
                      thresh=2,
                      show_threads=False):
    """Wrapper function for author_network.plot_centre_crowd.
    If thread is not None, an author_network is created for single thread at
    iloc[thread]"""
    project, data = thread_or_project(
        pm_frame, project, thread_type, stage, thread)
    data.plot_centre_crowd(project=project,
                           thresh=thresh, show_threads=show_threads)
示例#4
0
def plot_interaction_trajectories(pm_frame, project,
                                  thread_type="all threads", stage=-1,
                                  thread=None,
                                  loops=False,
                                  thresh=None, select=None,
                                  l_thresh=5):
    """Wrapper function for author_network.plot_i_trajectories.
    If thread is not None, an author_network is created for a single thread at
    iloc[thread]"""
    project, data = thread_or_project(
        pm_frame, project, thread_type, stage, thread)
    data.plot_i_trajectories(project=project,
                             loops=loops, thresh=thresh, select=select,
                             l_thresh=l_thresh)