tkwant.onebody.Task

class tkwant.onebody.Task(lead: int, mode: int, energy: float, weight: float, math_weight: float = None, phys_weight: float = None, momentum: float = None)[source]

Data format to store the set of quantum numbers that uniquely indentifies a onebody state and the weight of that state in the manybody sum.

lead

lead index

Type

int

mode

scattering mode index

Type

int

energy

energy of the onebody state

Type

float

momentum

momentum of the onebody state

Type

float

weight

weighting factor of the one-body state in the manybody sum weigth = math_weight * phys_weight, where math_weight is the weighting factor from the integration quadrature

Type

float or numpy float array

math_weight

mathematical weighting factor from the numerical quadrature rule

Type

float or numpy float array

phys_weight

physical weighting factor (fermi function, pi factors..)

Type

float

Methods