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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MultipleScanToMeshPlugin.py   pymca(Download)
                                            profileselection=True,
                                            scanwindow=self)                
            self._rixsWidget.setImageData(zz,
                                          xScale=(xx.min(), xx.max()),
                                          yScale=(yy.min(), yy.max()))
            #actualMin = zData.min()
            #zz = numpy.where(numpy.isfinite(zz), zz, actualMax)
            self._rixsWidget.setImageData(zz,
                                          xScale=(xx.min(), xx.max()),
                                          yScale=(yy.min(), yy.max()))

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/RegularMeshPlugin.py   pymca(Download)
                                        profileselection=True,
                                        scanwindow=self)
        self.imageWidget.setImageData(y,
                                      xScale=(self._motor0[0],
                                              self._motor0[-1]),                                              

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/StackBrowser.py   pymca(Download)
            if len(shape) == 2:
                self._nImages = 1
                self.setImageData(dataObject.data)
                self.slider.hide()
                self.name.setText(legend)
                #dataObject.data.shape = self._nImages, shape[-2], shape[-1]
                data = self._getImageDataFromSingleIndex(0)
                self.setImageData(data)
                self.slider.setRange(0, self._nImages - 1)
                self.slider.setValue(0)
            if len(shape) == 2:
                self._nImages = 1
                self.setImageData(dataObject.data)
                self.slider.hide()
                self.name.setText(legend)
                #dataObject.data.shape = self._nImages, shape[-2], shape[-1]
                data = self._getImageDataFromSingleIndex(0)
                self.setImageData(data)
                self.slider.setRange(0, self._nImages - 1)
                self.slider.setValue(0)
        data = self._getImageDataFromSingleIndex(index)
        if self._backgroundSubtraction and (self._backgroundImage is not None):
            self.setImageData(data - self._backgroundImage)
        else:
            self.setImageData(data, clearmask=False)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/ExternalImagesWindow.py   pymca(Download)
            self._dynamicAction(index)
        elif self._stack:
            self.setImageData(self.imageList[index])
            if self.imageNames is None:
                self.graphWidget.graph.setGraphTitle("Image %d" % index)
    def _dynamicAction(self, index):
        #just support edffiles
        fileName = self.imageList[index]
        edf = EdfFile.EdfFile(fileName)
        self.setImageData(edf.GetData(0))

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/math/PCAWindow.py   pymca(Download)
        if len(self.imageList) == 0:
            return
        self.setImageData(self.imageList[index])
        self.graphWidget.graph.setGraphTitle(self.imageNames[index])
        if moveslider:

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/math/SNIPWindow.py   pymca(Download)
            self.parametersWidget = SNIP2DParametersWidget(self, shape=self.image.shape)
            self.graph = self.graphWidget.graphWidget.graph            
            self.graphWidget.setImageData(data)
            self.mainLayout.addWidget(self.parametersWidget)
            self.mainLayout.addWidget(self.graphWidget)