def plotLightCurve_multirad(self,pointsPerBin=10):
        for apertureRadiusIndex in range(len(self.apertureRadii)):

            meanTimeInt = int(np.rint(np.mean(self.times)))
            offsetTimes = meanTimeInt - self.times
            binnedTime, binnedFlux, binnedStd = mathMethods.medianBin(offsetTimes,self.lightCurves[apertureRadiusIndex],pointsPerBin)
            fig = plt.figure(num=None, figsize=(10, 8), facecolor='w',edgecolor='k')
            fig.canvas.set_window_title('OSCAAR')
            axis = fig.add_subplot(111)
            def format_coord(x, y):
                '''Function to give data value on mouse over plot.'''
                return 'JD=%1.5f, Flux=%1.4f' % (meanTimeInt+x, y)
            axis.format_coord = format_coord
            axis.errorbar(offsetTimes,self.lightCurves[apertureRadiusIndex],yerr=self.lightCurveErrors[apertureRadiusIndex],fmt='k.',ecolor='gray')
            axis.errorbar(binnedTime, binnedFlux, yerr=binnedStd, fmt='rs-', linewidth=2)
            axis.axvline(ymin=0,ymax=1,x=self.ingress-meanTimeInt,color='k',ls=':')
            axis.axvline(ymin=0,ymax=1,x=self.egress-meanTimeInt,color='k',ls=':')
            axis.set_title('Light curve for aperture radius: %s' % self.apertureRadii[apertureRadiusIndex])
            axis.set_xlabel(('Time - %i (JD)' % meanTimeInt))
            axis.set_ylabel('Relative Flux')
        plt.ioff()
        plt.show()
dataset/ETHPy150Open OSCAAR/OSCAAR/oscaar/dataBank.py/dataBank.plotLightCurve_multirad/swapped operands of `-`