Open cavestruz opened 1 year ago
Notes from chat:
New proposed pipeline stage to then fill out for this issue from chat and Celine's modification to the pipeline stages. Goals here:
Formerly, the weight computation happened in the run for CLClusterShearCatalogs
, looping over for cluster_index, gal_index in nearby_gals.items():
# Compute weights
weights = self.compute_weights(clmm_cosmo, data, gal_index, cluster_z)
# we want to save the index into the overall shear catalog,
# not just into this chunk of data
global_index = data["original_index"][gal_index]
per_cluster_data[cluster_index].append((global_index, distance, weights))
We want TXPipe to select and calculate all necessary quantities (e.g. weights and resulting tangential shears, etc) and save background sources for each entry in the cluster catalog, calls CLMM to compute weights of the background galaxies to then construct and save individual shear profiles at a later pipeline stage. Goals:
Next Goals:
(written by Camille and modified by Marina) [Last Modified 7/20]