casa
$Rev:20696$
|
Class ASDM2MSFiller. More...
#include <ASDM2MSFiller.h>
Public Member Functions | |
ASDM2MSFiller (const string &name_, double creation_time_, bool withRadioMeters, bool complexData, bool withCompression, const string &telName, int intintmaxNumCorr, int maxNumChan, bool withCorrectedData=false, bool useAsdmStMan4DATA=false) | |
~ASDM2MSFiller () | |
Destructor. | |
const casa::MeasurementSet * | ms () |
int | addAntenna (const string &name_, const string &station_, double lx_, double ly_, double lz_, double offset_x_, double offset_y_, double offset_z_, float dish_diam_) |
void | addData (bool complexData, vector< double > &time_, vector< int > &antennaId1_, vector< int > &antennaId2_, vector< int > &feedId1_, vector< int > &feedId2_, vector< int > &dataDescId_, int processorId_, int fieldId_, vector< double > &interval_, vector< double > &exposure_, vector< double > &timeCentroid_, int scanNumber_, int arrayId_, int observationId_, vector< int > &stateId_, vector< pair< int, int > > &nChanNPol_, vector< double > &uvw_) |
void | addData (bool complexData, vector< double > &time_, vector< int > &antennaId1_, vector< int > &antennaId2_, vector< int > &feedId1_, vector< int > &feedId2_, vector< int > &dataDescId_, int processorId_, vector< int > &fieldId_, vector< double > &interval_, vector< double > &exposure_, vector< double > &timeCentroid_, int scanNumber_, int arrayId_, int observationId_, vector< int > &stateId_, vector< double > &uvw_, vector< vector< unsigned int > > &dataShape_, vector< float * > &uncorrectedData_, vector< float * > &correctedData_, vector< unsigned int > &flag_) |
void | addData (bool complexData, vector< double > &time_, vector< int > &antennaId1_, vector< int > &antennaId2_, vector< int > &feedId1_, vector< int > &feedId2_, vector< int > &dataDescId_, int processorId_, vector< int > &fieldId_, vector< double > &interval_, vector< double > &exposure_, vector< double > &timeCentroid_, int scanNumber_, int arrayId_, int observationId_, vector< int > &stateId_, vector< double > &uvw_, vector< vector< unsigned int > > &dataShape_, vector< float * > &data_, vector< unsigned int > &flag_) |
int | addDataDescription (int spectral_window_id_, int polarizarion_id_) |
int | addUniqueDataDescription (int spectral_window_id_, int polarizarion_id_) |
int | exists (char *path) |
String | msPath () |
void | addFeed (int antenna_id_, int feed_id_, int spectral_window_id_, double time_, double interval_, int num_receptors_, int beam_id_, vector< double > &beam_offset_, vector< std::string > &pol_type_, vector< std::complex< float > > &polarization_response_, vector< double > &position_, vector< double > &receptor_angle_) |
void | addField (const string &name_, const string &code_, double time_, int num_poly_, vector< vector< double > > &delay_dir_, vector< vector< double > > &phase_dir_, vector< vector< double > > &reference_dir_, const string &direction_code_, int source_id_) |
void | addFlagCmd (double time_, double interval_, const string &type_, const string &reason_, int level_, int severity_, int applied_, string &command_) |
void | addHistory (double time_, int observation_id_, const string &message_, const string &priority_, const string &origin_, int object_id_, const string &application_, const string &cli_command_, const string &app_parms_) |
void | addObservation (const string &telescopeName_, double startTime_, double endTime_, const string &observer_, const vector< string > &log_, const string &schedule_type_, const vector< string > &schedule_, const string &project_, double release_date_) |
void | addPointingSlice (unsigned int n_row_, vector< int > &antenna_id_, vector< double > &time_, vector< double > &interval_, vector< double > &direction_, vector< double > &target_, vector< double > &pointing_offset_, vector< double > &encoder_, vector< bool > &tracking_, bool overTheTopExists4All_, vector< bool > &v_overTheTop_, vector< s_overTheTop > &v_s_overTheTop_) |
int | addPolarization (int num_corr_, vector< int > &corr_type_, vector< int > &corr_product_) |
int | addUniquePolarization (int num_corr_, const vector< int > &corr_type_, const vector< int > &corr_product_) |
void | addProcessor (string &type_, string &sub_type_, int type_id_, int mode_id_) |
void | addSource (int source_id_, double time_, double interval_, int spectral_window_id_, int num_lines_, string &name_, int calibration_group_, string &code_, vector< double > &direction_, string &direction_code_, vector< double > &position_, vector< double > &proper_motion_, vector< string > &transition_, vector< double > &rest_frequency_, vector< double > &sysvel_) |
int | addSpectralWindow (int num_chan_, const string &name_, double ref_frequency_, const vector< double > &chan_freq_, const vector< double > &chan_width_, int meas_freq_ref_, const vector< double > &effective_bw_, const vector< double > &resolution_, double total_bandwidth_, int net_sideband_, int bbc_no_, int if_conv_chain_, int freq_group_, const string &freq_group_name_, int num_assoc_, const vector< int > &assoc_sp_id_, const vector< string > &assoc_nature_) |
int | addUniqueState (bool sig_, bool ref_, double cal_, double load_, unsigned int sub_scan_, string &obs_mode_, bool flag_row_) |
void | addState (bool sig_, bool ref_, double cal_, double load_, int sub_scan_, string &obs_mode_) |
void | addSysCal (int antenna_id, int feed_id, int spectral_window_id, double time_, double interval_, int numReceptor_, int numChan_, pair< bool, vector< float > > &tcal_spectrum_pair, pair< bool, bool > &tcal_flag_pair, pair< bool, vector< float > > &trx_spectrum_pair, pair< bool, bool > &trx_flag_pair, pair< bool, vector< float > > &tsky_spectrum_pair, pair< bool, bool > &tsky_flag_pair, pair< bool, vector< float > > &tsys_spectrum_pair, pair< bool, bool > &tsys_flag_pair, pair< bool, vector< float > > &tant_spectrum_pair, pair< bool, bool > &tant_flag_pair, pair< bool, vector< float > > &tant_tsys_spectrum_pair, pair< bool, bool > &tant_tsys_flag_pair) |
void | addWeather (int antenna_id_, double time_, double interval_, const pair< bool, float > &pressure_opt_, const pair< bool, float > &relHumidity_opt_, const pair< bool, float > &temperature_opt_, const pair< bool, float > &windDirection_opt_, const pair< bool, float > &windSpeed_opt_, const pair< bool, float > &dewPoint_opt_, int wx_station_id_, vector< double > &wx_station_position_) |
void | addCalDevice (int antennaId, int feedId, int spectralWindowId, double time, double interval, unsigned int numCalLoad, vector< string > calloadNames, unsigned int numReceptor, vector< vector< float > > &calEff, vector< vector< float > > &noiseCal, vector< double > &temperatureLoad) |
Add one row in the MS CALDEVICE table. | |
void | addSysPower (int antennaId, int feedId, int spectralWindowId, double time, double interval, unsigned int numReceptor, vector< float > &switchedPowerDifference, vector< float > &switchedPowerSum, vector< float > &requantizerGain) |
Adds one row in the MS SYSPOWER table. | |
void | addSysPowerSlice (unsigned int nRow, vector< int > &antennaId, vector< int > &spectralWindowId, vector< int > &feedId, vector< double > &time, vector< double > &interval, unsigned int numReceptor, vector< float > &switchedPowerDifference, vector< float > &switchedPowerSum, vector< float > &requantizerGain) |
void | end (double time_) |
ASDM2MSFiller (const string &name_, double creation_time_, bool withRadioMeters, bool complexData, bool withCompression, const string &telName, int intintmaxNumCorr, int maxNumChan, bool withCorrectedData=false) | |
~ASDM2MSFiller () | |
Destructor. | |
const casa::MeasurementSet * | ms () |
int | addAntenna (const string &name_, const string &station_, double lx_, double ly_, double lz_, double offset_x_, double offset_y_, double offset_z_, float dish_diam_) |
void | addData (bool complexData, vector< double > &time_, vector< int > &antennaId1_, vector< int > &antennaId2_, vector< int > &feedId1_, vector< int > &feedId2_, vector< int > &dataDescId_, int processorId_, vector< int > &fieldId_, vector< double > &interval_, vector< double > &exposure_, vector< double > &timeCentroid_, int scanNumber_, int arrayId_, int observationId_, vector< int > &stateId_, vector< double > &uvw_, vector< vector< unsigned int > > &dataShape_, vector< float * > &uncorrectedData_, vector< float * > &correctedData_, vector< unsigned int > &flag_) |
void | addData (bool complexData, vector< double > &time_, vector< int > &antennaId1_, vector< int > &antennaId2_, vector< int > &feedId1_, vector< int > &feedId2_, vector< int > &dataDescId_, int processorId_, vector< int > &fieldId_, vector< double > &interval_, vector< double > &exposure_, vector< double > &timeCentroid_, int scanNumber_, int arrayId_, int observationId_, vector< int > &stateId_, vector< double > &uvw_, vector< vector< unsigned int > > &dataShape_, vector< float * > &data_, vector< unsigned int > &flag_) |
int | addDataDescription (int spectral_window_id_, int polarizarion_id_) |
int | addUniqueDataDescription (int spectral_window_id_, int polarizarion_id_) |
int | exists (char *path) |
String | msPath () |
void | addFeed (int antenna_id_, int feed_id_, int spectral_window_id_, double time_, double interval_, int num_receptors_, int beam_id_, vector< double > &beam_offset_, vector< std::string > &pol_type_, vector< std::complex< float > > &polarization_response_, vector< double > &position_, vector< double > &receptor_angle_) |
void | addField (const string &name_, const string &code_, double time_, vector< double > &delay_dir_, vector< double > &phase_dir_, vector< double > &reference_dir_, const string &direction_code_, int source_id_) |
void | addFlagCmd (double time_, double interval_, const string &type_, const string &reason_, int level_, int severity_, int applied_, string &command_) |
void | addHistory (double time_, int observation_id_, const string &message_, const string &priority_, const string &origin_, int object_id_, const string &application_, const string &cli_command_, const string &app_parms_) |
void | addObservation (const string &telescopeName_, double startTime_, double endTime_, const string &observer_, const vector< string > &log_, const string &schedule_type_, const vector< string > &schedule_, const string &project_, double release_date_) |
void | addPointingSlice (unsigned int n_row_, vector< int > &antenna_id_, vector< double > &time_, vector< double > &interval_, vector< double > &direction_, vector< double > &target_, vector< double > &pointing_offset_, vector< double > &encoder_, vector< bool > &tracking_, bool overTheTopExists4All_, vector< bool > &v_overTheTop_, vector< s_overTheTop > &v_s_overTheTop_) |
int | addPolarization (int num_corr_, vector< int > &corr_type_, vector< int > &corr_product_) |
int | addUniquePolarization (int num_corr_, const vector< int > &corr_type_, const vector< int > &corr_product_) |
void | addProcessor (string &type_, string &sub_type_, int type_id_, int mode_id_) |
void | addSource (int source_id_, double time_, double interval_, int spectral_window_id_, int num_lines_, string &name_, int calibration_group_, string &code_, vector< double > &direction_, string &direction_code_, vector< double > &position_, vector< double > &proper_motion_, vector< string > &transition_, vector< double > &rest_frequency_, vector< double > &sysvel_) |
int | addSpectralWindow (int num_chan_, const string &name_, double ref_frequency_, const vector< double > &chan_freq_, const vector< double > &chan_width_, int meas_freq_ref_, const vector< double > &effective_bw_, const vector< double > &resolution_, double total_bandwidth_, int net_sideband_, int bbc_no_, int if_conv_chain_, int freq_group_, const string &freq_group_name_, int num_assoc_, const vector< int > &assoc_sp_id_, const vector< string > &assoc_nature_) |
int | addUniqueState (bool sig_, bool ref_, double cal_, double load_, unsigned int sub_scan_, string &obs_mode_, bool flag_row_) |
void | addState (bool sig_, bool ref_, double cal_, double load_, int sub_scan_, string &obs_mode_) |
void | addSysCal (int antenna_id, int feed_id, int spectral_window_id, double time_, double interval_, int numReceptor_, int numChan_, pair< bool, vector< float > > &tcal_spectrum_pair, pair< bool, bool > &tcal_flag_pair, pair< bool, vector< float > > &trx_spectrum_pair, pair< bool, bool > &trx_flag_pair, pair< bool, vector< float > > &tsky_spectrum_pair, pair< bool, bool > &tsky_flag_pair, pair< bool, vector< float > > &tsys_spectrum_pair, pair< bool, bool > &tsys_flag_pair, pair< bool, vector< float > > &tant_spectrum_pair, pair< bool, bool > &tant_flag_pair, pair< bool, vector< float > > &tant_tsys_spectrum_pair, pair< bool, bool > &tant_tsys_flag_pair) |
void | addWeather (int antenna_id_, double time_, double interval_, const pair< bool, float > &pressure_opt_, const pair< bool, float > &relHumidity_opt_, const pair< bool, float > &temperature_opt_, const pair< bool, float > &windDirection_opt_, const pair< bool, float > &windSpeed_opt_, const pair< bool, float > &dewPoint_opt_, int wx_station_id_, vector< double > &wx_station_position_) |
void | addCalDevice (int antennaId, int feedId, int spectralWindowId, double time, double interval, unsigned int numCalLoad, vector< string > calloadNames, unsigned int numReceptor, vector< vector< float > > &calEff, vector< vector< float > > &noiseCal, vector< double > &temperatureLoad) |
Add one row in the MS CALDEVICE table. | |
void | addSysPower (int antennaId, int feedId, int spectralWindowId, double time, double interval, unsigned int numReceptor, vector< float > &switchedPowerDifference, vector< float > &switchedPowerSum, vector< float > &requantizerGain) |
Adds one row in the MS SYSPOWER table. | |
void | addSysPowerSlice (unsigned int nRow, vector< int > &antennaId, vector< int > &spectralWindowId, vector< int > &feedId, vector< double > &time, vector< double > &interval, unsigned int numReceptor, vector< float > &switchedPowerDifference, vector< float > &switchedPowerSum, vector< float > &requantizerGain) |
void | end (double time_) |
ASDM2MSFiller (const string &name_, double creation_time_, bool withRadioMeters, bool complexData, bool withCompression, const string &telName, int intintmaxNumCorr, int maxNumChan, bool withCorrectedData=false) | |
~ASDM2MSFiller () | |
Destructor. | |
const casa::MeasurementSet * | ms () |
int | addAntenna (const string &name_, const string &station_, double lx_, double ly_, double lz_, double offset_x_, double offset_y_, double offset_z_, float dish_diam_) |
void | addData (bool complexData, vector< double > &time_, vector< int > &antennaId1_, vector< int > &antennaId2_, vector< int > &feedId1_, vector< int > &feedId2_, vector< int > &dataDescId_, int processorId_, vector< int > &fieldId_, vector< double > &interval_, vector< double > &exposure_, vector< double > &timeCentroid_, int scanNumber_, int arrayId_, int observationId_, vector< int > &stateId_, vector< double > &uvw_, vector< vector< unsigned int > > &dataShape_, vector< float * > &uncorrectedData_, vector< float * > &correctedData_, vector< unsigned int > &flag_) |
void | addData (bool complexData, vector< double > &time_, vector< int > &antennaId1_, vector< int > &antennaId2_, vector< int > &feedId1_, vector< int > &feedId2_, vector< int > &dataDescId_, int processorId_, vector< int > &fieldId_, vector< double > &interval_, vector< double > &exposure_, vector< double > &timeCentroid_, int scanNumber_, int arrayId_, int observationId_, vector< int > &stateId_, vector< double > &uvw_, vector< vector< unsigned int > > &dataShape_, vector< float * > &data_, vector< unsigned int > &flag_) |
int | addDataDescription (int spectral_window_id_, int polarizarion_id_) |
int | addUniqueDataDescription (int spectral_window_id_, int polarizarion_id_) |
int | exists (char *path) |
String | msPath () |
void | addFeed (int antenna_id_, int feed_id_, int spectral_window_id_, double time_, double interval_, int num_receptors_, int beam_id_, vector< double > &beam_offset_, vector< std::string > &pol_type_, vector< std::complex< float > > &polarization_response_, vector< double > &position_, vector< double > &receptor_angle_) |
void | addField (const string &name_, const string &code_, double time_, vector< double > &delay_dir_, vector< double > &phase_dir_, vector< double > &reference_dir_, const string &direction_code_, int source_id_) |
void | addFlagCmd (double time_, double interval_, const string &type_, const string &reason_, int level_, int severity_, int applied_, string &command_) |
void | addHistory (double time_, int observation_id_, const string &message_, const string &priority_, const string &origin_, int object_id_, const string &application_, const string &cli_command_, const string &app_parms_) |
void | addObservation (const string &telescopeName_, double startTime_, double endTime_, const string &observer_, const vector< string > &log_, const string &schedule_type_, const vector< string > &schedule_, const string &project_, double release_date_) |
void | addPointingSlice (unsigned int n_row_, vector< int > &antenna_id_, vector< double > &time_, vector< double > &interval_, vector< double > &direction_, vector< double > &target_, vector< double > &pointing_offset_, vector< double > &encoder_, vector< bool > &tracking_, bool overTheTopExists4All_, vector< bool > &v_overTheTop_, vector< s_overTheTop > &v_s_overTheTop_) |
int | addPolarization (int num_corr_, vector< int > &corr_type_, vector< int > &corr_product_) |
int | addUniquePolarization (int num_corr_, const vector< int > &corr_type_, const vector< int > &corr_product_) |
void | addProcessor (string &type_, string &sub_type_, int type_id_, int mode_id_) |
void | addSource (int source_id_, double time_, double interval_, int spectral_window_id_, int num_lines_, string &name_, int calibration_group_, string &code_, vector< double > &direction_, string &direction_code_, vector< double > &position_, vector< double > &proper_motion_, vector< string > &transition_, vector< double > &rest_frequency_, vector< double > &sysvel_) |
int | addSpectralWindow (int num_chan_, const string &name_, double ref_frequency_, const vector< double > &chan_freq_, const vector< double > &chan_width_, int meas_freq_ref_, const vector< double > &effective_bw_, const vector< double > &resolution_, double total_bandwidth_, int net_sideband_, int bbc_no_, int if_conv_chain_, int freq_group_, const string &freq_group_name_, int num_assoc_, const vector< int > &assoc_sp_id_, const vector< string > &assoc_nature_) |
int | addUniqueState (bool sig_, bool ref_, double cal_, double load_, unsigned int sub_scan_, string &obs_mode_, bool flag_row_) |
void | addState (bool sig_, bool ref_, double cal_, double load_, int sub_scan_, string &obs_mode_) |
void | addSysCal (int antenna_id, int feed_id, int spectral_window_id, double time_, double interval_, int numReceptor_, int numChan_, pair< bool, vector< float > > &tcal_spectrum_pair, pair< bool, bool > &tcal_flag_pair, pair< bool, vector< float > > &trx_spectrum_pair, pair< bool, bool > &trx_flag_pair, pair< bool, vector< float > > &tsky_spectrum_pair, pair< bool, bool > &tsky_flag_pair, pair< bool, vector< float > > &tsys_spectrum_pair, pair< bool, bool > &tsys_flag_pair, pair< bool, vector< float > > &tant_spectrum_pair, pair< bool, bool > &tant_flag_pair, pair< bool, vector< float > > &tant_tsys_spectrum_pair, pair< bool, bool > &tant_tsys_flag_pair) |
void | addWeather (int antenna_id_, double time_, double interval_, const pair< bool, float > &pressure_opt_, const pair< bool, float > &relHumidity_opt_, const pair< bool, float > &temperature_opt_, const pair< bool, float > &windDirection_opt_, const pair< bool, float > &windSpeed_opt_, const pair< bool, float > &dewPoint_opt_, int wx_station_id_, vector< double > &wx_station_position_) |
void | addCalDevice (int antennaId, int feedId, int spectralWindowId, double time, double interval, unsigned int numCalLoad, vector< string > calloadNames, unsigned int numReceptor, vector< vector< float > > &calEff, vector< vector< float > > &noiseCal, vector< double > &temperatureLoad) |
Add one row in the MS CALDEVICE table. | |
void | addSysPower (int antennaId, int feedId, int spectralWindowId, double time, double interval, unsigned int numReceptor, vector< float > &switchedPowerDifference, vector< float > &switchedPowerSum, vector< float > &requantizerGain) |
Adds one row in the MS SYSPOWER table. | |
void | addSysPowerSlice (unsigned int nRow, vector< int > &antennaId, vector< int > &spectralWindowId, vector< int > &feedId, vector< double > &time, vector< double > &interval, unsigned int numReceptor, vector< float > &switchedPowerDifference, vector< float > &switchedPowerSum, vector< float > &requantizerGain) |
void | end (double time_) |
Private Member Functions | |
int | createMS (const string &msName, bool complexData, bool withCompression, const string &telName, int maxNumCorr, int maxNumChan, bool withCorrectedData=false, bool useAsdmStMan4DATA=false) |
const char ** | getPolCombinations (int numCorr) |
int | createMS (const string &msName, bool complexData, bool withCompression, const string &telName, int maxNumCorr, int maxNumChan, bool withCorrectedData=false) |
const char ** | getPolCombinations (int numCorr) |
int | createMS (const string &msName, bool complexData, bool withCompression, const string &telName, int maxNumCorr, int maxNumChan, bool withCorrectedData=false) |
const char ** | getPolCombinations (int numCorr) |
Static Private Member Functions | |
static map< string, MDirection::Types > | string2MDirectionInit () |
static map< string, MDirection::Types > | string2MDirectionInit () |
static map< string, MDirection::Types > | string2MDirectionInit () |
Private Attributes | |
double | itsCreationTime |
const string | itsName |
int | itsNumAntenna |
int | itsNumChan |
int | itsNumCorr |
casa::MeasurementSet * | itsMS |
casa::MSMainColumns * | itsMSCol |
String | itsMSPath |
timeMgr * | itsFeedTimeMgr |
timeMgr * | itsFieldTimeMgr |
timeMgr * | itsObservationTimeMgr |
timeMgr * | itsPointingTimeMgr |
timeMgr * | itsSourceTimeMgr |
OrderedMap<int, timeMgr> itsSourceTimeMgr;. | |
timeMgr * | itsSyscalTimeMgr |
timeMgr * | itsWeatherTimeMgr |
Bool | itsWithRadioMeters |
Bool | itsFirstScan |
uInt | itsMSMainRow |
Block< IPosition > | itsDataShapes |
int | itsScanNumber |
int | itsNCat |
ddMgr | itsDDMgr |
Static Private Attributes | |
static map< string, MDirection::Types > | string2MDirection |
Class ASDM2MSFiller.
Definition at line 155 of file ASDM2MSFiller.h.
ASDM2MSFiller::ASDM2MSFiller | ( | const string & | name_, |
double | creation_time_, | ||
bool | withRadioMeters, | ||
bool | complexData, | ||
bool | withCompression, | ||
const string & | telName, | ||
int | intintmaxNumCorr, | ||
int | maxNumChan, | ||
bool | withCorrectedData = false , |
||
bool | useAsdmStMan4DATA = false |
||
) |
Destructor.
ASDM2MSFiller::ASDM2MSFiller | ( | const string & | name_, |
double | creation_time_, | ||
bool | withRadioMeters, | ||
bool | complexData, | ||
bool | withCompression, | ||
const string & | telName, | ||
int | intintmaxNumCorr, | ||
int | maxNumChan, | ||
bool | withCorrectedData = false |
||
) |
Destructor.
ASDM2MSFiller::ASDM2MSFiller | ( | const string & | name_, |
double | creation_time_, | ||
bool | withRadioMeters, | ||
bool | complexData, | ||
bool | withCompression, | ||
const string & | telName, | ||
int | intintmaxNumCorr, | ||
int | maxNumChan, | ||
bool | withCorrectedData = false |
||
) |
Destructor.
int ASDM2MSFiller::addAntenna | ( | const string & | name_, |
const string & | station_, | ||
double | lx_, | ||
double | ly_, | ||
double | lz_, | ||
double | offset_x_, | ||
double | offset_y_, | ||
double | offset_z_, | ||
float | dish_diam_ | ||
) |
int ASDM2MSFiller::addAntenna | ( | const string & | name_, |
const string & | station_, | ||
double | lx_, | ||
double | ly_, | ||
double | lz_, | ||
double | offset_x_, | ||
double | offset_y_, | ||
double | offset_z_, | ||
float | dish_diam_ | ||
) |
int ASDM2MSFiller::addAntenna | ( | const string & | name_, |
const string & | station_, | ||
double | lx_, | ||
double | ly_, | ||
double | lz_, | ||
double | offset_x_, | ||
double | offset_y_, | ||
double | offset_z_, | ||
float | dish_diam_ | ||
) |
void ASDM2MSFiller::addCalDevice | ( | int | antennaId, |
int | feedId, | ||
int | spectralWindowId, | ||
double | time, | ||
double | interval, | ||
unsigned int | numCalLoad, | ||
vector< string > | calloadNames, | ||
unsigned int | numReceptor, | ||
vector< vector< float > > & | calEff, | ||
vector< vector< float > > & | noiseCal, | ||
vector< double > & | temperatureLoad | ||
) |
Add one row in the MS CALDEVICE table.
antennaId | the index in the ANTENNA table of the antenna for which this row is defined. |
feedId | the index in the FEED table of the feeds for which this row is defined. |
spectralWindowId | the index in the SPECTRAL WINDOW table of the spectral window for which this row is defined. |
time | the midpoint time of measurement. |
interval | the interval of measurement. |
numCalload | the number of calibration loads. |
calLoadNames | a vector of strings. |
void ASDM2MSFiller::addCalDevice | ( | int | antennaId, |
int | feedId, | ||
int | spectralWindowId, | ||
double | time, | ||
double | interval, | ||
unsigned int | numCalLoad, | ||
vector< string > | calloadNames, | ||
unsigned int | numReceptor, | ||
vector< vector< float > > & | calEff, | ||
vector< vector< float > > & | noiseCal, | ||
vector< double > & | temperatureLoad | ||
) |
Add one row in the MS CALDEVICE table.
antennaId | the index in the ANTENNA table of the antenna for which this row is defined. |
feedId | the index in the FEED table of the feeds for which this row is defined. |
spectralWindowId | the index in the SPECTRAL WINDOW table of the spectral window for which this row is defined. |
time | the midpoint time of measurement. |
interval | the interval of measurement. |
numCalload | the number of calibration loads. |
calLoadNames | a vector of strings. |
void ASDM2MSFiller::addCalDevice | ( | int | antennaId, |
int | feedId, | ||
int | spectralWindowId, | ||
double | time, | ||
double | interval, | ||
unsigned int | numCalLoad, | ||
vector< string > | calloadNames, | ||
unsigned int | numReceptor, | ||
vector< vector< float > > & | calEff, | ||
vector< vector< float > > & | noiseCal, | ||
vector< double > & | temperatureLoad | ||
) |
Add one row in the MS CALDEVICE table.
antennaId | the index in the ANTENNA table of the antenna for which this row is defined. |
feedId | the index in the FEED table of the feeds for which this row is defined. |
spectralWindowId | the index in the SPECTRAL WINDOW table of the spectral window for which this row is defined. |
time | the midpoint time of measurement. |
interval | the interval of measurement. |
numCalload | the number of calibration loads. |
calLoadNames | a vector of strings. |
void ASDM2MSFiller::addData | ( | bool | complexData, |
vector< double > & | time_, | ||
vector< int > & | antennaId1_, | ||
vector< int > & | antennaId2_, | ||
vector< int > & | feedId1_, | ||
vector< int > & | feedId2_, | ||
vector< int > & | dataDescId_, | ||
int | processorId_, | ||
vector< int > & | fieldId_, | ||
vector< double > & | interval_, | ||
vector< double > & | exposure_, | ||
vector< double > & | timeCentroid_, | ||
int | scanNumber_, | ||
int | arrayId_, | ||
int | observationId_, | ||
vector< int > & | stateId_, | ||
vector< double > & | uvw_, | ||
vector< vector< unsigned int > > & | dataShape_, | ||
vector< float * > & | uncorrectedData_, | ||
vector< float * > & | correctedData_, | ||
vector< unsigned int > & | flag_ | ||
) |
void ASDM2MSFiller::addData | ( | bool | complexData, |
vector< double > & | time_, | ||
vector< int > & | antennaId1_, | ||
vector< int > & | antennaId2_, | ||
vector< int > & | feedId1_, | ||
vector< int > & | feedId2_, | ||
vector< int > & | dataDescId_, | ||
int | processorId_, | ||
vector< int > & | fieldId_, | ||
vector< double > & | interval_, | ||
vector< double > & | exposure_, | ||
vector< double > & | timeCentroid_, | ||
int | scanNumber_, | ||
int | arrayId_, | ||
int | observationId_, | ||
vector< int > & | stateId_, | ||
vector< double > & | uvw_, | ||
vector< vector< unsigned int > > & | dataShape_, | ||
vector< float * > & | uncorrectedData_, | ||
vector< float * > & | correctedData_, | ||
vector< unsigned int > & | flag_ | ||
) |
void ASDM2MSFiller::addData | ( | bool | complexData, |
vector< double > & | time_, | ||
vector< int > & | antennaId1_, | ||
vector< int > & | antennaId2_, | ||
vector< int > & | feedId1_, | ||
vector< int > & | feedId2_, | ||
vector< int > & | dataDescId_, | ||
int | processorId_, | ||
int | fieldId_, | ||
vector< double > & | interval_, | ||
vector< double > & | exposure_, | ||
vector< double > & | timeCentroid_, | ||
int | scanNumber_, | ||
int | arrayId_, | ||
int | observationId_, | ||
vector< int > & | stateId_, | ||
vector< pair< int, int > > & | nChanNPol_, | ||
vector< double > & | uvw_ | ||
) |
void ASDM2MSFiller::addData | ( | bool | complexData, |
vector< double > & | time_, | ||
vector< int > & | antennaId1_, | ||
vector< int > & | antennaId2_, | ||
vector< int > & | feedId1_, | ||
vector< int > & | feedId2_, | ||
vector< int > & | dataDescId_, | ||
int | processorId_, | ||
vector< int > & | fieldId_, | ||
vector< double > & | interval_, | ||
vector< double > & | exposure_, | ||
vector< double > & | timeCentroid_, | ||
int | scanNumber_, | ||
int | arrayId_, | ||
int | observationId_, | ||
vector< int > & | stateId_, | ||
vector< double > & | uvw_, | ||
vector< vector< unsigned int > > & | dataShape_, | ||
vector< float * > & | data_, | ||
vector< unsigned int > & | flag_ | ||
) |
void ASDM2MSFiller::addData | ( | bool | complexData, |
vector< double > & | time_, | ||
vector< int > & | antennaId1_, | ||
vector< int > & | antennaId2_, | ||
vector< int > & | feedId1_, | ||
vector< int > & | feedId2_, | ||
vector< int > & | dataDescId_, | ||
int | processorId_, | ||
vector< int > & | fieldId_, | ||
vector< double > & | interval_, | ||
vector< double > & | exposure_, | ||
vector< double > & | timeCentroid_, | ||
int | scanNumber_, | ||
int | arrayId_, | ||
int | observationId_, | ||
vector< int > & | stateId_, | ||
vector< double > & | uvw_, | ||
vector< vector< unsigned int > > & | dataShape_, | ||
vector< float * > & | data_, | ||
vector< unsigned int > & | flag_ | ||
) |
void ASDM2MSFiller::addData | ( | bool | complexData, |
vector< double > & | time_, | ||
vector< int > & | antennaId1_, | ||
vector< int > & | antennaId2_, | ||
vector< int > & | feedId1_, | ||
vector< int > & | feedId2_, | ||
vector< int > & | dataDescId_, | ||
int | processorId_, | ||
vector< int > & | fieldId_, | ||
vector< double > & | interval_, | ||
vector< double > & | exposure_, | ||
vector< double > & | timeCentroid_, | ||
int | scanNumber_, | ||
int | arrayId_, | ||
int | observationId_, | ||
vector< int > & | stateId_, | ||
vector< double > & | uvw_, | ||
vector< vector< unsigned int > > & | dataShape_, | ||
vector< float * > & | uncorrectedData_, | ||
vector< float * > & | correctedData_, | ||
vector< unsigned int > & | flag_ | ||
) |
void ASDM2MSFiller::addData | ( | bool | complexData, |
vector< double > & | time_, | ||
vector< int > & | antennaId1_, | ||
vector< int > & | antennaId2_, | ||
vector< int > & | feedId1_, | ||
vector< int > & | feedId2_, | ||
vector< int > & | dataDescId_, | ||
int | processorId_, | ||
vector< int > & | fieldId_, | ||
vector< double > & | interval_, | ||
vector< double > & | exposure_, | ||
vector< double > & | timeCentroid_, | ||
int | scanNumber_, | ||
int | arrayId_, | ||
int | observationId_, | ||
vector< int > & | stateId_, | ||
vector< double > & | uvw_, | ||
vector< vector< unsigned int > > & | dataShape_, | ||
vector< float * > & | data_, | ||
vector< unsigned int > & | flag_ | ||
) |
int ASDM2MSFiller::addDataDescription | ( | int | spectral_window_id_, |
int | polarizarion_id_ | ||
) |
int ASDM2MSFiller::addDataDescription | ( | int | spectral_window_id_, |
int | polarizarion_id_ | ||
) |
int ASDM2MSFiller::addDataDescription | ( | int | spectral_window_id_, |
int | polarizarion_id_ | ||
) |
void ASDM2MSFiller::addFeed | ( | int | antenna_id_, |
int | feed_id_, | ||
int | spectral_window_id_, | ||
double | time_, | ||
double | interval_, | ||
int | num_receptors_, | ||
int | beam_id_, | ||
vector< double > & | beam_offset_, | ||
vector< std::string > & | pol_type_, | ||
vector< std::complex< float > > & | polarization_response_, | ||
vector< double > & | position_, | ||
vector< double > & | receptor_angle_ | ||
) |
void ASDM2MSFiller::addFeed | ( | int | antenna_id_, |
int | feed_id_, | ||
int | spectral_window_id_, | ||
double | time_, | ||
double | interval_, | ||
int | num_receptors_, | ||
int | beam_id_, | ||
vector< double > & | beam_offset_, | ||
vector< std::string > & | pol_type_, | ||
vector< std::complex< float > > & | polarization_response_, | ||
vector< double > & | position_, | ||
vector< double > & | receptor_angle_ | ||
) |
void ASDM2MSFiller::addFeed | ( | int | antenna_id_, |
int | feed_id_, | ||
int | spectral_window_id_, | ||
double | time_, | ||
double | interval_, | ||
int | num_receptors_, | ||
int | beam_id_, | ||
vector< double > & | beam_offset_, | ||
vector< std::string > & | pol_type_, | ||
vector< std::complex< float > > & | polarization_response_, | ||
vector< double > & | position_, | ||
vector< double > & | receptor_angle_ | ||
) |
void ASDM2MSFiller::addField | ( | const string & | name_, |
const string & | code_, | ||
double | time_, | ||
vector< double > & | delay_dir_, | ||
vector< double > & | phase_dir_, | ||
vector< double > & | reference_dir_, | ||
const string & | direction_code_, | ||
int | source_id_ | ||
) |
void ASDM2MSFiller::addField | ( | const string & | name_, |
const string & | code_, | ||
double | time_, | ||
vector< double > & | delay_dir_, | ||
vector< double > & | phase_dir_, | ||
vector< double > & | reference_dir_, | ||
const string & | direction_code_, | ||
int | source_id_ | ||
) |
void ASDM2MSFiller::addField | ( | const string & | name_, |
const string & | code_, | ||
double | time_, | ||
int | num_poly_, | ||
vector< vector< double > > & | delay_dir_, | ||
vector< vector< double > > & | phase_dir_, | ||
vector< vector< double > > & | reference_dir_, | ||
const string & | direction_code_, | ||
int | source_id_ | ||
) |
void ASDM2MSFiller::addFlagCmd | ( | double | time_, |
double | interval_, | ||
const string & | type_, | ||
const string & | reason_, | ||
int | level_, | ||
int | severity_, | ||
int | applied_, | ||
string & | command_ | ||
) |
void ASDM2MSFiller::addFlagCmd | ( | double | time_, |
double | interval_, | ||
const string & | type_, | ||
const string & | reason_, | ||
int | level_, | ||
int | severity_, | ||
int | applied_, | ||
string & | command_ | ||
) |
void ASDM2MSFiller::addFlagCmd | ( | double | time_, |
double | interval_, | ||
const string & | type_, | ||
const string & | reason_, | ||
int | level_, | ||
int | severity_, | ||
int | applied_, | ||
string & | command_ | ||
) |
void ASDM2MSFiller::addHistory | ( | double | time_, |
int | observation_id_, | ||
const string & | message_, | ||
const string & | priority_, | ||
const string & | origin_, | ||
int | object_id_, | ||
const string & | application_, | ||
const string & | cli_command_, | ||
const string & | app_parms_ | ||
) |
void ASDM2MSFiller::addHistory | ( | double | time_, |
int | observation_id_, | ||
const string & | message_, | ||
const string & | priority_, | ||
const string & | origin_, | ||
int | object_id_, | ||
const string & | application_, | ||
const string & | cli_command_, | ||
const string & | app_parms_ | ||
) |
void ASDM2MSFiller::addHistory | ( | double | time_, |
int | observation_id_, | ||
const string & | message_, | ||
const string & | priority_, | ||
const string & | origin_, | ||
int | object_id_, | ||
const string & | application_, | ||
const string & | cli_command_, | ||
const string & | app_parms_ | ||
) |
void ASDM2MSFiller::addObservation | ( | const string & | telescopeName_, |
double | startTime_, | ||
double | endTime_, | ||
const string & | observer_, | ||
const vector< string > & | log_, | ||
const string & | schedule_type_, | ||
const vector< string > & | schedule_, | ||
const string & | project_, | ||
double | release_date_ | ||
) |
void ASDM2MSFiller::addObservation | ( | const string & | telescopeName_, |
double | startTime_, | ||
double | endTime_, | ||
const string & | observer_, | ||
const vector< string > & | log_, | ||
const string & | schedule_type_, | ||
const vector< string > & | schedule_, | ||
const string & | project_, | ||
double | release_date_ | ||
) |
void ASDM2MSFiller::addObservation | ( | const string & | telescopeName_, |
double | startTime_, | ||
double | endTime_, | ||
const string & | observer_, | ||
const vector< string > & | log_, | ||
const string & | schedule_type_, | ||
const vector< string > & | schedule_, | ||
const string & | project_, | ||
double | release_date_ | ||
) |
void ASDM2MSFiller::addPointingSlice | ( | unsigned int | n_row_, |
vector< int > & | antenna_id_, | ||
vector< double > & | time_, | ||
vector< double > & | interval_, | ||
vector< double > & | direction_, | ||
vector< double > & | target_, | ||
vector< double > & | pointing_offset_, | ||
vector< double > & | encoder_, | ||
vector< bool > & | tracking_, | ||
bool | overTheTopExists4All_, | ||
vector< bool > & | v_overTheTop_, | ||
vector< s_overTheTop > & | v_s_overTheTop_ | ||
) |
void ASDM2MSFiller::addPointingSlice | ( | unsigned int | n_row_, |
vector< int > & | antenna_id_, | ||
vector< double > & | time_, | ||
vector< double > & | interval_, | ||
vector< double > & | direction_, | ||
vector< double > & | target_, | ||
vector< double > & | pointing_offset_, | ||
vector< double > & | encoder_, | ||
vector< bool > & | tracking_, | ||
bool | overTheTopExists4All_, | ||
vector< bool > & | v_overTheTop_, | ||
vector< s_overTheTop > & | v_s_overTheTop_ | ||
) |
void ASDM2MSFiller::addPointingSlice | ( | unsigned int | n_row_, |
vector< int > & | antenna_id_, | ||
vector< double > & | time_, | ||
vector< double > & | interval_, | ||
vector< double > & | direction_, | ||
vector< double > & | target_, | ||
vector< double > & | pointing_offset_, | ||
vector< double > & | encoder_, | ||
vector< bool > & | tracking_, | ||
bool | overTheTopExists4All_, | ||
vector< bool > & | v_overTheTop_, | ||
vector< s_overTheTop > & | v_s_overTheTop_ | ||
) |
int ASDM2MSFiller::addPolarization | ( | int | num_corr_, |
vector< int > & | corr_type_, | ||
vector< int > & | corr_product_ | ||
) |
int ASDM2MSFiller::addPolarization | ( | int | num_corr_, |
vector< int > & | corr_type_, | ||
vector< int > & | corr_product_ | ||
) |
int ASDM2MSFiller::addPolarization | ( | int | num_corr_, |
vector< int > & | corr_type_, | ||
vector< int > & | corr_product_ | ||
) |
void ASDM2MSFiller::addProcessor | ( | string & | type_, |
string & | sub_type_, | ||
int | type_id_, | ||
int | mode_id_ | ||
) |
void ASDM2MSFiller::addProcessor | ( | string & | type_, |
string & | sub_type_, | ||
int | type_id_, | ||
int | mode_id_ | ||
) |
void ASDM2MSFiller::addProcessor | ( | string & | type_, |
string & | sub_type_, | ||
int | type_id_, | ||
int | mode_id_ | ||
) |
void ASDM2MSFiller::addSource | ( | int | source_id_, |
double | time_, | ||
double | interval_, | ||
int | spectral_window_id_, | ||
int | num_lines_, | ||
string & | name_, | ||
int | calibration_group_, | ||
string & | code_, | ||
vector< double > & | direction_, | ||
string & | direction_code_, | ||
vector< double > & | position_, | ||
vector< double > & | proper_motion_, | ||
vector< string > & | transition_, | ||
vector< double > & | rest_frequency_, | ||
vector< double > & | sysvel_ | ||
) |
void ASDM2MSFiller::addSource | ( | int | source_id_, |
double | time_, | ||
double | interval_, | ||
int | spectral_window_id_, | ||
int | num_lines_, | ||
string & | name_, | ||
int | calibration_group_, | ||
string & | code_, | ||
vector< double > & | direction_, | ||
string & | direction_code_, | ||
vector< double > & | position_, | ||
vector< double > & | proper_motion_, | ||
vector< string > & | transition_, | ||
vector< double > & | rest_frequency_, | ||
vector< double > & | sysvel_ | ||
) |
void ASDM2MSFiller::addSource | ( | int | source_id_, |
double | time_, | ||
double | interval_, | ||
int | spectral_window_id_, | ||
int | num_lines_, | ||
string & | name_, | ||
int | calibration_group_, | ||
string & | code_, | ||
vector< double > & | direction_, | ||
string & | direction_code_, | ||
vector< double > & | position_, | ||
vector< double > & | proper_motion_, | ||
vector< string > & | transition_, | ||
vector< double > & | rest_frequency_, | ||
vector< double > & | sysvel_ | ||
) |
int ASDM2MSFiller::addSpectralWindow | ( | int | num_chan_, |
const string & | name_, | ||
double | ref_frequency_, | ||
const vector< double > & | chan_freq_, | ||
const vector< double > & | chan_width_, | ||
int | meas_freq_ref_, | ||
const vector< double > & | effective_bw_, | ||
const vector< double > & | resolution_, | ||
double | total_bandwidth_, | ||
int | net_sideband_, | ||
int | bbc_no_, | ||
int | if_conv_chain_, | ||
int | freq_group_, | ||
const string & | freq_group_name_, | ||
int | num_assoc_, | ||
const vector< int > & | assoc_sp_id_, | ||
const vector< string > & | assoc_nature_ | ||
) |
int ASDM2MSFiller::addSpectralWindow | ( | int | num_chan_, |
const string & | name_, | ||
double | ref_frequency_, | ||
const vector< double > & | chan_freq_, | ||
const vector< double > & | chan_width_, | ||
int | meas_freq_ref_, | ||
const vector< double > & | effective_bw_, | ||
const vector< double > & | resolution_, | ||
double | total_bandwidth_, | ||
int | net_sideband_, | ||
int | bbc_no_, | ||
int | if_conv_chain_, | ||
int | freq_group_, | ||
const string & | freq_group_name_, | ||
int | num_assoc_, | ||
const vector< int > & | assoc_sp_id_, | ||
const vector< string > & | assoc_nature_ | ||
) |
int ASDM2MSFiller::addSpectralWindow | ( | int | num_chan_, |
const string & | name_, | ||
double | ref_frequency_, | ||
const vector< double > & | chan_freq_, | ||
const vector< double > & | chan_width_, | ||
int | meas_freq_ref_, | ||
const vector< double > & | effective_bw_, | ||
const vector< double > & | resolution_, | ||
double | total_bandwidth_, | ||
int | net_sideband_, | ||
int | bbc_no_, | ||
int | if_conv_chain_, | ||
int | freq_group_, | ||
const string & | freq_group_name_, | ||
int | num_assoc_, | ||
const vector< int > & | assoc_sp_id_, | ||
const vector< string > & | assoc_nature_ | ||
) |
void ASDM2MSFiller::addState | ( | bool | sig_, |
bool | ref_, | ||
double | cal_, | ||
double | load_, | ||
int | sub_scan_, | ||
string & | obs_mode_ | ||
) |
void ASDM2MSFiller::addState | ( | bool | sig_, |
bool | ref_, | ||
double | cal_, | ||
double | load_, | ||
int | sub_scan_, | ||
string & | obs_mode_ | ||
) |
void ASDM2MSFiller::addState | ( | bool | sig_, |
bool | ref_, | ||
double | cal_, | ||
double | load_, | ||
int | sub_scan_, | ||
string & | obs_mode_ | ||
) |
void ASDM2MSFiller::addSysCal | ( | int | antenna_id, |
int | feed_id, | ||
int | spectral_window_id, | ||
double | time_, | ||
double | interval_, | ||
int | numReceptor_, | ||
int | numChan_, | ||
pair< bool, vector< float > > & | tcal_spectrum_pair, | ||
pair< bool, bool > & | tcal_flag_pair, | ||
pair< bool, vector< float > > & | trx_spectrum_pair, | ||
pair< bool, bool > & | trx_flag_pair, | ||
pair< bool, vector< float > > & | tsky_spectrum_pair, | ||
pair< bool, bool > & | tsky_flag_pair, | ||
pair< bool, vector< float > > & | tsys_spectrum_pair, | ||
pair< bool, bool > & | tsys_flag_pair, | ||
pair< bool, vector< float > > & | tant_spectrum_pair, | ||
pair< bool, bool > & | tant_flag_pair, | ||
pair< bool, vector< float > > & | tant_tsys_spectrum_pair, | ||
pair< bool, bool > & | tant_tsys_flag_pair | ||
) |
void ASDM2MSFiller::addSysCal | ( | int | antenna_id, |
int | feed_id, | ||
int | spectral_window_id, | ||
double | time_, | ||
double | interval_, | ||
int | numReceptor_, | ||
int | numChan_, | ||
pair< bool, vector< float > > & | tcal_spectrum_pair, | ||
pair< bool, bool > & | tcal_flag_pair, | ||
pair< bool, vector< float > > & | trx_spectrum_pair, | ||
pair< bool, bool > & | trx_flag_pair, | ||
pair< bool, vector< float > > & | tsky_spectrum_pair, | ||
pair< bool, bool > & | tsky_flag_pair, | ||
pair< bool, vector< float > > & | tsys_spectrum_pair, | ||
pair< bool, bool > & | tsys_flag_pair, | ||
pair< bool, vector< float > > & | tant_spectrum_pair, | ||
pair< bool, bool > & | tant_flag_pair, | ||
pair< bool, vector< float > > & | tant_tsys_spectrum_pair, | ||
pair< bool, bool > & | tant_tsys_flag_pair | ||
) |
void ASDM2MSFiller::addSysCal | ( | int | antenna_id, |
int | feed_id, | ||
int | spectral_window_id, | ||
double | time_, | ||
double | interval_, | ||
int | numReceptor_, | ||
int | numChan_, | ||
pair< bool, vector< float > > & | tcal_spectrum_pair, | ||
pair< bool, bool > & | tcal_flag_pair, | ||
pair< bool, vector< float > > & | trx_spectrum_pair, | ||
pair< bool, bool > & | trx_flag_pair, | ||
pair< bool, vector< float > > & | tsky_spectrum_pair, | ||
pair< bool, bool > & | tsky_flag_pair, | ||
pair< bool, vector< float > > & | tsys_spectrum_pair, | ||
pair< bool, bool > & | tsys_flag_pair, | ||
pair< bool, vector< float > > & | tant_spectrum_pair, | ||
pair< bool, bool > & | tant_flag_pair, | ||
pair< bool, vector< float > > & | tant_tsys_spectrum_pair, | ||
pair< bool, bool > & | tant_tsys_flag_pair | ||
) |
void ASDM2MSFiller::addSysPower | ( | int | antennaId, |
int | feedId, | ||
int | spectralWindowId, | ||
double | time, | ||
double | interval, | ||
unsigned int | numReceptor, | ||
vector< float > & | switchedPowerDifference, | ||
vector< float > & | switchedPowerSum, | ||
vector< float > & | requantizerGain | ||
) |
Adds one row in the MS SYSPOWER table.
antennaId | the index in the ANTENNA table of the antenna for which this row is defined. |
feedId | the index in the FEED table of the feeds for which this row is defined. |
spectralWindowId | the index in the SPECTRAL WINDOW table of the spectral window for which this row is defined. |
time | the midpoint time of measurement. |
interval | the interval of measurement. |
numReceptor | a null value will be interpreted as "all the optional attributes" are absent, otherwise it will be considered as as the number of useful values to read in the next three vectors. More precisely, for any of the parameters switchedPowerDifference, switchedPowerSum and requantizedGain, if its size is null then the parameter is considered as "absent" and ignored otherwise its first numReceptor values will be copied into the MS CalDevice table corresponding field. If the size of one the parameters is not null but smaller than numReceptor then the code will crash miserably. |
switchedPowerDifference | a vector of float numbers containing the switched power differences in its numReceptor first elements on the basis of one value per receptor. If the size of the vector is null then it'll be ignored. |
switchedPowerSum | a vector of float numbers containing the switched power sums in its numReceptor first elements on the basis of one value per receptor. If the size of the vector is null then it'll be ignored. |
temperatureLoad | a vector of float number containing the requantizer gains on the basis of one value per receptor. If the size of the vector is null then it'll be ignored. |
void ASDM2MSFiller::addSysPower | ( | int | antennaId, |
int | feedId, | ||
int | spectralWindowId, | ||
double | time, | ||
double | interval, | ||
unsigned int | numReceptor, | ||
vector< float > & | switchedPowerDifference, | ||
vector< float > & | switchedPowerSum, | ||
vector< float > & | requantizerGain | ||
) |
Adds one row in the MS SYSPOWER table.
antennaId | the index in the ANTENNA table of the antenna for which this row is defined. |
feedId | the index in the FEED table of the feeds for which this row is defined. |
spectralWindowId | the index in the SPECTRAL WINDOW table of the spectral window for which this row is defined. |
time | the midpoint time of measurement. |
interval | the interval of measurement. |
numReceptor | a null value will be interpreted as "all the optional attributes" are absent, otherwise it will be considered as as the number of useful values to read in the next three vectors. More precisely, for any of the parameters switchedPowerDifference, switchedPowerSum and requantizedGain, if its size is null then the parameter is considered as "absent" and ignored otherwise its first numReceptor values will be copied into the MS CalDevice table corresponding field. If the size of one the parameters is not null but smaller than numReceptor then the code will crash miserably. |
switchedPowerDifference | a vector of float numbers containing the switched power differences in its numReceptor first elements on the basis of one value per receptor. If the size of the vector is null then it'll be ignored. |
switchedPowerSum | a vector of float numbers containing the switched power sums in its numReceptor first elements on the basis of one value per receptor. If the size of the vector is null then it'll be ignored. |
temperatureLoad | a vector of float number containing the requantizer gains on the basis of one value per receptor. If the size of the vector is null then it'll be ignored. |
void ASDM2MSFiller::addSysPower | ( | int | antennaId, |
int | feedId, | ||
int | spectralWindowId, | ||
double | time, | ||
double | interval, | ||
unsigned int | numReceptor, | ||
vector< float > & | switchedPowerDifference, | ||
vector< float > & | switchedPowerSum, | ||
vector< float > & | requantizerGain | ||
) |
Adds one row in the MS SYSPOWER table.
antennaId | the index in the ANTENNA table of the antenna for which this row is defined. |
feedId | the index in the FEED table of the feeds for which this row is defined. |
spectralWindowId | the index in the SPECTRAL WINDOW table of the spectral window for which this row is defined. |
time | the midpoint time of measurement. |
interval | the interval of measurement. |
numReceptor | a null value will be interpreted as "all the optional attributes" are absent, otherwise it will be considered as as the number of useful values to read in the next three vectors. More precisely, for any of the parameters switchedPowerDifference, switchedPowerSum and requantizedGain, if its size is null then the parameter is considered as "absent" and ignored otherwise its first numReceptor values will be copied into the MS CalDevice table corresponding field. If the size of one the parameters is not null but smaller than numReceptor then the code will crash miserably. |
switchedPowerDifference | a vector of float numbers containing the switched power differences in its numReceptor first elements on the basis of one value per receptor. If the size of the vector is null then it'll be ignored. |
switchedPowerSum | a vector of float numbers containing the switched power sums in its numReceptor first elements on the basis of one value per receptor. If the size of the vector is null then it'll be ignored. |
temperatureLoad | a vector of float number containing the requantizer gains on the basis of one value per receptor. If the size of the vector is null then it'll be ignored. |
void ASDM2MSFiller::addSysPowerSlice | ( | unsigned int | nRow, |
vector< int > & | antennaId, | ||
vector< int > & | spectralWindowId, | ||
vector< int > & | feedId, | ||
vector< double > & | time, | ||
vector< double > & | interval, | ||
unsigned int | numReceptor, | ||
vector< float > & | switchedPowerDifference, | ||
vector< float > & | switchedPowerSum, | ||
vector< float > & | requantizerGain | ||
) |
void ASDM2MSFiller::addSysPowerSlice | ( | unsigned int | nRow, |
vector< int > & | antennaId, | ||
vector< int > & | spectralWindowId, | ||
vector< int > & | feedId, | ||
vector< double > & | time, | ||
vector< double > & | interval, | ||
unsigned int | numReceptor, | ||
vector< float > & | switchedPowerDifference, | ||
vector< float > & | switchedPowerSum, | ||
vector< float > & | requantizerGain | ||
) |
void ASDM2MSFiller::addSysPowerSlice | ( | unsigned int | nRow, |
vector< int > & | antennaId, | ||
vector< int > & | spectralWindowId, | ||
vector< int > & | feedId, | ||
vector< double > & | time, | ||
vector< double > & | interval, | ||
unsigned int | numReceptor, | ||
vector< float > & | switchedPowerDifference, | ||
vector< float > & | switchedPowerSum, | ||
vector< float > & | requantizerGain | ||
) |
int ASDM2MSFiller::addUniqueDataDescription | ( | int | spectral_window_id_, |
int | polarizarion_id_ | ||
) |
int ASDM2MSFiller::addUniqueDataDescription | ( | int | spectral_window_id_, |
int | polarizarion_id_ | ||
) |
int ASDM2MSFiller::addUniqueDataDescription | ( | int | spectral_window_id_, |
int | polarizarion_id_ | ||
) |
int ASDM2MSFiller::addUniquePolarization | ( | int | num_corr_, |
const vector< int > & | corr_type_, | ||
const vector< int > & | corr_product_ | ||
) |
corr_type_ | const vector<Stokes::StokesTypes>& corr_type_, |
int ASDM2MSFiller::addUniquePolarization | ( | int | num_corr_, |
const vector< int > & | corr_type_, | ||
const vector< int > & | corr_product_ | ||
) |
corr_type_ | const vector<Stokes::StokesTypes>& corr_type_, |
int ASDM2MSFiller::addUniquePolarization | ( | int | num_corr_, |
const vector< int > & | corr_type_, | ||
const vector< int > & | corr_product_ | ||
) |
corr_type_ | const vector<Stokes::StokesTypes>& corr_type_, |
int ASDM2MSFiller::addUniqueState | ( | bool | sig_, |
bool | ref_, | ||
double | cal_, | ||
double | load_, | ||
unsigned int | sub_scan_, | ||
string & | obs_mode_, | ||
bool | flag_row_ | ||
) |
int ASDM2MSFiller::addUniqueState | ( | bool | sig_, |
bool | ref_, | ||
double | cal_, | ||
double | load_, | ||
unsigned int | sub_scan_, | ||
string & | obs_mode_, | ||
bool | flag_row_ | ||
) |
int ASDM2MSFiller::addUniqueState | ( | bool | sig_, |
bool | ref_, | ||
double | cal_, | ||
double | load_, | ||
unsigned int | sub_scan_, | ||
string & | obs_mode_, | ||
bool | flag_row_ | ||
) |
void ASDM2MSFiller::addWeather | ( | int | antenna_id_, |
double | time_, | ||
double | interval_, | ||
const pair< bool, float > & | pressure_opt_, | ||
const pair< bool, float > & | relHumidity_opt_, | ||
const pair< bool, float > & | temperature_opt_, | ||
const pair< bool, float > & | windDirection_opt_, | ||
const pair< bool, float > & | windSpeed_opt_, | ||
const pair< bool, float > & | dewPoint_opt_, | ||
int | wx_station_id_, | ||
vector< double > & | wx_station_position_ | ||
) |
void ASDM2MSFiller::addWeather | ( | int | antenna_id_, |
double | time_, | ||
double | interval_, | ||
const pair< bool, float > & | pressure_opt_, | ||
const pair< bool, float > & | relHumidity_opt_, | ||
const pair< bool, float > & | temperature_opt_, | ||
const pair< bool, float > & | windDirection_opt_, | ||
const pair< bool, float > & | windSpeed_opt_, | ||
const pair< bool, float > & | dewPoint_opt_, | ||
int | wx_station_id_, | ||
vector< double > & | wx_station_position_ | ||
) |
void ASDM2MSFiller::addWeather | ( | int | antenna_id_, |
double | time_, | ||
double | interval_, | ||
const pair< bool, float > & | pressure_opt_, | ||
const pair< bool, float > & | relHumidity_opt_, | ||
const pair< bool, float > & | temperature_opt_, | ||
const pair< bool, float > & | windDirection_opt_, | ||
const pair< bool, float > & | windSpeed_opt_, | ||
const pair< bool, float > & | dewPoint_opt_, | ||
int | wx_station_id_, | ||
vector< double > & | wx_station_position_ | ||
) |
int ASDM2MSFiller::createMS | ( | const string & | msName, |
bool | complexData, | ||
bool | withCompression, | ||
const string & | telName, | ||
int | maxNumCorr, | ||
int | maxNumChan, | ||
bool | withCorrectedData = false |
||
) | [private] |
int ASDM2MSFiller::createMS | ( | const string & | msName, |
bool | complexData, | ||
bool | withCompression, | ||
const string & | telName, | ||
int | maxNumCorr, | ||
int | maxNumChan, | ||
bool | withCorrectedData = false |
||
) | [private] |
int ASDM2MSFiller::createMS | ( | const string & | msName, |
bool | complexData, | ||
bool | withCompression, | ||
const string & | telName, | ||
int | maxNumCorr, | ||
int | maxNumChan, | ||
bool | withCorrectedData = false , |
||
bool | useAsdmStMan4DATA = false |
||
) | [private] |
void ASDM2MSFiller::end | ( | double | time_ | ) |
void ASDM2MSFiller::end | ( | double | time_ | ) |
void ASDM2MSFiller::end | ( | double | time_ | ) |
int ASDM2MSFiller::exists | ( | char * | path | ) |
int ASDM2MSFiller::exists | ( | char * | path | ) |
int ASDM2MSFiller::exists | ( | char * | path | ) |
const char** ASDM2MSFiller::getPolCombinations | ( | int | numCorr | ) | [private] |
const char** ASDM2MSFiller::getPolCombinations | ( | int | numCorr | ) | [private] |
const char** ASDM2MSFiller::getPolCombinations | ( | int | numCorr | ) | [private] |
const casa::MeasurementSet* ASDM2MSFiller::ms | ( | ) |
const casa::MeasurementSet* ASDM2MSFiller::ms | ( | ) |
const casa::MeasurementSet* ASDM2MSFiller::ms | ( | ) |
static map<string, MDirection::Types> ASDM2MSFiller::string2MDirectionInit | ( | ) | [static, private] |
static map<string, MDirection::Types> ASDM2MSFiller::string2MDirectionInit | ( | ) | [static, private] |
static map<string, MDirection::Types> ASDM2MSFiller::string2MDirectionInit | ( | ) | [static, private] |
double ASDM2MSFiller::itsCreationTime [private] |
Definition at line 158 of file ASDM2MSFiller.h.
Block< IPosition > ASDM2MSFiller::itsDataShapes [private] |
Definition at line 187 of file ASDM2MSFiller.h.
ddMgr ASDM2MSFiller::itsDDMgr [private] |
Definition at line 192 of file ASDM2MSFiller.h.
timeMgr * ASDM2MSFiller::itsFeedTimeMgr [private] |
Definition at line 174 of file ASDM2MSFiller.h.
timeMgr * ASDM2MSFiller::itsFieldTimeMgr [private] |
Definition at line 175 of file ASDM2MSFiller.h.
Bool ASDM2MSFiller::itsFirstScan [private] |
Definition at line 184 of file ASDM2MSFiller.h.
casa::MeasurementSet * ASDM2MSFiller::itsMS [private] |
Definition at line 163 of file ASDM2MSFiller.h.
casa::MSMainColumns * ASDM2MSFiller::itsMSCol [private] |
Definition at line 164 of file ASDM2MSFiller.h.
uInt ASDM2MSFiller::itsMSMainRow [private] |
Definition at line 185 of file ASDM2MSFiller.h.
String ASDM2MSFiller::itsMSPath [private] |
Definition at line 173 of file ASDM2MSFiller.h.
const string ASDM2MSFiller::itsName [private] |
Definition at line 159 of file ASDM2MSFiller.h.
int ASDM2MSFiller::itsNCat [private] |
Definition at line 190 of file ASDM2MSFiller.h.
int ASDM2MSFiller::itsNumAntenna [private] |
Definition at line 160 of file ASDM2MSFiller.h.
int ASDM2MSFiller::itsNumChan [private] |
Definition at line 161 of file ASDM2MSFiller.h.
int ASDM2MSFiller::itsNumCorr [private] |
Definition at line 162 of file ASDM2MSFiller.h.
timeMgr * ASDM2MSFiller::itsObservationTimeMgr [private] |
Definition at line 176 of file ASDM2MSFiller.h.
timeMgr * ASDM2MSFiller::itsPointingTimeMgr [private] |
Definition at line 177 of file ASDM2MSFiller.h.
int ASDM2MSFiller::itsScanNumber [private] |
Definition at line 189 of file ASDM2MSFiller.h.
timeMgr * ASDM2MSFiller::itsSourceTimeMgr [private] |
OrderedMap<int, timeMgr> itsSourceTimeMgr;.
Definition at line 179 of file ASDM2MSFiller.h.
timeMgr * ASDM2MSFiller::itsSyscalTimeMgr [private] |
Definition at line 180 of file ASDM2MSFiller.h.
timeMgr * ASDM2MSFiller::itsWeatherTimeMgr [private] |
Definition at line 181 of file ASDM2MSFiller.h.
Bool ASDM2MSFiller::itsWithRadioMeters [private] |
Definition at line 183 of file ASDM2MSFiller.h.
static map< string, MDirection::Types > ASDM2MSFiller::string2MDirection [static, private] |
Definition at line 206 of file ASDM2MSFiller.h.