<div dir="ltr">Hello Hy,<div><br></div><div>Robert developed the SexySolver tester here: <a href="https://github.com/rlancaste/sexysolver-tester">https://github.com/rlancaste/sexysolver-tester</a></div><div><br></div><div>Of course, Robert can explain more but I believe the sexractor part is complete for Windows, MacOS, and Linux.</div><div><br></div><div>Internal solver is also almost done. Seems there is a problem with loading some index files on Windows OS. I tried to look into it but failed to find out why. It needs more detective work. IIRC, it's 4218 index that fails to load all FITS extensions. Here is what Robert told me about the issue the other day:</div><div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><br><span id="gmail-:gg.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">so no, 4218 loads only 9 extensions on Windows<br></span><span id="gmail-:gf.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">it fails after lucky number 9<br></span><span id="gmail-:ge.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">On Mac/Linux, that same file loads 14 extensions<br></span><span id="gmail-:gd.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">so I was trying to figure out what happens between extension 9 and 10.  It tries to continue loading extensions but encounters all those nulls<br></span><span id="gmail-:gc.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Here is a piece of the log file that sent me to investigate this in the first place.  THIS ONE WORKS and is from my Mac:<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Trying to add index "/Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits".<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Index name "/Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits" is readable; assuming singe file.<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Index name "/Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits" is readable; assuming singe file.<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Index name "/Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits" is readable; assuming singe file.<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">N ext: 14<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">kdtree_fits_open() took 0.156 ms<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">kdtree_fits_contains_tree() took 0.276 ms<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 14 extensions in file /Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_perm_stars".<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 14 extensions in file /Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_bb_stars".<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 14 extensions in file /Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_splitdim_stars".<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">kdtree_fits_read_tree() took 0.28 ms<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">reading chunks took 0.01 ms<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">N ext: 14<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">N ext: 14<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 14 extensions in file /Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_perm_codes".<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 14 extensions in file /Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_bb_codes".<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 14 extensions in file /Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_splitdim_codes".<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Index scale: [1000, 1400] arcmin, [60000, 84000] arcsec<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Index has 3072 quads and 1920 stars<br></span><span id="gmail-:gb.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">index_load("/Users/rlancaste/Library/Application Support/Astrometry/index-4218.fits") took 1.54698 ms<br></span><span id="gmail-:ga.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none"></span></blockquote><div><br></div><div><b>Now on Windows:</b></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span id="gmail-:ga.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">THIS ONE FAILS AND IS FROM WINDOWS:<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Trying to add index "C:/Astrometry/index-4218.fits".<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Index name "C:/Astrometry/index-4218.fits" is readable; assuming singe file.<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Index name "C:/Astrometry/index-4218.fits" is readable; assuming singe file.<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Index name "C:/Astrometry/index-4218.fits" is readable; assuming singe file.<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">N ext: 9<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">kdtree_fits_open() took 0 ms<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">kdtree_fits_contains_tree() took 1 ms<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 9 extensions in file C:/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_perm_stars".<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 9 extensions in file C:/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_bb_stars".<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 9 extensions in file C:/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_split_stars".<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 9 extensions in file C:/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_splitdim_stars".<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 9 extensions in file C:/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_data_stars".<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">searched 9 extensions in file C:/Astrometry/index-4218.fits but didn't find a table with a column "kdtree_range_stars".<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">kdtree_fits_read_tree() took 2 ms<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">index_load("C:/Astrometry/index-4218.fits") took 4.00007 ms<br></span><span id="gmail-:g9.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Failed to add index "C:/Astrometry/index-4218.fits".<br></span><span id="gmail-:g8.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">Note that the reason index 4218 did not get loaded properly is because it only found 9 extensions, when there are 14 it should load<br></span><span id="gmail-:g7.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">4118 and 4109 fail for the same reason<br></span><span id="gmail-:g6.co" class="gmail-tL8wMe gmail-EMoHub" dir="ltr" style="outline:none">whatever that reason is</span></blockquote><div><div id="gmail-:gf.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:gf.at" class="gmail-xH" style="text-align:center;outline:none"></div></div><div id="gmail-:ge.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:ge.at" class="gmail-xH" style="text-align:center;outline:none"></div></div><div id="gmail-:gd.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:gd.at" class="gmail-xH" style="text-align:center;outline:none"></div></div><div id="gmail-:gc.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:gc.at" class="gmail-xH" style="text-align:center;outline:none"></div></div><div id="gmail-:gb.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:gb.at" class="gmail-xH" style="text-align:center;outline:none"></div></div><div id="gmail-:ga.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:ga.at" class="gmail-xH" style="text-align:center;outline:none"></div></div><div id="gmail-:g9.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:g9.at" class="gmail-xH" style="text-align:center;outline:none"></div></div><div id="gmail-:g8.ma" class="gmail-Mu gmail-SP" title="April 3, 2020 at 8:41:17 PM UTC+3" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:g8.at" class="gmail-xH" style="text-align:center;outline:none"></div></div><div id="gmail-:g7.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:g7.at" class="gmail-xH" style="text-align:center;outline:none"></div></div><div id="gmail-:g6.ma" class="gmail-Mu gmail-SP" style="font-family:Roboto,sans-serif;font-size:13px;line-height:16px;margin-bottom:6px;margin-left:9px;margin-right:9px;opacity:1;word-break:break-word;outline:none;color:rgb(38,50,56)"><div id="gmail-:g6.at" class="gmail-xH" style="text-align:center;outline:none"></div></div></div><div><br></div><div>Once the above issues are resolved, we can probably start integrating both the internal solver & sextractor into KStars and mass-test it with all kinds of conditions.</div><div><br></div><div>So if you test the SexySolver above, you can see all the options that, I believe, we ought to present in KStars. I've been thinking that given the power & versatility of sextrator, we should probably plan on setting it as the default star-detection algorithm across KStars. Moreover, I believe we should have general settings and also the ability to apply settings per camera basis. Perhaps this can follow some sort of inheritance scheme where the camera-specific sextractor setting overrides the general settings when the user starts selecting specific options to modify.</div><div><br></div><div>Finally, I believe we should send all development emails to KStars development mailing list to get the most exposure from all the developers & users who are subscribed to the mailing list.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>--</div><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 8, 2020 at 7:23 AM Hy Murveit <<a href="mailto:murveit@gmail.com">murveit@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Pit,<div><br></div><div>I seem to remember you being a "Sextractor Wizard" ;)</div><div><br></div><div>I've got a question. Alfred Herrhausen, from the Indi Forum, sent me an image which showed the SEP Extractor in Ekos detecting many double-stars as stars, with, of course, corresponding larger-than-necessary HFRs.</div><div><br></div><div><div><img src="cid:ii_k8qtoj1s0" alt="Screen Shot 2020-04-07 at 9.17.54 PM.png" width="542" height="347"><br></div></div><div><br></div><div>I looked into this, and found that in our implementation, we're disabling the deblending by setting the deblending params as follows:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>DEBLEND_NTHRESH 32</div><div>DEBLEND_MINCONT 1.0</div></blockquote><div><br></div><div>The first I guess is the default, but the latter one disables all deblending.</div><div><br></div><div>On his image (a full-exposure sub, 300s RGB) I set DEBLEND_MINCONT to 0.01 and almost all of the doubles went away. I have not tried this on many other images.</div><div><br></div><div>I was curious what your recommendation would be for this for KStars (if we were to have only one value) or if it is necessary to have several. E.g. we want to detect starts for captures with:</div><div><ul><li>short exposures (e.g. a few seconds on an L, R, G, B, Ha, OIII, SII filter, or color camera) for autofocus</li><li>short exposures (L or RGB) for plate solving</li><li>long sub exposures with all possible filters for tracking HFR on the capture sequence.</li></ul></div><div>Of course, the image might contain nebulae, galaxies and/or star fields, and be wide field or long focal lengths. </div><div><br></div><div>What do you think? Could one value be decent? We've survived so far with 1.0. Would something else be an improvement?</div><div><br></div><div>Thanks,</div><div>Hy</div><div><br></div><div><br></div></div>
</blockquote></div>