<table><tr><td style="">murveit added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28767">View Revision</a></tr></table><br /><div><div><p>Eric, I apologize but I don't fully understand your suggestion. I haven't changed it from an ellipse to a circle. It was a circle before, and I've kept it a circle. What I was trying to do is remove the noise from using the poor width estimate as a radius and replace it with double the HFR, which is much more consistent, as my images show. I didn't intentionally change where the center was, so if the center is off now, it was likely off before, e.g. note in the images I sent, the images on the right,  offsets are noticable on some stars, is the "before" picture, that doesn't have my changes.  Note, one thing I did change, though, is now I give Qt a float for the coordinates, whereas previous it was truncated to an int. Do you think that had an adverse affect? If you see an error in my code for centering these circles, please let me know and I'd be happy to fix it.</p>

<p>That said, I did notice that  <a href="https://sextractor.readthedocs.io/en/latest/Param.html" class="remarkup-link" target="_blank" rel="noreferrer">https://sextractor.readthedocs.io/en/latest/Param.html</a> says: "in SExtractor the center of the first image pixel has coordinates (1.0,1.0)"<br />
and <a href="https://doc.qt.io/archives/qt-4.8/coordsys.html" class="remarkup-link" target="_blank" rel="noreferrer">https://doc.qt.io/archives/qt-4.8/coordsys.html</a> shows that coordinates 1,1 in Qt would be one half pixel down and to the right of that.<br />
So, I've modified this code and subtracted 0.5 from the x and y center coordinates. You can see a screen shot of the NGC2239 image with that change <br />
(and with the # of stars to detect temporarily set to 1000, and the top-20% removal disabled).  Perhaps that's better. Some stars are a little offset, some are not. <br />
Perhaps it's just SEP?</p>

<p>All that said, I'd prefer to not delay this PR for that, so I can remove this if you still feel strongly about it, and we can discuss later. Please let me know your preference.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>sep-focus-improvements (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28767">https://phabricator.kde.org/D28767</a></div></div><br /><div><strong>To: </strong>murveit, mutlaqja, lancaster, TallFurryMan<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>