| Class | RFits::TableData |
| In: |
lib/rfits/rfits.rb
|
| Parent: | Object |
Represents tabular data in a FITS file.
| table | [R] | The table the data lives in. |
Create a TableData object that is associated with the specifed table.
data = TableData.new(table)
Set the ith row to the specified values
data[4] = ['new', 2.2, 7, Complex.new(5, 5)]
or specify the value of a particular cell
data[4, 1] = 2.2 # the second column of the 5th row