コード例 #1
0
ファイル: fermi.py プロジェクト: helen-poon/gammapy
    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
ファイル: fermi.py プロジェクト: cnachi/gammapy
    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
ファイル: fermi.py プロジェクト: grburgess/gammapy
    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
ファイル: fermi.py プロジェクト: dlennarz/gammapy
    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()