add_object_to_frame#
- skysim.populate.add_object_to_frame(object_row, frame, area_mesh, brightness_scale_mesh)[source]#
Add a celestial object to the image.
- Parameters:
- object_row
astropy.table.Row Row of object table.
- frame
FloatArray RGB image.
- area_mesh
IntArray Mesh describing the area to which light from a single object can spread.
- brightness_scale_mesh
FloatArray Mesh describing the dimming of that light.
- object_row
- Returns:
FloatArrayframewith the object added in.