Prostate GUI Simulation

Represents a file for modeling prostate-related data and running simulations using the biomodel package.

 1"""
 2Represents a file for modeling prostate-related data and running simulations using the biomodel package.
 3"""
 4from biomodel.models import Prostate
 5from biomodel.gui import InterfaceModel
 6from biomodel.biomodel import OMOPId
 7
 8if __name__ == '__main__':
 9    model = Prostate()
10
11    PSA = OMOPId(4272032)
12    TRUS_lesion = OMOPId(36684854)
13    age = OMOPId("age")
14    prostate_volume = OMOPId(4096978)
15
16    variation = {
17        "Reduction Size": {
18            prostate_volume: 50,
19        }
20    }
21
22    model = InterfaceModel(model, None, variation)
23    model.run()
../_images/prostate_gui.png