simplify_spectral_types#
- skysim.query.simplify_spectral_types(star_table, acceptable_types)[source]#
Replaces the
spectral_typecolumn of a table with simplified versions viaget_single_spectral_type.- Parameters:
- star_table
astropy.table.QTable Table with a
spectral_typecolumn.- acceptable_types
collections.abc.Collection[str] Collection of acceptable spectral types.
- star_table
- Returns:
astropy.table.QTablestar_tablewith a replacedspectral_typecolumn.