grapa.datatypes.curveJscVoc.GraphJscVoc
- class grapa.datatypes.curveJscVoc.GraphJscVoc(filename: str | List[str] | List | ndarray = '', complement: dict | str | List[dict | str] = '', silent: bool = True, config: str | None = 'auto', log_active: bool = False)
Bases:
GraphOpen files containing Jsc-Voc data
- __init__(filename: str | List[str] | List | ndarray = '', complement: dict | str | List[dict | str] = '', silent: bool = True, config: str | None = 'auto', log_active: bool = False)
default constructor. Calls method reset.
Methods
CurveJscVoc_fitNJ0([Voclim, Jsclim, ...])Fit the Jsc-Voc data, returns fitted Curves.
CurvesJscVocSplitTemperature([threshold, curve])Splits the compiled data into different data (one for each T)
findCurveWithX(curve)Find the Curve with same x data as the given Curve JscVoc: that Curve should store temperatures
isFileReadable(filename, fileext[, line1])readDataFromFile(attributes, **kwargs)split_illumination([threshold, ifFit, ...])Splits Jsc Voc data according to illumination intensity.
split_temperatures(curve[, threshold])Splits the compiled data into different data (one for each T) curve: stores the Jsc-Voc pairs - will need to find the T threshold in °C
Attributes
AXISLABELSFILEIO_GRAPHTYPE- CurveJscVoc_fitNJ0(Voclim=None, Jsclim=None, threshold=3, graphsnJ0=True, curve: CurveJscVoc = None, silent=False)
Fit the Jsc-Voc data, returns fitted Curves. If required, first splits data in different temperatures.
- Parameters:
Voclim – fit limits for Voc, in data units
Jsclim – fit limits for Jsc, in data units
threshold – tolerance to temperature, in K
graphsnJ0 – if True, also returns A vs T, J0 vs T and J0 vs A*T
curve – stores the Jsc-Voc pairs. If None: error. Weird prototype design to allow calls from GUI
silent – If False, prints more information
- CurvesJscVocSplitTemperature(threshold=3, curve: Curve = None)
Splits the compiled data into different data (one for each T)
- Parameters:
threshold – in K
curve – stores the Jsc-Voc pairs. If None: error. Weird prototype design to allow calls from GUI
- findCurveWithX(curve: Curve)
Find the Curve with same x data as the given Curve JscVoc: that Curve should store temperatures