Skip to content
Snippets Groups Projects
Select Git revision
  • 0e8b4a9559e3a2fdf4235c06ff5cadf44ad5e37c
  • trunk
  • RELEASE_6_5_DRIVEDB
  • RELEASE_6_6_DRIVEDB
  • RELEASE_7_0_DRIVEDB
  • RELEASE_7_2_DRIVEDB
  • RELEASE_7_3_DRIVEDB
  • RELEASE_6_0_DRIVEDB
  • RELEASE_6_1_DRIVEDB
  • RELEASE_6_2_DRIVEDB
  • RELEASE_6_3_DRIVEDB
  • RELEASE_6_4_DRIVEDB
  • tags/RELEASE_7_4
  • tags/RELEASE_7_3
  • RELEASE_5_41_DRIVEDB
  • RELEASE_5_42_DRIVEDB
  • RELEASE_5_43_DRIVEDB
  • tags/RELEASE_7_2
  • tags/RELEASE_7_1
  • tags/RELEASE_7_0
  • RELEASE_5_40_DRIVEDB
21 results

cvswrappers

Blame
  • antenna_lib.h 1.18 KiB
    // Double inclusion protection
    #ifndef ANTENNA_LIB_H
    #define ANTENNA_LIB_H
    // Structure for passing information about the GW source and detectors
    struct InputStruct {
       // orbital orientation in degrees, 0 to 180. Zero degrees has
       // orbital angular momentum pointing to the earth
       double iota;
       // orientation of long axis of ellipse, 0 to 360, in degrees CCW
       // from North
       double psi;
       // orientation of detector arms away from actual, 0 to 360, in
       // degrees CCW when viewed from directly overhead
       // Ordering is LLO, LHO, VIRGO
       double orientation[3];
    };
    
    // Structure for returning information about the response.  The array
    // elements are in the order LLO, LHO, VIRGO
    struct OutputStruct {
       // detector names, null terminated string
       char name[3][8];
       // amplitude of sin function, dimensionless
       double amp[3];
       // phase of sin function, in degrees from 0 to 360
       double phase[3];
       // time delays, in milliseconds
       double dt[3];
    };
    
    
    // Function gets antenna responses, using information in the 
    // input structure (not modified) and writing to the output structure.
    void get_antenna(struct OutputStruct *out, struct InputStruct *in);
    
    #endif // ANTENNA_LIB_H