rydiqule.slicing.slicingΒΆ

A handful of tools that solvers use to interface with slicing matrix stacks

Functions

compute_grid(stack_shape, n_slices)

Calculate the bin edges to break a given stack shape into at least a certain number of pieces

get_slice_num(n, stack_shape, doppler_shape, ...)

Estimates the memory required for the desired steady state solve.

get_slice_num_hybrid(n, param_stack_shape, ...)

Estimates memory and determines the number of slices for the analytic solver.

get_slice_num_t(n, stack_shape, ...[, debug])

Estimates the memory required for the desired time solve.

matrix_slice(*matrices[, edges, n_slices])

Generator that returns parts of a stack of matrices.

memory_size(shape, item_size)

Calculate the memory size, in bytes of an array with the given size and shape.