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-39900: Develop improved metrics for completeness based on injected sources #153

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

BrunoSanchez
Copy link
Contributor

Adding metrics that calculate fraction of fakes found.

Next iteration is to provide a completeness per bandpass in magnitude space.

@BrunoSanchez BrunoSanchez force-pushed the tickets/DM-39900 branch 2 times, most recently from 506753d to 0fc72db Compare August 29, 2024 21:10
@BrunoSanchez BrunoSanchez marked this pull request as ready for review August 29, 2024 21:14
Copy link
Contributor

@isullivan isullivan left a comment

Choose a reason for hiding this comment

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

I ran out of time to finish the review today, but I will come back to it tomorrow. I think I am mostly done, but I want to take another look before signing off.

python/lsst/analysis/tools/tasks/diaFakesVisitAnalysis.py Outdated Show resolved Hide resolved
python/lsst/analysis/tools/tasks/diaFakesVisitAnalysis.py Outdated Show resolved Hide resolved
doc="CcdVisit-based Matched fake to load from the butler",
name="{fakesType}{coaddName}Diff_matchDiaSrc",
storageClass="DataFrame",
deferLoad=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why deferLoad?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure why this is needed. But my test runs conclude that removing this makes the pipeline fail. Maybe it's a good topic for standup.

doc="CcdVisit-based Matched fake to load from the butler",
name="{fakesType}{coaddName}Diff_matchDiaSourceTable",
storageClass="DataFrame",
deferLoad=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

As above, why deferLoad?

python/lsst/analysis/tools/tasks/diaFakesVisitAnalysis.py Outdated Show resolved Hide resolved
python/lsst/analysis/tools/tasks/diaFakesVisitAnalysis.py Outdated Show resolved Hide resolved
Copy link
Contributor

@isullivan isullivan 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! I had a few cleanup and naming comments.

@BrunoSanchez BrunoSanchez merged commit e25f21d into main Sep 6, 2024
8 checks passed
@BrunoSanchez BrunoSanchez deleted the tickets/DM-39900 branch September 6, 2024 09:19
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.

2 participants