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 trough sun.
Parameters: - table :
Table
Input table
- obs_pos : tuple or None
Observation position (X, Y, Z) in Galactocentric coordinates (default: Earth)
Returns: - table :
Table
Modified input table with columns added
- table :