Typed LISA Toolkit§

Typed LISA Toolkit (or TLT) is a collection of small, type-annotated python tools for use in CU L2D. It is currently used in the Gee-Moo global fit prototype.

TLT is more than a data abstraction layer. By basing your code on TLT objects, you get:

  • A unified interface across different data array backends

    Numpy, JAX, …

  • Semantically rich building blocks

    Get a TLT object and you are ready to work with it.

  • Just-in-time compilation support

    Functions that operate on TLT objects can be JIT-compiled.

  • No performance overhead

    Arrays remain first-class citizens and references are privileged over copies.

  • Type safety and hints

    Static type checking improves code clarity and helps catch bugs. Your IDE guides you with type hints and autocompletion.

  • Interoperability with other packages

    TLT follows the conventions defined in l2d-interface.