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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/NormalizationPlugins.py   pymca(Download)
 
        #get active curve
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            raise ValueError("Please select an active curve")

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MathPlugins.py   pymca(Download)
    def invert(self):
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            return
        x, y, legend, info = activeCurve [0:4]
    def derivate(self):
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            return
        x, y, legend, info = activeCurve [0:4]

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/BackgroundScanPlugin.py   pymca(Download)
    def replaceActiveCurveWithSavitzkyGolayFiltering(self):
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            return
        x, spectrum, legend, info = activeCurve
    def subtract1DSnipBackgroundFromActiveCurve(self, smooth=False):
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            return
        x, spectrum, legend, info = activeCurve
    def deglitchActiveCurveWith1DSnipBackground(self):
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            return
        x, spectrum, legend, info = activeCurve

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/XASScanNormalizationPlugin.py   pymca(Download)
    def configure(self):
        #get active curve
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            raise ValueError("Please select an active curve")
 
        #get active curve
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            raise ValueError("Please select an active curve")

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/AdvancedAlignmentScanPlugin.py   pymca(Download)
 
        # Get active curve
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            # If active curve is not set, continue with first curve
 
        # Get active curve            
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            # If active curve is not set, continue with first curve
 
        # Get active curve
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            # If active curve is not set, continue with first curve
            return
 
        activeCurve = self.getActiveCurve()
        if not activeCurve:
            activeCurve = curves[0]

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/XASSelfattenuationPlugin.py   pymca(Download)
 
        #get active curve
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            raise ValueError("Please select an active curve")
 
        #get active curve
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            activeCurve = curves[0]

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/AlignmentScanPlugin.py   pymca(Download)
        # get legend of active curve
        try:
            activeCurveLegend = self.getActiveCurve()[2]
            if activeCurveLegend is None:
                activeCurveLegend = curves[0][2]

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MedianFilterScanPlugin.py   pymca(Download)
 
        # get active curve            
        activeCurve = self.getActiveCurve()
        if activeCurve is None:
            activeCurve = curves[0]

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/RegularMeshPlugin.py   pymca(Download)
    def _convert(self):
        x, y, legend, info = self.getActiveCurve()
        self._x = x
        self._y = y
        if 'Header' not in info: