add_observed_parameters#
- gammapy.astro.population.add_observed_parameters(table, obs_pos=None)[source]#
Add observable parameters (such as sky position or distance).
Input table columns: x, y, z, extension, luminosity
Output table columns: distance, glon, glat, flux, angular_extension
Position of observer in cartesian coordinates. Center of galaxy as origin, x-axis goes through sun.