make_grid

petrofit.modeling.make_grid(size, origin=(0, 0), factor=1)[source]

Function to make image sampling grid.

Parameters:
sizeint

The size of the sampling grid. Sampling grid is a square with each side of size size.

origintuple

Bottom corner of the sampling grid (x, y).

factorint

Oversampling factor