pyCGM_Single.pycgmKinetics.f

pyCGM_Single.pycgmKinetics.f(p, x)

Helper function for working with frames of data.

Parameters
plist

A list of at least length 2.

xint or float

Scaling factor.

Returns
int or float

Returns the first value in p scaled by x, added by the second value in p.

Examples

>>> import numpy as np
>>> from .pycgmKinetics import f
>>> p = [1, 2]
>>> x = 10
>>> f(p, x)
12