Wavemoth --蝶形矩阵压缩的快速球谐变换
Wavemoth -- Fast spherical harmonic transforms by butterfly matrix compression
摘要:
我们提出了Wavemoth,一个实验性的开源代码计算标量球谐变换(SHTs)。这种变换在天文数据分析中是普遍存在的。由于在两个方面的改进,我们的代码比现有的公开代码执行得更好。首先,通过使用少量预先计算的数据,以及关注CPU指令流水线和缓存使用,使计算核心更高效。其次,Wavemoth使用了一种快速且数值稳定的算法,该算法基于在预计算步骤中压缩一组线性算子。在实际感兴趣的分辨率范围内,所得到的SHT的尺度为O(L^2(log L)^2),其中L表示球谐截断度。对于低和中等分辨率,Wavemoth的速度往往是libpsht的两倍,libpsht是HEALPix网格当前最先进的实现。在普朗克实验的分辨率L ~ 4000下,Wavemoth比libpsht快3到6倍,这取决于计算机架构和所需的精度。由于该项目的实验性质,目前只支持球谐合成,尽管添加支持或球谐分析应该是微不足道的。
英文摘要:
We present Wavemoth, an experimental open source code for computing scalar spherical harmonic transforms (SHTs). Such transforms are ubiquitous in astronomical data analysis. Our code performs substantially better than existing publicly available codes due to improvements on two fronts. First, the computational core is made more efficient by using small amounts of precomputed data, as well as paying attention to CPU instruction pipelining and cache usage. Second, Wavemoth makes use of a fast and numerically stable algorithm based on compressing a set of linear operators in a precomputation step. The resulting SHT scales as O(L^2 (log L)^2) for the resolution range of practical interest, where L denotes the spherical harmonic truncation degree. For low and medium-range resolutions, Wavemoth tends to be twice as fast as libpsht, which is the current state of the art implementation for the HEALPix grid. At the resolution of the Planck experiment, L ~ 4000, Wavemoth is between three and six times faster than libpsht, depending on the computer architecture and the required precision. Due to the experimental nature of the project, only spherical harmonic synthesis is currently supported, although adding support or spherical harmonic analysis should be trivial.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。