count_cartesian_plane_sampling

count_cartesian_plane_sampling#

pypulseqpp.count_cartesian_plane_sampling()[source]#

Count the views make_cartesian_plane_sampling() returns, without listing them.

The arguments are those of make_cartesian_plane_sampling().

Returns:

  • n_calibration (int) – Number of calibration views.

  • n_imaging (int) – Number of the other acquired views.

Examples

>>> import pypulseqpp as pp
>>> pp.count_cartesian_plane_sampling((4, 4), acceleration=(2, 2), n_acs=(2, 2))
(4, 3)