New answers tagged


If your original file has a bunch of columns and you only want to keep two of them, you could try from astropy.table import Table data ='path/to/file.fits') column_names = ['time', 'intensity'] # or whatever the names of the columns you want to keep are data = data[column_names] data.write('path/to/new_file.fits')


For both conversions, you need a bit more information about the data. How can we switch from Jy/pixel to MJy/sr? The Jy -> MJy part is just a factor of $10^{6}$ Jy/MJy. The pixel -> sr (steradian) part requires that you know the angular size of a pixel on the sky. For PACS it looks like the pixel size is different for different wavelengths; see ...

Top 50 recent answers are included