GeometryHyperparameters#

class GeometryHyperparameters[source]#

Bases: ABC

Base class for geometry specifications.

Methods Summary

get_grid_size()

Return (Nx, Ny) or equivalent grid dimensions.

get_pixel_areas()

Return the area of each pixel in the grid.

Methods Documentation

abstract get_grid_size()[source]#

Return (Nx, Ny) or equivalent grid dimensions.

Returns:

Grid dimensions (Nx, Ny).

Return type:

tuple of int

abstract get_pixel_areas()[source]#

Return the area of each pixel in the grid.

Returns:

Flattened array of pixel areas.

Return type:

ndarray of float