Steve Maher
2018-06-01 17:02:23 UTC
Hi guys,
I was hoping to create a label annotation for a power spectrum to display
the frequency with the maximum power. Something like the 'code' below
where you take the position (index?) of the maximum PSD value and pull out
the frequency at that position.
[x:f [x:psd:MaxPos]]
I see a MinPos but can't find a MaxPos.
I also tried going down the Equation path but couldn't find an appropriate
operator.
Anyone have a tip on getting this done?
Steve
p.s. I recently discovered the data-driven annotations - they're awesome!
p.p.s., Perhaps I should be adding these features myself. A year or two
ago I tried building kst on Windows (our default GUI platform) for about a
full day and failed so I gave up. I should probably try again.
I was hoping to create a label annotation for a power spectrum to display
the frequency with the maximum power. Something like the 'code' below
where you take the position (index?) of the maximum PSD value and pull out
the frequency at that position.
[x:f [x:psd:MaxPos]]
I see a MinPos but can't find a MaxPos.
I also tried going down the Equation path but couldn't find an appropriate
operator.
Anyone have a tip on getting this done?
Steve
p.s. I recently discovered the data-driven annotations - they're awesome!
p.p.s., Perhaps I should be adding these features myself. A year or two
ago I tried building kst on Windows (our default GUI platform) for about a
full day and failed so I gave up. I should probably try again.