facebookresearch / fastMRI

A large-scale dataset of both raw MRI measurements and clinical MRI images.
https://fastmri.org
MIT License
1.29k stars 370 forks source link

Add masking tests, remove unnecessary num_sens_lines #173

Closed mmuckley closed 2 years ago

mmuckley commented 2 years ago

num_sense_lines is no longer used, so let's get rid of it.

This PR also introduces some new tests to assert that the VarNet masking operations select the center lines correctly, as well as making sure that masks correctly sample the center.