'inflect_points' finds inflection points of waveform data
inflect_points(x)
x
A vector of numbers
Inflection points of the input vector
df.new <- format_data(GCaMP) inflect_points(df.new$Trial1)