@geometry_profiles.transform_grid<EOL><INDENT>@geometry_profiles.move_grid_to_radial_minimum<EOL>def potential_from_grid(self, grid):<DEDENT>
potential_grid = quad_grid(self.potential_func, <NUM_LIT:0.0>, <NUM_LIT:1.0>, grid,<EOL>args=(self.axis_ratio, self.kappa_s, self.scale_radius),<EOL>epsrel=<NUM_LIT>)[<NUM_LIT:0>]<EOL>return potential_grid<EOL>
Calculate the potential 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.