casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::DelayRateFFT Class Reference

DelayRateFFT is responsible for the two-dimensional FFT of visibility phases to find an estimate for deay. More...

#include <FringeJones.h>

Public Member Functions

 DelayRateFFT (SDBList &sdbs, casacore::Int refant, casacore::Array< casacore::Double > &delayWindow_, casacore::Array< casacore::Double > &rateWindow_)
 
 DelayRateFFT (casacore::Array< casacore::Complex > &data, casacore::Int nPadFactor, casacore::Float f0, casacore::Float df, casacore::Float dt, SDBList &s, casacore::Array< casacore::Double > &delayWindow_, casacore::Array< casacore::Double > &rateWindow_)
 
const std::map< casacore::Int,
std::set< casacore::Int > > & 
getActiveAntennas () const
 The following are copied from KJones.h definition of DelayFFT. More...
 
const std::set< casacore::Int > & getActiveAntennasCorrelation (casacore::Int icor) const
 
void removeAntennasCorrelation (casacore::Int, std::set< casacore::Int >)
 
const casacore::Array
< casacore::Complex > & 
Vpad () const
 
const casacore::Matrix
< casacore::Bool > & 
flag () const
 
const casacore::Matrix
< casacore::Float > & 
param () const
 
casacore::Matrix< casacore::Floatdelay () const
 
casacore::Matrix< casacore::Floatrate () const
 
casacore::Int refant () const
 
casacore::Double get_df_all ()
 
void FFT ()
 
std::pair< casacore::Bool,
casacore::Float
xinterp (casacore::Float alo, casacore::Float amax, casacore::Float ahi)
 
void searchPeak ()
 
casacore::Float snr (casacore::Int icorr, casacore::Int ielem, casacore::Float delay, casacore::Float rate)
 
void printActive ()
 

Private Attributes

casacore::Int refant_
 The idiom used in KJones solvers is: DelayFFT delfft1(vbga(ibuf), ptbw, refant()); delfft1.FFT(); delfft1.shift(f0[0]); delfft1.searchPeak(); This class is designed to follow that API (without the shift). More...
 
SDBListGridManager gm_
 SBDListGridManager handles all the sizing and interpolating of multiple spectral windows onto a single frequency grid. More...
 
casacore::Int nPadFactor_
 
casacore::Int nt_
 
casacore::Int nPadT_
 
casacore::Int nChan_
 
casacore::Int nPadChan_
 casacore::Int nSPWChan_; More...
 
casacore::Int nElem_
 
casacore::Double dt_
 
casacore::Double f0_
 
casacore::Double df_
 
casacore::Double df_all_
 
casacore::Array
< casacore::Complex > 
Vpad_
 casacore::Double t0_, t1_; casacore::Double padBW_; More...
 
casacore::Array< casacore::Intxcount_
 
casacore::Array< casacore::Floatsumw_
 
casacore::Array< casacore::Floatsumww_
 
casacore::Int nCorr_
 
casacore::Matrix< casacore::Floatparam_
 
casacore::Matrix< casacore::Boolflag_
 
std::map< casacore::Int,
std::set< casacore::Int > > 
activeAntennas_
 
std::set< casacore::IntallActiveAntennas_
 
casacore::Array
< casacore::Double > & 
delayWindow_
 
casacore::Array
< casacore::Double > & 
rateWindow_
 

Detailed Description

DelayRateFFT is responsible for the two-dimensional FFT of visibility phases to find an estimate for deay.

rate and phase offset parameters during fringe-fitting.

Definition at line 102 of file FringeJones.h.

Constructor & Destructor Documentation

casa::DelayRateFFT::DelayRateFFT ( SDBList sdbs,
casacore::Int  refant,
casacore::Array< casacore::Double > &  delayWindow_,
casacore::Array< casacore::Double > &  rateWindow_ 
)
casa::DelayRateFFT::DelayRateFFT ( casacore::Array< casacore::Complex > &  data,
casacore::Int  nPadFactor,
casacore::Float  f0,
casacore::Float  df,
casacore::Float  dt,
SDBList s,
casacore::Array< casacore::Double > &  delayWindow_,
casacore::Array< casacore::Double > &  rateWindow_ 
)

Member Function Documentation

casacore::Matrix<casacore::Float> casa::DelayRateFFT::delay ( ) const
void casa::DelayRateFFT::FFT ( )
const casacore::Matrix<casacore::Bool>& casa::DelayRateFFT::flag ( void  ) const
inline

Definition at line 154 of file FringeJones.h.

References flag_.

casacore::Double casa::DelayRateFFT::get_df_all ( )
inline

Definition at line 159 of file FringeJones.h.

References df_all_.

const std::map<casacore::Int, std::set<casacore::Int> >& casa::DelayRateFFT::getActiveAntennas ( ) const
inline

The following are copied from KJones.h definition of DelayFFT.

Definition at line 148 of file FringeJones.h.

References activeAntennas_.

const std::set<casacore::Int>& casa::DelayRateFFT::getActiveAntennasCorrelation ( casacore::Int  icor) const
inline

Definition at line 150 of file FringeJones.h.

References activeAntennas_.

const casacore::Matrix<casacore::Float>& casa::DelayRateFFT::param ( ) const
inline

Definition at line 155 of file FringeJones.h.

References param_.

void casa::DelayRateFFT::printActive ( )
casacore::Matrix<casacore::Float> casa::DelayRateFFT::rate ( ) const
casacore::Int casa::DelayRateFFT::refant ( ) const
inline

Definition at line 158 of file FringeJones.h.

References refant_.

void casa::DelayRateFFT::removeAntennasCorrelation ( casacore::Int  ,
std::set< casacore::Int  
)
void casa::DelayRateFFT::searchPeak ( )
casacore::Float casa::DelayRateFFT::snr ( casacore::Int  icorr,
casacore::Int  ielem,
casacore::Float  delay,
casacore::Float  rate 
)
const casacore::Array<casacore::Complex>& casa::DelayRateFFT::Vpad ( ) const
inline

Definition at line 153 of file FringeJones.h.

References Vpad_.

std::pair<casacore::Bool, casacore::Float> casa::DelayRateFFT::xinterp ( casacore::Float  alo,
casacore::Float  amax,
casacore::Float  ahi 
)

Member Data Documentation

std::map< casacore::Int, std::set<casacore::Int> > casa::DelayRateFFT::activeAntennas_
private

Definition at line 132 of file FringeJones.h.

Referenced by getActiveAntennas(), and getActiveAntennasCorrelation().

std::set<casacore::Int> casa::DelayRateFFT::allActiveAntennas_
private

Definition at line 133 of file FringeJones.h.

casacore::Array<casacore::Double>& casa::DelayRateFFT::delayWindow_
private

Definition at line 134 of file FringeJones.h.

casacore::Double casa::DelayRateFFT::df_
private

Definition at line 121 of file FringeJones.h.

casacore::Double casa::DelayRateFFT::df_all_
private

Definition at line 121 of file FringeJones.h.

Referenced by get_df_all().

casacore::Double casa::DelayRateFFT::dt_
private

Definition at line 121 of file FringeJones.h.

casacore::Double casa::DelayRateFFT::f0_
private

Definition at line 121 of file FringeJones.h.

casacore::Matrix<casacore::Bool> casa::DelayRateFFT::flag_
private

Definition at line 131 of file FringeJones.h.

Referenced by flag().

SDBListGridManager casa::DelayRateFFT::gm_
private

SBDListGridManager handles all the sizing and interpolating of multiple spectral windows onto a single frequency grid.

Definition at line 113 of file FringeJones.h.

casacore::Int casa::DelayRateFFT::nChan_
private

Definition at line 117 of file FringeJones.h.

casacore::Int casa::DelayRateFFT::nCorr_
private

Definition at line 128 of file FringeJones.h.

casacore::Int casa::DelayRateFFT::nElem_
private

Definition at line 120 of file FringeJones.h.

casacore::Int casa::DelayRateFFT::nPadChan_
private

casacore::Int nSPWChan_;

Definition at line 119 of file FringeJones.h.

casacore::Int casa::DelayRateFFT::nPadFactor_
private

Definition at line 114 of file FringeJones.h.

casacore::Int casa::DelayRateFFT::nPadT_
private

Definition at line 116 of file FringeJones.h.

casacore::Int casa::DelayRateFFT::nt_
private

Definition at line 115 of file FringeJones.h.

casacore::Matrix<casacore::Float> casa::DelayRateFFT::param_
private

Definition at line 130 of file FringeJones.h.

Referenced by param().

casacore::Array<casacore::Double>& casa::DelayRateFFT::rateWindow_
private

Definition at line 135 of file FringeJones.h.

casacore::Int casa::DelayRateFFT::refant_
private

The idiom used in KJones solvers is: DelayFFT delfft1(vbga(ibuf), ptbw, refant()); delfft1.FFT(); delfft1.shift(f0[0]); delfft1.searchPeak(); This class is designed to follow that API (without the shift).

Definition at line 110 of file FringeJones.h.

Referenced by refant().

casacore::Array<casacore::Float> casa::DelayRateFFT::sumw_
private

Definition at line 126 of file FringeJones.h.

casacore::Array<casacore::Float> casa::DelayRateFFT::sumww_
private

Definition at line 127 of file FringeJones.h.

casacore::Array<casacore::Complex> casa::DelayRateFFT::Vpad_
private

casacore::Double t0_, t1_; casacore::Double padBW_;

Definition at line 124 of file FringeJones.h.

Referenced by Vpad().

casacore::Array<casacore::Int> casa::DelayRateFFT::xcount_
private

Definition at line 125 of file FringeJones.h.


The documentation for this class was generated from the following file: