Ejemplo n.º 1
0
 def eta(self):
     "Grid of positive frequency fourier-modes"
     dnu = self.frequencies[1] - self.frequencies[0]
     eta = fftfreq(int(len(self.frequencies) / self.n_obs),
                   d=dnu,
                   b=2 * np.pi)
     return eta[eta > self.eta_min]
Ejemplo n.º 2
0
 def ugrid_raw0(self):
     """
     The 1D grid of u (fourier dual of l) at nu0. Used as the grid on a side of a 2D grid of the sky.
     """
     return fftfreq(self.spatial_dist.ncells,
                    d=self.spatial_dist.resolution[0],
                    b=2 * np.pi)
Ejemplo n.º 3
0
 def eta(self):
     return -fftfreq(len(self.f0),
                     d=(self.f0[1] - self.f0[0]) * self.beam_model.nu0.value
                     )[1:len(self.f0) / 2][::-1] / self.beam_model.nu0.unit
Ejemplo n.º 4
0
 def ugrid_raw0(self):
     return fftfreq(self.ncells, d=self.resolution[0], b=2 * np.pi)
Ejemplo n.º 5
0
 def uv_grid(self):
     """The grid of uv along one side"""
     return fftfreq(N=self.n_cells, d=self.cell_size, b=2 * np.pi)