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

add support for hex and grid layout for DeblendedGalaxy #191

Merged
merged 16 commits into from
Dec 5, 2023

Conversation

mr-superonion
Copy link
Collaborator

@mr-superonion mr-superonion commented Apr 18, 2023

see issue #152

The galaxy number density is determined by the layout for these two cases.

@mr-superonion
Copy link
Collaborator Author

mr-superonion commented Apr 18, 2023

/usr/share/miniconda/envs/test/lib/python3.10/site-packages/hexalattice/hexalattice.py:17: in <module>
    matplotlib.use('Qt5Agg')

The test does not pass. But this is the problem of hexalattice.

@mr-superonion
Copy link
Collaborator Author

mr-superonion commented Apr 18, 2023

It is this commit:
alexkaz2/hexalattice@14bb67c

I report an issue:
alexkaz2/hexalattice#10

@esheldon
Copy link
Collaborator

Yeah, that's a bug in hexalattice, it shouldn't require that

@mr-superonion
Copy link
Collaborator Author

@esheldon , I think the bug is fixed after the issue in hexalattice is fixed! Could you please review the PR?

descwl_shear_sims/galaxies.py Outdated Show resolved Hide resolved
descwl_shear_sims/galaxies.py Outdated Show resolved Hide resolved
@mr-superonion
Copy link
Collaborator Author

@esheldon , similar problem in stack, I think the problem comes with 0.2023.29. For 0.2023.28, I did not see the error in the pytests.

@mr-superonion mr-superonion requested a review from esheldon July 26, 2023 23:27
@mr-superonion
Copy link
Collaborator Author

@esheldon , @beckermr , I think this PR is ready to merge!

Copy link
Collaborator

@esheldon esheldon left a comment

Choose a reason for hiding this comment

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

these changes to the defaults are going to break existing configurations, making the code not backward compatible

Copy link
Collaborator

@esheldon esheldon left a comment

Choose a reason for hiding this comment

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

We need to maintain backward compatibility

@@ -29,9 +29,9 @@
# randomize the psf fwhm and shape for each trial. PSF is still same
# for all epochs/bands
"randomize_psf": False,
"coadd_dim": 250,
"coadd_dim": 300,
Copy link
Collaborator

Choose a reason for hiding this comment

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

this breaks backwards compatibility

Copy link
Collaborator

@esheldon esheldon 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 to me

@mr-superonion
Copy link
Collaborator Author

mr-superonion commented Dec 2, 2023

shall we merge? @esheldon , @beckermr

@mr-superonion mr-superonion merged commit 3990880 into LSSTDESC:master Dec 5, 2023
1 check passed
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