def deflections_from_grid(self, grid):
        """
        Calculate the deflection angles at a given set of arc-second gridded coordinates.

        Parameters
        ----------
        grid : grids.RegularGrid
            The grid of (y,x) arc-second coordinates the deflection angles are computed on.
        """
        return self.grid_to_grid_cartesian(grid=grid,
                                           radius=np.full(grid.shape[0], 2.0 * self.einstein_radius_rescaled))
def deflections_from_grid(self, grid):
        """
        Calculate the deflection angles at a given set of arc-second gridded coordinates.

        Parameters
        ----------
        grid : grids.RegularGrid
            The grid of (y,x) arc-second coordinates the deflection angles are computed on.
        """
        return self.grid_to_grid_cartesian(grid=grid,
                                           radius=np.full(grid.shape[0], 2.0 * self.einstein_radius_rescaled))
def deflections_from_grid ( self , grid ) : return self . grid_to_grid_cartesian ( grid = grid , radius = np . full ( grid . shape [ 0 ] , 2.0 * self . einstein_radius_rescaled ) )
Calculate the deflection angles at a given set of arc-second gridded coordinates.

        Parameters
        ----------
        grid : grids.RegularGrid
            The grid of (y,x) arc-second coordinates the deflection angles are computed on.
Calculate the deflection angles at a given set of arc - second gridded coordinates .