Commits
379 379 | |
380 380 | static casacore::ImageExpr<casacore::Float> sigmaDepolarizationRatio( |
381 381 | const casacore::ImageInterface<casacore::Float>& im1, |
382 382 | const casacore::ImageInterface<casacore::Float>& im2, |
383 383 | casacore::Bool debias, casacore::Float clip=10.0, |
384 384 | casacore::Float sigma=-1.0 |
385 385 | ); |
386 386 | // </group> |
387 387 | |
388 388 | private: |
389 + | static const map<StokesTypes, casacore::String> polMap; |
390 + | |
389 391 | SPCIIF _image = nullptr; |
390 392 | // const casacore::ImageInterface<casacore::Float>* _image; |
391 393 | casacore::LinearFitSVD<casacore::Float>* _fitter = nullptr; |
392 394 | casacore::Float _oldClip = 0.0; |
393 395 | |
394 396 | // These blocks are always size 4, with IQUV in slots 0,1,2,3 |
395 397 | // If your image is IV only, they still use slots 0 and 3 |
396 398 | |
397 399 | casacore::PtrBlock<casacore::ImageInterface<casacore::Float>*> _stokes {}; |
398 400 | casacore::PtrBlock<casacore::LatticeStatistics<casacore::Float>*> |