pysted.utils.get_light_curve

pysted.utils.get_light_curve(video_path, event)

Use a tif video of Ca2+ flashes along with a ROI (spatial and temporal) to convert the data to an intensity/photon count curve.

Parameters:
  • video_path – The path to the video file from which we want to extract an event light curve (str)

  • event – A dictionary containing the start and end info for frames, rows, columns of an event (dict)

Returns:

A vector representing the mean intensity accros the frames of the event