band.h
1 /***************************************************************************
2  *
3  * Copyright (C) 1999 by Willem van Straten
4  * Licensed under the Academic Free License version 2.1
5  *
6  ***************************************************************************/
7 // psrchive/Base/Formats/Timer/band.h
8 
9 #ifndef __BAND_H
10 #define __BAND_H
11 
12 struct band {
13  double lo1; /* (T) MHz */
14  double lo2; /* (T) MHz */
15  double loUP; /* (T) MHz */
16  double loDOWN; /* (T) MHz */
17  double centrefreq; /* (T/A) MHz CF of whole band */
18  double bw; /* (T/A) Bandwidth of whole band */
19  float flux_A; /* (A) average flux value in mJy (poln 0) */
20  int inv_mode; /* 1=Q inverted, 2=U inverted, 3=V inverted */
21  int auto_atten; /* (T) 1=true, 0 =false */
22 
23  /* this poln_storage_type thing has gone too far - WvS, 12 Aug, 2002 */
24  /* (T) 0=I, 1=AA BB, 2=AA AB BA BB, 3=AA, 4=BB, 5=Inv, 6=IQUV */
25  int correlator_mode;
26 
27  float f_atten_A; /* (T) New float attenuator values */
28  float f_atten_B; /* (T) 0.0 - 31.5 db */
29  int polar; /* (T) 0=circular (A=L,B=R),1=linear(A=0,B=90) */
30  float feed_offset; /* (T) (degrees) */
31  int nlag; /* (T) no lags per poln */
32  float flux_B; /* (A) average flux value in mJy (poln 1) */
33  float flux_err; /* (CA) error in flux in mJy */
34  int npol; /* (T/Fixheader) npolarisations 1-4 */
35 };
36 
37 /* defined in timer++.C */
38 void band_init (struct band * bd);
39 
40 #endif

Generated using doxygen 1.8.17