Model tab, magnitude sort strange

Here is another minor that would be nice to have fixed.

Say I create a Fourier model and then want to find min, max for example. When I sort the values on the magnitude column under the model tab for a star that varies between 9.0 and 11.9 the resulting sort is strange, either min to max or max to min. Seems to be sorting not by numerical values but by character value maybe.

Windows 11 OS of course.

Jim (DEY)

Hi Jim

I’m trying to reproduce this in the 2.25.0 or in the latest development version but I’m not seeing it for model mag. That may just be the examples I’m looking at. If you have a specific (e.g. AID based) example, please let me know. I do see a similar issue for residual mag though which may be present in the sorting function of both.

Captured here: Magnitude column for model and residuals table not numeric? · Issue #620 · AAVSO/VStar · GitHub

This one is now fixed by the way: Add a preference setting for default data directory · Issue #608 · AAVSO/VStar · GitHub (default directory for opening files via Preferences). It’s in the latest snapshot release if you want to try it out but it will be in the next official release as well of course.

David

1 Like

DCDFT fit, Fourier model 7 harmonic, model tab, sort on magnitude column, sort direction ^. Snip from the middle of the data, 9.918933 shoud be at the top.

|0.09321|11.148127|
|0.10564|11.148856|
|0.10564|11.148856|
|0.09791|11.14961|
|0.09791|11.14961|
|0.10104|11.149767|
|0.10104|11.149767|
|0.35309|9.918933|
|0.35309|9.918933|
|0.35585|9.919346|
|0.35585|9.919346|
|0.3559|9.919365|
|0.3559|9.919365|
|0.35599|9.9194|

Sort direction [down carat] gives, snip from the middle of the data. 11.149767 should be at the top.

|0.35063|9.919686|
|0.35114|9.919441|
|0.35114|9.919441|
|0.35599|9.9194|
|0.35599|9.9194|
|0.3559|9.919365|
|0.3559|9.919365|
|0.35585|9.919346|
|0.35585|9.919346|
|0.35309|9.918933|
|0.35309|9.918933|
|0.10104|11.149767|
|0.10104|11.149767|
|0.09791|11.14961|
|0.09791|11.14961|
|0.10564|11.148856|
|0.10564|11.148856|
|0.09321|11.148127|
|0.09321|11.148127|
|0.09308|11.148068|
|0.09308|11.148068|

Looks like a characater sort.

Thanks, Jim (DEY)

I guess I’m missing something… If the “fix” was a new plugin I’m not finding it to grab on AAVSO or github. It appears in a few places that there is a beta verson 3.0.0. Haven’t found a place to grab that either.

Jim (DEY)

It’s the latest snapshot release: Release Snapshot Release · AAVSO/VStar · GitHub

David

1 Like

Beautiful!

Thank you.

Jim (DEY)

1 Like