关于计算三维NFW剖面的精确分布函数和随机采样的简短研究笔记
A Short Research Note on Calculating Exact Distribution Functions and Random Sampling for the 3D NFW Profile
摘要:
在这个简短的说明中,我们发布了Navarro,Frenk & White(NFW)剖面的分析分位数函数。用于从3D NFW PDF采样的所有已知的公开和编码方法使用接受-拒绝或数值插值(有时通过查找表)来通过分位数分布函数投影随机均匀样本以产生半径的样本。这是N体初始条件(IC)、晕占据分布(HOD)和半解析建模(SAM)工作中的一个常见要求,用于正确地将粒子或星系分配到给定NFW剖面假设浓度的位置。使用这种解析描述可以更快,更清晰的代码来解决现代天文学中常见的数值问题。我们发布了实现这种采样的简单代码的R和Python版本,我们注意到这在任何现代编程语言中都是微不足道的。
英文摘要:
In this short note we publish the analytic quantile function for the Navarro, Frenk & White (NFW) profile. All known published and coded methods for sampling from the 3D NFW PDF use either accept-reject, or numeric interpolation (sometimes via a lookup table) for projecting random Uniform samples through the quantile distribution function to produce samples of the radius. This is a common requirement in N-body initial condition (IC), halo occupation distribution (HOD), and semi-analytic modelling (SAM) work for correctly assigning particles or galaxies to positions given an assumed concentration for the NFW profile. Using this analytic description allows for much faster and cleaner code to solve a common numeric problem in modern astronomy. We release R and Python versions of simple code that achieves this sampling, which we note is trivial to reproduce in any modern programming language.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。