MaxPos?

Steve Maher Stephen.F.Maher at nasa.gov
Sat Jun 2 19:40:39 UTC 2018


Hmm, I created the .kst file about a month ago - I'm pretty sure with a
2017 kst (2.0.7).  However, when rebuilding (most of the ) displays from
scratch, the iMax and iMin returned.  Not sure I understand but I'm happy =)

Thanks for the tip!

Steve

On Fri, Jun 1, 2018 at 9:49 PM, Barth Netterfield <
netterfield at astro.utoronto.ca> wrote:

> Ahhh... Right - iMin and iMax.
>
> Adding those required extensions to the session files and are incompatible
> with session files created by a Kst binary that is older then about 6
> years.  So - if you created the .kst file with an old version of kst, these
> will not show up, *even if you open them with a new binary.*
>
> You may need to re-create your session files with a new kst binary (but
> then it won't be readable by old binaries).
>
> The newest binary is at
>
> https://github.com/Kst-plot/kst-build/tree/Kst-32bit-3rdparty-plugins-Qt5
>
> which is linked from kst.kde.org  -> Downloads -> Binary Packages ->
> Windows, 32 bit.
>
> cbn
>
> On Fri, Jun 1, 2018 at 5:51 PM, Steve Maher <Stephen.F.Maher at nasa.gov>
> wrote:
>
>> Hi,
>>
>> On Fri, Jun 1, 2018 at 4:54 PM, Barth Netterfield <
>> netterfield at astro.utoronto.ca> wrote:
>>
>>> Sometimes?  Max and Min should always be there.  If they are every
>>> missing, please let me know.
>>>
>>
>> You missed the 'i' =)
>>
>>  iMax and iMin - which I presume are the indices of the maximum/minimum
>> values.
>>
>> I got diverted but will try to recreate what I saw ..
>>
>>
>>> MinPos is the smallest positive value (used internally for auto scaling
>>> log plots).
>>>
>>> It compiles with the GPL QT, but the qmake files are not longer
>>> supported.  We build with cmake now.
>>>
>>> I should probably remove all of the un-supported qmake cruft, eh?
>>>
>>>
>> Ok, I'll assume the INSTALL docs in the repo the best resource for the
>> build recipe.
>>
>> Thanks!
>>
>> Steve
>>
>>
>>> cbn
>>>
>>>
>>> On Fri, Jun 1, 2018 at 3:21 PM, Steve Maher <Stephen.F.Maher at nasa.gov>
>>> wrote:
>>>
>>>> Okay, now I'm seeing :iMax, :iMin attributes *sometimes* ... I'm trying
>>>> to track down the determinator,  whether it's the (dirfile) data or .kst
>>>> files or what ..
>>>>
>>>> BTW, do I need the *commercial* QT Creator to build on Windows?  Does
>>>> anyone have a deeper recipe than what's in INSTALL.qmake?
>>>>
>>>> Thanks!
>>>>
>>>> On Fri, Jun 1, 2018 at 1:02 PM, Steve Maher <Stephen.F.Maher at nasa.gov>
>>>> wrote:
>>>>
>>>>> 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.
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> C. Barth Netterfield
>>> University of Toronto
>>> 416-845-0946
>>>
>>>
>>
>
>
> --
> C. Barth Netterfield
> University of Toronto
> 416-845-0946
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20180602/7cce474c/attachment.html>


More information about the Kst mailing list