~pconv-team/polconvertsd/trunk-1

« back to all changes in this revision

Viewing changes to DataIO.h

  • Committer: I. Marti-Vidal
  • Date: 2021-04-09 09:36:16 UTC
  • Revision ID: i.marti-vidal@uv.es-20210409093616-z8p5ofik0vrw3hi8
Parangle can be applied. Pulse-cal works now with multi-file correlations. Code cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* DATAIO - FITS-IDI interface to PolConvert
2
2
 
3
 
             Copyright (C) 2013-2020  Ivan Marti-Vidal
 
3
             Copyright (C) 2013-2021  Ivan Marti-Vidal
4
4
             Nordic Node of EU ALMA Regional Center (Onsala, Sweden)
5
5
             Max-Planck-Institut fuer Radioastronomie (Bonn, Germany)
6
 
             Observatori Astronomic, Universitat de Valencia
7
 
  
 
6
             University of Valencia (Spain)  
 
7
 
8
8
This program is free software: you can redistribute it and/or modify
9
9
it under the terms of the GNU General Public License as published by
10
10
the Free Software Foundation, either version 3 of the License, or
48
48
double *BaseLine[3];
49
49
double *SinDec;
50
50
double *CosDec;
51
 
//z
52
51
double *RA;
53
52
double *AntLon;
54
53
int *Mount;
96
95
   void getFrequencies(double* Freqarray);
97
96
 
98
97
// Compute parallactic angle.
99
 
//z  void getParAng(int sidx, int Ant1, int Ant2, double*UVW, double &P1, double &P2);
100
 
   void getParAng(int sidx, int Ant1, int Ant2, double*UVW, double &MJD, double &P1, double &P2);
 
98
  void getParAng(int sidx, int Ant1, int Ant2, double*UVW, double &MJD, double &P1, double &P2);
101
99
 
102
100
// Estimate amplitude ratios from the autocorrelations:
103
101
  std::complex<float> getAmpRatio(int ant, int spw, int chan);
148
146
   bool success, currConj;
149
147
   bool *conjugate, *is1, *is2, *is1orig, *is2orig;
150
148
   int Flux, *NAV;
151
 
   //int nautos = 0;
152
149
   int nautos;
153
150
   double day0;
154
151