8 #ifndef SINGLEDISH_FILLER_SPECTRALWINDOWRECORD_H_
9 #define SINGLEDISH_FILLER_SPECTRALWINDOWRECORD_H_
67 if (nrow <= uspw_id) {
68 table.
addRow(uspw_id - nrow + 1);
100 indgen(freq, ref_frequency, increment);
108 if (increment < 0.0) {
void addRow(uInt nrrow=1, Bool initialize=False)
Add one or more rows at the end of the table.
ScalarColumn< Int > & numChan()
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
casacore::Int num_chan
mandatory
casacore::String name
optional
casacore::Vector< casacore::Double > const d_array
ScalarColumn< String > & name()
casacore::Int const d_freq
ArrayColumn< Double > & resolution()
casacore::MSSpWindowColumns AssociatingColumns
SpectralWindowRecord & operator=(SpectralWindowRecord const &other)
void put(uInt rownr, const Array< T > &array)
Put the array in a particular cell (i.e.
size_type size() const
Capacity, size.
ArrayColumn< Double > & chanFreq()
Read-write access to required columns.
casacore::MSSpectralWindow AssociatingTable
ArrayColumn< Double > & chanWidth()
ScalarColumn< Int > & netSideband()
ScalarColumn< Double > & refFrequency()
LatticeExprNode abs(const LatticeExprNode &expr)
Numerical 1-argument functions which result in a real number regardless of input expression type...
void add(AssociatingTable &table, AssociatingColumns &columns)
A class to provide easy read-write access to MSSpectralWindow columns.
ScalarColumn< Double > & totalBandwidth()
casacore::Int const d_num_chan
for dummy entry
ScalarColumn< Int > & measFreqRef()
void indgen(TableVector< T > &tv, Int start, Int inc)
bool Bool
Define the standard types used by Casacore.
uInt nrow() const
Get the number of rows.
void put(uInt rownr, const T &value)
Put the value in a particular cell (i.e.
casacore::Bool fill(casacore::uInt, AssociatingColumns &columns)
ArrayColumn< Double > & effectiveBW()
String: the storage and methods of handling collections of characters.
casacore::Double increment
casacore::Int meas_freq_ref
A Table intended to hold a MeasurementSet SPECTRAL_WINDOW table.