~i-martividal/uvmultifit/trunk-1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include <sys/types.h>
#include <stdlib.h>  
#include <complex>

typedef std::complex<double> 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;


};