find_row
- jwst.photom.photom.find_row(fits_table, match_fields)[source]
Find a row in a FITS table matching fields.
- Parameters:
- fits_table
FITS_rec FITS table
- match_fieldsdict
{field_name: value}pair to use as a matching criteria.
- fits_table
- Returns:
- rowint or None
FITS table row index, None if no match.
- Raises:
- Warning
When a field name is not in the table.
- jwst.photom.photom.MatchFitsTableRowError
When more than one row matches.