Esempio n. 1
0
 def test_init(self):
     nbls = len(sim.get_bl_order(self.nant))
     self.assertEqual(len(self.xeng.data), \
         4*2*self.npol*self.nchan*nbls / self.nant)
Esempio n. 2
0
 def test_xeng_bl_order(self):
     for i in range(32):
         h = CollateBuffer(nant=i, npol=1, nchan=1, nwin=1)
         self.assertEqual(h.xeng_bl_order(), sim.get_bl_order(i))
Esempio n. 3
0
 def test_xeng_bl_order(self):
     for i in range(32):
         h = CollateBuffer(nant=i,npol=1,nchan=1,nwin=1)
         self.assertEqual(h.xeng_bl_order(), sim.get_bl_order(i))
Esempio n. 4
0
 def test_init(self):
     nbls = len(sim.get_bl_order(self.nant))
     self.assertEqual(len(self.xeng.data), \
         4*2*self.npol*self.nchan*nbls / self.nant)