Merge remote-tracking branch 'origin/feature/mc' into feature/mc
This commit is contained in:
commit
8d037f94f8
1 changed files with 3 additions and 0 deletions
|
|
@ -1043,6 +1043,9 @@ def plot_concentration_curve(model: MCExposureModel):
|
|||
def compare_concentration_curves(exp_models: typing.List[MCExposureModel], labels: typing.List[str],
|
||||
colors: typing.Optional[typing.List[str]] = None, show_qd: bool = True) -> None:
|
||||
assert len(exp_models) == len(labels), "Different numbers of exposure models and labels"
|
||||
assert all(model.concentration_model.virus.qID == exp_models[0].concentration_model.virus.qID
|
||||
for model in exp_models[1:]), \
|
||||
"Comparisons between viruses with different qID is not possible with this function"
|
||||
if colors is None:
|
||||
colors = ['blue', 'orange', 'green', 'red']
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue