Hi Piyush
I haven't really heard about NHR before, I must admit. I don't know Praat fully by heart, but I don't believe I've ever come across NHR in Praat.
However, based on Praat's Harmonicity, you might be able to do something?
https://www.fon.hum.uva.nl/praat/manual/Harmonicity.html says "Harmonicity is expressed in dB: if 99% of the energy of the signal is in
the periodic part, and 1% is noise, the HNR is 10*log10(99/1) = 20 dB. A
HNR of 0 dB means that there is equal energy in the harmonics and in
the noise."
So you could reverse this dB calculation, invert the fraction, and reconvert to NHR. And if I'm not mistaken, that would basically just mean that NHR in dB equals negative HNR in dB? (inverting the fraction inside the log is the same as multiplying the log by -1)
Does that help?
Kind regards
Yannick