Plot signal from fits file?
Show older comments
Currently, I had an signal file from SETI with fits format. I can read it using fitsread, but I can't figure it out how can I plot the signal from it.
4 Comments
Ameer Hamza
on 27 Jun 2020
In which format do you get the data?
Adam Agus Kurniawan
on 27 Jun 2020
Bjorn Gustavsson
on 27 Jun 2020
Could you show us the fits-header?
Adam Agus Kurniawan
on 27 Jun 2020
Answers (1)
Bjorn Gustavsson
on 27 Jun 2020
0 votes
To read data in fits-format you can use fitsread and fitsinfo, but when I try that on an image from SETI-projects web-site I got some unfortunate bungling of bit-order. Once uppon a time before matlab introduced fitsread I had to manage fits-image data, where we unfortunately managed to mess up that too. You can use either fits1 or fits2 to read your images one works for least significant bit first the other the other order. Just put the files in one of your directories on the matlab-path. No image processing, background-reduction or calibration-correction is done.
HTH
Categories
Find more on Smoothing and Denoising in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!