reciprocalspaceship.algorithms.merge

reciprocalspaceship.algorithms.merge(dataset, intensity_key='I', sigma_key='SIGI', anomalous=True, sort=False)[source]

Merge dataset using inverse-variance weights.

Parameters:
  • dataset (rs.DataSet) – Unmerged DataSet containing scaled intensities and uncertainties

  • intensity_key (str (optional)) – Column name for intensities

  • sigma_key (str (optional)) – Column name for uncertainties

  • anomalous (bool (optional)) – If True, do not merge Friedel mates

  • sort (bool (optional)) – If True, index of returned DataSet will be sorted

Returns:

rs.DataSet – Merged DataSet object