This library does not measure the frequency. That should be done with an interrupt function (user code). The library provides functions to calculate the radiation and has functions to compensate e.g.