Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

graph1d_to_table

gammapy.utils.root.graph1d_to_table(graph)[source]

Convert ROOT TGraph to an astropy Table.

Parameters:

graph : ROOT.TGraph

ROOT graph

Returns:

table : Table

Astropy table