Adapted from the matlab code in the supplementary material of Lifton et al. (2014)

solar_modulation(t)

Arguments

t

time (a) same as for Rc calculations