CEA-COSMIC / pysap-mri

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

Add a Value error is smap+extraction_mode is not macthing #85

Closed chaithyagr closed 4 years ago

chaithyagr commented 4 years ago

The current implementation is as follows:

    if mode == 'FFT':
           ...
    elif mode == 'NFFT':
           ...
    elif mode == 'Stack':
           ...
    else:
           ...

This might cause an unwanted run of gridding which is very slow. We need to add a value error here. Also, I just checked that the documentation is not up to date with Stack method, adding that as well.