SNU-LIST/chi-separation

Error in Preprocessing4Phase

NNmri opened this issue · 0 comments

NNmri commented

Hello developers,
I downloaded the separation code and I faced a problem early during the phase preprocessing step. Using GUI or Chisep_script, the processing will stop at this phase preprocessing step referring to an error during the call for "rescale" function, as shown below:

Error using rescale Too many input arguments. Error in Preprocessing4Phase

Not sure if the "rescale" is the MATLAB built-in function or other function that interferes with the MATLAB one.
Since the output of the "Preprocessing4Phase" function is [phase, N_std] , I assume it is doing a nonlinear fit using MEDI "Fit_ppm_complex" but with some sort of scaling before the fit (probably for the magnitude?).

I would appreciate your help in this regard.