mrpro.data.Limits

class mrpro.data.Limits(min: int = 0, max: int = 0, center: int = 0)[source]

Bases: object

Limits dataclass with min, max, and center attributes.

__init__(min: int = 0, max: int = 0, center: int = 0) None

Methods

__init__([min, max, center])

from_ismrmrd(limit_type)

Create Limits from ismrmrd.limitType.

Attributes

min

Lower boundary.

max

Upper boundary.

center

Center.

length

Length of the limits.

center: int

Center.

classmethod from_ismrmrd(limit_type: limitType) Self[source]

Create Limits from ismrmrd.limitType.

property length: int

Length of the limits.

max: int

Upper boundary.

min: int

Lower boundary.