def _define_forest(ns):
    ns.xyz << Meq.Composer(6300000., 0, 0)
    ns.azel << Meq.Composer(Meq.Grid(axis='m'), Meq.Grid(axis='l'))
    ns.emf1 << Meq.EMFPar(
        azel=ns.azel, xyz=ns.xyz, h=array([100000., 200000., 300000.]))
    ns.emf2 << Meq.EMFPar(
        azel=ns.azel, observatory='wsrt', h=array([100000., 200000., 300000.]))
    ns.cube << Meq.Time() * ns.emf2 * Meq.Freq()
 def station_position(self, ip):
     """Returns (x,y,z) position (as an array) of station number ip."""
     return self.positions[ip, :] if self.positions is not None else array(
         (0, 0, 0))
def _define_forest (ns):
  ns.xyz << Meq.Composer(6300000.,0,0);
  ns.azel << Meq.Composer(Meq.Grid(axis='m'),Meq.Grid(axis='l'));
  ns.emf1  << Meq.EMFPar(azel=ns.azel,xyz=ns.xyz,h=array([100000.,200000.,300000.]));
  ns.emf2  << Meq.EMFPar(azel=ns.azel,observatory='wsrt',h=array([100000.,200000.,300000.]));
  ns.cube << Meq.Time()*ns.emf2*Meq.Freq();
Exemple #4
0
 def station_position (self,ip):
   """Returns (x,y,z) position (as an array) of station number ip.""";
   return self.positions[ip,:] if self.positions is not None else array((0,0,0));