pkpd.viewers.tk_ode module

class pkpd.viewers.tk_ode.MinMaxSlider(master, label, from_=0, to=100, callback=None, numberOfSteps=25)[source]

Bases: tkinter.Frame

Create a personalized frame that contains:
label, min entry, slider and max entry

It also keeps a variable with the value

getMinMax()[source]
getValue()[source]
class pkpd.viewers.tk_ode.PKPDFitDialog(parent, title, **kwargs)[source]

Bases: pkpd.viewers.tk_ode.PKPDResponsiveDialog

class pkpd.viewers.tk_ode.PKPDODEDialog(parent, title, **kwargs)[source]

Bases: pkpd.viewers.tk_ode.PKPDResponsiveDialog

class pkpd.viewers.tk_ode.PKPDResponsiveDialog(parent, title, **kwargs)[source]

Bases: pyworkflow.gui.dialog.Dialog

apply()[source]

process the data This method is called automatically to process the data, after the dialog is destroyed. By default, it does nothing.

body(bodyFrame)[source]

create dialog body. return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.

computeFit()[source]
computePlotValues(xValues, yValues)[source]
destroy()[source]

Destroy the window

getBoundsList()[source]
getLabel(varName, useLog)[source]
getMeasureLabel()[source]
getTimeLabel()[source]
getUnits(varName)[source]
loadModel()[source]
plotResults()[source]
setLabels()[source]
useMeasureLog()[source]
useTimeLog()[source]
class pkpd.viewers.tk_ode.SamplesTreeProvider(experiment, fitting=None)[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