tfmri.sampling.radial_density

radial_density(base_resolution, views=1, phases=None, ordering='linear', angle_range='full', tiny_number=7, readout_os=2.0, flatten_encoding_dims=False)[source]

Calculate sampling density for radial trajectories.

This is an exact density calculation method based on geometrical considerations.

For the parameters, see radial_trajectory.

Returns

A Tensor of type float32 and shape [views, samples] if phases is None, or of shape [phases, views, samples] if phases is not None. samples is equal to base_resolution * readout_os.

Raises

ValueError – If any of the input arguments are invalid.