Questions tagged [fits-header]
The fits-header tag has no usage guidance.
18
questions
0
votes
0
answers
85
views
Compute rotation angle of fits image
I have a fits image and the header has the keys PC1_1, PC1_2, PC2_1, PC2_2. I want to compute the angle by which my image is rotated so that North will be up. I use the formula below:
angle = np....
1
vote
0
answers
135
views
Split Multi-Extension fits file - fits.fz format
I have CFHT/MegaCam fits.fz file on which I want to do photometry. I want to split these large fits.fz file into separate CCD detector fits and then run Source Extractor on them for photometric ...
0
votes
0
answers
29
views
How to reproject a fits file using MontagePy
I am fairly new to image reprojection so I am trying to use MontagePy to go from a bigger fits file to its smaller subsection (which is in a different observation, therefore header) but the output ...
2
votes
1
answer
340
views
How to slice WCS in a FITS file?
I have three WCS axes in a FITS image. I want to slice the axes and use only the first one. Note that though there are three axes, the WCS is superimposable. So there is no worry about a shift in WCS ...
3
votes
1
answer
44
views
Frequency coverage for first spectral channel of .fits cube?
A .fits cube has 3 dimensions, where the 1st axis is RA, 2nd axis is Declination and 3rd axis is frequency.
My question is rather simple, but causing pain none-the-less. Given a .fits cube, what is ...
4
votes
1
answer
126
views
How can I replicate AstroImageJ's pixel to RA/Dec algorithm in my own code?
EDIT: solved, thanks to Eric Jensen's suggestion (in a comment on his answer) that I include the correction to my right ascension value as a function of my declination. All other comments were helpful ...
2
votes
1
answer
212
views
How to use Astropy to edit a keyword (not value) in batches of FITS file headers to be used in AstroimageJ (AIJ)? (summer undergrad research project)
I would be so grateful if someone could help me. I am stuck for over a week now trying to find some way to use Astropy to write some small code to edit one keyword in batches of FITS file headers so ...
4
votes
1
answer
909
views
align an image to celestial North
I'm producing images from FITS files, But most of my images aren't aligned to the celestial north.
I would expect there to be a simple library, or even an astropy command to make the alignment of the ...
2
votes
2
answers
155
views
How to invert fits headers order (primary/secondary)?
I have an image from Hubble telescope with two headers and this creates a problem because my program expects the NAXIS, NAXIS1, NAXIS2 in the first header, but in this image case, this info is in the ...
-1
votes
1
answer
203
views
Cannot plot Kepler FITS files with topcat in Windows
This is a continuation of my earlier question here. I was able to find Kepler data. Now I wanted to plot the data using Topcat. But when I tried to plot the data, I received error. Below is the error ...
2
votes
1
answer
258
views
Align multiple fits images without WCS for future aperture photometry analysis
Recently I have got a bunch of raw fits images (2048x2048 pixels) of the same sky region without WCS to process in iraf. However, those images are not well-aligned. There would be around 4~5 pixels' ...
1
vote
1
answer
141
views
CoRoT FITS files read error
I downloaded fits file using wget script from https://exoplanetarchive.ipac.caltech.edu/docs/datasethelp/ETSS_CoRoT.html
I am not able to view the file. I tried atsromagic and DS9 . After File->Open ...
4
votes
1
answer
743
views
Fits file re-alignment
I would like to re-align an image using a reference image (taken from GAIA). I am aware of the software Koords developed by the Karma team: https://www.atnf.csiro.au/computing/software/karma/
...
1
vote
1
answer
80
views
In sky surveys, what does inverse variation really mean? How do we use inverse variation to remove noise?
I am trying to work on data from a .fits file and it has an IVAR header. How can I use inverse variation information along with the actual signal data to get better results or reduce noise?
2
votes
2
answers
2k
views
Python: Find brightest pixel in fits-file and ignore brighter artefacts
I have 4000 fits-files images from SPITZER, each containing the same star over a time period. Each image is a photmetry cube of 32 pixel * 32 pixel * 64 consequent time frames. I need to look through ...
5
votes
0
answers
330
views
Generate probability skymap
I am trying to generate skymaps for a set of Fermi GBM triggers, containing the probability that a trigger originated in a given part of the sky. For each trigger, I have access to the RA, dec, error ...
2
votes
2
answers
764
views
Converting FITS (NuSTAR) coordinates to WCS
I'm trying to convert some pixel coordinates I have into WCS coordinates, ideally into a WCS region for use in some further analysis.
So far I've been able to load and parse a NuSTAR FITS file, do ...
1
vote
2
answers
657
views
Problems with FITS headers
I'm working with some NEOWISE images that seem to have incomplete header tags. I've been advised by the SAO (because I'm using DS9 to view them) that I have
"a partial PC matrix defined, yet it does ...