-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large shifts in windowed positions #45
Comments
Nice notebook Fred. Another workaround would be to mask the neighbor's pixels and pass the mask to I added a short note to the docstring of |
That's a good idea to use a mask, I hadn't thought of that. It might not be as tedious as you think. Theoretically a mask could be applied to all of the sources with good windowed positions, based on their aperture, and only the windowed positions of bad positions would need to be recalculated. This will still fail for blended sources with overlapping apertures or non-detections of neighbors but it may improve things for a sizable number of sources with bad windowed positions. |
Where is the documentation for SEP kept, I couldn't find it on gitub. I think your note is useful but I might expand it a bit. For example:
While this should be obvious to an astronomer, I could see a student just blindly using the code and obtaining unphysical results. You could also point them to my ipython notebook, or for consistency, a copy or some version of the notebook included with SEP if you like. |
The reference docs are built from the function docstrings. Here's the source for the note I added: Lines 1679 to 1681 in 8fb49ac
The other docs are in the |
When using windowed positions, both SExtractor and SEP can cause a sources position to drift due to the presence of nearby neighbors. This behavior is demonstrated for SEP in this notebook and SExtractor in this notebook.
It might be best to document this effect but not fix it as this is likely to be strongly dependent on the detector and image.
The text was updated successfully, but these errors were encountered: