Package to identify stimuli model from clinical data. It is intended to be use as a plugin for the Python Anesthesia Simulator to calibrate the model on a given dataset. In this repository the identification procedure is applied to as subset of the VitalDB dataset.
with uv:
uv syncWith pip:
python -m venv your_environment
source your_environment/bin/activate
pip install .example/select_cases.pySelect the caseid to downloadexample/create_database.pyDownload the data, perform the simulations with raw model and save the data
example/identify_bis_dist.pyCompute the median error over the intubation period and approximate the results with a polinomial function of time.example/identify_stimuli.pyRun the identification prdecure as describe in the paper.example/identify_noise.ipynbIdentify noise for MAP, HR, and BIS over a steday state period of clinical data.
example/bis_model_comparison.ipynbCompare all bis model with clinical data.example/raw_model_vs_data.ipynbCompare raw model with clinical data at intubation and surgery time.example/compare_stimuli.ipynbCompare Stimuli model versus Non-stimuli model versus Clinical data.