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

Implement entry point test #2

Closed
3 tasks done
scarrazza opened this issue Nov 6, 2019 · 4 comments
Closed
3 tasks done

Implement entry point test #2

scarrazza opened this issue Nov 6, 2019 · 4 comments
Assignees

Comments

@scarrazza
Copy link
Member

scarrazza commented Nov 6, 2019

Steps:

  • copy a LO F2 setup from NNPDF
  • create a python test as dict
  • send this dict to a run_dis function
@alecandido
Copy link
Member

What is the F2 setup exactly and where can I find it?

@scarrazza
Copy link
Member Author

You can grab it from apfel, or old NNPDF papers, or the pink book (Ellis).

@alecandido
Copy link
Member

The problem is not exactly where to find it, but what.

I'm comparing with eko, and there the request was to take the theory as a dict from the database 'theory.db'.

Here I need the structure function, rather than the theory, but I'm not understanding how the F2 can be represented as a dict or what does it mean 'setup' in this context.

@scarrazza
Copy link
Member Author

I think for the time being that you can append to the theory dict the process string and kinematics so the run_dis function can decide how to proceed.

def run_dis(setup: dict):
   if dict['process'] == 'F2':
       return f2(dict['x'], dis['Q'], dis['y'], scheme=...)

@felixhekhorn felixhekhorn mentioned this issue Nov 18, 2019
Merged
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

No branches or pull requests

3 participants