NMR spectra are simulated for the given parameters.

 


 

 

The near pairs are computed and hierarchial clustering is done and the global peaks are identified. The masks are generated at the average full width half maximum of every global peak.