示例#1
0
 def __init__(
     self,
     name='com',
     labelList=('com', 'stddev'),
     formatString='The COM or centroid was at %f (com) and had a std. dev. of %f (stddev)'
 ):
     XYDataSetFunction.__init__(self, name, labelList, 'com', formatString)
示例#2
0
 def __init__(
     self,
     name='peak',
     labelList=('peakpos', 'peakvalue', 'peakbase', 'fwhm'),
     formatString='Peak value at %f (peakpos) was %f (peakvalue); %f (fwhm)'
 ):
     XYDataSetFunction.__init__(self, name, labelList, 'peakpos',
                                formatString)
示例#3
0
	def __init__(self, name='peaksinhole', labelList=('peaksinhole', 'positions'),formatString='if you see this string report to it support', plotPanel=None):
		XYDataSetFunction.__init__(self, name, labelList, 'peaksinhole', formatString)
		self.plotPanel = plotPanel
		self.scale = -1.0
		self.gaussians = 13
		self.maxfwhm = 0.3
		self.minarea = 0.001
		self.threshold = 0.05
		self.smoothing = 2
		self.accuracy = 0.01
示例#4
0
 def __init__(
     self,
     name='peak',
     labelList=('peakpos', 'peakvalue', 'fwhm'),
     formatString='Peak value at %f (peakpos) was %f (peakvalue); %f (fwhm)'
 ):
     XYDataSetFunction.__init__(self, name, labelList, 'peakpos',
                                formatString)
     self.delta = None
     self.smoothness = None
     self.cfwhm = 0.0
示例#5
0
 def __init__(
         self,
         smoothwidth=1,
         name='edges',
         labelList=('upos', 'ufwhm', 'dpos', 'dfwhm', 'area', 'fwhm'),
         formatString='upos:%f ufwhm:%f dpos:%f dfwhm:%f %f:area %f:fwhm',
         keyxlabel='upos',
         plotPanel=None,
         optimizer='genetic'):
     XYDataSetFunction.__init__(self, name, labelList, keyxlabel,
                                formatString)
     self.smoothwidth = smoothwidth
     self.plotPanel = plotPanel
     self.optimizer = optimizer
示例#6
0
 def __init__(self,
              name='peaksinhole',
              labelList=('peaksinhole', 'positions'),
              formatString='if you see this string report to it support',
              plotPanel=None):
     XYDataSetFunction.__init__(self, name, labelList, 'peaksinhole',
                                formatString)
     self.plotPanel = plotPanel
     self.scale = -1.0
     self.gaussians = 13
     self.maxfwhm = 0.3
     self.minarea = 0.001
     self.threshold = 0.05
     self.smoothing = 2
     self.accuracy = 0.01
示例#7
0
	def __init__(self, name='com', labelList=('com', 'stddev'), formatString='The COM or centroid was at %f (com) and had a std. dev. of %f (stddev)'):
		XYDataSetFunction.__init__(self, name, labelList,'com', formatString)
示例#8
0
	def __init__(self, name='minval', labelList=('minpos','minval'),formatString='Minimum value at %f (minpos) was %f (minval)'):
		XYDataSetFunction.__init__(self, name, labelList,'minpos', formatString)
示例#9
0
	def __init__(self, name='lcen', labelList=('lcen',), formatString='Center of next scan to left at %f'):
		XYDataSetFunction.__init__(self, name, labelList, 'lcen', formatString)
示例#10
0
	def __init__(self, smoothwidth=1, name='edges', labelList=('upos', 'ufwhm', 'dpos', 'dfwhm', 'area', 'fwhm'), formatString='upos:%f ufwhm:%f dpos:%f dfwhm:%f %f:area %f:fwhm', keyxlabel='upos', plotPanel=None, optimizer='genetic'):
		XYDataSetFunction.__init__(self, name, labelList, keyxlabel, formatString)
		self.smoothwidth = smoothwidth
		self.plotPanel = plotPanel
		self.optimizer = optimizer
示例#11
0
	def __init__(self, name='cen', labelList=('cen', 'height', 'width'),formatString=''):
		XYDataSetFunction.__init__(self, name, labelList,'cen', formatString)
	def __init__(self, name, labelList, formatString, plotPanel, offset, keyxlabel):
		XYDataSetFunction.__init__(self, name, labelList, keyxlabel, formatString)
		self.plotPanel = plotPanel
		self.offset = offset
示例#13
0
	def __init__(self, name='edge', labelList=('pos','slope', 'fwhm', 'residual'),formatString='Edge at %f (pos) with slope proportional to: %f, fwhm: %f and residual: %f', plotPanel=None, keyxlabel='pos'):
		XYDataSetFunction.__init__(self, name, labelList, keyxlabel, formatString)
		self.smoothwidth = 1
		self.plotPanel = plotPanel
示例#14
0
 def __init__(self,
              name='lcen',
              labelList=('lcen', ),
              formatString='Center of next scan to left at %f'):
     XYDataSetFunction.__init__(self, name, labelList, 'lcen', formatString)
示例#15
0
	def __init__(self, name='maxval', labelList=('maxpos','maxval'),formatString='Maximum value at %f (maxpos) was %f (maxval)'):
		XYDataSetFunction.__init__(self, name, labelList, 'maxpos', formatString)
示例#16
0
 def __init__(self, name, labelList, formatString, plotPanel, offset,
              keyxlabel):
     XYDataSetFunction.__init__(self, name, labelList, keyxlabel,
                                formatString)
     self.plotPanel = plotPanel
     self.offset = offset
示例#17
0
	def __init__(self, name='peak', labelList=('peakpos','peakvalue','peakbase','fwhm'),formatString='Peak value at %f (peakpos) was %f (peakvalue); %f (fwhm)'):
		XYDataSetFunction.__init__(self, name, labelList, 'peakpos', formatString)
示例#18
0
 def __init__(self, name='peak', labelList=('peakpos','peakvalue','fwhm'),formatString='Peak value at %f (peakpos) was %f (peakvalue); %f (fwhm)'):
     XYDataSetFunction.__init__(self, name, labelList, 'peakpos', formatString)
     self.delta=None
     self.smoothness=None
     self.cfwhm=0.0