LoginSignup
0
0

More than 1 year has passed since last update.

FITSファイルのテーブルの列をコピーしたい。

Posted at

概要

この記事ではNASAのHEASARCが提供している高エネルギー解析ツールftoolsを用いて、FITSファイル内のテーブルの列を別の列にコピーする方法です。別の方法があれば教えてくだされば助かります。

結論

ftcalcを用いて行う。

ftcalc 入力ファイル 出力ファイル コピーされる列名 コピーする列名

解説

このコマンドの説明によると

'ftcalc' is a general table calculator utility that computes values for a table column based on an arbitrarily complex expression, which may be a function of the value of other columns or keywords in the table.
'ftcalc' は、任意の複雑な式に基づいてテーブルの列の値を計算する一般的なテーブル計算機ユーティリティであり、テーブル内の他の列やキーワードの値の関数であってもよい。

とある。本来は計算式を与えて列の値を計算するコマンドみたいだがそのままにすればコピーになるのではと考えたがビンゴであった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0