Comments (8)
Yeah, interactive gantt chart would work.
I'd start with using gantt chart to represent the intervention timeline first and see if we can make it interactive by this Friday.
from covasim.
This is an example of how to create an intervention changing beta at days 25 and 35:
import covasim as cv
pars = {
'n_infected': 1000,
'interventions': [cv.interventions.change_beta([25, 35], [0.5, 0.0])],
}
sim = cv.Sim(pars=pars)
sim.run()
sim.plot()
@deviozc would you be able to start thinking about how to get these controls into the UI?
from covasim.
@ckerr-IDM , fortunately the internet is awash with off the shelf gantt chart plugins, frameworks, etc. (e.g., https://github.com/neuronetio/gantt-elastic) We may be able to repurpose that for our needs. @sayers24 and @deviozc , thoughts?
from covasim.
@deviozc Sorry for some reason I can't assign you, but I hereby assign you to this too :)
from covasim.
@sayers24 has some ideas from #71
For MVP, does intervention UI need to take into account for different community and demography? eg. Social distancing applying to all communities but household, age-base social distancing, mask wearing only in workplace.
from covasim.
@deviozc This should be in there, but not necessarily exposed to the user. Geography not part of the MVP
from covasim.
Launching from the scenario scheduler from #71 seems to be the right paradigm from which to start the user into developing their intervention campaign as opposed to picking the country.
All interventions have to be scheduled. It seems natural you start there and then add the other layers of configuration to that intervention. And then finish by inputting any additional global or "advanced" parameters.
It's also pretty natural in the sense that calendaring is very familiar when you have a drag, drop, and resize mechanism in place.
from covasim.
@lgeorge-idm definitely not MVP, but if we could have your Gantt chart thing and the user could drag either end of the intervention to change the date -- π€©
from covasim.
Related Issues (20)
- Error in cv.make_synthpop HOT 2
- Faulty error message: rel_imm_variant is not a valid key HOT 2
- Set vaccine efficacy via vaccinate_num() HOT 1
- Analyzer and sim.compute_fit() give different `n_dead` HOT 1
- Hanging comma on `plots` value in defaults.get_default_plots() causes `sim.plot(to_plot='seir')` to fail HOT 1
- FAQ: Counting tests, diagnoses & infections?
- Release log date bug HOT 1
- No impact from changing the βnab_effβ parameter HOT 1
- Covasim tutorials on Binder fail on sciris import HOT 2
- The copyright footer needs to be updated to MIT
- Not all agents are present in household layer in a hybrid population HOT 5
- Best way to use decision making models for each person in a population HOT 1
- Interaction between the pop_scale, pop_infected, and rescale parameters
- how to load custom location.json generated by SynthPops? HOT 1
- Bug in tut_intro.ipynb when calling cv.MultiSim HOT 2
- Contact between identical agentid? HOT 2
- covasim - local doc build failing (make html) HOT 6
- Economics / Costing Analysis
- The footer.html customization isn't being applied in the Sphinx PyData theme HOT 1
- "Time for disease recovery" parameters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covasim.