trim_objlist

romanisim.image.trim_objlist(objlist, image)

Trim a Table of 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 sources, and just uses the ra/dec directly without needing to do the WCS transformation.

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.