filter_objects_brightness#

skysim.populate.filter_objects_brightness(maximum_magnitude, objects_table)[source]#

Filter a table of objects by the maximum magitude that can be seen.

Parameters:
maximum_magnitudefloat

Highest (inclusive) value for magnitude.

objects_tableastropy.table.QTable

Table to be filtered. Should have a “magnitude” column.

Returns:
astropy.table.QTable

Filtered table.