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

[Feature request] Cylindrical sampling scheme #251

Open
Magwos opened this issue Dec 3, 2024 · 3 comments
Open

[Feature request] Cylindrical sampling scheme #251

Magwos opened this issue Dec 3, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Magwos
Copy link

Magwos commented Dec 3, 2024

In CMB data analysis (aiming at probing small angular scales), an interest has been growing towards cylindrical griding, named CAR in https://phy-act1.princeton.edu/public/saiola/act_dr4_C20.pdf or ECP in https://www.aanda.org/articles/aa/full_html/2013/08/aa21575-13/aa21575-13.html. It corresponds to a rectangular projection, equi-spaced in latitude, and not equal-area projection, but with the same number of pixels per ring, and relies on Clenshaw-Curtis quadrature weightings for the associated transforms.

This sampling scheme is the baseline one used for the ACT (Atacama Cosmology Telescope) collaboration and central in many tools developed for the LAT analysis in the Simons Observatory collaboration (in which I am part of).

I wanted to ask if it would be possible to have s2fft support for such sampling scheme.

@jasonmcewen
Copy link
Contributor

Thanks @Magwos, sounds like a very useful feature. We can certainly add this. Note that MW/DH equiangular sampling is already supported but I appreciate you probably want exactly the same sampling as used elsewhere.

Do you have a reference (paper and/or code) with the precise details of the sampling? I had a super quick look at the references you posted but didn't immediately see the details there.

@jasonmcewen jasonmcewen added the enhancement New feature or request label Dec 18, 2024
@Magwos
Copy link
Author

Magwos commented Dec 19, 2024

Thanks a lot for your positive answer!

So, currently the implementation that is most used is done through the package https://github.com/simonsobs/pixell (in particular https://github.com/simonsobs/pixell/blob/master/pixell/curvedsky.py), which itself calls the ducc package (https://mtr.pages.mpcdf.de/ducc/sht.html#module-ducc0.sht) for their transforms.

An example of CMB-science oriented package calling pixell is this one: https://github.com/simonsobs/pspy
Pspy is mostly used towards small-scale science, and it is usually applied to partial sky maps with very high resolution (typically nside=4096, the SO LAT will have a resolution of 1 arcmin), storing only the relevant pixels and not the 0 of the unobserved area (and of course the coordinates of the patch observed).

If you need more details about all of this, please let me know.

@jasonmcewen
Copy link
Contributor

Thanks @Magwos !

Adding further details from your email that you sent separately so we have everything here in one place.

there is no paper detailing this CAR pixelisation which was adopted by ACT (named after the Plate-Carré projection, or Equirectangular one), as it corresponds in fact to the ECP (equidistant cylindrical projection) grid also detailed here: https://www.aanda.org/articles/aa/pdf/2013/06/aa21494-13.pdf (4.1.1)

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

2 participants