Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions notebooks/chapter_4_pixelizations/tutorial_1_pixelizations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,14 @@
"Next, lets set up a `Mesh` using the `mesh` module. The mesh represents the pixel-grid used by the pixelization\n",
"to reconstruct the galaxy.\n",
"\n",
"There are multiple `Mesh`'s available in **PyAutoGalaxy**. For now, we'll keep it simple and use a uniform \n",
"rectangular grid, whose `shape` defines its $(y,x)$ dimensions. We will make it the same shape as the 2D grid."
"There are multiple `Mesh`'s available in **PyAutoGalaxy**. For now, we'll keep it simple and use a rectangular\n",
"grid, whose `shape` defines its $(y,x)$ dimensions. We will make it the same shape as the 2D grid.\n",
"\n",
"The `RectangularAdaptDensity` mesh adapts its pixels to the density of the masked image-plane\n",
"grid via the ray-guided transformed uniform (RTU) grid formulation of Enzi et al. (2026)\n",
"(https://arxiv.org/abs/2606.30620), which should be cited in published work using this mesh.\n",
"Note that whereas that paper pairs the RTU grid with a Gaussian-process prior, **PyAutoGalaxy**\n",
"instead uses its own regularization schemes, introduced later in this chapter."
]
},
{
Expand Down
10 changes: 8 additions & 2 deletions scripts/chapter_4_pixelizations/tutorial_1_pixelizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,14 @@
Next, lets set up a `Mesh` using the `mesh` module. The mesh represents the pixel-grid used by the pixelization
to reconstruct the galaxy.

There are multiple `Mesh`'s available in **PyAutoGalaxy**. For now, we'll keep it simple and use a uniform
rectangular grid, whose `shape` defines its $(y,x)$ dimensions. We will make it the same shape as the 2D grid.
There are multiple `Mesh`'s available in **PyAutoGalaxy**. For now, we'll keep it simple and use a rectangular
grid, whose `shape` defines its $(y,x)$ dimensions. We will make it the same shape as the 2D grid.

The `RectangularAdaptDensity` mesh adapts its pixels to the density of the masked image-plane
grid via the ray-guided transformed uniform (RTU) grid formulation of Enzi et al. (2026)
(https://arxiv.org/abs/2606.30620), which should be cited in published work using this mesh.
Note that whereas that paper pairs the RTU grid with a Gaussian-process prior, **PyAutoGalaxy**
instead uses its own regularization schemes, introduced later in this chapter.
"""
mesh = ag.mesh.RectangularAdaptDensity(shape=(100, 100))

Expand Down
Loading