If a rsp is supplied then the model is wrapped in a sherpa PSF model. This is only done to the sherpa fit model and not the input/returned astropy model.
This currently fails as_tcd.convolve gives the error
TypeError: input array size do not match dimensions, source size: 100 vs source dim: 10000
a bit of digging reveals that the kernel becomes this size from 100 to 10000 in the init_kernel function.
I haven't looked into anymore than this,.
If a rsp is supplied then the model is wrapped in a sherpa PSF model. This is only done to the sherpa fit model and not the input/returned astropy model.
This currently fails as
_tcd.convolve
gives the errorTypeError: input array size do not match dimensions, source size: 100 vs source dim: 10000
a bit of digging reveals that the kernel becomes this size from 100 to 10000 in theinit_kernel
function. I haven't looked into anymore than this,.