Stats

class kgpy.img.spikes.Stats(histogram, x_edges, y_edges, percentile_lower, percentile_upper)

Bases: object

A class representing a statistical model of spikes in an image.

Parameters:
__init__(histogram, x_edges, y_edges, percentile_lower, percentile_upper)
Parameters:
Return type:

None

Attributes

histogram_cumsum

histogram_normalized

x

y

histogram

x_edges

y_edges

percentile_lower

percentile_upper

Methods

__init__(histogram, x_edges, y_edges, ...)

plot(ax[, label])

thresh_lower(x)

thresh_upper(x)

Inheritance Diagram

digraph inheritanceb0d1633f0d { bgcolor=transparent; rankdir=TB; size="8.0, 12.0"; "kgpy.img.spikes.Stats" [URL="kgpy.img.spikes.Stats.html#kgpy.img.spikes.Stats",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A class representing a statistical model of spikes in an image."]; }
plot(ax, label='')
Parameters:
thresh_lower(x)
Parameters:

x (ndarray) –

thresh_upper(x)
Parameters:

x (ndarray) –

histogram: numpy.ndarray
property histogram_cumsum: ndarray
property histogram_normalized: ndarray
percentile_lower: float
percentile_upper: float
property x
x_edges: numpy.ndarray
property y
y_edges: numpy.ndarray