spiketools.plts.trials.create_raster_title

spiketools.plts.trials.create_raster_title(label, avg_pre, avg_post, t_val=None, p_val=None)[source]

Create a standardized title for an event-related raster plot.

Parameters:
labelstr

Label to add to the beginning of the title.

avg_pre, avg_postfloat

The average firing rates pre and post event.

t_val, p_valfloat, optional

The t value and p statistic for a t-test comparing pre and post event firing.

Returns:
titlestr

Title for the plot.