grapa.datatypes.curveTRPL

@author: Romain Carron Copyright (c) 2026, Empa, Laboratory for Thin Films and Photovoltaics, Romain Carron

Functions

bin_data(x, y[, binning])

binning: how many points are merged.

differential_lifetime(time, signal)

returns the differential lifetime of a signal -d(ln(y))/dt

find_onset(x, y)

define onset as average between 25% and 95% percentile, returns x value

fit_exponentials(x, y[, roi, fixed])

integrate(curve[, roi, alter])

Integrate: returns the integral of the curve, within ROI.

spline(x, y[, transform, numknots, ...])

Fits the data with a spline and returns x_spline, y_spline.

Classes

CurveTRPL(data, attributes[, silent])

CurveTRPL offers support to process and fit time-resolved photoluminence (TRPL) data.

GuiFunclistTrpl()