Rally

Easily analyze a pickleball rally
set(shot.shot_type_orig.values)
{'A', 'D', 'E', 'L', 'O', 'R', 'SE', 'SP', 'tsDrp', 'tsDrv', 'tsL'}

source

animate

 animate (i, ax, fig, position)

source

ball_travel_distance

 ball_travel_distance (x1:float, y1:float, x2:float, y2:float)

Returns the distance between two points


source

plot_court

 plot_court ()

Plots the empty pickleball court


source

shot_size

 shot_size (shot_num:int)

source

ShotColor

 ShotColor (value, names=None, module=None, qualname=None, type=None,
            start=1)

An enumeration.


source

Rally

 Rally (rally_id:str)

A class to represent a rally

r = Rally("R1020")
r.animate_rally()

r.plot_rally()