Changeset 3931 in Sophya for trunk/Cosmo/RadioBeam/repicon.cc


Ignore:
Timestamp:
Dec 23, 2010, 6:38:00 PM (15 years ago)
Author:
ansari
Message:

1/ Ajout nouvelle config interfero en croix (ASKAP like)
2/ Correction et ameliorations diverses, en particulier sur les limites de rotation

ThetaMax=23 degres, angles phi, -phi, phi+pi, -phi-pi

Reza 23/12/2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/RadioBeam/repicon.cc

    r3930 r3931  
    4444  if (((narg>1)&&(strcmp(arg[1],"-h")==0))||(narg<3))  {
    4545    cout << " Usage: repicon configId OutPPFName [z_redshift=0.7] [RenormalizeMax] \n"
    46          << " configs: f4x4 , f8x8 , f20x20 Filled array of nxn dishes \n"
     46         << " configs: f4x4 , f8x8 , f20x20 Filled array of nxn dishes (D=5m) \n"
    4747         << "          confA , confB, confC, confD : semi-filled array of dishes \n"
    48          << "          hex12 : ASKAP like double hexagonal array of dishes \n"
     48         << "          hex12,cross11 : ASKAP like double hexagonal (12xD=12m), cross config (11xD=12m) \n"
    4949         << "          f3cyl, f8cyl , f3cylp, f8cylp : filled array of non perfect/perfect of n cylinders " << endl;
    5050    return 1;
     
    131131      vdishes=CreateConfigD(Ddish, Eta);
    132132    }
     133    else if (config=="cross11") {
     134      fgpoint=true;
     135      Ddish = 12.;
     136      double base=20.;
     137      Eta=0.95;
     138      D=250.;
     139      vdishes=CreateCrossConfig(Ddish,base,Eta);
     140    }
    133141    else if (config=="hex12") {
    134142      fgpoint=true;
     
    136144      Eta=0.95;
    137145      D=350.;
    138       vdishes=CreateDoubleHexagonConfig();
    139     }
     146      vdishes=CreateDoubleHexagonConfig(Ddish);
     147    }
     148
    140149    else {
    141150      cout << " NON valid configuration option -> exit" << endl;
     
    151160    MultiDish mdish(LAMBDA, LMAX, vdishes, fgnoauto);
    152161    mdish.SetRespHisNBins(NRX,NRY);
    153     if (fgpoint)
    154       mdish.SetThetaPhiRange(M_PI/6.,12, M_PI/6., 12);
     162    if (fgpoint)  // 23 degres : angle d'inclinaison de l'orbite terrestre
     163      mdish.SetThetaPhiRange(Angle(23.,Angle::Degree).ToRadian(),10, M_PI/6., 15);
    155164    cout << " repicon[2] : calling mdish.GetResponse() ..."<< endl;
    156165
Note: See TracChangeset for help on using the changeset viewer.