Tester

Overview:

class epios.SamplingMaker(non_resp_rate=0, keeptrack=False, TheData=None, false_positive=0, false_negative=0, threshold=None)[source]

Class to return the results of sampling

Parameters:

non_resp_ratefloat, between 0 and 1

The probability of a person that do not respond

keeptrackbool

Whether or not to change people sampled at each time point

TheDatapandas.DataFrame

The infection data of the population at different time points

false_positivefloat, between 0 and 1

The possibility of a normal person to get a positive test result

false_negativefloat, between 0 and 1

The possibility of a infected person to get a negative test result

thresholdNoneType

(Tbh, I also do not know what is this for)

__call__(sampling_times, people)[source]

This will return the test result for samples provided

Parameters:

sampling_timeslist

A list of time points to sample

peoplelist

A list of ID of people sampled