pkpd.viewers.tk_experiment module

class pkpd.viewers.tk_experiment.DosesTreeProvider(experiment)[source]

Bases: pyworkflow.gui.tree.TreeProvider

getColumns()[source]

Return a list of tuples (c, w) where: c: is the column name and index w: is the column width

getObjectInfo(obj)[source]

This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed

(if not passed the ‘key’ will be used)

‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)

getObjects()[source]

Return the objects that will be inserted in the Tree

class pkpd.viewers.tk_experiment.ExperimentWindow(**kwargs)[source]

Bases: pyworkflow.gui.gui.Window

This class creates a Window that will display some Point’s contained in a Data object. It will allow to launch 1D, 2D and 3D plots by selecting any combination of the x1, x2…xn from the Point dimension. Points can be selected by either Click and Drag in the Scatter plot or.. by creating an Expression. Finally, there is a button ‘Create Cluster’ that will call a callback fuction to take care of it.

getLabel(varName, useLog)[source]
getMeasureLabel()[source]
getMeasureVarName()[source]
getPlotValues(sample)[source]
getTimeLabel()[source]
getTimeVarName()[source]
getUnits(varName)[source]
reuseFigure()[source]
useMeasureLog()[source]
useTimeLog()[source]
class pkpd.viewers.tk_experiment.FitValuesTreeProvider(fitting, sampleFit)[source]

Bases: pyworkflow.gui.tree.TreeProvider

getColumns()[source]

Return a list of tuples (c, w) where: c: is the column name and index w: is the column width

getObjectInfo(obj)[source]

This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed

(if not passed the ‘key’ will be used)

‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)

getObjects()[source]

Return the objects that will be inserted in the Tree

class pkpd.viewers.tk_experiment.FitWindow(**kwargs)[source]

Bases: pkpd.viewers.tk_experiment.MeasureWindow

class pkpd.viewers.tk_experiment.GroupsTreeProvider(experiment)[source]

Bases: pyworkflow.gui.tree.TreeProvider

getColumns()[source]

Return a list of tuples (c, w) where: c: is the column name and index w: is the column width

getObjectInfo(obj)[source]

This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed

(if not passed the ‘key’ will be used)

‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)

getObjects()[source]

Return the objects that will be inserted in the Tree

class pkpd.viewers.tk_experiment.MeasureWindow(**kwargs)[source]

Bases: pyworkflow.gui.gui.Window

class pkpd.viewers.tk_experiment.MeasurementTreeProvider(sample)[source]

Bases: pyworkflow.gui.tree.TreeProvider

getColumns()[source]

Return a list of tuples (c, w) where: c: is the column name and index w: is the column width

getObjectInfo(obj)[source]

This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed

(if not passed the ‘key’ will be used)

‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)

getObjects()[source]

Return the objects that will be inserted in the Tree

class pkpd.viewers.tk_experiment.SamplesTreeProvider(experiment, fitting=None)[source]

Bases: pyworkflow.gui.tree.TreeProvider

FIT_COLUMNS = ['R2', 'R2adj', 'AIC', 'AICc', 'BIC']
getColumns()[source]

Return a list of tuples (c, w) where: c: is the column name and index w: is the column width

getObjectInfo(obj)[source]

This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed

(if not passed the ‘key’ will be used)

‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)

getObjects()[source]

Return the objects that will be inserted in the Tree

class pkpd.viewers.tk_experiment.VariablesTreeProvider(experiment)[source]

Bases: pyworkflow.gui.tree.TreeProvider

getColumns()[source]

Return a list of tuples (c, w) where: c: is the column name and index w: is the column width

getObjectInfo(obj)[source]

This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed

(if not passed the ‘key’ will be used)

‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)

getObjects()[source]

Return the objects that will be inserted in the Tree

class pkpd.viewers.tk_experiment.ViasTreeProvider(experiment)[source]

Bases: pyworkflow.gui.tree.TreeProvider

getColumns()[source]

Return a list of tuples (c, w) where: c: is the column name and index w: is the column width

getObjectInfo(obj)[source]

This function will be called by the Tree with each object that will be inserted. A dictionary should be returned with the possible following entries: ‘key’: the key value to insert in the Tree ‘text’: text of the object to be displayed

(if not passed the ‘key’ will be used)

‘image’: image path to be displayed as icon (optional) ‘parent’: the object’s parent in which insert this object (optional) ‘tags’: list of tags names (optional)

getObjects()[source]

Return the objects that will be inserted in the Tree