get_line_gsobject

simsit.tools.get_line_gsobject(p0, p1)

Construct a narrow line-shaped GalSim object between two sky positions.

Parameters

p0, p1galsim.CelestialCoord

Endpoints of the line.

Returns

galsim.GSObject

Line-like object connecting the two positions.