xpipe.xhandle.xwrap.chunkwise_rotate¶
- xpipe.xhandle.xwrap.chunkwise_rotate(flist, metasel=False, nrot=20, nchunks=1, ichunk=0, head=False, seed_master=5)[source]¶
Performs the random rotations and saves them to file
- Parameters
flist (list) – list of individual xshear input files
metasel (bool) – whether to perform the rotation in calculating the metacal selection responses also.
nrot (int) – number of rotations in total
nchunks (int) – number of chunks to divide the task into
ichunk (int) – index of the current chunk
head (bool) – whether to use only the first few rows of the shear catalog
seed_master (int) – master seed to generate random seeds for the rotating the entire catalog