Retrospective analyses of interventions to epidemics, in which the effectiveness of strategies implemented are compared to hypothetical alternatives, are valuable for performing the cost-benefit calculations necessary to optimize infection countermeasures. SIR (susceptible-infected-removed) models are useful in this regard but are limited by the challenge of deciding how and when to update the numerous parameters as the epidemic changes in response to population behaviors. Behaviors of particular interest include facemask adoption (at various levels) and social distancing. We present a method that uses a "dynamic spread function" to systematically capture the continuous variation in the population behavior and the gradual change in infection evolution, resulting from interventions. No parameter updates are made by the user. We use the tool to quantify the reduction in infection rate realizable from the population of New York City adopting different facemask strategies during COVID-19. Assuming a baseline facemask of 67% filtration efficiency, calculations show that increasing the efficiency to 80% could have reduced the roughly 5000 new infections per day occurring at the peak of the epidemic to around 4000. Population behavior that may not be varied as part of the retrospective analysis, such as social distancing in a facemask analysis, are automatically captured as part of the calibration of the dynamic spread function., Competing Interests: Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper., (Published by Elsevier Inc.)