xpipe.xhandle.ioshear.read_multiple_bin

xpipe.xhandle.ioshear.read_multiple_bin(fnames, ismeta=True)[source]

Reads and interprets xshear output from many smaller files

info and data are passed on from xread, while sheared_data is just a list of data tables corresponding to metacalibration sheared results.

chunk_ids assigned to each row to indicate which chunk it originally came from

Parameters
  • fname (str) – full path to output file

  • ismeta (bool) – whether to include METACALIBRATION sheared output files

Returns

info, data, sheared_data, chunk_ids

Return type

np.ndarray, np.ndarray, list of np.ndarray, np.array