Closed pbeaucage closed 3 months ago
PFGeneralIntegrator, when set up with a template xarray like so:
PFGeneralIntegrator
''' integ = PyHyperScattering.integrate.PFGeneralIntegrator(geomethod='template_xr', template_xr=data.isel({'sam_x':0,'sam_y':0}), integration_method='csr', use_chunked_processing=False,) '''
will not pick up the energy from the template and instead use the default of 2 keV. Since energy is generally in the template, this should be populated.
PFGeneralIntegrator
, when set up with a template xarray like so:''' integ = PyHyperScattering.integrate.PFGeneralIntegrator(geomethod='template_xr', template_xr=data.isel({'sam_x':0,'sam_y':0}), integration_method='csr', use_chunked_processing=False,) '''
will not pick up the energy from the template and instead use the default of 2 keV. Since energy is generally in the template, this should be populated.