stereo.core.ms_data.MSData.integrate

MSData.integrate(scope=None, remove_existed=False, **kwargs)[source]

Integrate some single-samples specified by scope to a merged one.

Parameters:
  • scope – Which scope of samples to be integrated, defaults to None. Each integrate sample is saved in memory, performing this function by passing duplicate scope will return the saved one.

  • remove_existed – Whether to remove the saved integrate sample when passing a duplicate scope, defaults to False.