casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casa::SimpleSubMS Class Reference

SimpleSubMS provide a simpler subset of SubMS. The purpose of this class to avoid unnecessary IO for some simplistic selection and subMSsing No averaging no fanciness...simple time and channel subsets. More...

#include <SimpleSubMS.h>

Inheritance diagram for casa::SimpleSubMS:
casa::SubMS

Public Member Functions

 SimpleSubMS (casacore::MeasurementSet &ms)
 Constructor with an ms. More...
 
 ~SimpleSubMS ()
 Die...die. More...
 
virtual casacore::MeasurementSetmakeMemSubMS (const casacore::MS::PredefinedColumns &datacol, const casacore::String &diskname=casacore::String(""))
 In this form whichDataCol gets passed to parseColumnNames(). More...
 
- Public Member Functions inherited from casa::SubMS
 SubMS (casacore::String &theMS, casacore::Table::TableOption option=casacore::Table::Old)
 
 SubMS (casacore::MeasurementSet &ms)
 construct from an MS More...
 
virtual ~SubMS ()
 
void setMS (casacore::MeasurementSet &ms)
 Change or Set the casacore::MS this casacore::MSSelector refers to. More...
 
casacore::Bool selectSpw (const casacore::String &spwstr, const casacore::Vector< casacore::Int > &steps)
 Select spw and channels for each spw. More...
 
void selectSpw (casacore::Vector< casacore::Int > spw, casacore::Vector< casacore::Int > nchan, casacore::Vector< casacore::Int > start, casacore::Vector< casacore::Int > step)
 This older version is used by the older version of setmsselect(). More...
 
casacore::Bool selectCorrelations (const casacore::String &corrstr)
 Setup polarization selection (for now, only from available correlations - no casacore::Stokes transformations.) More...
 
casacore::Bool setmsselect (const casacore::String &spw="", const casacore::String &field="", const casacore::String &baseline="", const casacore::String &scan="", const casacore::String &uvrange="", const casacore::String &taql="", const casacore::Vector< casacore::Int > &step=casacore::Vector< casacore::Int >(1, 1), const casacore::String &subarray="", const casacore::String &correlation="", const casacore::String &intent="", const casacore::String &obs="")
 select casacore::Time and time averaging or regridding void selectTime(); More...
 
void setmsselect (const casacore::String &spw, const casacore::String &field, const casacore::String &baseline, const casacore::String &scan, const casacore::String &obs, const casacore::String &uvrange, const casacore::String &taql, const casacore::Vector< casacore::Int > &nchan, const casacore::Vector< casacore::Int > &start, const casacore::Vector< casacore::Int > &step, const casacore::String &subarray, const casacore::String &intent="")
 This older version does not return a success value, and does need nchan, start, and step. More...
 
casacore::Bool selectSource (const casacore::Vector< casacore::Int > &fieldid)
 Select source or field. More...
 
void selectAntenna (const casacore::Vector< casacore::Int > &antennaids, const casacore::Vector< casacore::String > &antennaSel)
 Select Antennas to split out. More...
 
void selectArray (const casacore::String &subarray)
 Select array IDs to use. More...
 
void selectTime (casacore::Double timeBin=-1.0, casacore::String timerng="")
 select time parameters More...
 
void setFitOrder (casacore::Int fitorder, casacore::Bool advise=true)
 void selectSource(casacore::Vector<casacore::String> sourceid); More...
 
void setFitSpw (const casacore::String &fitspw)
 Set the selection string for line-free channels. More...
 
void setFitOutSpw (const casacore::String &fitoutspw)
 Selection string for output channels if doing continuum subtraction. More...
 
casacore::Bool makeSubMS (casacore::String &submsname, casacore::String &whichDataCol, const casacore::Vector< casacore::Int > &tileShape=casacore::Vector< casacore::Int >(1, 0), const casacore::String &combine="")
 Method to make the subMS. More...
 
virtual casacore::MeasurementSetmakeScratchSubMS (const casacore::Vector< casacore::MS::PredefinedColumns > &whichDataCols, const casacore::Bool forceInMemory=false)
 Method to make a scratch subMS and even in memory if posssible Useful if temporary subselection/averaging is necessary It'll be in memory if the basic output ms is less than half of memory reported by casacore::HostInfo unless forced to by user... More...
 
virtual casacore::MeasurementSetmakeScratchSubMS (const casacore::String &whichDataCol, const casacore::Bool forceInMemory=false)
 In this form whichDataCol gets passed to parseColumnNames(). More...
 
void verifyColumns (const casacore::MeasurementSet &ms, const casacore::Vector< casacore::MS::PredefinedColumns > &colNames)
 
casacore::Int regridSpw (casacore::String &message, const casacore::String &outframe="", const casacore::String &regridQuant="chan", const casacore::Double regridVeloRestfrq=-3E30, const casacore::String &regridInterpMeth="LINEAR", const casacore::Double regridCenter=-3E30, const casacore::Double regridBandwidth=-1., const casacore::Double regridChanWidth=-1., const casacore::Bool doHanningSmooth=false, const casacore::Int phaseCenterFieldId=-2, casacore::MDirection phaseCenter=casacore::MDirection(), const casacore::Bool centerIsStart=false, const casacore::Bool startIsEnd=false, const casacore::Int nchan=0, const casacore::Int width=0, const casacore::Int start=-1)
 Transform spectral data to different reference frame, optionally regrid the frequency channels return values: -1 = casacore::MS not modified, 1 = casacore::MS modified and OK, 0 = casacore::MS modified but not OK (i.e. More...
 
casacore::Bool createPartnerColumn (casacore::TableDesc &modMSTD, const casacore::String &oldName, const casacore::String &newName, const casacore::Int &hypercolumnDim, const casacore::IPosition &tileShape)
 Support method for regridSpw(): results in the column oldName being renamed to newName, and a new column which is an empty copy of oldName being created together with a TileShapeStMan data manager and hypercolumn (name copied from the old hypercolumn) with given dimension, the old hypercolumn of name hypercolumnName is renamed to name+"B". More...
 
casacore::Bool setRegridParameters (std::vector< casacore::Int > &oldSpwId, std::vector< casacore::Int > &oldFieldId, std::vector< casacore::Int > &newDataDescId, std::vector< casacore::Bool > &regrid, std::vector< casacore::Bool > &transform, std::vector< casacore::MDirection > &theFieldDirV, std::vector< casacore::MPosition > &mObsPosV, std::vector< casacore::MFrequency::Types > &fromFrameTypeV, std::vector< casacore::MFrequency::Ref > &outFrameV, std::vector< casacore::MRadialVelocity > &outRadVelV, std::vector< casacore::Double > &weightScaleV, std::vector< casacore::Vector< casacore::Double > > &xold, std::vector< casacore::Vector< casacore::Double > > &xout, std::vector< casacore::Vector< casacore::Double > > &xin, vector< casacore::Int > &method, casacore::Bool &msMod, const casacore::String &outframe, const casacore::String &regridQuant, const casacore::Double regridVeloRestfrq, const casacore::String &regridInterpMeth, const casacore::Double regridCenter, const casacore::Double regridBandwidth, const casacore::Double regridChanWidth, const casacore::Int regridPhaseCenterFieldId, const casacore::MDirection regridPhaseCenter, const casacore::Bool writeTables, casacore::LogIO &os, casacore::String &regridMessage, const casacore::Bool centerIsStart=false, const casacore::Bool startIsEnd=false, const casacore::Int nchan=0, const casacore::Int width=0, const casacore::Int start=-1)
 Support method for regridSpw(): if writeTables is false, the (const) input parameters are only verified, nothing is written; return value is true if the parameters are OK. More...
 
casacore::Bool combineSpws (const casacore::Vector< casacore::Int > &spwids, const casacore::Bool noModify, casacore::Vector< casacore::Double > &newCHAN_FREQ, casacore::Vector< casacore::Double > &newCHAN_WIDTH, casacore::Bool verbose=false)
 combineSpws(): make one spectral window from all spws given by the spwids vector More...
 
casacore::Bool combineSpws (const casacore::Vector< casacore::Int > &spwids=casacore::Vector< casacore::Int >(1,-1))
 
void setTVIDebug (bool debug)
 
void setWantCont (bool want_cont)
 

Additional Inherited Members

- Public Types inherited from casa::SubMS
enum  RegriddingAlternatives {
  useFFTShift,
  useLinIntThenFFTShift
}
 
enum  asdmStManUseAlternatives {
  DONT,
  USE_FOR_DATA,
  USE_FOR_DATA_WEIGHT_SIGMA_FLAG
}
 
- Static Public Member Functions inherited from casa::SubMS
static std::set< casacore::IntfindBadSpws (casacore::MeasurementSet &ms, casacore::Vector< casacore::Int > spwv)
 Returns the set (possibly empty) of spectral windows that are in spwv but not listed in ms's DATA_DESCRIPTION subtable. More...
 
static casacore::Bool pickAntennas (casacore::Vector< casacore::Int > &selected_antennaids, casacore::Vector< casacore::String > &selected_antenna_strs, const casacore::Vector< casacore::Int > &antennaids, const casacore::Vector< casacore::String > &antennaSel)
 
static casacore::MeasurementSetsetupMS (const casacore::String &msname, const casacore::Int nchan, const casacore::Int npol, const casacore::String &telescop, const casacore::Vector< casacore::MS::PredefinedColumns > &colNamesTok, const casacore::Int obstype=0, const casacore::Bool compress=false, const asdmStManUseAlternatives asdmStManUse=DONT)
 This sets up a default new ms Declared static as it can be (and is) called directly outside of SubMS. More...
 
static casacore::MeasurementSetsetupMS (const casacore::String &msname, const casacore::Int nchan, const casacore::Int npol, const casacore::Vector< casacore::MS::PredefinedColumns > &colNamesTok, const casacore::Vector< casacore::Int > &tileShape=casacore::Vector< casacore::Int >(1, 0), const casacore::Bool compress=false, const asdmStManUseAlternatives asdmStManUse=DONT)
 Same as above except allowing manual tileshapes. More...
 
static casacore::uInt addOptionalColumns (const casacore::Table &inTab, casacore::Table &outTab, const casacore::Bool beLazy=false)
 Add optional columns to outTab if present in inTab and possColNames. More...
 
static casacore::Bool copyCols (casacore::Table &out, const casacore::Table &in, const casacore::Bool flush=true)
 Like casacore::TableCopy::copyRows, but by column. More...
 
static void createSubtables (casacore::MeasurementSet &ms, casacore::Table::TableOption option)
 A customized version of casacore::MS::createDefaultSubtables(). More...
 
static const casacore::Vector
< casacore::MS::PredefinedColumns > & 
parseColumnNames (casacore::String colNameList)
 Declared static because it's used in setupMS(). More...
 
static const casacore::Vector
< casacore::MS::PredefinedColumns > & 
parseColumnNames (casacore::String colNameList, const casacore::MeasurementSet &ms)
 This version uses the casacore::MeasurementSet to check what columns are present, i.e. More...
 
static casacore::Bool mustConvertToData (const casacore::uInt nTok, const casacore::Vector< casacore::MS::PredefinedColumns > &datacols)
 The output casacore::MS must have (at least?) 1 of DATA, FLOAT_DATA, or LAG_DATA. More...
 
static casacore::Bool sepFloat (const casacore::Vector< casacore::MS::PredefinedColumns > &anyDataCols, casacore::Vector< casacore::MS::PredefinedColumns > &complexDataCols)
 
static casacore::Bool getCorrMaps (casacore::MSSelection &mssel, const casacore::MeasurementSet &ms, casacore::Vector< casacore::Vector< casacore::Int > > &outToIn, const casacore::Bool areSelecting=false)
 Fills outToIn[pol] with a map from output correlation index to input correlation index, for each input polID pol. More...
 
static void remap (casacore::Vector< casacore::Int > &col, const casacore::Vector< casacore::Int > &mapper)
 Replaces col[i] with mapper[col[i]] for each element of col. More...
 
static void remap (casacore::Vector< casacore::Int > &col, const std::map< casacore::Int, casacore::Int > &mapper)
 
static casacore::lDouble vrad (const casacore::lDouble freq, const casacore::lDouble rest)
 the following inline convenience methods for regridSpw bypass the whole CASA measure system because when they are used, they can assume that the frame stays the same and the units are OK More...
 
static casacore::lDouble vopt (const casacore::lDouble freq, const casacore::lDouble rest)
 
static casacore::lDouble lambda (const casacore::lDouble freq)
 
static casacore::lDouble freq_from_vrad (const casacore::lDouble vrad, const casacore::lDouble rest)
 
static casacore::lDouble freq_from_vopt (const casacore::lDouble vopt, const casacore::lDouble rest)
 
static casacore::lDouble freq_from_lambda (const casacore::lDouble lambda)
 
static casacore::Bool regridChanBounds (casacore::Vector< casacore::Double > &newChanLoBound, casacore::Vector< casacore::Double > &newChanHiBound, const casacore::Double regridCenter, const casacore::Double regridBandwidth, const casacore::Double regridChanWidth, const casacore::Double regridVeloRestfrq, const casacore::String regridQuant, const casacore::Vector< casacore::Double > &transNewXin, const casacore::Vector< casacore::Double > &transCHAN_WIDTH, casacore::String &message, const casacore::Bool centerIsStart=false, const casacore::Bool startIsEnd=false, const casacore::Int nchan=0, const casacore::Int width=0, const casacore::Int start=-1)
 Support method for regridSpw(): calculate the final new channel boundaries from the regridding parameters and the old channel boundaries (already transformed to the desired reference frame); returns false if input paramters were invalid and no useful boundaries could be created. More...
 
static casacore::Bool convertGridPars (casacore::LogIO &os, const casacore::String &mode, const int nchan, const casacore::String &start, const casacore::String &width, const casacore::String &interp, const casacore::String &restfreq, const casacore::String &outframe, const casacore::String &veltype, casacore::String &t_mode, casacore::String &t_outframe, casacore::String &t_regridQuantity, casacore::Double &t_restfreq, casacore::String &t_regridInterpMeth, casacore::Double &t_cstart, casacore::Double &t_bandwidth, casacore::Double &t_cwidth, casacore::Bool &t_centerIsStart, casacore::Bool &t_startIsEnd, casacore::Int &t_nchan, casacore::Int &t_width, casacore::Int &t_start)
 a helper function for handling the gridding parameter user input More...
 
static casacore::Bool calcChanFreqs (casacore::LogIO &os, casacore::Vector< casacore::Double > &newCHAN_FREQ, casacore::Vector< casacore::Double > &newCHAN_WIDTH, const casacore::Vector< casacore::Double > &oldCHAN_FREQ, const casacore::Vector< casacore::Double > &oldCHAN_WIDTH, const casacore::MDirection phaseCenter, const casacore::MFrequency::Types theOldRefFrame, const casacore::MEpoch theObsTime, const casacore::MPosition mObsPos, const casacore::String &mode, const int nchan, const casacore::String &start, const casacore::String &width, const casacore::String &restfreq, const casacore::String &outframe, const casacore::String &veltype, const casacore::Bool verbose=false, const casacore::MRadialVelocity mRV=casacore::MRadialVelocity())
 A wrapper for SubMS::regridChanBounds() which takes the user interface type gridding parameters The ready-made grid is returned in newCHAN_FREQ and newCHAN_WIDTH. More...
 
static casacore::Bool calcChanFreqs (casacore::LogIO &os, casacore::Vector< casacore::Double > &newCHAN_FREQ, casacore::Vector< casacore::Double > &newCHAN_WIDTH, casacore::Double &weightScale, const casacore::Vector< casacore::Double > &oldCHAN_FREQ, const casacore::Vector< casacore::Double > &oldCHAN_WIDTH, const casacore::MDirection phaseCenter, const casacore::MFrequency::Types theOldRefFrame, const casacore::MEpoch theObsTime, const casacore::MPosition mObsPos, const casacore::String &mode, const int nchan, const casacore::String &start, const casacore::String &width, const casacore::String &restfreq, const casacore::String &outframe, const casacore::String &veltype, const casacore::Bool verbose=false, const casacore::MRadialVelocity mRV=casacore::MRadialVelocity())
 Overloaded version of the above method returning the additional value weightScale which is the factor by which WEIGHT needs to be scaled when transforming from the old grid to the new grid. More...
 
static void getDataColMap (casacore::MSColumns *msc, casacore::ArrayColumn< casacore::Complex > *mapper, casacore::uInt ntok, const casacore::Vector< casacore::MS::PredefinedColumns > &colEnums)
 Fills mapper[ntok] with a map from dataColumn indices to ArrayColumns in the output. More...
 
- Protected Member Functions inherited from casa::SubMS
casacore::Bool makeSelection ()
 method that returns the selected ms (?! - but it's Boolean - RR) More...
 
casacore::Bool fillAllTables (const casacore::Vector< casacore::MS::PredefinedColumns > &colNames)
 (Sub)table fillers. More...
 
casacore::Bool fillDDTables ()
 
casacore::Bool fillFieldTable ()
 
casacore::Bool writeAllMainRows (const casacore::Vector< casacore::MS::PredefinedColumns > &colNames)
 Used to be fillMainTable(colnames), but what distinguishes it from writeSomeMainRows(colnames) is that it is for cases where there is a 1-1 match between rows in mssel_p and msOut_p (including order). More...
 
casacore::Bool writeSomeMainRows (const casacore::Vector< casacore::MS::PredefinedColumns > &colNames)
 Used to be fillAverMainTable(colnames), but what distinguishes it from writeAllMainRows(colnames) is that it is for cases where there is not necessarily a 1-1 match between rows in mssel_p and msOut_p. More...
 
casacore::Bool copyAntenna ()
 
casacore::Bool copyFeed ()
 
casacore::Bool copyFlag_Cmd ()
 
casacore::Bool copyHistory ()
 
casacore::Bool copyObservation ()
 
casacore::Bool copyPointing ()
 
casacore::Bool copyProcessor ()
 
casacore::Bool copySource ()
 
casacore::Bool copyState ()
 
casacore::Bool copySyscal ()
 
casacore::Bool copyWeather ()
 
casacore::Bool copyGenericSubtables ()
 
void copyMainTableKeywords (casacore::TableRecord &outKeys, const casacore::TableRecord &inKeys)
 
casacore::Bool filterOptSubtable (const casacore::String &subtabname)
 This falls between copyGenericSubtables() and the copiers for standard subtables like copyFeed(). More...
 
casacore::Bool fillAccessoryMainCols ()
 casacore::Bool writeDiffSpwShape(const casacore::Vector<casacore::MS::PredefinedColumns>& colNames); More...
 
void copySubtable (const casacore::String &tabName, const casacore::Table &inTab, const casacore::Bool noRows=false)
 *** Private member functions *** More...
 
casacore::Bool getDataColumn (casacore::ArrayColumn< casacore::Complex > &data, const casacore::MS::PredefinedColumns colName)
 
casacore::Bool getDataColumn (casacore::ArrayColumn< casacore::Float > &data, const casacore::MS::PredefinedColumns colName)
 
casacore::Bool putDataColumn (casacore::MSColumns &msc, casacore::ArrayColumn< casacore::Complex > &data, const casacore::MS::PredefinedColumns datacol, const casacore::Bool writeToDataCol=false)
 
casacore::Bool putDataColumn (casacore::MSColumns &msc, casacore::ArrayColumn< casacore::Float > &data, const casacore::MS::PredefinedColumns datacol, const casacore::Bool writeToDataCol=false)
 
casacore::Bool copyDataFlagsWtSp (const casacore::Vector< casacore::MS::PredefinedColumns > &colNames, const casacore::Bool writeToDataCol)
 This method uses VisIter for efficient copy mode data transfer. More...
 
casacore::Bool subtractContinuum (const casacore::Vector< casacore::MS::PredefinedColumns > &colNames, const VBRemapper &remapper)
 Like doTimeAver(), but it subtracts the continuum instead of time averaging. More...
 
casacore::Bool doChannelMods (const casacore::Vector< casacore::MS::PredefinedColumns > &colNames)
 
void fill_vbmaps (std::map< VisBufferComponents::EnumType, std::map< casacore::Int, casacore::Int > > &vbmaps)
 
casacore::Double n_bytes ()
 
return the number of unique antennas selected

casacore::Int numOfBaselines(casacore::Vector<casacore::Int>& ant1, casacore::Vector<casacore::Int>& ant2, casacore::Bool includeAutoCorr=false); More...

 
const casacore::ArrayColumn
< casacore::Complex > & 
right_column (const casacore::ROMSColumns *ms_p, const casacore::MS::PredefinedColumns datacol)
 Picks a reference to DATA, MODEL_DATA, CORRECTED_DATA, or LAG_DATA out of ms_p. More...
 
casacore::ArrayColumn
< casacore::Complex > & 
right_column (casacore::MSColumns *msclala, const casacore::MS::PredefinedColumns col, const casacore::Bool writeToDataCol)
 The writable version of the above. More...
 
casacore::uInt fillAntIndexer (std::map< casacore::Int, casacore::Int > &antIndexer, const casacore::ROMSColumns *msc)
 Figures out the number, maximum, and index of the selected antennas. More...
 
casacore::Bool doTimeAver (const casacore::Vector< casacore::MS::PredefinedColumns > &dataColNames, const VBRemapper &remapper)
 Read the input, time average it to timeBin_p, and write the output. More...
 
casacore::Bool doTimeAverVisIterator (const casacore::Vector< casacore::MS::PredefinedColumns > &dataColNames, const VBRemapper &remapper)
 
void getDataColMap (casacore::ArrayColumn< casacore::Complex > *mapper, casacore::uInt ntok, const casacore::Vector< casacore::MS::PredefinedColumns > &colEnums)
 
casacore::Bool areDataShapesConstant ()
 Returns whether or not the numbers of correlations and channels are independent of DATA_DESCRIPTION_ID, for both the input and output MSes. More...
 
casacore::Bool existsFlagCategory () const
 Returns whether or not the input casacore::MS has a valid FLAG_CATEGORY, and its first row has the right number of correlations and channels. More...
 
void relabelSources ()
 Sets up sourceRelabel_p for mapping input SourceIDs (if any) to output ones. More...
 
void relabelIDs ()
 
void remapColumn (casacore::ScalarColumn< casacore::Int > &outcol, const casacore::ScalarColumn< casacore::Int > &incol, const casacore::Vector< casacore::Int > &selvals)
 Sets outcol to the indices of selvals that correspond to incol, i.e. More...
 
void remapColumn (casacore::ScalarColumn< casacore::Int > &outcol, const casacore::ScalarColumn< casacore::Int > &incol)
 Equivalent to but slightly more efficient than remapColumn(outcol, incol, incol.getColumn()). More...
 
casacore::uInt remapped (const casacore::Int ov, const casacore::Vector< casacore::Int > &mapper, casacore::uInt i)
 
void setupNewPointing ()
 Sets up the stub of a POINTING, enough to create an MSColumns. More...
 
casacore::Bool setSortOrder (casacore::Block< casacore::Int > &sort, const casacore::String &uncombinable="", const casacore::Bool verbose=true) const
 Sets sort to a casacore::Block of columns that a VisibilityIterator should sort by, according to combine_p. More...
 
casacore::Bool shouldWatch (casacore::Bool &conflict, const casacore::String &col, const casacore::String &uncombinable="", const casacore::Bool verbose=true) const
 Returns whether col is (not in combine_p) || in uncombinable. More...
 
- Static Protected Member Functions inherited from casa::SubMS
static casacore::uInt dataColStrToEnums (const casacore::String &col, casacore::Vector< casacore::MS::PredefinedColumns > &colvec)
 Helper function for parseColumnNames(). More...
 
static void make_map (std::map< casacore::Int, casacore::Int > &mapper, const casacore::Vector< casacore::Int > &inv)
 static void make_map(const casacore::Vector<casacore::Int>& mscol, casacore::Vector<casacore::Int>& mapper); More...
 
static void make_map2 (std::map< casacore::Int, casacore::Int > &mapper, const casacore::Vector< casacore::Int > &inv)
 Sets mapper to form a map from inv whose elements are mapped values. More...
 
- Protected Attributes inherited from casa::SubMS
casacore::MeasurementSet ms_p
 *** Member variables *** More...
 
casacore::MeasurementSet mssel_p
 
casacore::MSColumnsmsc_p
 
casacore::ROMSColumnsmscIn_p
 
casacore::Bool keepShape_p
 
casacore::Bool antennaSel_p
 same shape as the corresponding input one. More...
 
casacore::Double timeBin_p
 
casacore::String scanString_p
 
casacore::String intentString_p
 
casacore::String obsString_p
 
casacore::String uvrangeString_p
 
casacore::String taqlString_p
 
casacore::String timeRange_p
 
casacore::String arrayExpr_p
 
casacore::String corrString_p
 
casacore::String combine_p
 
casacore::Int fitorder_p
 scan #, observation, and/or state ID? Must be lowercase at all times. More...
 
casacore::String fitspw_p
 If < 0 (default), continuum subtraction is not done. More...
 
casacore::String fitoutspw_p
 
casacore::Bool fillMainTable_p
 continuum subtraction. More...
 
casacore::MeasurementSet msOut_p
 Uninitialized by ctors. More...
 
casacore::Vector< casacore::Intspw_p
 
casacore::Vector< casacore::Intspw_uniq_p
 
casacore::Vector< casacore::Intspwind_to_min_spwind_p
 
casacore::Vector< casacore::Intnchan_p
 
casacore::Vector< casacore::Inttotnchan_p
 
casacore::Vector< casacore::IntchanStart_p
 
casacore::Vector< casacore::IntchanEnd_p
 
casacore::Vector< casacore::IntchanStep_p
 
casacore::Vector< casacore::Intwidths_p
 input channel will be used. More...
 
casacore::Vector< casacore::Intncorr_p
 
casacore::Vector< casacore::IntinNumChan_p
 
casacore::Vector< casacore::IntinNumCorr_p
 
casacore::Vector< casacore::Intfieldid_p
 
casacore::Vector< casacore::IntspwRelabel_p
 
casacore::Vector< casacore::IntfieldRelabel_p
 
casacore::Vector< casacore::IntsourceRelabel_p
 
casacore::Vector< casacore::IntoldDDSpwMatch_p
 
casacore::Vector
< casacore::String
antennaSelStr_p
 
casacore::Vector< casacore::IntantennaId_p
 
casacore::Vector< casacore::IntantIndexer_p
 
casacore::Vector< casacore::IntantNewIndex_p
 
casacore::Vector< casacore::IntselObsId_p
 
casacore::Vector< casacore::IntpolID_p
 
casacore::Vector< casacore::uIntspw2ddid_p
 
casacore::Vector
< casacore::Vector
< casacore::Int > > 
inPolOutCorrToInCorrMap_p
 inCorrInd = outPolCorrToInCorrMap_p[polID_p[ddID]][outCorrInd] More...
 
std::map< casacore::Int,
casacore::Int
stateRemapper_p
 
casacore::Vector
< casacore::Vector
< casacore::Slice > > 
chanSlices_p
 
casacore::Vector< casacore::SlicecorrSlice_p
 
casacore::Vector
< casacore::Vector
< casacore::Slice > > 
corrSlices_p
 
casacore::Matrix
< casacore::Double
selTimeRanges_p
 
bool tvi_debug
 
bool want_cont_p
 

Detailed Description

SimpleSubMS provide a simpler subset of SubMS. The purpose of this class to avoid unnecessary IO for some simplistic selection and subMSsing No averaging no fanciness...simple time and channel subsets.

<visibility=export>

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

SimpleSubMS...from the SUBset of an casacore::MS and Simple

Synopsis

The order of operations (as in ms::split()) is: ctor setmsselect selectTime makeScratchSubMS

Definition at line 66 of file SimpleSubMS.h.

Constructor & Destructor Documentation

casa::SimpleSubMS::SimpleSubMS ( casacore::MeasurementSet ms)

Constructor with an ms.

casa::SimpleSubMS::~SimpleSubMS ( )

Die...die.

Member Function Documentation

virtual casacore::MeasurementSet* casa::SimpleSubMS::makeMemSubMS ( const casacore::MS::PredefinedColumns datacol,
const casacore::String diskname = casacore::String("") 
)
virtual

In this form whichDataCol gets passed to parseColumnNames().


The documentation for this class was generated from the following file: