casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PlotMSConstants.h
Go to the documentation of this file.
1 //# PlotMSConstants.h: Constants and useful classes/methods for plotms.
2 //# Copyright (C) 2009
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be addressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //# $Id: $
27 #ifndef PLOTMSCONSTANTS_H_
28 #define PLOTMSCONSTANTS_H_
29 
30 #include <casa/Containers/Record.h>
32 
33 #include <map>
34 #include <vector>
35 
36 namespace casa {
37 
38 // Useful macros for defining enums. Although the two macros can be used
39 // separately, their intended use is for them to be used sequentially.
40 // Parameters:
41 // * NAME: name of the enum,
42 // * ALLMETHOD: name of the method that returns a std::vector of all defined members
43 // of the enum (also nALLMETHOD which returns the number of
44 // defined members in the enum),
45 // * ALLSTRMETHOD: name of the method that returns a std::vector of the string
46 // representation of all defined members of the enum,
47 // * CONVMETHOD: name of the method that converts between the enum and its
48 // casacore::String representation,
49 // * ... (__VA_ARGS__): list of enum methods for PMS_ENUM1 and list of
50 // their string representations for PMS_ENUM2. IMPORTANT:
51 // if both macros are used then the lists must be the same
52 // size and in the same order.
53 // <group>
54 #define PMS_ENUM1(NAME,ALLMETHOD,ALLSTRMETHOD,CONVMETHOD,...) \
55  enum NAME { \
56  __VA_ARGS__ \
57  }; \
58  \
59  static const std::vector< NAME >& ALLMETHOD () { \
60  static const NAME arr[] = { \
61  __VA_ARGS__ \
62  }; \
63  static const int count = sizeof(arr) / sizeof(arr[0]); \
64  static const std::vector< NAME > v(arr, &arr[count]); \
65  return v; \
66  } \
67  \
68  static unsigned int n##ALLMETHOD () { \
69  static unsigned int n = ALLMETHOD ().size(); \
70  return n; \
71  }
72 
73 #define PMS_ENUM2(NAME,ALLMETHOD,ALLSTRMETHOD,CONVMETHOD,...) \
74  static const std::vector<casacore::String>& ALLSTRMETHOD () { \
75  static const casacore::String arr[] = { \
76  __VA_ARGS__ \
77  }; \
78  static const int count = sizeof(arr) / sizeof(arr[0]); \
79  static const std::vector<casacore::String> v(arr, &arr[count]); \
80  return v; \
81  } \
82  \
83  static const casacore::String& CONVMETHOD ( NAME v) { \
84  return ALLSTRMETHOD ()[v]; } \
85  \
86  static const NAME & CONVMETHOD (const casacore::String& v, bool* ok = NULL) { \
87  const std::vector<casacore::String>& strs = ALLSTRMETHOD (); \
88  const std::vector< NAME >& enms = ALLMETHOD (); \
89  for(unsigned int i = 0; i < strs.size(); i++) { \
90  if(PMS::strEq(v, strs[i], true)) { \
91  if(ok != NULL) *ok = true; \
92  return enms[i]; \
93  } \
94  } \
95  if(ok != NULL) *ok = false; \
96  return enms[0]; \
97  }
98 // </group>
99 
100 
101 // Container class for useful constants/methods.
102 class PMS {
103 public:
104  // Enum for the axis choices that are available to be plotted. Used both
105  // by the user to select what to plot and by the cache loading system.
106  // **If these are changed, also update: xmlcasa/tasks/plotms.xml,
107  // xmlcasa/scripts/task_plotms.py.**
108  // <group>
109  PMS_ENUM1(Axis, axes, axesStrings, axis,
110  // Metadata
111  SCAN,FIELD,TIME,TIME_INTERVAL,
112  SPW,CHANNEL,FREQUENCY,VELOCITY,CORR,
113  ANTENNA1,ANTENNA2,BASELINE,ROW,
114  OBSERVATION,INTENT,FEED1,FEED2,
115  // Visibilities and flags
116  AMP,PHASE,REAL,IMAG,WT,WTxAMP,WTSP,
117  SIGMA, SIGMASP,
118  FLAG,FLAG_ROW,
119  // Observational geometry
120  UVDIST,UVDIST_L,U,V,W,UWAVE,VWAVE,WWAVE,
121  AZ0,EL0,HA0,PA0,
122  // Antenna-based
123  ANTENNA,AZIMUTH,ELEVATION,RA,DEC,
124  PARANG,
125  // Calibration
126  GAMP,GPHASE,GREAL,GIMAG,
127  DELAY,SWP,TSYS,OPAC, SNR, TEC, ANTPOS,
128  // Ephemeris
129  RADIAL_VELOCITY, RHO,
130  // Overlays
131  ATM, TSKY, IMAGESB,
132  // POLN only for plot axis labels, titles
133  POLN, NONE)
134 
136  // Metadata
137  "Scan","Field","Time","Interval",
138  "Spw","Channel","Frequency","Velocity","Corr",
139  "Antenna1","Antenna2","Baseline","Row",
140  "Observation", "Intent", "Feed1", "Feed2",
141  // Visibilities and flags
142  "Amp","Phase","Real","Imag","Wt","Wt*Amp","WtSp",
143  "Sigma", "SigmaSp", "Flag","FlagRow",
144  // Observational geometry
145  "UVdist","UVwave","U","V","W","Uwave","Vwave","Wwave",
147  // Antenna-based
148  "Antenna","Ant-Azimuth","Ant-Elevation","Ant-Ra","Ant-Dec","Ant-ParAngle",
149  // Calibration
150  "Gain Amp","Gain Phase","Gain Real","Gain Imag",
151  "Delay","SwPower","Tsys","Opac", "SNR", "TEC",
152  "Antenna Positions",
153  // Ephemeris
154  "Radial Velocity", "Distance (rho)",
155  "Atm Transmission", "Tsky", "Image Sideband",
156  "Poln", "None")
157  // </group>
158 
159  // Returns the axes scale for the given axis. Currently NORMAL unless the
160  // axis is TIME, in which case the scale is DATE_MJ_SEC.
161  static PlotAxisScale axisScale(Axis axis);
162 
163 
164  // Enum for the different data columns for data axes.
165  // **If these are changed, also update: xmlcasa/tasks/plotms.xml.**
166  // <group>
168  DATA, CORRECTED, MODEL, FLOAT_DATA, CORRMODEL_V, CORRMODEL_S,
169  DATAMODEL_V, DATAMODEL_S, CORR_DIV_MODEL_V, CORR_DIV_MODEL_S,
170  DATA_DIV_MODEL_V, DATA_DIV_MODEL_S)
171  PMS_ENUM2(DataColumn, dataColumns, dataColumnStrings, dataColumn,
172  "data", "corrected", "model", "float",
173  "corrected-model_vector", "corrected-model_scalar",
174  "data-model_vector", "data-model_scalar",
175  "corrected/model_vector", "corrected/model_scalar",
176  "data/model_vector", "data/model_scalar")
177  // </group>
178 
179  // Enum for the different coordinate systems for data axes.
180  // **If these are changed, also update: xmlcasa/tasks/plotms.xml.**
181  // <group>
184  PMS_ENUM2(CoordSystem, coordSystems, coordSystemStrings, coordSystem,
185  "AZELGEO", "ICRS", "J2000", "B1950", "GALACTIC")
186  // </group>
187  static const casacore::String & longitudeName(CoordSystem r);
188  static const casacore::String & latitudeName(CoordSystem r);
189  static AngleFormat angleFormat(Axis axis, CoordSystem ref);
193  };
194  static bool isDirectionComponent(Axis axis, DirectionComponent &dc);
196 
197 
198  // Enum for the different interpolation methods for data axes.
199  // **If these are changed, also update: xmlcasa/tasks/plotms.xml.**
200  // <group>
202  NEAREST, CUBIC_SPLINE)
204  "Nearest", "Cubic Spline")
205  // </group>
206 
207  // Returns whether or not the given axis needs the second data parameter to
208  // indicate which data column to use or not. Currently false except for
209  // AMP, PHASE, REAL, and IMAG.
210  static bool axisIsData(Axis axis);
211  static bool axisIsCalData(Axis axis);
212  // Cal table axes which need validation/slicing for poln selection
213  static bool axisNeedsCalSlice(Axis axis);
214  // Need datacolumn for averaging weight axes
215  static bool axisIsWeight(Axis axis);
216  // for loading conjugates and setting axis ranges
217  static bool axisIsUV(Axis axis);
218  static bool axisIsUVWave(Axis axis);
219  // for adjusting axis ranges
220  static bool axisIsOverlay(Axis axis);
221  // right ascension or declination
222  static bool axisIsRaDec(Axis axis);
223  static casacore::uInt axisScaleBase(Axis axis);
224 
225  // Enum for different axes types. Currently only used to display this
226  // information to the user in the GUI's cache tab.
227  // <group>
229  TBOOL, TINT, TFLOAT, TDOUBLE, TTIME)
230  PMS_ENUM2(AxisType, axesTypes, axesTypeStrings, axisType,
231  "boolean", "integer", "float", "double", "time")
232  //</group>
233 
234  // Returns the type for the given axis.
235  static AxisType axisType(Axis axis);
236 
237 
238  // Enum for different axes units. Currently only used in labels.
239  // <group>
240  PMS_ENUM1(AxisUnit, axesUnits, axesUnitStrings, axisUnit,
241  UNONE, UDATETIME, GHERTZ, METERS_PER_SECOND, KILOMETERS_PER_SECOND,
242  KILOMETERS, METERS, HOURS, WAVELENGTHS, DEGREES, NANOSECONDS, KELVIN,
243  NEPERS, SECONDS, PERCENT);
244  PMS_ENUM2(AxisUnit, axesUnits, axesUnitStrings, axisUnit,
245  "", "hh:mm:ss", "GHz", "m/s", "km/s", "km", "m", "hours",
246  "<html>&lambda;</html>", "degrees", "ns", "K", "neper", "s",
247  "%");
248 
249  // </group>
250 
251  // Returns the unit for the given axis.
252  static AxisUnit axisUnit(Axis axis);
253 
254  // Convert to/from dates and doubles, using the given scale (must be either
255  // DATE_MJ_SEC or DATE_MJ_DAY).
256  // <group>
257  static double dateDouble(unsigned int year, unsigned int mon,
258  unsigned int day, unsigned int hour, unsigned int min,
259  double sec, PlotAxisScale scale = DATE_MJ_SEC);
260  static void dateDouble(double value, unsigned int& year, unsigned int& mon,
261  unsigned int& day, unsigned int& hour, unsigned int& min,
262  double& sec, PlotAxisScale scale = DATE_MJ_SEC);
263  // </group>
264 
265  // Returns true if the given Strings are equals, false otherwise.
266  // If ignoreCase is false then it is a direct casacore::String comparison
267  // using ==; otherwise the casacore::String characters are compared while
268  // ignoring case for letters.
269  static bool strEq(const casacore::String& str1,
270  const casacore::String& str2,
271  bool ignoreCase = false);
272 
273  // Returns true if the given Records are equals, false otherwise.
274  static bool recEq(const casacore::Record& rec1,
275  const casacore::Record& rec2);
276 
277  // Converts the given templated std::vector to/from an int std::vector.
278  // <group>
279  template <class T>
280  static casacore::Vector<int> toIntVector(const std::vector<T>& v) {
281  casacore::Vector<int> v2(v.size());
282  for(unsigned int i = 0; i < v.size(); i++) v2[i] = (int)v[i];
283  return v2;
284  }
285 
286  template <class T>
287  static std::vector<T> fromIntVector(const casacore::Vector<int>& v) {
288  std::vector<T> v2(v.size());
289  for(unsigned int i = 0; i < v.size(); i++) v2[i] = (T)v[i];
290  return v2;
291  }
292  // </group>
293 
294 
295  // Enum for the different casacore::MS summary types.
296  // <group>
298  S_ALL, S_WHERE, S_WHAT, S_HOW, S_MAIN, S_TABLES, S_ANTENNA,
299  S_FEED, S_FIELD, S_OBSERVATION, S_HISTORY, S_POLARIZATION,
300  S_SOURCE, S_SPW, S_SPW_POL,
301  S_SYSCAL, S_WEATHER)
302 
304  "All", "Where", "What", "How", "Main", "Tables", "Antenna",
305  "Feed", "Field", "Observation", "History", "Polarization",
306  "Source", "Spectral Window", "Spectral Window and Polarization",
307  "SysCal", "Weather")
308  // </group>
309 
310  // Enum for the different CalTable summary types.
311  // <group>
313  S_ALL_CT, S_WHERE_CT, S_WHAT_CT, S_HOW_CT, S_MAIN_CT, S_TABLES_CT,
314  S_ANTENNA_CT, S_FIELD_CT, S_OBSERVATION_CT, S_HISTORY_CT, S_SPW_CT)
315 
316  PMS_ENUM2(CTSummaryType, CTsummaryTypes, CTsummaryTypeStrings, CTsummaryType,
317  "All", "Where", "What", "How", "Main", "Tables", "Antenna",
318  "Field", "Observation", "History", "Spectral Window")
319  // </group>
320 
321  // Enum for export range.
322  // <group>
323  PMS_ENUM1(ExportRange, exportRanges, exportRangeStrings, exportRange, PAGE_CURRENT, PAGE_ALL)
324  PMS_ENUM2(ExportRange, exportRanges, exportRangeStrings, exportRange, "Current Page", "All Pages")
325  // </group>
326 
327 
328  // Colorizing Values //
329 
330  // Returns the list of unique colors used to colorize plots.
331  static const std::vector<casacore::String>& COLORS_LIST();
332 
333 
334  // Default Parameter Values //
335 
336  // Default values for PlotMSParameters.
337  // <group>
339  static const int DEFAULT_LOG_EVENTS;
340  static const casacore::LogMessage::Priority DEFAULT_LOG_PRIORITY;
341  static const bool DEFAULT_CLEAR_SELECTIONS;
342  static const int DEFAULT_CACHED_IMAGE_WIDTH;
343  static const int DEFAULT_CACHED_IMAGE_HEIGHT;
344  static const int DEFAULT_GRID_ROWS;
345  static const int DEFAULT_GRID_COLS;
346  // </group>
347 
348  // Default values for PMS_PP_Cache.
349  // <group>
350  static const Axis DEFAULT_XAXIS;
351  static const Axis DEFAULT_YAXIS;
352  static const Axis DEFAULT_CAL_YAXIS;
353  static const DataColumn DEFAULT_DATACOLUMN;
354  static const DataColumn DEFAULT_DATACOLUMN_WT;
356  static const InterpMethod DEFAULT_INTERPMETHOD;
357  static const Axis DEFAULT_COLOR_AXIS;
358  // </group>
359 
360  // Default values for PMS_PP_Canvas.
361  // <group>
365  static const bool DEFAULT_FONTSET;
366  static const int DEFAULT_FONT;
367  static const bool DEFAULT_SHOWAXISLABEL;
368  static const bool DEFAULT_SHOWLEGEND;
369  static const PlotCanvas::LegendPosition DEFAULT_LEGENDPOSITION;
370  static const bool DEFAULT_SHOW_GRID;
373  // </group>
374 
375  // Default values for export range;
376  static const ExportRange DEFAULT_EXPORT_RANGE;
377 
378  // Default values for PMS_PP_Display.
379  // <group>
383  // </group>
384 
385  // Returns the minimum visible sizes for plot symbol types.
386  static std::map<PlotSymbol::Symbol, int> SYMBOL_MINIMUM_SIZES();
387 
388  // Default text annotation properties.
389  // <group>
393  PlotFactoryPtr factory);
394  // </group>
395 
396  // Default rectangle annotation properties.
397  // <group>
400  // </group>
401 
402 
403  // Logging Constants //
404 
405  // Log class origin.
406  static const casacore::String LOG_ORIGIN;
407 
408  // Log event origin names.
409  // <group>
420  // </group>
421 
422  // Log event flags.
423  // <group>
424  static const int LOG_EVENT_DBUS;
425  static const int LOG_EVENT_DBUSWARN;
426  static const int LOG_EVENT_FLAG;
427  static const int LOG_EVENT_LOAD_CACHE;
428  static const int LOG_EVENT_LOCATE;
429  static const int LOG_EVENT_PARAMS_CHANGED;
430  static const int LOG_EVENT_PLOT;
431  static const int LOG_EVENT_RELEASE_CACHE;
432  static const int LOG_EVENT_UNFLAG;
433  static const int LOG_EVENT_SUMMARY;
434  // </group>
435 };
436 
437 }
438 
439 #endif /* PLOTMSCONSTANTS_H_ */
static const bool DEFAULT_FONTSET
static casacore::uInt axisScaleBase(Axis axis)
PMS_ENUM2(AxisUnit, axesUnits, axesUnitStrings, axisUnit,"","hh:mm:ss","GHz","m/s","km/s","km","m","hours","<html>&lambda;</html>","degrees","ns","K","neper","s","%")
static const PlotCanvas::LegendPosition DEFAULT_LEGENDPOSITION
A 1-D Specialization of the Array class.
static bool axisIsCalData(Axis axis)
static const casacore::String LOG_ORIGIN_SUMMARY
static const Axis DEFAULT_COLOR_AXIS
static const PlotAxis DEFAULT_CANVAS_YAXIS
const Double hour
hour
Spectral Spectral Window and Weather Spectral static Window const std::vector< casacore::String > & COLORS_LIST()
Enum for export range.
static bool axisIsUVWave(Axis axis)
static double dateDouble(unsigned int year, unsigned int mon, unsigned int day, unsigned int hour, unsigned int min, double sec, PlotAxisScale scale=DATE_MJ_SEC)
Convert to/from dates and doubles, using the given scale (must be either DATE_MJ_SEC or DATE_MJ_DAY)...
static const bool DEFAULT_SHOW_GRID
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain SNR
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Antenna Radial Atm Image Sideband
static const int DEFAULT_LOG_EVENTS
static std::vector< T > fromIntVector(const casacore::Vector< int > &v)
#define min(a, b)
Definition: hio.h:45
static bool recEq(const casacore::Record &rec1, const casacore::Record &rec2)
Returns true if the given Records are equals, false otherwise.
corrected corrected data data corrected corrected data data model_scalar ICRS
static const int LOG_EVENT_DBUS
Log event flags.
static const casacore::String LOG_ORIGIN_FLAG
Spectral Spectral Window and Weather CTsummaryType
static const int LOG_EVENT_SUMMARY
static const casacore::String LOG_ORIGIN_LOAD_CACHE
static const int DEFAULT_GRID_ROWS
static const casacore::String LOG_ORIGIN_UNFLAG
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Antenna Radial Distance(rho)"
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
Definition: PlotTool.h:43
static const casacore::String LOG_ORIGIN
Logging Constants //.
static const casacore::LogMessage::Priority DEFAULT_LOG_PRIORITY
corrected corrected model_scalar
static const bool DEFAULT_SHOWAXISLABEL
TableExprNode year(const TableExprNode &node)
Definition: ExprNode.h:1472
Spectral Window
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Antenna Radial Atm Tsky
static const int DEFAULT_FONT
static const casacore::String LOG_ORIGIN_RELEASE_CACHE
corrected corrected data data corrected corrected data data model_scalar coordSystem
Scan
Metadata.
corrected corrected data data corrected corrected data data model_scalar coordSystems
static PlotSymbolPtr NO_FLAGGED_SYMBOL(PlotFactoryPtr factory)
static const casacore::String LOG_ORIGIN_LOCATE
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain SwPower
casacore::uInt Antenna
The interface to the casacore::MeasurementSet for synthesis processing.
Definition: VisSet.h:92
static const DataColumn DEFAULT_DATACOLUMN_WT
static const Axis DEFAULT_YAXIS
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Antenna Radial Atm Image static None PlotAxisScale axisScale(Axis axis)
Returns the axes scale for the given axis.
static const PlotAxis DEFAULT_CANVAS_XAXIS
Default values for PMS_PP_Canvas.
static std::map< PlotSymbol::Symbol, int > SYMBOL_MINIMUM_SIZES()
Returns the minimum visible sizes for plot symbol types.
static const int LOG_EVENT_UNFLAG
static bool axisIsRaDec(Axis axis)
right ascension or declination
static bool strEq(const casacore::String &str1, const casacore::String &str2, bool ignoreCase=false)
Returns true if the given Strings are equals, false otherwise.
static AngleFormat angleFormat(Axis axis, CoordSystem ref)
static PlotLinePtr DEFAULT_ANNOTATION_TEXT_OUTLINE(PlotFactoryPtr factory)
corrected model_vector
static const Axis DEFAULT_XAXIS
Default values for PMS_PP_Cache.
Functor to apply complex function imag.
Definition: Functors.h:541
static const Axis DEFAULT_CAL_YAXIS
static bool axisNeedsCalSlice(Axis axis)
Cal table axes which need validation/slicing for poln selection.
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Delay
const Double day
day
static const int LOG_EVENT_DBUSWARN
static const casacore::String DEFAULT_LOG_FILENAME
Default Parameter Values //.
static const bool DEFAULT_SHOWLEGEND
static const CoordSystem DEFAULT_COORDSYSTEM
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Antenna Positions
Wt Ant Ant Ant Ant Dec
date and time enquiry functions, with some operations.
Definition: Time.h:88
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain TEC
static bool axisIsOverlay(Axis axis)
for adjusting axis ranges
PlotAxis
Enum for the four plot axes.
Definition: PlotOptions.h:62
A hierarchical collection of named fields of various types.
Definition: Record.h:180
static bool axisIsUV(Axis axis)
for loading conjugates and setting axis ranges
static const bool DEFAULT_CLEAR_SELECTIONS
corrected corrected data data corrected corrected data data model_scalar AZELGEO
corrected corrected data data corrected corrected data data model_scalar J2000
Abstract class for a symbol.
Definition: PlotOptions.h:451
static PlotSymbolPtr DEFAULT_FLAGGED_SYMBOL(PlotFactoryPtr factory)
static const casacore::String & latitudeName(CoordSystem r)
static const int LOG_EVENT_PARAMS_CHANGED
Spectral Spectral Window and Weather CTsummaryTypeStrings
Wt Ant Ant Ant Ra
Functor to apply complex function real.
Definition: Functors.h:533
static const casacore::String LOG_ORIGIN_PLOT
Wt UVdist
Observational geometry.
static bool isDirectionComponent(Axis axis, DirectionComponent &dc)
static bool axisIsWeight(Axis axis)
Need datacolumn for averaging weight axes.
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Antenna Radial Atm Image Poln
Container class for useful constants/methods.
Spectral Spectral Window and SysCal
static const DataColumn DEFAULT_DATACOLUMN
static const int LOG_EVENT_PLOT
Cubic static Spline bool axisIsData(Axis axis)
Returns whether or not the given axis needs the second data parameter to indicate which data column t...
static PlotLinePtr DEFAULT_ANNOTATION_RECT_LINE(PlotFactoryPtr factory)
Default rectangle annotation properties.
static const casacore::String LOG_ORIGIN_DBUSWARN
static const int DEFAULT_CACHED_IMAGE_HEIGHT
PlotCanvas is an area for different PlotItems to be attached and drawn.
Definition: PlotCanvas.h:83
static const casacore::String DEFAULT_TITLE_FORMAT
static PlotAreaFillPtr DEFAULT_ANNOTATION_TEXT_BACKGROUND(PlotFactoryPtr factory)
AngleFormat
Enum for angle formats.
Definition: PlotOptions.h:87
corrected corrected data data corrected corrected data data model_scalar static GALACTIC const casacore::String & longitudeName(CoordSystem r)
static const ExportRange DEFAULT_EXPORT_RANGE
Default values for export range;.
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Antenna Radial Atm Transmission
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Opac
Amp
Visibilities and flags.
String: the storage and methods of handling collections of characters.
Definition: String.h:223
Spectral Spectral Window and Weather CTsummaryTypes
static const casacore::String DEFAULT_CANVAS_AXIS_LABEL_FORMAT
static const int LOG_EVENT_RELEASE_CACHE
Defines a frequency value with units.
Definition: ATMFrequency.h:48
size_t size() const
Definition: ArrayBase.h:101
static const int LOG_EVENT_LOCATE
static const InterpMethod DEFAULT_INTERPMETHOD
static PlotLinePtr DEFAULT_GRID_LINE(PlotFactoryPtr factory)
Wt Ant Ant Ant Ant Ant Gain Gain Gain Gain Tsys
static PlotAreaFillPtr DEFAULT_ANNOTATION_RECT_FILL(PlotFactoryPtr f)
static const int LOG_EVENT_FLAG
static const int DEFAULT_CACHED_IMAGE_WIDTH
PlotAxisScale
Enum for possible axis scales.
Definition: PlotOptions.h:78
static PlotFontPtr DEFAULT_ANNOTATION_TEXT_FONT(PlotFactoryPtr factory)
Default text annotation properties.
static casacore::Vector< int > toIntVector(const std::vector< T > &v)
Converts the given templated std::vector to/from an int std::vector.
corrected corrected data data corrected corrected data data model_scalar B1950
Informational log messages with with time, priority, and origin.
Definition: LogMessage.h:101
PMS_ENUM1(Axis, axes, axesStrings, axis, SCAN, FIELD, TIME, TIME_INTERVAL, SPW, CHANNEL, FREQUENCY, VELOCITY, CORR, ANTENNA1, ANTENNA2, BASELINE, ROW, OBSERVATION, INTENT, FEED1, FEED2, AMP, PHASE, REAL, IMAG, WT, WTxAMP, WTSP, SIGMA, SIGMASP, FLAG, FLAG_ROW, UVDIST, UVDIST_L, U, V, W, UWAVE, VWAVE, WWAVE, AZ0, EL0, HA0, PA0, ANTENNA, AZIMUTH, ELEVATION, RA, DEC, PARANG, GAMP, GPHASE, GREAL, GIMAG, DELAY, SWP, TSYS, OPAC, SNR, TEC, ANTPOS, RADIAL_VELOCITY, RHO, ATM, TSKY, IMAGESB, POLN, NONE) PMS_ENUM2(Axis
Enum for the axis choices that are available to be plotted.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
static const casacore::String LOG_ORIGIN_DBUS
Log event origin names.
unsigned int uInt
Definition: aipstype.h:51
static AxisUnit axisUnit(Axis axis)
Returns the unit for the given axis.
static PlotSymbolPtr DEFAULT_UNFLAGGED_SYMBOL(PlotFactoryPtr factory)
Default values for PMS_PP_Display.
static const int DEFAULT_GRID_COLS
const std::string NONE
static const int LOG_EVENT_LOAD_CACHE
static const casacore::String LOG_ORIGIN_PARAMS_CHANGED
corrected corrected data data corrected corrected data data model_scalar coordSystemStrings
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42