casa
5.7.0-16
|
#include <ATCAFiller.h>
Public Member Functions | |
ATCAFiller () | |
Construct the ATCAFiller. More... | |
~ATCAFiller () | |
casacore::Bool | open (const casacore::String &msName, const casacore::Vector< casacore::String > &rpfitsFiles, const casacore::Vector< casacore::String > &options, casacore::Int opcor=2) |
Open the measurement set and one or more RPFits files. More... | |
casacore::Bool | fill () |
Fill the measurement set. More... | |
ATCAFiller & | fields (const casacore::Vector< casacore::String > &fieldList) |
Select a number of fields by name. More... | |
ATCAFiller & | freqRange (casacore::Double lowFreq, casacore::Double highFreq=0) |
Select a range of frequencies, lowFreq=0 => everything below higFreq, highFreq=0 => everything above lowFreq. More... | |
ATCAFiller & | frequencies (casacore::Vector< casacore::Double > freqs, casacore::Double windowWidth=1e6) |
Select frequencies within windowWidth of specified ones. More... | |
ATCAFiller & | scanRange (casacore::Int firstScan, casacore::Int lastScan=0) |
Select a range of scans to read. More... | |
ATCAFiller & | chanRange (casacore::Int firstChan, casacore::Int lastChan, casacore::Int ChanInc=1) |
Select range of channels, with optional increment. More... | |
ATCAFiller & | timeRange (casacore::Double firstTime, casacore::Double lastTime=0) |
casacore::Time range selection. More... | |
ATCAFiller & | freqSel (const casacore::Vector< casacore::Int > &spws) |
Select the Freq (which one of the simult. More... | |
ATCAFiller & | bandwidth1 (casacore::Int bandwidth1) |
Select on bandwidth of IF 1. More... | |
ATCAFiller & | numChan1 (casacore::Int numchan1) |
Select on number of channels of IF 1. More... | |
ATCAFiller & | shadow (casacore::Float diam) |
Set shadowing limit. More... | |
ATCAFiller & | deselectAntenna (casacore::Vector< casacore::Int > antennas) |
Deselect antennas. More... | |
ATCAFiller & | xyPhaseSmooth (casacore::Int window=9, casacore::Double tolerance=10.0) |
casacore::Smooth xy-phases with running median and flag data with discrepant xy-phase. More... | |
ATCAFiller & | tsysSmooth (casacore::Int window=9) |
casacore::Smooth Tsys values with running median and recalibrate the data. More... | |
ATCAFiller & | edge (casacore::Float edge) |
Set percentage of channels to flag at band edges. More... | |
casacore::Vector < casacore::Double > | opacities (casacore::Vector< casacore::Double > fGHz, casacore::Float tempK, casacore::Float humi, casacore::Float press, casacore::Float height) |
Calculate zenith opacities using the ASAP/Miriad model given surface weather conditions and observatory height. More... | |
Static Public Member Functions | |
static casacore::TableDesc | atcaTableDesc (casacore::Bool compress) |
return the ATCA required tabledesc, this is the standard MeasurementSet plus ATCA specific additions. More... | |
static casacore::MeasurementSet | makeTable (const casacore::String &tableName, casacore::Bool compress, casacore::Bool cabb) |
make the ATCA specific MeasurementSet More... | |
static void | makeSubTables (casacore::MS &ms, casacore::Table::TableOption option, casacore::Bool cabb) |
make the subtables with ATCA specific additions More... | |
Private Types | |
enum | { MaxNChan, MaxNPol } |
Constants MaxNPol needs to agree with if_cstok in RPFITS.h. More... | |
enum | { COUNT, FLAG, ONLINE, SCANTYPE, SYSCAL, SHADOW, NFLAG } |
Definition at line 43 of file ATCAFiller.h.
|
private |
Constants MaxNPol needs to agree with if_cstok in RPFITS.h.
Enumerator | |
---|---|
MaxNChan | |
MaxNPol |
Definition at line 173 of file ATCAFiller.h.
|
private |
Enumerator | |
---|---|
COUNT | |
FLAG | |
ONLINE | |
SCANTYPE | |
SYSCAL | |
SHADOW | |
NFLAG |
Definition at line 283 of file ATCAFiller.h.
casa::ATCAFiller::ATCAFiller | ( | ) |
Construct the ATCAFiller.
casa::ATCAFiller::~ATCAFiller | ( | ) |
|
private |
|
private |
|
static |
return the ATCA required tabledesc, this is the standard MeasurementSet plus ATCA specific additions.
ATCAFiller& casa::ATCAFiller::bandwidth1 | ( | casacore::Int | bandwidth1 | ) |
Select on bandwidth of IF 1.
|
private |
ATCAFiller& casa::ATCAFiller::chanRange | ( | casacore::Int | firstChan, |
casacore::Int | lastChan, | ||
casacore::Int | ChanInc = 1 |
||
) |
Select range of channels, with optional increment.
We may want multiple channel ranges -> use matrix(3,n) for selection?
|
private |
|
private |
|
private |
|
private |
ATCAFiller& casa::ATCAFiller::deselectAntenna | ( | casacore::Vector< casacore::Int > | antennas | ) |
Deselect antennas.
ATCAFiller& casa::ATCAFiller::edge | ( | casacore::Float | edge | ) |
Set percentage of channels to flag at band edges.
ATCAFiller& casa::ATCAFiller::fields | ( | const casacore::Vector< casacore::String > & | fieldList | ) |
Select a number of fields by name.
casacore::Bool casa::ATCAFiller::fill | ( | ) |
Fill the measurement set.
|
private |
fill a single input file
|
private |
Fill the feed table (with dummy values)
|
private |
|
private |
|
private |
ATCAFiller& casa::ATCAFiller::freqRange | ( | casacore::Double | lowFreq, |
casacore::Double | highFreq = 0 |
||
) |
Select a range of frequencies, lowFreq=0 => everything below higFreq, highFreq=0 => everything above lowFreq.
ATCAFiller& casa::ATCAFiller::freqSel | ( | const casacore::Vector< casacore::Int > & | spws | ) |
Select the Freq (which one of the simult.
freqs), 0=> no selection.
ATCAFiller& casa::ATCAFiller::frequencies | ( | casacore::Vector< casacore::Double > | freqs, |
casacore::Double | windowWidth = 1e6 |
||
) |
Select frequencies within windowWidth of specified ones.
(This selects on center-frequencies only, not channelfrequencies)
|
private |
for constructors
|
private |
casacore::List the file on cout
|
private |
|
static |
make the subtables with ATCA specific additions
|
static |
make the ATCA specific MeasurementSet
ATCAFiller& casa::ATCAFiller::numChan1 | ( | casacore::Int | numchan1 | ) |
Select on number of channels of IF 1.
casacore::Vector<casacore::Double> casa::ATCAFiller::opacities | ( | casacore::Vector< casacore::Double > | fGHz, |
casacore::Float | tempK, | ||
casacore::Float | humi, | ||
casacore::Float | press, | ||
casacore::Float | height | ||
) |
Calculate zenith opacities using the ASAP/Miriad model given surface weather conditions and observatory height.
Units are: fGHz [GHz], tempK [Kelvin], humi [%], press [hPa], height [m]
casacore::Bool casa::ATCAFiller::open | ( | const casacore::String & | msName, |
const casacore::Vector< casacore::String > & | rpfitsFiles, | ||
const casacore::Vector< casacore::String > & | options, | ||
casacore::Int | opcor = 2 |
||
) |
Open the measurement set and one or more RPFits files.
Opacity correction is not yet implemented - could go in gencal or here, if gencal scheme doesn't improve
|
private |
|
private |
|
private |
|
private |
Flag data if samplerstats are bad.
ATCAFiller& casa::ATCAFiller::scanRange | ( | casacore::Int | firstScan, |
casacore::Int | lastScan = 0 |
||
) |
Select a range of scans to read.
first=0 or 1 => start at first one, last=0 => read to end of file.
|
private |
ATCAFiller& casa::ATCAFiller::shadow | ( | casacore::Float | diam | ) |
Set shadowing limit.
|
private |
|
private |
|
private |
|
private |
When storing header items skip irrelevant items for the last (empty) scan, it is just there to capture caobs commands and comments.
|
private |
ATCAFiller& casa::ATCAFiller::timeRange | ( | casacore::Double | firstTime, |
casacore::Double | lastTime = 0 |
||
) |
casacore::Time range selection.
ATCAFiller& casa::ATCAFiller::tsysSmooth | ( | casacore::Int | window = 9 | ) |
casacore::Smooth Tsys values with running median and recalibrate the data.
|
private |
ATCAFiller& casa::ATCAFiller::xyPhaseSmooth | ( | casacore::Int | window = 9 , |
casacore::Double | tolerance = 10.0 |
||
) |
casacore::Smooth xy-phases with running median and flag data with discrepant xy-phase.
|
private |
Definition at line 265 of file ATCAFiller.h.
|
private |
Definition at line 193 of file ATCAFiller.h.
|
private |
Data.
Definition at line 175 of file ATCAFiller.h.
|
private |
Flagging.
Definition at line 282 of file ATCAFiller.h.
|
private |
Definition at line 264 of file ATCAFiller.h.
|
private |
Definition at line 213 of file ATCAFiller.h.
|
private |
Definition at line 265 of file ATCAFiller.h.
|
private |
Definition at line 213 of file ATCAFiller.h.
|
private |
Definition at line 201 of file ATCAFiller.h.
|
private |
Definition at line 208 of file ATCAFiller.h.
|
private |
Definition at line 230 of file ATCAFiller.h.
|
private |
Definition at line 230 of file ATCAFiller.h.
|
private |
Definition at line 227 of file ATCAFiller.h.
|
private |
Definition at line 228 of file ATCAFiller.h.
|
private |
Definition at line 228 of file ATCAFiller.h.
|
private |
Definition at line 228 of file ATCAFiller.h.
|
private |
ATCA_SCAN_INFO columns & table.
Definition at line 233 of file ATCAFiller.h.
|
private |
Definition at line 233 of file ATCAFiller.h.
|
private |
Definition at line 235 of file ATCAFiller.h.
|
private |
Definition at line 237 of file ATCAFiller.h.
|
private |
Definition at line 237 of file ATCAFiller.h.
|
private |
Definition at line 235 of file ATCAFiller.h.
|
private |
Definition at line 239 of file ATCAFiller.h.
|
private |
Definition at line 235 of file ATCAFiller.h.
|
private |
Definition at line 237 of file ATCAFiller.h.
|
private |
Definition at line 233 of file ATCAFiller.h.
|
private |
Definition at line 237 of file ATCAFiller.h.
|
private |
Definition at line 233 of file ATCAFiller.h.
|
private |
Definition at line 236 of file ATCAFiller.h.
|
private |
Definition at line 230 of file ATCAFiller.h.
|
private |
Column objects to access Tables.
colXXX objects are ATCA specific columns in the casacore::MeasurementSet
Definition at line 224 of file ATCAFiller.h.
|
private |
Definition at line 224 of file ATCAFiller.h.
|
private |
Definition at line 225 of file ATCAFiller.h.
|
private |
Definition at line 225 of file ATCAFiller.h.
|
private |
Definition at line 225 of file ATCAFiller.h.
|
private |
Definition at line 231 of file ATCAFiller.h.
|
private |
Definition at line 225 of file ATCAFiller.h.
|
private |
Definition at line 225 of file ATCAFiller.h.
|
private |
Definition at line 225 of file ATCAFiller.h.
|
private |
Definition at line 219 of file ATCAFiller.h.
|
private |
Polarization order.
Definition at line 272 of file ATCAFiller.h.
|
private |
Definition at line 181 of file ATCAFiller.h.
|
private |
storage manager accessor
Definition at line 217 of file ATCAFiller.h.
|
private |
Definition at line 276 of file ATCAFiller.h.
|
private |
Definition at line 200 of file ATCAFiller.h.
|
private |
Definition at line 253 of file ATCAFiller.h.
|
private |
Definition at line 189 of file ATCAFiller.h.
|
private |
Selection parameters.
Definition at line 256 of file ATCAFiller.h.
|
private |
Definition at line 199 of file ATCAFiller.h.
|
private |
Definition at line 261 of file ATCAFiller.h.
|
private |
Definition at line 197 of file ATCAFiller.h.
|
private |
Definition at line 260 of file ATCAFiller.h.
|
private |
Definition at line 262 of file ATCAFiller.h.
|
private |
Definition at line 217 of file ATCAFiller.h.
|
private |
Definition at line 217 of file ATCAFiller.h.
|
private |
Definition at line 284 of file ATCAFiller.h.
|
private |
Definition at line 282 of file ATCAFiller.h.
|
private |
Definition at line 213 of file ATCAFiller.h.
|
private |
Definition at line 258 of file ATCAFiller.h.
|
private |
Bools.
Definition at line 192 of file ATCAFiller.h.
|
private |
Definition at line 251 of file ATCAFiller.h.
|
private |
Definition at line 257 of file ATCAFiller.h.
|
private |
Definition at line 206 of file ATCAFiller.h.
|
private |
Definition at line 213 of file ATCAFiller.h.
|
private |
Definition at line 219 of file ATCAFiller.h.
|
private |
Definition at line 207 of file ATCAFiller.h.
|
private |
Definition at line 261 of file ATCAFiller.h.
|
private |
Definition at line 260 of file ATCAFiller.h.
|
private |
Definition at line 250 of file ATCAFiller.h.
|
private |
Definition at line 262 of file ATCAFiller.h.
|
private |
Definition at line 249 of file ATCAFiller.h.
|
private |
Definition at line 252 of file ATCAFiller.h.
|
private |
Definition at line 198 of file ATCAFiller.h.
|
private |
Definition at line 257 of file ATCAFiller.h.
|
private |
reference date
Definition at line 245 of file ATCAFiller.h.
|
private |
Definition at line 219 of file ATCAFiller.h.
|
private |
Definition at line 176 of file ATCAFiller.h.
|
private |
Definition at line 240 of file ATCAFiller.h.
|
private |
The following should be constant throughout the rpfits file.
Definition at line 184 of file ATCAFiller.h.
|
private |
Definition at line 242 of file ATCAFiller.h.
|
private |
Definition at line 187 of file ATCAFiller.h.
|
private |
Definition at line 204 of file ATCAFiller.h.
|
private |
Definition at line 203 of file ATCAFiller.h.
|
private |
Definition at line 278 of file ATCAFiller.h.
|
private |
Number of scans seen; #SpWs, #fields stored sofar.
Definition at line 187 of file ATCAFiller.h.
|
private |
Definition at line 269 of file ATCAFiller.h.
|
private |
Definition at line 187 of file ATCAFiller.h.
|
private |
Definition at line 264 of file ATCAFiller.h.
|
private |
Definition at line 189 of file ATCAFiller.h.
|
private |
Definition at line 205 of file ATCAFiller.h.
|
private |
Definition at line 180 of file ATCAFiller.h.
|
private |
Logger.
Definition at line 287 of file ATCAFiller.h.
|
private |
Definition at line 241 of file ATCAFiller.h.
|
private |
Definition at line 189 of file ATCAFiller.h.
|
private |
Definition at line 279 of file ATCAFiller.h.
|
private |
Definition at line 202 of file ATCAFiller.h.
|
private |
Definition at line 277 of file ATCAFiller.h.
|
private |
Filenames.
Definition at line 179 of file ATCAFiller.h.
|
private |
#scanheaders stored, index into casacore::MS SpW and Field Tables for current data
Definition at line 189 of file ATCAFiller.h.
|
private |
Check for shadowing.
Definition at line 275 of file ATCAFiller.h.
|
private |
Definition at line 217 of file ATCAFiller.h.
|
private |
Definition at line 196 of file ATCAFiller.h.
|
private |
Definition at line 195 of file ATCAFiller.h.
|
private |
Definition at line 213 of file ATCAFiller.h.
|
private |
Track sources.
Definition at line 268 of file ATCAFiller.h.
|
private |
Definition at line 189 of file ATCAFiller.h.
|
private |
Definition at line 263 of file ATCAFiller.h.
|
private |
Definition at line 194 of file ATCAFiller.h.
|
private |
variables to keep the state of the sysCal search & binning state
Definition at line 248 of file ATCAFiller.h.
|
private |
Definition at line 214 of file ATCAFiller.h.
|
private |
Definition at line 214 of file ATCAFiller.h.
|
private |
Definition at line 214 of file ATCAFiller.h.
|
private |
rpfits data
Definition at line 211 of file ATCAFiller.h.
|
private |
Definition at line 214 of file ATCAFiller.h.
|
private |
Definition at line 212 of file ATCAFiller.h.
|
private |
Definition at line 259 of file ATCAFiller.h.