astropy / saba

A Package which allows astropy to interface with sherpa
GNU General Public License v3.0
8 stars 9 forks source link

2D rsp's with PDF model #5

Open nocturnalastro opened 8 years ago

nocturnalastro commented 8 years ago

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,.