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

Shortcut to get to the PDFs objects for the specific analysis that is being run. #121

Open
chiarabellenghi opened this issue Feb 17, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@chiarabellenghi
Copy link
Member

It would be super helpful for developing new analyses to have a shortcut function implemented in the create_analysis method that allows the user to get the PDF (or PDFSet) used for that specific likelihood implementation.

@chiarabellenghi chiarabellenghi added the enhancement New feature or request label Feb 17, 2023
@martwo
Copy link
Collaborator

martwo commented Apr 14, 2023

A general shortcut is very difficult to implement, because the structure of the LH function depends on the particular analysis. So I would leave this to the end-user. However, for a particular analysis, an utility function could be made within the analysis.py file which retrieves the desired PDF / PDFSet instance of that particular analysis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants