This code below is just inlining the code from `is_log_deriv_k_t_radical`. It would be better to just call that function, to avoid code duplication.