mrpro.utils

Functions

modify_acq_info(fun_modify, acq_info)

Go through all fields of AcqInfo object and apply changes.

remove_repeat(tensor, tol)

Replace dimensions with all equal values with singletons.

smap(function, tensor[, passed_dimensions])

Apply a function to a tensor serially along multiple dimensions.

split_idx(idx, np_per_block[, np_overlap, ...])

Split a tensor of indices into different blocks.

zero_pad_or_crop(data, new_shape[, dim])

Change shape of data by cropping or zero-padding.

Modules

filters

Spatial and temporal filters.

slice_profiles

Slice Profiles.

sliding_window

Sliding window view.

summarize_tensorvalues

Summarize the values of a tensor to a string.

typing

Some type hints that are used in multiple places in the codebase but not part of mrpro's public API.