Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]: theory shift covmat comparison - updated #314

Closed
wants to merge 16 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
applying matched cuts to combined dataspecs
RosalynLP committed Oct 24, 2018
commit 48093ebab12b450c484d3d85ade966833c5c2063
11 changes: 5 additions & 6 deletions validphys2/src/validphys/config.py
Original file line number Diff line number Diff line change
@@ -568,13 +568,12 @@ def produce_dataspecs_with_matched_cuts(self, dataspecs):

def produce_combined_shift_and_theory_dataspecs(self, theoryconfig, shiftconfig):
total_dataspecs = theoryconfig['dataspecs'] + shiftconfig['dataspecs']
embed()
matched_datasets = self.produce_matched_datasets_from_dataspecs(total_dataspecs)

# matched_datasets = produce_matched_datasets_from_dataspecs(total_dataspecs)
# matched_datasets_with_cuts = produce_dataspecs_with_matched_cuts(matched_datasets)
print(total_dataspecs)
return total_dataspecs
matched_dataspecs_with_cuts = []
for exp in matched_datasets:
matched_dataspecs_with_cuts.append(self.produce_dataspecs_with_matched_cuts(exp['dataspecs']))
print(len(matched_dataspecs_with_cuts))
return 0


#TODO: Worth it to do some black magic to not pass params explicitly?