xpipe.xhandle.shearops.process_profile

xpipe.xhandle.shearops.process_profile(fnames, ismeta=True, labels=None, weights=None, weight_key='ww', id_key='id', shear=False, Rs=None)[source]

Extracts StackedProfileContainer from xshear output

Parameters
  • fnames (list of str) – filenames to be read (without metatags)

  • ismeta (bool) – whether to include METACALIBRATION files with sheared_tags

  • labels (list) – JK-labels for each entry in the lens files (in the order they are written to disk)

  • weights (list) – weights to be applied to the lenses in calculating the average signal

  • weight_key (str) – column name for weight DataFrame used to match to cluster IDs

Returns

Weak Lensing profile object

Return type

StackedProfileContainer