Пример #1
0
    def plot_lightcurve(self, ax=None):
        """Plot lightcurve.
        """
        from gammapy.time import plot_fermi_3fgl_light_curve

        ax = plot_fermi_3fgl_light_curve(self.name, ax=ax)
        return ax
Пример #2
0
    def plot_lightcurve(self, ax=None):
        """Plot lightcurve.
        """
        from gammapy.time import plot_fermi_3fgl_light_curve

        ax = plot_fermi_3fgl_light_curve(self.name, ax=ax)
        return ax
Пример #3
0
    def plot_lightcurve(self, ax=None):
        """Plot lightcurve.
        """
        # TODO: move that function here and change to method
        # that returns a `gammapy.time.LightCurve` object
        from gammapy.time import plot_fermi_3fgl_light_curve

        ax = plot_fermi_3fgl_light_curve(self.name, ax=ax)
        return ax
Пример #4
0
    def plot_lightcurve(self, ax=None):
        """Plot lightcurve.
        """
        # TODO: move that function here and change to method
        # that returns a `gammapy.time.LightCurve` object
        from gammapy.time import plot_fermi_3fgl_light_curve

        ax = plot_fermi_3fgl_light_curve(self.name, ax=ax)
        return ax
from gammapy.time import plot_fermi_3fgl_light_curve
plot_fermi_3fgl_light_curve('3FGL J0349.9-2102',
                            time_start='2010-01-01',
                            time_end='2015-02-02')

import matplotlib.pyplot as plt
plt.show()