scipp.Lookup#

class scipp.Lookup(op, func, dim, fill_value=None)#

Lookup table.

This is class should never be instantiated manually. Instead, use scipp.lookup().

See scipp.lookup() also for usage examples.

__init__(op, func, dim, fill_value=None)#

Methods

__init__(op, func, dim[, fill_value])

__getitem__(var)#

Return table values for the given points.

Return type:

Variable