ECCO-1968 energy structure

Dear openmc community,
I wanted to make a flux tally using the ECCO-1968 energy structure, but it looks like this energy structure is not implemented on openmc yet. Is there any other way to get around this problem?

Kind regards,
Yohannes

In the latest release (0.13.1), the following should work:

energy_filter = openmc.EnergyFilter.from_group_structure('ECCO-1968')
tally = openmc.Tally()
tally.filters = [energy_filter]
tally.scores = ['flux']

Thank you, Paul. I have the 0.12.2 it’s about time to update.