This is a collection of Python functions that do the following for fluorescent trace (imaging data) output from Fiji:
The traces (stored in csv files) are read into Python. The following processing is performed:
- bg subtraction
- each trace (representing a single roi or region of interest) is examined to pick out "peaks" (spontaneous exocytosis events) represented by a sudden increase in flourescence. This involves implementation of a threshold
- the performance of different thresholds can be tested automatically (false positives and false negatives against a curated set of data)
- once a threshold has been picked the events for different conditions can be averaged and graphed
- the sorted traces can be written to Excel
Because this is a collection of functions that together complete the goal task I've created a mock "run_client" file that demonstrates the order that the functions should be run as well as the Python libraries used