autolens.analysis.model_util.hilbert_pixels_from_pixel_scale#

hilbert_pixels_from_pixel_scale(pixel_scale)[source]#

Return the number of Hilbert-curve pixels appropriate for a given image pixel scale.

The Hilbert pixel count controls the resolution of the Hilbert-curve ordering used in adaptive source-plane pixelizations. Finer pixel scales resolve smaller angular features and therefore benefit from a higher Hilbert resolution.

Parameters:

pixel_scale (float) – The pixel scale of the image in arcseconds per pixel.

Returns:

The recommended number of Hilbert pixels.

Return type:

int