将径向亮度曲线转换为2D强度分布

发布于 2025-01-17 18:53:39 字数 412 浏览 3 评论 0 原文

我有两列表格,表示光源的光强度分布与其角半径的函数关系。这些表格是通过对第一幅图和第三幅图进行数字化而获得的在此图中。 x-aix 是两个源的角半径。 y 轴是源的强度。

现在我想将一维分布转换为二维分布作为经度和纬度的函数。另外,我想将分布绘制为healpy 地图。有人可以告诉我如何完成这种转换吗?

I have 2-column tables representing the light intensity distribution of a source as a function of its angular radius. These tables were obtained by digitizing the first plot and third plot in this figure. The x-aix is the angular radius of the two sources. The y-axis is the intensity of the sources.

Now I want to convert the 1D distributions to 2D distributions as function of longitude and latitude. Also, I want to draw the distributions as healpy maps. Can someone please tell me how this conversion can be done?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

天赋异禀 2025-01-24 18:53:39

您应该使用 hp.ang2pix(nside,lon,lat,lonlat = true)从healpix地图中的经度和纬度转到像素索引。

然后,您可以将强度的值放在数组中的该位置。

完整的教程笔记本可在此处提供:

它是从文档链接的:

https:> https:// en/lestest/other_tutorials.html#像素化

You should use hp.ang2pix(nside, lon, lat, lonlat=True) to go from longitude and latitude to a pixel index in a HEALPix map.

Then you can put the value of the intensity in that location in the array.

A full tutorial notebook is available here:

https://gist.github.com/zonca/680c68c3d60697eb0cb669cf1b41c324

It is linked from the docs:

https://healpy.readthedocs.io/en/latest/other_tutorials.html#pixelization

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文