Fix deadtime correction
The deadtime correction should be this:
I_cor = I * reference_time (s) / livetime_data (s)
This means get_correction_factor
is wrong and everything called deadtime_data
, deadtime_uri
, ... should be livetime_data
, livetime_uri
, ...