You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to use reproject to project PACS160, SPIRE250 and LABOCA images to SPIRE350. Reproject works fine for SPIRE250 to SPIRE350, but gives out NaNs for the rest. Additionally, It worked fine for me few weeks back, but now, with the same commands, it doesn't seem to. The commands are as follows.
Hi,
I have been trying to use reproject to project PACS160, SPIRE250 and LABOCA images to SPIRE350. Reproject works fine for SPIRE250 to SPIRE350, but gives out NaNs for the rest. Additionally, It worked fine for me few weeks back, but now, with the same commands, it doesn't seem to. The commands are as follows.
from reproject import reproject_exact
hdu1 = fits.open('g326_350_cut.fits')
hdu2 = fits.open('g326_160_convolved.fits')
result1,result2 = reproject_exact((hdu2[0].data,hdu2[0].header),hdu1[0].header)
fits.writeto('g326_160_reproj.fits', result1, hdu1[0].header, overwrite=True)
The output fits file has NaNs and result2 contains zeros. I have also attached a pair of fits files. @astrofrog
dataset.zip
The text was updated successfully, but these errors were encountered: