skycoord_from_table¶
-
gammapy.catalog.skycoord_from_table(table)[source]¶ Make
SkyCoordfrom lon, lat columns inTable.This is a convenience function similar to
guess_from_table, but with the column names we usually use.TODO: I’m not sure if it’s a good idea to use this because it’s not always clear which positions are taken.