The Time Encoding and Decoding Toolbox (TED) is a library of MATLAB functions and demos that implement time encoding and decoding algorithms. A Python/PyCUDA implementation is also available from the Bionet Group’s code repository page.
To get started using the toolbox, go to the installation page and try running the demos. Check out the machines page for a high-level description of the time encoding and decoding routines included in the toolbox.