CEA-COSMIC / pysap-mri

MRI external plugin for Python Sparse data Analysis Package
Other
43 stars 18 forks source link

Change kspace locations normalization to properly wrap values inside the 0.5-circle. #128

Closed Daval-G closed 3 years ago

Daval-G commented 3 years ago

Change the normalize_frequency_locations function to tackle two issues relatively to the behavior when normalized locations are outside the ]-0.5, 0.5[ interval: (1) Only positive values were checked, while both positive and negative values would cause problems. (2) Only the locations strictly at the limit of the circle were wrapped, and not the ones outside.