Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(26)  |  Call(26)  |  Derive(0)  |  Import(0)

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/NormalizationPlugins.py   pymca(Download)
                replot = False
                replace = False
            self.addCurve(x, y,
                          legend=legend,
                          info=info,
                          replot=replot,
                          replace=replace)                
        self.addCurve(x, y,
                replot = False
                replace = False
            self.addCurve(x, y,
                          legend=legend,
                          info=info,
                          replot=replot,
                          replace=replace)                
        self.addCurve(x, y,
                replot = False
                replace = False
            self.addCurve(x, y,
                          legend=legend,
                          info=info,

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/XASSelfattenuationPlugin.py   pymca(Download)
        energy, spectrum, legend, info = activeCurve[0:4]
        spectrum = self.instance.correctNormalizedSpectrum(energy, spectrum)
        self.addCurve(energy, spectrum, legend="CORR"+legend, info=info, replace=False, replot=True)
 
    def correctAll(self):
                replot = False
            spectrum = self.instance.correctNormalizedSpectrum(energy, spectrum)
            self.addCurve(energy, spectrum, legend="CORR"+legend, info=info,
                          replot=replot, replace=replace)
 

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/XASScanNormalizationPlugin.py   pymca(Download)
            if not newLegend.startswith('Norm.'):
                newLegend = "Norm. " + newLegend
            self.addCurve(x, y,
                          legend=newLegend,
                          info=info,
                          replot=replot,
                          replace=replace)
            lastCurve = [x, y, newLegend]
        self.addCurve(lastCurve[0],

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/AlignmentScanPlugin.py   pymca(Download)
        curveList[-1][-1] = False
        x, y, legend, replot, replace = curveList[0]
        self.addCurve(x, y, legend=legend, replot=True, replace=True)
        for i in range(1, len(curveList)):
            x, y, legend, replot, replace = curveList[i]
            self.addCurve(x,

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MedianFilterScanPlugin.py   pymca(Download)
                                              curves[0][2],
                                              curves[-1][2])
        self.addCurve(x0,
                      y,
                      legend=legend,

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MathPlugins.py   pymca(Download)
        info['operations'] = operations
        legend = "-("+legend+")"
        self.addCurve(x, -y, legend=legend, info=info, replot=True)
 
    def derivate(self):
        info['operations'] = operations
        legend = legend+"'"
        self.addCurve(x, y, legend=legend, info=info, replot=True)
 
 

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/BackgroundScanPlugin.py   pymca(Download)
            info['operations'] = operations
            self.removeCurve(legend, replot=False)
            self.addCurve(xdata, ydata, legend=legend, info=info, replot=True)
 
    def subtract1DSnipBackgroundFromActiveCurve(self, smooth=False):
            info['operations'] = operations
            self.removeCurve(legend, replot=False)
            self.addCurve(xdata, ydata, legend=legend +" Net", info=info, replot=True)
            self.subtract1DSnipParameters = snipWindow.getParameters()
 
            info['operations'] = operations
            self.removeCurve(legend, replot=False)
            self.addCurve(xdata, ydata, legend=legend, info=info, replot=True)
            self.deglitch1DSnipParameters = snipWindow.getParameters()
 

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MedianFilterScanDeglitchPlugin.py   pymca(Download)
            legend = info.get('selectionlegend',legend) + ' SR'
            if (idx==0) and (len(spectra)!=1):
                self.addCurve(x,ynew,legend,info, replace=True, replot=False)
            elif idx == (len(spectra)- 1):
                self.addCurve(x,ynew,legend,info, replace=False, replot=True)
            else:
                self.addCurve(x,ynew,legend,info, replace=False, replot=False)

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/AdvancedAlignmentScanPlugin.py   pymca(Download)
                print('\'%s\' -- shifts -> \'%s\' by %f'%(self.shiftList[idx], legend, shift))
            selectionlegend = info.get('selectionlegend',legend)
            self.addCurve(xShifted, yShifted, 
                          (selectionlegend + ' SHIFT'),
                          info,