sarcgraph.sg.SarcGraph._zdiscs_to_pandas
- SarcGraph._zdiscs_to_pandas(zdiscs_all)[source]
Creates a pandas dataframe from the information of detected zdiscs in all frames.
- Parameters:
zdiscs_all (List[np.ndarray]) – A list of numpy arrays each containing information of detected zdiscs in a frame, (zdisc center, end point 1, end point 2)
- Returns:
Columns are
frame(frame number),xandy(zdiscs center position),p1_x,p1_y,p2_x,p2_y(zdiscs end points positions).- Return type:
pd.DataFrame