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

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

```                replot = False
replace = False
legend=legend,
info=info,
replot=replot,
replace=replace)
```
```                replot = False
replace = False
legend=legend,
info=info,
replot=replot,
replace=replace)
```
```                replot = False
replace = False
legend=legend,
info=info,
```

```        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)
replot=replot, replace=replace)

```

```            if not newLegend.startswith('Norm.'):
newLegend = "Norm. " + newLegend
legend=newLegend,
info=info,
replot=replot,
replace=replace)
lastCurve = [x, y, newLegend]
```

```        curveList[-1][-1] = False
x, y, legend, replot, replace = curveList[0]
for i in range(1, len(curveList)):
x, y, legend, replot, replace = curveList[i]
```

```                                              curves[0][2],
curves[-1][2])
y,
legend=legend,
```

```        info['operations'] = operations
legend = "-("+legend+")"

def derivate(self):
```
```        info['operations'] = operations
legend = legend+"'"

```

```            info['operations'] = operations
self.removeCurve(legend, replot=False)

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.deglitch1DSnipParameters = snipWindow.getParameters()

```

```            legend = info.get('selectionlegend',legend) + ' SR'
if (idx==0) and (len(spectra)!=1):
elif idx == (len(spectra)- 1):
```                print('\'%s\' -- shifts -> \'%s\' by %f'%(self.shiftList[idx], legend, shift))