@geometry_profiles.transform_grid<EOL><INDENT>@geometry_profiles.move_grid_to_radial_minimum<EOL>def deflections_from_grid(self, grid):<DEDENT>
deflection_y = -np.multiply(self.magnitude, grid[:, <NUM_LIT:0>])<EOL>deflection_x = np.multiply(self.magnitude, grid[:, <NUM_LIT:1>])<EOL>return self.rotate_grid_from_profile(np.vstack((deflection_y, deflection_x)).T)<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.