Hi, @elenaly.
In addition to @manasipkane 's answer, the following @David 's post may help you. I think you can use not harmonic but each TD 50 for AI calculation.