From 10c61a76c68196a410903d04e1fe680d80c15532 Mon Sep 17 00:00:00 2001 From: Felix Zimmermann Date: Sun, 11 Feb 2024 23:46:46 +0100 Subject: [PATCH] Allow more than one other dim in KTrajectory --- src/mrpro/data/_KTrajectory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mrpro/data/_KTrajectory.py b/src/mrpro/data/_KTrajectory.py index b90135870..107f6d05f 100644 --- a/src/mrpro/data/_KTrajectory.py +++ b/src/mrpro/data/_KTrajectory.py @@ -82,8 +82,8 @@ def __init__( shape = self.broadcasted_shape except ValueError: raise ValueError('The k-space trajectory dimensions must be broadcastable.') - if len(shape) != 4: - raise ValueError('The k-space trajectory tensors should each have 4 dimensions.') + if len(shape) < 4: + raise ValueError('The k-space trajectory tensors should each have at least 4 dimensions.') @classmethod def from_tensor(