Preprocessing of analytical profiles in the presence of homoscedastic or heteroscedastic noise | Synapse