Skip to content

Expose the luminosity and bin mask options for FKs to the python interface#273

Merged
cschwan merged 8 commits into
masterfrom
expose_more_options_fkpython
Apr 18, 2024
Merged

Expose the luminosity and bin mask options for FKs to the python interface#273
cschwan merged 8 commits into
masterfrom
expose_more_options_fkpython

Conversation

@scarlehoff
Copy link
Copy Markdown
Member

It seems to work. I've just copied it from the grid.

@scarlehoff scarlehoff requested a review from cschwan April 15, 2024 08:33
@cschwan
Copy link
Copy Markdown
Contributor

cschwan commented Apr 16, 2024

This looks good to me. It would be perfect if you could also add a small test.

Comment thread pineappl_py/pineappl/fk_table.py Outdated
@alecandido
Copy link
Copy Markdown
Collaborator

I'm working on fixing the signature.

Of course, you could drop the last commit and merge, but I believe to be valuable to avoid some overhead (whenever possible).

@scarlehoff
Copy link
Copy Markdown
Member Author

As you wish, since you are at it please add also the test that @cschwan asked for.

@alecandido alecandido force-pushed the expose_more_options_fkpython branch from 3f2fbf9 to 9bace31 Compare April 16, 2024 12:04
@felixhekhorn felixhekhorn changed the title Expose the luminosity and bin mask options to the python interface Expose the luminosity and bin mask options for FKs to the python interface Apr 16, 2024
@scarlehoff
Copy link
Copy Markdown
Member Author

Thanks @alecandido

As a note for the future, we should add maybe a test that does the entire grid -> eko-convolution -> fktable and checks that the fktable can be read. Just to get a heads up in case any part of the interface changes.

@cschwan cschwan merged commit bc1de5b into master Apr 18, 2024
@cschwan cschwan deleted the expose_more_options_fkpython branch April 18, 2024 09:21
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.

3 participants