fits Questions
2
Solved
Long story short: I want to plot Gaia astrometry data to TESS imagery in Python. How is it possible?
See below for elaborated version.
I have 64x64 pixel TESS imagery of a star with Gaia ID 4687...
Kowalski asked 9/1, 2019 at 19:11
1
Solved
I am trying to use a FITS file. I have the following code:
from astropy.io import fits
from astropy.wcs import WCS
hdul = fits.open(fitsfilename)[0]
wcs = WCS(hdul.header)
It gives me these warn...
3
Solved
I’m trying to load into memory a few 2 000 FITS using astropy.io.fits:
def readfits(filename):
with fits.open(filename) as ft:
# the fits contain a single HDU
data = ft[0].data
return data
da...
6
Solved
I need to change a few values in a couple of FITs image headers to fit with some test data I have. Therefore I'm trying to hack a FITs image header at the minute to run with the application.
Howev...
1
Solved
I'm trying to append data to a fits file using astropy.io.
Here is an example of my code:
import numpy as np
from astropy.io import fits
a1 = np.array([1,2,4,8])
a2 = np.array([0,1,2,3])
hdul...
1
I have a large fits file (over 30,000 x 30,000) pixels. IRAF cannot handle this size of image. How can one crop a file of this size while retaining correct header information, as IRAF does when usi...
1
Solved
I am tying to get the physical sky coordinates of a given pixel from within a python script. I would like to use astropy's WCS, but I'll do anything from within python.
I have tried these two snip...
1
Solved
I've looked and looked for a solution to this problem and am turning up nothing.
I'm generating rectangular FITS images through matplotlib and subsequently applying WCS coordinates to them using ...
Recor asked 28/1, 2014 at 19:33
1
Solved
I have three fits images in the form of 2D numpy arrays. I want to median combine them, that is, generate an output array in which each pixel is the median of the same pixel in the three input arra...
Strophanthin asked 6/12, 2012 at 21:50
1
© 2022 - 2024 — McMap. All rights reserved.