Remove old hospital impact vis + table
Doesn't add anything.
@@ -207,7 +207,7 @@ if st.checkbox("Show Projected Admissions in tabular form"):
st.subheader("Admitted Patients (Census)")
st.markdown(
- "Running **census** of COVID-19 patients, accounting for arrivals and discharges at Penn hospitals"
+ "Projected **census** of COVID-19 patients, accounting for arrivals and discharges at Penn hospitals"
)
# ALOS for each category of COVID-19 case (total guesses)
@@ -251,27 +251,7 @@ st.markdown(
"""**Click the checkbox below to view additional data generated by this simulation**"""
)
if st.checkbox("Show Additional Projections"):
- st.subheader("Projected Hospitalization Demand at Penn Medicine Facilities")
- st.markdown(
- "The number of COVID-19 patients projected to require hospitalization at Penn"
- )
- fig, ax = plt.subplots(1, 1, figsize=(10, 4))
- ax.plot(hosp, ".-", label="Hospitalized")
- ax.plot(icu, ".-", label="ICU")
- ax.plot(vent, ".-", label="Ventilated")
- ax.legend(loc=0)
- ax.set_xlabel("days from today")
- ax.set_ylabel("Patients")
- ax.grid("on")
- st.pyplot()
-
- impact_table = (projection.iloc[::7, :]).apply(np.floor)
- impact_table.index = range(impact_table.shape[0])
-
- if st.checkbox("Show Hospital Impact Data"):
- st.dataframe(impact_table)
-
- st.subheader("The number of infected and recovered individuals at any given moment")
+ st.subheader("The number of infected and recovered individuals in the hospital catchment region at any given moment")
fig, ax = plt.subplots(1, 1, figsize=(10, 4))
ax.plot(i, label="Infected")
ax.plot(r, label="Recovered")
