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-39778: Rework analysis tools for property maps to have one analysis task for all properties #329

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

enourbakhsh
Copy link
Contributor

No description provided.

config.properties["sky_background"].operations = ["weighted_mean"]
config.properties["sky_noise"] = PropertyMapConfig
config.properties["sky_noise"].operations = ["weighted_mean"]
from lsst.analysis.tools.atools import PerTractPropertyMapTool
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am really happy that all of these config options are gone.

.replace("ddec", r"$\Delta$Dec")
)
plotInfo["property"] = (
fig, ((ax1, ax2), (ax3, ax4)) = plt.subplots(2, 2, figsize=(16, 16))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we either remove the uses of plt on this ticket or make a new ticket to remove them? As discussed on the previous ticket they are very slow.

Copy link
Contributor Author

@enourbakhsh enourbakhsh Dec 17, 2024

Choose a reason for hiding this comment

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

Yes, we have a new ticket (DM-47962) to remove the uses of plt. I discussed this with @erykoff. The fix does not work with the current version of skyproj. For now, the plan is to leave the slow plt code in and address its removal in DM-47962 as soon as the new version of skyproj becomes available, likely by January.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Eli checked and confirmed that the fix does work with the new version.

tests/test_propertyMapPlot.py Outdated Show resolved Hide resolved
tests/test_propertyMapPlot.py Show resolved Hide resolved
@enourbakhsh enourbakhsh force-pushed the tickets/DM-39778 branch 2 times, most recently from e53305c to fa13cfd Compare January 22, 2025 08:37
@enourbakhsh enourbakhsh merged commit 7181132 into main Jan 22, 2025
8 checks passed
@enourbakhsh enourbakhsh deleted the tickets/DM-39778 branch January 22, 2025 21:52
@enourbakhsh enourbakhsh self-assigned this Jan 22, 2025
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