|
12 | 12 | load_time_to_event_curves, |
13 | 13 | ttd_con_care_values, |
14 | 14 | tw_before_dialysis_values, |
| 15 | + ttd_krt_values, |
| 16 | + tw_cadTx_values, |
| 17 | + tw_liveTx_values, |
| 18 | + tw_cadTx_initialisation_values, |
| 19 | + tw_liveTx_initialisation_values, |
15 | 20 | ) |
16 | 21 | from renal_capacity_model.utils import get_logger |
17 | 22 |
|
@@ -59,28 +64,27 @@ def __init__( |
59 | 64 | # routing distributions |
60 | 65 | self.con_care_dist = config_dict["con_care_dist"] |
61 | 66 | self.suitable_for_transplant_dist = config_dict["suitable_for_transplant_dist"] |
| 67 | + self.receives_transplant_dist = config_dict["receives_transplant_dist"] |
62 | 68 | self.transplant_type_dist = config_dict["transplant_type_dist"] |
63 | 69 | self.modality_allocation_distributions = config_dict[ |
64 | 70 | "modality_allocation_distributions" |
65 | 71 | ] |
66 | | - self.death_post_transplant = config_dict["death_post_transplant"] |
67 | | - self.death_post_dialysis_modality = config_dict["death_post_dialysis_modality"] |
68 | | - self.death_post_dialysis_modality_incident = config_dict[ |
69 | | - "death_post_dialysis_modality_incident" |
70 | | - ] |
71 | 72 | self.pre_emptive_transplant_live_donor_dist = config_dict[ |
72 | 73 | "pre_emptive_transplant_live_donor_dist" |
73 | 74 | ] |
74 | 75 |
|
75 | 76 | self.pre_emptive_transplant_cadaver_donor_dist = config_dict[ |
76 | 77 | "pre_emptive_transplant_cadaver_donor_dist" |
77 | 78 | ] |
78 | | - self.death_post_transplant_glm = config_dict["death_post_transplant_glm"] |
79 | | - self.multipliers = config_dict["multipliers"] |
80 | 79 | # time to event distribution parameters (these are the same regardless of geography) |
81 | 80 | self.ttd_con_care = ttd_con_care_values |
| 81 | + self.ttd_krt = ttd_krt_values |
| 82 | + self.tw_cadTx = tw_cadTx_values |
| 83 | + self.tw_liveTx = tw_liveTx_values |
| 84 | + self.tw_cadTx_initialisation = tw_cadTx_initialisation_values |
| 85 | + self.tw_liveTx_initialisation = tw_liveTx_initialisation_values |
82 | 86 | self.tw_before_dialysis = tw_before_dialysis_values |
83 | | - |
| 87 | + self.multipliers = config_dict["multipliers"] |
84 | 88 | self.time_to_event_curves = load_time_to_event_curves( |
85 | 89 | path_to_time_to_event_curves |
86 | 90 | ) |
|
0 commit comments