trackpy.plot_density_profile

trackpy.plot_density_profile(f, binsize, blocks=None, mpp=None, fps=None, normed=True, t_column='frame', pos_column='z', ax=None, **kwargs)

Plot a histogram showing the density profile in one direction.

Parameters:
fDataFrame

positions, including columns ‘frame’ and ‘z’

binsizeinteger

histogram binsize, if mpp is set, this is in in units of microns

blocksinteger, optional

number of density profiles to plot

mppnumber, optional

microns per pixel

fpsnumber, optional

frames per second

normedboolean

if true, the histogram is normalized

t_columnstring, default ‘frame’
pos_columnstring, default ‘z’
axmatplotlib axes (optional)
Returns:
Axes object

Notes

Any other keyword arguments will pass through to matplotlib’s plot.