Export max amplitude/frequency of a trace in ascii file

Dear all,

I would like to print max amplitude and associate amplitude frequency in a trace and save it into an ascii file. I try the Trace.max core and it’s working fine for amplitude.

Is there a way to have also the frequency value.
How can I record this value into an ascii file ?

If anyone can give my a tips to find a way, I would be very greatful.

Have a nice day !

You could have a look at the functions about “instantaneous frequency”, the one in polarization module is newer I believe. Not sure what the exact differences are without looking at the code details