patch_denoise.bindings.utils.load_complex_nifti#

patch_denoise.bindings.utils.load_complex_nifti(mag_file, phase_file, filename=None)[source]#

Load two nifti image (magnitude and phase) to create a complex valued array.

Optionally, the result can be save as a .npy file

Parameters:
  • mag_file (str) – The source magnitude file

  • phase_file (str) – The source phase file

  • filename (str, default None) – The output filename