def __init__(self):
     XMLConfiguration.__init__(self, 'Appearance')
     self.Add(XMLPropertyDefaultInt('FontSize', 12))
     self.Add(XMLPropertyDefaultInt('InitialGrid', 16))
     self.Add(XMLPropertyDefaultBool('PlotCursorValues', False))
     self.Add(XMLPropertyDefaultBool('AllPinNumbersVisible', False))
     self.SubDir(Color())
 def __init__(self):
     XMLConfiguration.__init__(self, 'PartPicture')
     self.Add(XMLPropertyDefaultInt('Index', None))
     self.Add(XMLPropertyDefaultString('ClassName', write=False))
     self.Add(XMLPropertyDefaultCoord('Origin'))
     self.Add(XMLPropertyDefaultInt('Orientation'))
     self.Add(XMLPropertyDefaultBool('MirroredVertically', False))
     self.Add(XMLPropertyDefaultBool('MirroredHorizontally', False))
 def __init__(self):
     XMLConfiguration.__init__(self, 'DrawingProperties')
     self.Add(XMLPropertyDefaultFloat('Grid', 32.))
     self.Add(XMLPropertyDefaultInt('Originx', 1))
     self.Add(XMLPropertyDefaultInt('Originy', 4))
     self.Add(XMLPropertyDefaultInt('Width', 711))
     self.Add(XMLPropertyDefaultInt('Height', 318))
     self.Add(XMLPropertyDefaultString('Geometry', '711x363+27+56'))
Beispiel #4
0
 def __init__(self):
     XMLConfiguration.__init__(self, 'CalculationProperties')
     self.Add(XMLPropertyDefaultFloat('EndFrequency', 20e9))
     self.Add(XMLPropertyDefaultInt('FrequencyPoints', 2000))
     self.Add(XMLPropertyDefaultFloat('UserSampleRate', 40e9))
     self.Add(XMLPropertyDefaultFloat('UserSamplePeriod', write=False))
     self.Add(XMLPropertyDefaultFloat('BaseSampleRate', write=False))
     self.Add(XMLPropertyDefaultFloat('BaseSamplePeriod', write=False))
     self.Add(XMLPropertyDefaultInt('TimePoints', write=False))
     self.Add(XMLPropertyDefaultFloat('FrequencyResolution', write=False))
     self.Add(XMLPropertyDefaultFloat('ImpulseResponseLength', write=False))
Beispiel #5
0
 def __init__(self):
     XMLConfiguration.__init__(self,'Appearance')
     self.Add(XMLPropertyDefaultInt('FontSize',12))
     self.Add(XMLPropertyDefaultInt('InitialGrid',16))
     self.Add(XMLPropertyDefaultFloat('PlotWidth',5))
     self.Add(XMLPropertyDefaultFloat('PlotHeight',2))
     self.Add(XMLPropertyDefaultInt('PlotDPI',100))
     self.Add(XMLPropertyDefaultBool('PlotCursorValues',False))
     self.Add(XMLPropertyDefaultBool('AllPinNumbersVisible',False))
     self.Add(XMLPropertyDefaultBool('GridsOnPlots',True))
     self.SubDir(Color())
Beispiel #6
0
 def __init__(self,Name,preferences=False):
     XMLConfiguration.__init__(self,Name)
     if not preferences:
         self.Add(XMLPropertyDefaultFloat('EndFrequency',20e9))
         self.Add(XMLPropertyDefaultInt('FrequencyPoints',2000))
         self.Add(XMLPropertyDefaultFloat('UserSampleRate',40e9))
         self.Add(XMLPropertyDefaultFloat('UserSamplePeriod',write=False))
         self.Add(XMLPropertyDefaultFloat('BaseSampleRate',write=False))
         self.Add(XMLPropertyDefaultFloat('BaseSamplePeriod',write=False))
         self.Add(XMLPropertyDefaultInt('TimePoints',write=False))
         self.Add(XMLPropertyDefaultFloat('FrequencyResolution',write=False))
         self.Add(XMLPropertyDefaultFloat('ImpulseResponseLength',write=False))
         self.CalculateOthersFromBaseInformation()
Beispiel #7
0
 def __init__(self):
     super().__init__('JitterNoise')
     self.Add(XMLPropertyDefaultFloat('JitterS',0))
     self.Add(XMLPropertyDefaultFloat('JitterDeterministicPkS',0))
     self.Add(XMLPropertyDefaultFloat('Noise',0.0))
     self.Add(XMLPropertyDefaultInt('MaxKernelPixels',100000))
     self.SubDir(EyeLogIntensityConfiguration())
Beispiel #8
0
 def __init__(self):
     super().__init__('Alignment')
     self.Add(XMLPropertyDefaultBool('AutoAlign',False))
     self.Add(XMLPropertyDefaultFloat('BERForAlignment',-3))
     self.Add(XMLPropertyDefaultInt('BitsPerSymbol',1))
     self.Add(XMLPropertyDefaultString('Mode','Horizontal')) # 'Horizontal' or 'Vertical'
     self.Add(XMLPropertyDefaultString('Horizontal','Middle')) # 'Middle' or 'Max' (vertical eye)
     self.Add(XMLPropertyDefaultString('Vertical','MaxMin')) # 'MaxMin' (maximum minimum opening) or 'Max' (maximum opening) 
 def __init__(self):
     XMLConfiguration.__init__(self, 'PartPin', write=False)
     self.Add(XMLPropertyDefaultInt('Number'))
     self.Add(XMLPropertyDefaultCoord('ConnectionPoint'))
     self.Add(XMLPropertyDefaultString('Orientation'))
     self.Add(XMLPropertyDefaultBool('NumberVisible'))
     self.Add(XMLPropertyDefaultBool('Visible'))
     self.Add(XMLPropertyDefaultBool('NumberingMatters'))
     self.Add(XMLPropertyDefaultString('NumberSide', 'n'))
 def __init__(self,preferences=False):
     CalculationPropertiesBase.__init__(self,'SParameterProperties',preferences)
     if not preferences:
         self.Add(XMLPropertyDefaultFloat('ReferenceImpedance',50.0))
         self.Add(XMLPropertyDefaultFloat('TimeLimitNegative',-100e-12))
         self.Add(XMLPropertyDefaultFloat('TimeLimitPositive',10e-9))
     else:
         self.SubDir(SParameterZoomProperties())
         self.Add(XMLPropertyDefaultInt('SignificantDigits',6))
     self.SubDir(PlotProperties(preferences))
Beispiel #11
0
 def __init__(self):
     super().__init__('EyeDiagram')
     self.Add(XMLPropertyDefaultString('Color','#ffffff'))
     self.Add(XMLPropertyDefaultInt('UI',3))
     self.Add(XMLPropertyDefaultInt('Rows',200))
     self.Add(XMLPropertyDefaultInt('Columns',200))
     self.Add(XMLPropertyDefaultFloat('Saturation',20))
     self.Add(XMLPropertyDefaultFloat('ScaleX',75.))
     self.Add(XMLPropertyDefaultFloat('ScaleY',150.))
     self.Add(XMLPropertyDefaultString('Mode','ISI'))
     self.Add(XMLPropertyDefaultBool('Invert',True))
     self.SubDir(EyeYAxisConfiguration())
     self.SubDir(EyeJitterNoiseConfiguration())
     self.SubDir(EyeAlignmentConfiguration())
     self.SubDir(EyeEnhancedPrecisionConfiguration())
     self.SubDir(EyeMeasureConfiguration())
     self.SubDir(EyeAnnotationConfiguration())
     self.SubDir(DecisionConfiguration())
     self.SubDir(BathtubConfiguration())
Beispiel #12
0
 def __init__(self):
     super().__init__('EnhancedPrecision')
     self.Add(XMLPropertyDefaultString('Mode','Auto'))
     self.Add(XMLPropertyDefaultInt('FixedEnhancement',10))
Beispiel #13
0
 def __init__(self):
     super().__init__('Bathtub')
     self.Add(XMLPropertyDefaultBool('Measure',False))
     self.Add(XMLPropertyDefaultFloat('DecadesFromJoinForFit',0.5))
     self.Add(XMLPropertyDefaultInt('MinPointsForFit',6))