Autogalaxy

来自Shiyin's note
Shen讨论 | 贡献2023年2月21日 (二) 02:17的版本 (创建页面,内容为“PyAutoGalaxy is an open-source Python 3.8+ package for analysing the morphologies and structures of large multi-wavelength galaxy samples. 详见 https://pyautogala…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

PyAutoGalaxy is an open-source Python 3.8+ package for analysing the morphologies and structures of large multi-wavelength galaxy samples.

详见 https://pyautogalaxy.readthedocs.io/

学习笔记

  • array_2d
为图像数据定义的一类二维数组类,包含了pixelsize信息,并可以同时包含mask信息
ima_2d = aa.Array2D.no_mask(values=Agemap[0],shape_native=Agemap[0].shape,pixel_scales=0.5)
noise_2d = aa.Array2D.no_mask(values=vflux**0.5+0.01,shape_native=Agemap[0].shape,pixel_scales=0.5)
psf_2d = ag.Kernel2D.from_gaussian(shape_native=(10, 10), sigma=1.5, pixel_scales=0.5)

参见 https://pyautogalaxy.readthedocs.io/en/latest/api/_autosummary/autogalaxy.Array2D.html

  • imaging
基于array_2d生成的图像类,必须同时具有原始图像数据,和noisemap,同时psf信息可选
imaging=ag.Imaging(image=ima_2d,noise_map=noise_2d,psf=psf_2d)