-
Notifications
You must be signed in to change notification settings - Fork 14
Flavbasis #749
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
Merged
Flavbasis #749
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
09a5e9b
add a square custom activation function
scarlehoff 66c1ee4
add flavour basis
scarlehoff 0b04232
fix rebase
scarlehoff 26b8b9e
adding init and moving rotation to pdfbasis
06c3a94
implementation of rotation function in pdfbases
1ec4b66
removing reshape of the output
5700ef4
small fix
63f30d2
fixing rotation and adding test
b71da14
avoid transposition in call function
1504229
fixing sumrule flag to run a fit without sumrules
537499c
adding check on basis labels
7822e55
small change to test and fix for n3fit speed issue
863aff1
check on basis dictionary entries
0ec4473
fixing conflicts with master
a844e1b
fixing tests after merging
451cb79
small modification of test on basis entries to avoid breaking test
f78b973
Rotation -> FkRotation, created a Rotation layer to inherit from
scarlehoff 4e8e80d
use existing vp2 functionalities to check fitbasis
42b643a
Merge branch 'flavbasis' of https://github.com/NNPDF/nnpdf into flavb…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 41 additions & 2 deletions
43
n3fit/src/n3fit/layers/Rotation.py → n3fit/src/n3fit/layers/Rotations.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this, maybe the
flav_infoshould be the one saying whether we are in the evolution basis or not. Otherwise if the user writes "udar" by mistake it would be understood as evolution basis and will produce wrong results.That said, that the information in the flavour info dictionary is valid should be checked by validphys before going inside n3fit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can either implement some kind of check in vp2, maybe in a separate, or to add an explicit flag somwhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A check on the input would be needed either way. In the sense that if the user says they are using "evol" the entries in the dictionary should really correspond to that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ve tried to add a check on the input when defining performfit. It looks as if it does the job, but I have no idea if this is the way of doing it