Read cross sections from statepoint files in a separate script

Dear all,

I would like to know, please, if there is a possibility to read directly the cross sections from a statepoint file in a separate script, different than the script which generated the input files.

For instance, in the examples reported in XS tutorial part 1


# Load the tallies from the statepoint into each MGXS object
total.load_from_statepoint(sp)
absorption.load_from_statepoint(sp)
scattering.load_from_statepoint(sp)

total, absorption and scattering are objects created in the same notebook, used to generate both the inputs and analyze the output files.

If I want to analyze the outputs in a separate file (.py or .ipynb), is there a way to use the function load_from_statepoint without the necessity to use the same objects (total, absorption, scattering) used to generate the input files?

Thanks for your time.
Regards,

Christian