Formula used by Kite to calculate vidya Moving Average.

Hi Guys, I have kiteconnect historical data subscription and I have been trying to calculate Vidya moving average as kite zerodha app does. Despite my best effort, I am unable to do that. I have used different python libraries like pandas_ta etc. and they all give results that are way too off. Can anyone please please help ? Thanks in advance.