@geometry_profiles.transform_grid<EOL><INDENT>@geometry_profiles.move_grid_to_radial_minimum<EOL>def deflections_from_grid(self, grid):<DEDENT>
eta = self.grid_to_grid_radii(grid=grid)<EOL>deflection = np.multiply(<NUM_LIT> * self.einstein_radius_rescaled, np.divide(<EOL>np.add(np.power(np.add(self.core_radius ** <NUM_LIT:2>, np.square(eta)), (<NUM_LIT> - self.slope) / <NUM_LIT>),<EOL>-self.core_radius ** (<NUM_LIT:3> - self.slope)), np.multiply((<NUM_LIT> - self.slope), eta)))<EOL>return self.grid_to_grid_cartesian(grid=grid, radius=deflection)<EOL>
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.