KrySA » Tasks

class tasks.AddressLayout(**kwargs)[source]

Simple layout that consists of single restricted input widget fetching only [a-zA-Z0-9:] values i.e. address.

class tasks.AppendColsLayout(**kwargs)[source]

A layout for adding columns into tasks.AppendLayout.

New in version 0.5.3.

class tasks.AppendLayout(**kwargs)[source]

A layout that consists of a spinner with two values:

  • Rows
  • Columns

and a restricted input that allows only integers.

New in version 0.3.6.

Changed in version 0.5.3: Added layout for column input

class tasks.AvgsLayout(**kwargs)[source]

A layout that consists of multiple restricted input widgets for address and p (power) value for the formula of generalized mean.

New in version 0.2.4.

class tasks.CountIfLayout(**kwargs)[source]

A layout providing a way to create conditions for counting values from used Data.

New in version 0.5.1.

class tasks.FloatInput(**kwargs)[source]

A TextInput with float filter.

New in version 0.3.8.

floatfilter(substring, from_undo)[source]

A function filtering everything that is not - symbol, floating point symbol(.) or a number.

class tasks.FreqLayout(**kwargs)[source]

A layout that consists of multiple checkboxes and restricted input widgets for address, type of values, type of output frequency and limits of the input values.

New in version 0.3.2.

class tasks.LinePlotLayout(**kwargs)[source]

A layout that consists of two main columns for input of X and Y values used to draw a plot and other inputs for setting plot’s properties.

New in version 0.4.3.

class tasks.SmallLargeLayout(**kwargs)[source]

A layout that consists of multiple restricted input widgets for address and k value.

New in version 0.1.0.

class tasks.SortLayout(**kwargs)[source]

A layout that consists only of a spinner with two values:

  • Ascending
  • Descending

The Task with this layout is using tasks.manipulate.Manipulate._manip_sort.

New in version 0.3.5.

class tasks.StandLayout(**kwargs)[source]

(Not yet implemented) A layout that consists of a spinner with types of available standardization for values.

  • Standard score
    \[X' = \frac {X - \mu}{\sigma}\]
  • Student’s t-statistic
    \[X' = \frac {X - {\overline {X}}}{s}\]
  • Studentized residual
    \[\frac {{\hat {\epsilon}}_{i}}{{\hat {\sigma}}_{i}} =\frac {X_{i}-{\hat {\mu}}_{i}}{{\hat {\sigma}}_{i}}\]
  • Standardized moment
    \[\frac {\mu _{k}}{\sigma ^{k}}\]
  • Coefficient of variation
    \[\frac {\sigma}{\mu}\]
  • Feature scaling
    \[X'=a + \frac {(X-X_{\min})(b-a)}{X_{\max}-X_{\min}}\]
class tasks.Task(call=None, wdg=None, run=None, **kwargs)[source]

A popup handling the basic choosing of Data from available Data file in the application.

New in version 0.1.0.

Changed in version 0.2.3: Placed into a separated module.

static get_table_pos(text, values, *args)[source]

Return an index of selected main.Table from all available in the list.

New in version 0.1.0.

recalc_height(body, content)[source]

Recalculate the height of tasks.Task after a layout is added, so that the children are clearly visible without any stretching.

New in version 0.3.2.

try_run(*args)[source]

Try to run a Task from the input a user specified and closes the popup. If no such an action is possible, show a popup with an error and leave tasks.Task opened.

New in version 0.2.0.