fitsdisp
FITS メタデータの表示
説明
fitsdisp(
は、1 つ以上の名前と値の引数を使用してオプションを指定します。たとえば、filename
,Name=Value
)fitsdisp(filename,Mode="full")
は、すべての HDU キーワードを表示します。
例
すべての HDU のメタデータの表示
fitsdisp("tst0012.fits")
HDU: 1 (Primary HDU) SIMPLE = T / Standard FITS file BITPIX = -32 / No. of bits per pixel NAXIS = 2 / No. of axes in matrix NAXIS1 = 102 / No. of pixels in X NAXIS2 = 109 / No. of pixels in Y EXTEND = T / There may be FITS extensions CDELT1 = 3.1 / Coordinate increment CRVAL1 = 1299.1 / Coordinate of reference pixel CRPIX1 = 12.3 / Reference pixel in X ...
特定の HDU のメタデータの表示
fitsdisp("tst0012.fits",Index=[4 5])
HDU: 4 XTENSION= 'IMAGE ' / FITS IMAGE Extension BITPIX = 16 / No. of bits per pixel NAXIS = 3 / Three axes NAXIS1 = 73 / No. of pixels in X NAXIS2 = 31 / No. of pixels in Y NAXIS3 = 5 / No. of pixels in Z PCOUNT = 0 / No group parameters GCOUNT = 1 / One data group only EXTNAME = 'quality ' / Extension name EXTVER = 1 / Extension version is 1 OBJECT = 'Ramp 16-bit' / Name of image ORIGIN = 'ESO ' / File was prepared at ESO-Garching DATE = '20/08/92' / Creation date of this file COMMENT This test file was created by P.Grosbol, ESO (pgrosbol@eso.org) COMMENT Simple 16-bit ramp wave pattern for testing of FITS readers CDELT1 = -2.3 / Coordinate increment CRVAL1 = -73.0 / Coordinate of reference pixel CRPIX1 = 12.1 / Reference pixel in X CDELT2 = 7.1 / Coordinate increment CRVAL2 = 300.6 / Coordinate of reference pixel CRPIX2 = -11.3 / Reference pixel in Y CDELT3 = .003 / Coordinate increment CRVAL3 = 21.2 / Coordinate of reference pixel CRPIX3 = 199.0 / Reference pixel in Y HDU: 5 XTENSION= 'TABLE ' / FITS ASCII table extension BITPIX = 8 / Character data 8 bits per pixel NAXIS = 2 / ASCII tables has 2 axes NAXIS1 = 59 / Characters in row ...
特定の HDU のすべてのメタデータの表示
fitsdisp("tst0012.fits",Index=5,Mode="full")
HDU: 5 XTENSION= 'TABLE ' / FITS ASCII table extension BITPIX = 8 / Character data 8 bits per pixel NAXIS = 2 / ASCII tables has 2 axes NAXIS1 = 59 / Characters in row NAXIS2 = 53 / No. or rows in table PCOUNT = 0 / No group parameters GCOUNT = 1 / only one group TFIELDS = 8 / No. of table fields EXTNAME = 'Asciitable' / Extension name EXTVER = 1 / Extension version is 1 EXTLEVEL= 1 / Extension level is 1 ...
入力引数
filename
— FITS ファイルの名前
string スカラー | 文字ベクトル
FITS ファイルの名前。string スカラーまたは文字ベクトルとして指定します。
例: "myFile.fits"
名前と値の引数
引数のオプションのペアを Name1=Value1,...,NameN=ValueN
として指定します。ここで Name
は引数名で、Value
は対応する値です。名前と値の引数は他の引数の後になければなりませんが、ペアの順序は重要ではありません。
例: fitsdisp("myFile.fits",Mode="min")
R2021a より前では、コンマを使用してそれぞれの名前と値を区切り、Name
を引用符で囲みます。
例: fitsdisp("myFile.fits","Mode","min")
Index
— 表示する HDU
正の整数スカラー | 正の整数の行ベクトル
表示する HDU。正のスカラー整数、あるいは正の整数の行ベクトルとして指定します。
例: Index=1
例: Index=[2 3]
データ型: double
Mode
— 表示タイプ
"standard"
(既定値) | "min"
| "full"
表示タイプ。"standard"
、"min"
または "full"
として指定します。
"standard"
— 標準キーワードを表示します。"min"
— タイプとサイズのみを表示します。"full"
— すべてのキーワードを表示します。
データ型: string
| char
バージョン履歴
R2012a で導入
参考
関数
外部の Web サイト
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)