grapa.datatypes.curveJscVoc.CurveJscVoc
- class grapa.datatypes.curveJscVoc.CurveJscVoc(data, attributes, silent=False)
Bases:
Curve- __init__(data, attributes, silent=False)
Methods
CurvesJscVocSplitIllumination([curve])Splits the compiled data into different curves (one for each intensity)
T([default, silent])Returns the acquisition temperature, otherwise default.
__init__(data, attributes[, silent])Determines the possible curve visualisations.
fit_nJ0([Voclim, Jsclim, data, T])perform fitting, returns best fit parameters
funcListGUI(**kwargs)Fills in the Curve actions specific to the Curve type. Retuns a list, which elements are instances of FuncGUI, or (old style): ::.
func_nJ0(Voc, n, J0[, T])fit function
getArea()return area of the cell as stored in the Curve parameters
Prints help for the Curve subclass, generated from docstrings.
setArea(new)correct the cell area, and scale the y (list of Jsc) accordingly
splitIllumination(curve[, threshold])Splits the compiled data into different data (one for each intensity) curve: stores the Jsc-Voc pairs - will need to find the T threshold in °C ifFit: bool.
Attributes
AXISLABELS_XAXISLABELS_YCST_Jsclim0CURVETdefault- CurvesJscVocSplitIllumination(curve: Curve = None)
Splits the compiled data into different curves (one for each intensity)
- Parameters:
curve – stores the Jsc-Voc pairs. If None: error. Weird prototype design to allow calls from GUI
- T(default=None, silent=False)
Returns the acquisition temperature, otherwise default.
- alterListGUI()
Determines the possible curve visualisations. One element has the form: AlterListItem(‘Label GUI’, [‘alter_x’, ‘alter_y’], ‘semilogx’, “print help doc”) By default only neutral (i.e. raw data) is provided
- fit_nJ0(Voclim=None, Jsclim=None, data=None, T=None)
perform fitting, returns best fit parameters
- funcListGUI(**kwargs)
Fills in the Curve actions specific to the Curve type. Retuns a list, which elements are instances of FuncGUI, or (old style):
[func, 'Button text', ['label 1', 'label 2', ...], ['value 1', 'value 2', ...], {'hiddenvar1': 'value1', ...}, (optional) [dictFieldAttributes, {}, ...]] (optional)
By default, returns quick modifs for offset and muloffset (if already set), and a help for some plot types (errorbar, scatter).
- Parameters:
kwargs – this function should be called specifying kwargs[‘graph’] the graph self is embedded in, and kwargs[‘graph_i’] as position of self in graph.
- func_nJ0(Voc, n, J0, T=None)
fit function
- getArea()
return area of the cell as stored in the Curve parameters
- print_help()
Prints help for the Curve subclass, generated from docstrings.
- setArea(new)
correct the cell area, and scale the y (list of Jsc) accordingly