Package qubx :: Module fit_robots
[hide private]
[frames] | no frames]

Module fit_robots

source code

Background thread to operate qubx.fit.

Copyright 2008-2013 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  FitRobots
Background thread with multiprocessing.pool to operate qubx.fit.
  FitSession
Background thread to operate qubx.fit.
  Strategy
Strategy module_name: for pyenv run_later: facility for deferred execution such as gobject.idle_add
Functions [hide private]
 
InitFitRobots(on_start_item=<__builtin__.function object>, on_finish_item=<__builtin__.function object>) source code
 
InitFitRobotsGlobals() source code
 
InitFitRobotsGlobals_worker(globals_script) source code
 
main() source code
Variables [hide private]
  Curves = {'AllExponentials': <class 'qubx_single.dur_hist.AllE...
  D1_DIFF_CENTRAL = False
  D2_DIFF_CENTRAL = True
  DIFF_DEV = 1e-07
  Fitters = {'Levenburg-Marquardt': <class 'qubx.fit.LMFitter'>,...
  GaussianCurves = [<class 'qubx.fit.GaussianCurve'>, <class 'qu...
  GaussianUnitCurves = [<class 'qubx.fit.GaussianUnitCurve'>, <c...
  UNSET_VALUE = 86738.82583
  USE_POOL_THRESHOLD = 1024
  __package__ = 'qubx'
  cpu_count = 4
  erfc = <ufunc 'erfc'>
  pi = 3.14159265359
  robots = None
hash(x)
  sin = <ufunc 'sin'>
Variables Details [hide private]

Curves

Value:
{'AllExponentials': <class 'qubx_single.dur_hist.AllExponentials_Displ\
ay'>,
 'Custom': <class 'qubx.fit.Curve'>,
 'Declining Exponential': <class 'qubx.fit.DecExpoCurve'>,
 'Double Declining Exponential': <class 'qubx.fit.DblDecExpoCurve'>,
 'Exponential (log x)': <class 'qubx.fit.LogExpoCurve'>,
 'Exponential (log x) (2)': <class 'qubx.fit.LogExpoCurve2'>,
 'Exponential (log x) (3)': <class 'qubx.fit.LogExpoCurve3'>,
...

Fitters

Value:
{'Levenburg-Marquardt': <class 'qubx.fit.LMFitter'>,
 'Simplex': <class 'qubx.fit.SimplexFitter'>,
 'Simplex-LM': <class 'qubx.fit.Simplex_LM_Fitter'>}

GaussianCurves

Value:
[<class 'qubx.fit.GaussianCurve'>,
 <class 'qubx.fit.DblGaussianCurve'>,
 <class 'qubx.fit.TriGaussianCurve'>,
 <class 'qubx.fit.QuadGaussianCurve'>,
 <class 'qubx.fit.QuintGaussianCurve'>]

GaussianUnitCurves

Value:
[<class 'qubx.fit.GaussianUnitCurve'>,
 <class 'qubx.fit.DblGaussianUnitCurve'>,
 <class 'qubx.fit.TriGaussianUnitCurve'>,
 <class 'qubx.fit.QuadGaussianUnitCurve'>,
 <class 'qubx.fit.QuintGaussianUnitCurve'>]