Commits

Renaud Miel authored d05e1f9d046
CAS-8087 Fix for bug: Ant-Elevation plot broken
No tags

code/plotms/Data/PlotMSCacheBase.h

Modified
294 294 inline casacore::Double getAz0(casacore::Int chnk,casacore::Int irel) { return az0_(chnk); (void)irel; };
295 295 inline casacore::Double getEl0(casacore::Int chnk,casacore::Int irel) { return el0_(chnk); (void)irel; };
296 296 inline casacore::Double getRadialVelocity0(casacore::Int chnk, casacore::Int irel){ return radialVelocity_(chnk); (void)irel;};
297 297 inline casacore::Double getRHO0(casacore::Int chnk, casacore::Int irel){return rho_(chnk); (void)irel; };
298 298 inline casacore::Double getHA0(casacore::Int chnk,casacore::Int irel) { return ha0_(chnk); (void)irel; };
299 299 inline casacore::Double getPA0(casacore::Int chnk,casacore::Int irel) { return pa0_(chnk); (void)irel; };
300 300
301 301 // These are antenna-based
302 302 inline casacore::Double getAntenna(casacore::Int chnk,casacore::Int irel) { return *(antenna_[chnk]->data()+irel); };
303 303 inline casacore::Double getAz(casacore::Int chnk,casacore::Int irel) { return *(az_[chnk]->data()+irel); };
304 - casacore::Double getEl(casacore::Int chnk,casacore::Int irel) {
305 - throw AipsError("PlotMS internal error. PlotMsCacheBase::getEl() was called");
306 - return chnk + irel; /* return *(el_[chnk]->data()+irel); */
307 - };
304 + inline casacore::Double getEl(casacore::Int chnk,casacore::Int irel) { return *(el_[chnk]->data()+irel); };
308 305 casacore::Double getRa(casacore::Int chnk,casacore::Int irel) {
309 306 throw AipsError("PlotMS internal error. PlotMsCacheBase::getRa() was called");
310 307 return chnk + irel; /* return *(ra_[chnk]->data()+irel); */
311 308 };
312 - inline casacore::Double getDec(casacore::Int chnk,casacore::Int irel) { return *(dec_[chnk]->data()+irel); };
309 + inline casacore::Double getDec(casacore::Int chnk,casacore::Int irel) {
310 + throw AipsError("PlotMS internal error. PlotMsCacheBase::getDec() was called");
311 + return chnk + irel; /*(dec_[chnk]->data()+irel); */
312 + };
313 313 inline casacore::Double getParAng(casacore::Int chnk,casacore::Int irel) { return *(parang_[chnk]->data()+irel); };
314 314
315 315 // These support generic non-complex calibration
316 316 inline casacore::Double getPar(casacore::Int chnk,casacore::Int irel) { return *(par_[chnk]->data()+irel); };
317 317 inline casacore::Double getSnr(casacore::Int chnk,casacore::Int irel) { return *(snr_[chnk]->data()+irel); };
318 318 inline casacore::Double getAntPos(casacore::Int chnk,casacore::Int irel) { return *(antpos_[chnk]->data()+irel); };
319 319
320 320 // Curve overlays
321 321 inline casacore::Double getAtm(casacore::Int chnk,casacore::Int irel) { return *(atm_[chnk]->data()+irel); };
322 322 inline casacore::Double getTsky(casacore::Int chnk,casacore::Int irel) { return *(tsky_[chnk]->data()+irel); };

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut