xpipe.xhandle.ioshear.read_single_bin

xpipe.xhandle.ioshear.read_single_bin(fname, ismeta=True)[source]

Reads and interprets xshear output from a single file

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

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

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

Returns

info, data, sheared_data

Return type

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