| 1 | /*  ------------------------ Projet BAORadio -------------------- 
 | 
|---|
| 2 |     Differentes configurations de l'interferometre 
 | 
|---|
| 3 |     R. Ansari , C. Magneville - Juin 2010 
 | 
|---|
| 4 | ---------------------------------------------------------------  */
 | 
|---|
| 5 | 
 | 
|---|
| 6 | #ifndef INTERFCONFIGS_SEEN
 | 
|---|
| 7 | #define INTERFCONFIGS_SEEN
 | 
|---|
| 8 | 
 | 
|---|
| 9 | #include "mdish.h"      
 | 
|---|
| 10 | #include <vector>
 | 
|---|
| 11 | #include <string> 
 | 
|---|
| 12 | 
 | 
|---|
| 13 | 
 | 
|---|
| 14 | //-----------------------------------------------------------------------------------
 | 
|---|
| 15 | //  Fonctions de creation de configuration d'interfero avec des dishs
 | 
|---|
| 16 | //-----------------------------------------------------------------------------------
 | 
|---|
| 17 | 
 | 
|---|
| 18 | //  Filled square array of ndxnd dishes 
 | 
|---|
| 19 | vector<Dish> CreateFilledSqConfig(int nd, double Ddish=5., double Eta=0.9);
 | 
|---|
| 20 | //  Semi filled square array of ndxnd dishes 
 | 
|---|
| 21 | vector<Dish> CreateSemiFilledSqConfig(int nd, double Ddish=5., double Eta=0.9);
 | 
|---|
| 22 | //  Various semi-filled dish configurations  
 | 
|---|
| 23 | vector<Dish> CreateConfigA(double Ddish=5., double Eta=0.9);
 | 
|---|
| 24 | vector<Dish> CreateConfigB(double Ddish=5., double Eta=0.9);
 | 
|---|
| 25 | vector<Dish> CreateConfigC(double Ddish=5., double Eta=0.9);
 | 
|---|
| 26 | vector<Dish> CreateConfigD(double Ddish=5., double Eta=0.9);
 | 
|---|
| 27 | 
 | 
|---|
| 28 | 
 | 
|---|
| 29 | // Filled cylinder configuration 
 | 
|---|
| 30 | vector<Dish> CreateFilledCylConfig(int ncyl,  int nRL, double cylW=10., double cylRL=0.5, 
 | 
|---|
| 31 |                                    double etaW=0.9, double etaRL=0.9, bool fgscid=true);
 | 
|---|
| 32 | 
 | 
|---|
| 33 | // ASKPAP like - double hexagonal array of 12 dishes 
 | 
|---|
| 34 | vector<Dish> CreateDoubleHexagonConfig(double Ddish=12., double radius1=60., double radius2=150., double Eta=0.95);  
 | 
|---|
| 35 | 
 | 
|---|
| 36 | #endif
 | 
|---|