The UVA/Padova Type 1 Diabetes Simulator is a widely applied tool to test control algorithms among diabetes researchers. The academic version is implemented in Matlab; while Matlab is very popular in the academic field, Python is the most popular programming language. We developed an application programming interface (API) for the simulator in Python, and a representational state transfer (REST) API for additional extension route with a Python reference implementation for easier usage. The interface is designed with the specific purpose of testing control algorithms, thus it maps the functionalities that are needed to implement closed-loop control and virtual patient simulation. The developed API is tested for different simulation scenarios, showcasing identical results between the API and the programming interface of the original simulator. Additional information and the source code can be found in https://github.com/NeuroDiab/UVAPadovaAPI.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.