Skip to content
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

DM-41063: Add nPixel filter for edge trailed sources and ignore filtering nans #193

Merged
merged 1 commit into from
May 8, 2024

Conversation

bsmartradio
Copy link
Contributor

Using the new nan, off_image, and suspect_long_trail flags, update the edge filter to now only filter sources marked edge AND marked suspect_long_trail as well as sources flagged as off_image. Nan sources are now no longer automatically filtered, but do have an associated flag so that they can be looked at later.

@bsmartradio bsmartradio force-pushed the tickets/DM-41063 branch 3 times, most recently from bac7a14 to c6483c4 Compare March 5, 2024 21:22
@bsmartradio bsmartradio requested a review from mrawls March 5, 2024 23:29
python/lsst/ap/association/trailedSourceFilter.py Outdated Show resolved Hide resolved
python/lsst/ap/association/trailedSourceFilter.py Outdated Show resolved Hide resolved
data/association-flag-map.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@mrawls mrawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, assuming Jenkins agrees. Most of my comments are for doc clarity.

data/DiaSource.yaml Outdated Show resolved Hide resolved
data/association-flag-map.yaml Outdated Show resolved Hide resolved
python/lsst/ap/association/diaPipe.py Show resolved Hide resolved
python/lsst/ap/association/filterDiaSourceCatalog.py Outdated Show resolved Hide resolved
python/lsst/ap/association/filterDiaSourceCatalog.py Outdated Show resolved Hide resolved
tests/test_filterDiaSourceCatalog.py Outdated Show resolved Hide resolved
tests/test_filterDiaSourceCatalog.py Show resolved Hide resolved
tests/test_filterDiaSourceCatalog.py Outdated Show resolved Hide resolved
tests/test_filterDiaSourceCatalog.py Outdated Show resolved Hide resolved
@bsmartradio bsmartradio force-pushed the tickets/DM-41063 branch 5 times, most recently from 0a8cd20 to c5926b6 Compare May 7, 2024 23:41
Move the trailed source filtering into filterDiaSourceCatalog. Additionally, update filtering so only trails that extend of the edge or which have long trails and are near the edge are filtered out, along with the sources which exceed the max trail length.
@bsmartradio bsmartradio merged commit b1c5a28 into main May 8, 2024
2 checks passed
@bsmartradio bsmartradio deleted the tickets/DM-41063 branch May 8, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants