covid19-model/simulator

missing (?) time adjustment in asym->resi transition time

giovact opened this issue · 1 comments

Hi! I have a question about the following function, that samples transition times for asymptomatic nodes to recovery:

def sample_iasy_resi(self, size=1):
'''
Samples r.v. of iasy -> resi
'''
return self.__mean_distribution(self.median_asymp_to_resi, 1.0, size=size)

Is it possible that a multiplication factor from days to hours (self.tadj) is missing here?
Also because median_asymp_to_resi is expressed in days as well as all the other transition times parameters.

Thanks in advance!

Hi!
Thanks very much for pointing this out and looking at the code in detail. You are right, this is a mistake, I will push a hot fix now to the master branch.