Plot signal from fits file?

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 件のコメント

Ameer Hamza
Ameer Hamza 2020 年 6 月 27 日
In which format do you get the data?
Adam Agus Kurniawan
Adam Agus Kurniawan 2020 年 6 月 27 日
The data format is fits, such as "data.fits". Contains E.M spectrum data from KIC 8462852, or “Tabby’s Star”. The matrix dimensions it self (just estimate) is 1920x2080 double. Still figure it out how to plot the spectrum using Matlab, rather than using numpy Python.
Bjorn Gustavsson
Bjorn Gustavsson 2020 年 6 月 27 日
Could you show us the fits-header?
Adam Agus Kurniawan
Adam Agus Kurniawan 2020 年 6 月 27 日
I attach the header here. The data dimensions it self is 4608x2080 double, I attach the examples of data too.

サインインしてコメントする。

回答 (1 件)

Bjorn Gustavsson
Bjorn Gustavsson 2020 年 6 月 27 日

0 投票

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

製品

リリース

R2017a

質問済み:

2020 年 6 月 27 日

回答済み:

2020 年 6 月 27 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by