#include #include #include typedef std::complex cplx64f; class QuinnFringe { public: ~QuinnFringe(); QuinnFringe(int Nant, int Ntime, int nnu, cplx64f *ObsVis, cplx64f *ModVis, int *Ant1, int *Ant2, double *t, int *dofit, double *freqs, double *wgts); int GFF(int refant, int doGlobal, int doModel); int getRates(double *Rates); int getDelays(double *Delays); int getPhases(double *Phases); int getBins(double *Bins); private: cplx64f *ObsVis, *ModVis; int *Ant1, *Ant2, *calAnt; int Nant, NcalAnt, Nchan, Ntime, NBas; int *NData; int **BasNum; int *fittable; double *Phases, *Rates, *Delays, *Freqs, *Times, *DataWeights; double Dnu, Dtime,DtMin; };