Exemple #1
0
    def plot_pi_time (self, ccdnum):
        import omega as om

        p = om.quickDF (self.events[self.events.ccdnr == ccdnum][['dmjd', 'pi']],
                        self.targ_name,
                        lines=False)
        self._plot_add_gtis (p, ccdnum)
        p.setLabels ('MJD - %.0f' % self.mjd0, 'PI')
        return p
Exemple #2
0
    def plot_pi_time (self, ccdnum):
        import omega as om

        p = om.quickDF (self.events[self.events.ccdnr == ccdnum][['dmjd', 'pi']],
                        self.targ_name,
                        lines=False)
        self._plot_add_gtis (p, ccdnum)
        p.setLabels ('MJD - %.0f' % self.mjd0, 'PI')
        return p
Exemple #3
0
    def plot_curve (self, ccdnum=None):
        import omega as om

        p = om.quickDF (self.lc[['dmjd', 'rate', 'u_rate']].dropna (),
                        self.targ_name,
                        lines=False)
        if ccdnum is not None:
            self._plot_add_gtis (p, ccdnum)
        p.setLabels ('MJD - %.0f' % self.mjd0, 'Count rate')
        return p
Exemple #4
0
    def plot_curve (self, ccdnum=None):
        import omega as om

        p = om.quickDF (self.lc[['dmjd', 'rate', 'u_rate']].dropna (),
                        self.targ_name,
                        lines=False)
        if ccdnum is not None:
            self._plot_add_gtis (p, ccdnum)
        p.setLabels ('MJD - %.0f' % self.mjd0, 'Count rate')
        return p