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

Convert the PSF/Star ellipticity to sky coordinates #680

Open
aguinot opened this issue Apr 29, 2024 · 0 comments
Open

Convert the PSF/Star ellipticity to sky coordinates #680

aguinot opened this issue Apr 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@aguinot
Copy link
Contributor

aguinot commented Apr 29, 2024

Having the PSF/Star ellipticity measured using the sky coordinates would make the validation easier.
This is straightforward to implement with recent Galsim update:

galsim.hsm.FindAdaptiveMom([...], use_sky_coords=True)

It will also required to provide the WCS to the galsim Image which are available through the SETools catalogue:

header_data = setools_cat[1].data
header = fits.Header.fromstring('\n'.join(header_data[0][0]), sep='\n')
wcs = galsim.AstropyWCS(header=header)

local_wcs = wcs.jacobian(image_pos=galsim.PositionD(obj["X"], obj["Y"]))
@aguinot aguinot added the enhancement New feature or request label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant