trim_objlist

romanisim.image.trim_objlist(objlist, image)

Trim objects down to those falling near an image.

Objects must fall in a circle centered at the center of the image with radius 1.1 times the separation between the center and corner of the image.

In contrast to in_bounds, this doesn’t require the x and y coordinates of the individual sources, and just uses the source celestial coordinates directly.

Parameters:
objlistastropy.table.Table including ra, dec columns

Table of objects

imagegalsim.Image

image near which objects should fall.

Returns:
objlistastropy.table.Table

objlist trimmed to objects near image.