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

All Samples(8)  |  Call(6)  |  Derive(0)  |  Import(2)

src/p/r/praxes-HEAD/praxes/fluorescence/mptaskmanager.py   praxes(Download)
def init(config):
    global advanced_fit, mass_fraction_tool
    from PyMca.ClassMcaTheory import McaTheory
    config['fit']['use_limit'] = 1
    advanced_fit = McaTheory(config=config)

src/p/r/praxes-HEAD/praxes/combi/xrf_analysis.py   praxes(Download)
    def FitProcessSpectrum(self, pymca_config, spectrum):
        advancedFit = ClassMcaTheory.McaTheory(config=pymca_config)
        advancedFit.enableOptimizedLinearFit()
        mfTool = ConcentrationsTool(pymca_config)
        tconf = mfTool.configure()

src/p/r/praxes-HEAD/praxes/fluorescence/mcaspectrum.py   praxes(Download)
    as MplToolbar
import numpy as np
from PyMca.ClassMcaTheory import McaTheory
from PyQt4 import QtCore, QtGui
 
    def __init__(self, parent=None):
        super(SpectrumAnalysisThread, self).__init__(parent)
 
        self.mcafit = McaTheory()
 
        self.concentrationsWidget = concentrationsWidget
 
        self.mcafit = McaTheory()
#        self.mcafit.enableOptimizedLinearFit()
        self.fitData = None

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/XRFMC/XRFMCHelper.py   pymca(Download)
        xdata = numpy.arange(0, xmax + 1) * 1.0
        ydata = 0.0 + 0.1 * xdata
        mcaFit = ClassMcaTheory.McaTheory()
        mcaFit.configure(fitConfiguration)
        mcaFit.setData(x=xdata, y=ydata, xmin=xmin, xmax=xmax)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/XRFMCPyMca.py   pymca(Download)
                xdata = numpy.arange(0, xmax + 1) * 1.0
                ydata = 0.0 + 0.1 * xdata
                mcaFit = ClassMcaTheory.McaTheory()
                mcaFit.configure(newFile)
                mcaFit.setData(x=xdata, y=ydata, xmin=xmin, xmax=xmax)