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

Consuming Theory #9

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Consuming Theory #9

wants to merge 1 commit into from

Conversation

alecandido
Copy link
Member

We considered the problem of producing a theory for the tutorial, that is what we are always doing.

Something that people might be even more interested in (at least some other people, if not everyone) is how to consume a theory.

It is simply done during a fit, just specifying the ID, but if you want to reuse FkTables and/or grids for making your own plots or inspecting them, we are providing no instructions.

Plus, the main interface for accessing full theories is validphys, but maybe we want to be a little bit more NNPDF agnostic (if theory content can be useful also for someone else).
In particular, it is not trivial also for myself to just say: I want to plot the FkTable X from theory N with PDFset Y (in particular, it would be useful also for my neutrino/thesis plots, but I'm gonna steal them from reports).

@alecandido alecandido marked this pull request as draft October 21, 2022 13:19
@alecandido
Copy link
Member Author

I added some notes to consuming-drafts/stuffs.md, but I will try to recast part of them as a Tutorial for the website + further content.

@alecandido alecandido requested a review from ldd69 October 21, 2022 13:20
@alecandido
Copy link
Member Author

At the moment, the only example I have to extract content of a theory from the validphyssphere I wrote myself, following @RoyStegeman indications:
https://github.com/NNPDF/mcpdf/blob/cb43028ce8f62329cd055e21608e0a6b7bce5b3c/src/mcpdf/nnpdf/theory.py

In case I want to write something able to interact with the theory format (once you download it yourself from the server, I won't do any networking, if you can't do by hand use vp-get), where should I put?

  1. in pineko
  2. in pineline
  3. somewhere else (propose...)

@felixhekhorn @scarlehoff @cschwan @andreab1997

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

Successfully merging this pull request may close these issues.

1 participant