autolens.potential_correction.AnalyticSrcFactory#

class AnalyticSrcFactory[source]#

Bases: SrcFactory

A source factory evaluating an analytic source galaxy’s light profiles directly.

Methods

eval_func

The source brightness at the input (x, y) positions.

eval_grad

The (dS/dy, dS/dx) source gradients at the input (x, y) positions, by central differences over a cross of half-length cross_size.

eval_func(xgrid, ygrid)[source]#

The source brightness at the input (x, y) positions.