我有一个健康的地图,大约有250万个元素。我想把地图顺时针旋转大约45度。我找不到一个健康的函数来以一种简单的方式做到这一点。我想我可以将所有像素转换为theta/phi,然后旋转,但每个像素都有一个相应的强度值,在旋转过程中需要保持不变。
有没有更直接的方法来做这件事呢?
发布于 2019-06-03 23:58:31
您应该使用rotate_map_alms
https://healpy.readthedocs.io/en/latest/generated/healpy.rotator.Rotator.rotate_map_alms.html
但首先需要创建一个healpy.Rotator https://healpy.readthedocs.io/en/latest/generated/healpy.rotator.Rotator.html#healpy.rotator.Rotator,并通过rot参数传递以弧度为单位的45度角。
https://stackoverflow.com/questions/56428800
复制相似问题