Skip to content
Snippets Groups Projects
Commit 671d56b7 authored by achiefa's avatar achiefa
Browse files

Removing positivity constraint

parent 0b6fff22
Branches
No related tags found
1 merge request!1865Theory covmat for higher twist
......@@ -265,8 +265,8 @@ def make_replica(
# Shifting pseudodata
shifted_pseudodata = (all_pseudodata + shifts) * mult_part
# positivity control
if np.all(shifted_pseudodata[full_mask] >= 0):
return shifted_pseudodata
#if np.all(shifted_pseudodata[full_mask] >= 0):
return shifted_pseudodata
dfail = " ".join(i.setname for i in groups_dataset_inputs_loaded_cd_with_cuts)
log.error(f"Error generating replicas for the group: {dfail}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment