Skip to content
Discussion options

You must be logged in to vote

Here is a simple example for fluxes files that are in one of the FISPACT predefined groups.

import pypact as pp

ff = pp.FluxesFile()
pp.from_file(ff, 'Cr_2000exp_5min_fluxes')
energy_bound_ascending, bin_values = ff.boundaries, ff.values

For custom energy structures you will need the ArbFluxesFile. But the file you point out is in 709 group it works fine as above.

As @PeBoch points out there are some examples on this, but they're not well documented. I'll see if I can make this clearer in the docs and examples.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jon-proximafusion
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants