epidemioptim/utils.py
def k_value(t, path=get_repo_path() + '/data/jane_model_data/kval16.txt'):
    """
    Compare the current timestep t to a list of int and return the appropriate kval
    """
    return DICT_K[t]
    # k = get_text_file_data(path)
    # kval = [x for y in k for x in y]
    # time = [0,71,73,76,91,121,152,153,173,182,185,201,213,239,244,274,290,295,303,305,335,349,353,366,369,370,377,381,384,391,397,398,
    # 402,404,405,409,412,418,419,425,426,431,433,440,447,454,456,459,461,465,468,472,475,481,482,486,488,489,494,496,497,501,503,510,
    # 517,524,531,546,552,578,609,639,661,670,677,717,731,762,768,775,782,789,790,796,821]
    # for i in range(0, len(time)):
    #     if t == time[i]:
    #         return kval[i]

    Compare the current timestep t to a list of int and return the appropriate kval
    
Compare the current timestep t to a list of int and return the appropriate kval
Compare the current timestep t to a list of int and return the appropriate kval
def k_value(t, path=get_repo_path() + '/data/jane_model_data/kval16.txt'):
    return DICT_K[t]
def k_value ( t , path = get_repo_path ( ) + '/data/jane_model_data/kval16.txt' ) : return DICT_K [ t ]
Compare the current timestep t to a list of int and return the appropriate kval
Compare the current timestep t to a list of int and return the appropriate kval
"""
    Compare the current timestep t to a list of int and return the appropriate kval
    """ # k = get_text_file_data(path) # kval = [x for y in k for x in y] # time = [0,71,73,76,91,121,152,153,173,182,185,201,213,239,244,274,290,295,303,305,335,349,353,366,369,370,377,381,384,391,397,398, # 402,404,405,409,412,418,419,425,426,431,433,440,447,454,456,459,461,465,468,472,475,481,482,486,488,489,494,496,497,501,503,510, # 517,524,531,546,552,578,609,639,661,670,677,717,731,762,768,775,782,789,790,796,821] # for i in range(0, len(time)): #     if t == time[i]: #         return kval[i]
t
path