mrinufft.density#

Density compensation methods.

Tip

Density methods are available through the get_density function, that can be used by calling get_density(<key>) or with get_density(<key>, *args, **kwargs). Here are the function available from the registry:

Functions

cell_count

Compute the number of points in each cell of the grid.

flat_traj

Decorate function to ensure that the trajectory is flatten before calling.

get_density

Get the density function from its name.

pipe

Compute the density compensation weights using the pipe method.

voronoi

Estimate density compensation weight using voronoi parcellation.