casa
$Rev:20696$
|
#include <MsPlotConvert.h>
Public Member Functions | |
MSPlotConvertHourangle (MSDerivedValues *derived, ROMSColumns *columns, Bool onXaxis) | |
Constructor. | |
~MSPlotConvertHourangle () | |
Destructor. | |
Double | Xconvert (Double x, Int row, Int tblNum) |
Conversion along the Xaxis. | |
Double | Yconvert (Double y, Int row, Int tblNum) |
Conversion along the Yaxis. | |
Protected Member Functions | |
Double | findValue (Double value, Int row) |
Private Attributes | |
Bool | convertOnX |
Variables. | |
MSDerivedValues * | itsMsDerived |
Int | curFieldId |
Int | lastFieldId |
Vector< Int > | itsFieldIds |
ROMSColumns * | itsColumns |
SLog * | log |
Message logger. | |
uInt | numPlotted |
A counter for messaging. | |
Static Private Attributes | |
static const String | clname |
Definition at line 510 of file MsPlotConvert.h.
casa::MSPlotConvertHourangle::MSPlotConvertHourangle | ( | MSDerivedValues * | derived, |
ROMSColumns * | columns, | ||
Bool | onXaxis | ||
) | [inline] |
Constructor.
Determine wether the converted value is along the x or y axis.
Store the data bits we need. We could get away with keeping less info around. It's the old speed versus space trade of.
Set the antenna info in the MS Derived
this is the average of all antennas. Use observatory position instead?
the following block is needed by parAngle()
Definition at line 514 of file MsPlotConvert.h.
References casa::ROMSColumns::antenna(), clname, convertOnX, casa::ROMSMainColumns::fieldId(), casa::SLog::FnEnter(), casa::SLog::FnExit(), casa::ROScalarColumn< T >::getColumn(), itsColumns, itsFieldIds, itsMsDerived, lastFieldId, log, casa::ROMSAntennaColumns::mount(), casa::ROMSAntennaColumns::nrow(), numPlotted, casa::MSDerivedValues::setAntennaMount(), casa::MSDerivedValues::setAntennas(), and casa::SLog::slog().
casa::MSPlotConvertHourangle::~MSPlotConvertHourangle | ( | ) | [inline] |
Destructor.
Definition at line 554 of file MsPlotConvert.h.
References clname, casa::SLog::FnEnter(), casa::SLog::FnExit(), and log.
itsMsDerived->hourAngle()/C::_2pi*Cday;
Definition at line 636 of file MsPlotConvert.h.
References casa::C::_2pi, CASA_MPC_DBG_FREQ, clname, curFieldId, casa::ROMSColumns::field(), casa::SLog::FnEnter(), casa::SLog::FnExit(), casa::ROScalarColumn< T >::getColumn(), casa::MSDerivedValues::hourAngle(), itsColumns, itsFieldIds, itsMsDerived, lastFieldId, log, numPlotted, casa::ROMSFieldColumns::numPoly(), casa::SLog::out(), casa::ROMSFieldColumns::phaseDirMeas(), casa::MSDerivedValues::setEpoch(), casa::MSDerivedValues::setFieldCenter(), casa::LogMessage::SEVERE, String, casa::vpf::toString(), casa::String::toString(), and casa::True.
Referenced by Xconvert(), and Yconvert().
Conversion along the Xaxis.
Should never get here, and exception occurs in logMessage()
Reimplemented from casa::TPConvertBase.
Definition at line 562 of file MsPlotConvert.h.
References CASA_MPC_DBG_FREQ, clname, convertOnX, casa::LogMessage::DEBUG1, findValue(), casa::SLog::FnEnter(), casa::SLog::FnExit(), itsFieldIds, log, casa::ArrayBase::nelements(), numPlotted, casa::SLog::out(), casa::LogMessage::SEVERE, String, casa::vpf::toString(), casa::String::toString(), and casa::True.
Conversion along the Yaxis.
Should never get here, and exception occurs in logMessage()
Reimplemented from casa::TPConvertBase.
Definition at line 599 of file MsPlotConvert.h.
References CASA_MPC_DBG_FREQ, clname, convertOnX, casa::LogMessage::DEBUG1, findValue(), casa::SLog::FnEnter(), casa::SLog::FnExit(), itsFieldIds, log, casa::ArrayBase::nelements(), numPlotted, casa::SLog::out(), casa::LogMessage::SEVERE, String, casa::vpf::toString(), casa::String::toString(), and casa::True.
const String casa::MSPlotConvertHourangle::clname [static, private] |
Definition at line 681 of file MsPlotConvert.h.
Referenced by findValue(), MSPlotConvertHourangle(), Xconvert(), Yconvert(), and ~MSPlotConvertHourangle().
Bool casa::MSPlotConvertHourangle::convertOnX [private] |
Variables.
Definition at line 673 of file MsPlotConvert.h.
Referenced by MSPlotConvertHourangle(), Xconvert(), and Yconvert().
Int casa::MSPlotConvertHourangle::curFieldId [private] |
Definition at line 675 of file MsPlotConvert.h.
Referenced by findValue().
Definition at line 677 of file MsPlotConvert.h.
Referenced by findValue(), and MSPlotConvertHourangle().
Vector<Int> casa::MSPlotConvertHourangle::itsFieldIds [private] |
Definition at line 676 of file MsPlotConvert.h.
Referenced by findValue(), MSPlotConvertHourangle(), Xconvert(), and Yconvert().
Definition at line 674 of file MsPlotConvert.h.
Referenced by findValue(), and MSPlotConvertHourangle().
Int casa::MSPlotConvertHourangle::lastFieldId [private] |
Definition at line 675 of file MsPlotConvert.h.
Referenced by findValue(), and MSPlotConvertHourangle().
SLog* casa::MSPlotConvertHourangle::log [private] |
Message logger.
Definition at line 680 of file MsPlotConvert.h.
Referenced by findValue(), MSPlotConvertHourangle(), Xconvert(), Yconvert(), and ~MSPlotConvertHourangle().
uInt casa::MSPlotConvertHourangle::numPlotted [private] |
A counter for messaging.
We really don't need to display millions of messages for debugging purposes. This seems to slow things down a lot if we do anyway -- even if they aren't printed to the logger.
Definition at line 686 of file MsPlotConvert.h.
Referenced by findValue(), MSPlotConvertHourangle(), Xconvert(), and Yconvert().