The weak spectral response from the solute-correlated phase (buried under strong signals from bulk phase) has been recovered by multivariate curve resolution through implementation of alternating least square (ALS) algorithm in python command line interface environment starting from concentration guesses. The open-source software library pyMCR (version 0.5.2) was used with 'ordinary least square' regression for both concentration and spectral-transpose calculations, which were performed under 'non-negativity' constraint imposed on both concentration and spectraltranspose, starting from an initial concentration guess. The pyMCR version 0.5.2 allowed keeping the concentration values of any component fixed in all the samples throughout all the iterations, by using the variable 'c_fix'. Instead of that functionality, this work, as elaborated later, required a way to fix the concentration values of all components in one of the samples. The behaviour of the variable 'c_fix' was modified to Boolean to meet this necessity, in order to have the possibility of fixing the concentration of any component in a single sample (or potentially, multiple samples) while leaving the concentration values of that component in all other samples free to vary during the process of iterations.