Example #1
0
 def __init__(self):
     XMLConfiguration.__init__(self,'ProjectFiles')
     self.Add(XMLPropertyDefaultBool('OpenLastFile',True))
     self.Add(XMLPropertyDefaultBool('RetainLastFilesOpened',True))
     self.Add(XMLProperty('LastFile',[LastFiles() for _ in range(4)],'array',arrayType=LastFiles()))
     self.Add(XMLPropertyDefaultBool('AskToSaveCurrentFile',True))
     self.Add(XMLPropertyDefaultBool('PreferSaveWaveformsLeCroyFormat',False))
Example #2
0
 def __init__(self):
     XMLConfiguration.__init__(self,'DeviceNetList',write=False)
     self.Add(XMLPropertyDefaultString('DeviceName'))
     self.Add(XMLPropertyDefaultString('PartName'))
     self.Add(XMLPropertyDefaultBool('ShowReference',True))
     self.Add(XMLPropertyDefaultBool('ShowPorts',True))
     self.Add(XMLProperty('Values',[DeviceNetListKeywordConfiguration() for _ in range(0)],'array',arrayType=DeviceNetListKeywordConfiguration()))
 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())
Example #4
0
 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))
Example #5
0
 def __init__(self, name):
     XMLConfiguration.__init__(self, name)
     self.Add(XMLPropertyDefaultBool('XInitialized', False))
     self.Add(XMLPropertyDefaultFloat('MinX'))
     self.Add(XMLPropertyDefaultFloat('MaxX'))
     self.Add(XMLPropertyDefaultBool('YInitialized', False))
     self.Add(XMLPropertyDefaultFloat('MinY'))
     self.Add(XMLPropertyDefaultFloat('MaxY'))
Example #6
0
 def __init__(self):
     XMLConfiguration.__init__(self, 'Times')
     self.Add(XMLPropertyDefaultBool('JoinWithin', True))
     self.Add(XMLPropertyDefaultBool('JoinWithOthers', True))
     self.SubDir(ZoomJoinProperties())
     self['Join.OffDiagonal'] = True
     self['Join.Reciprocals'] = True
     self['Join.Reflects'] = True
Example #7
0
 def __init__(self):
     XMLConfiguration.__init__(self, 'Vertical')
     self.Add(XMLPropertyDefaultBool('JoinMagnitudeWithOthers', True))
     self.Add(XMLPropertyDefaultBool('JoinPhaseWithOthers', True))
     self.Add(XMLPropertyDefaultBool('JoinImpulseWithOthers', True))
     self.Add(XMLPropertyDefaultBool('JoinStepImpedanceWithOthers', True))
     self.SubDir(ZoomJoinProperties())
     self['Join.Reciprocals'] = True
     self['Join.Reflects'] = True
Example #8
0
 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'))
Example #9
0
 def __init__(self):
     super().__init__('Annotation')
     self.Add(XMLPropertyDefaultBool('Annotate',False))
     self.Add(XMLPropertyDefaultString('Color','#ffffff'))
     self.Add(XMLPropertyDefaultBool('MeanLevels',True))
     self.Add(XMLPropertyDefaultBool('LevelExtents',False))
     self.Add(XMLPropertyDefaultBool('EyeWidth',True))
     self.Add(XMLPropertyDefaultBool('EyeHeight',True))
     self.SubDir(EyeContourConfiguration())
Example #10
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())
Example #11
0
 def __init__(self):
     XMLConfiguration.__init__(self, 'PartProperty')
     self.Add(XMLPropertyDefaultString('Keyword'))
     self.Add(XMLPropertyDefaultString('PropertyName', write=False))
     self.Add(XMLPropertyDefaultString('Description', write=False))
     self.Add(XMLPropertyDefaultString('Value'))
     self.Add(XMLPropertyDefaultBool('Hidden', write=False))
     self.Add(XMLPropertyDefaultBool('Visible'))
     self.Add(XMLPropertyDefaultBool('KeywordVisible'))
     self.Add(XMLPropertyDefaultString('Type', write=False))
     self.Add(XMLPropertyDefaultString('Unit', write=False))
     self.Add(XMLPropertyDefaultBool('InProjectFile', True, False))
Example #12
0
 def __init__(self):
     XMLConfiguration.__init__(self, 'Plot')
     self.Add(
         XMLProperty('S',
                     [[SParameterPlotsConfiguration() for _ in range(0)]
                      for _ in range(0)],
                     'array',
                     arrayType=SParameterPlotsConfiguration()))
     self.Add(XMLPropertyDefaultBool('VariableLineWidth', False))
     self.Add(XMLPropertyDefaultBool('ShowPassivityViolations', False))
     self.Add(XMLPropertyDefaultBool('ShowCausalityViolations', False))
     self.Add(XMLPropertyDefaultBool('ShowImpedance', False))
     self.Add(XMLPropertyDefaultBool('LogScale', False))
 def __init__(self):
     XMLConfiguration.__init__(self, 'OnlineHelp')
     self.Add(XMLPropertyDefaultBool('UseOnlineHelp', True))
     self.Add(
         XMLPropertyDefaultString(
             'URL',
             'http://teledynelecroy.github.io/SignalIntegrity/SignalIntegrity/App'
         ))
Example #14
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,preferences=False):
     XMLConfiguration.__init__(self,'Plot')
     if not preferences:
         self.Add(XMLProperty('S',[[SParameterPlotsConfiguration() for _ in range(0)] for _ in range(0)],'array',arrayType=SParameterPlotsConfiguration()))
     else:
         self.Add(XMLPropertyDefaultBool('VariableLineWidth',False))
         self.Add(XMLPropertyDefaultBool('ShowPassivityViolations',False))
         self.Add(XMLPropertyDefaultBool('ShowCausalityViolations',False))
         self.Add(XMLPropertyDefaultBool('ShowImpedance',False))
         self.Add(XMLPropertyDefaultBool('ShowExcessInductance',False))
         self.Add(XMLPropertyDefaultBool('ShowExcessCapacitance',False))
         self.Add(XMLPropertyDefaultBool('LogScale',False))
         self.Add(XMLPropertyDefaultBool('LinearVerticalScale',False))
Example #16
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())
Example #17
0
 def __init__(self):
     XMLConfiguration.__init__(self,'Calculation')
     self.Add(XMLPropertyDefaultBool('TrySVD',True))
     self.Add(XMLPropertyDefaultBool('UseSinX',True))
     self.Add(XMLPropertyDefaultBool('Enforce12458',True))
     self.Add(XMLPropertyDefaultFloat('MaximumWaveformSize',5e6))
Example #18
0
 def __init__(self):
     super().__init__('LogIntensity')
     self.Add(XMLPropertyDefaultBool('LogIntensity',False))
     self.Add(XMLPropertyDefaultFloat('MinExponent',-12))
     self.Add(XMLPropertyDefaultFloat('MaxExponent',0))
Example #19
0
 def __init__(self):
     XMLConfiguration.__init__(self, 'DeviceNetListKeyword', write=False)
     self.Add(XMLPropertyDefaultString('Keyword'))
     self.Add(XMLPropertyDefaultBool('ShowKeyword', True))
Example #20
0
 def __init__(self):
     super().__init__('Measure')
     self.Add(XMLPropertyDefaultBool('Measure',False))
     self.Add(XMLPropertyDefaultFloat('BERForMeasure',-6))
     self.Add(XMLPropertyDefaultFloat('NoisePenalty',0))
 def __init__(self):
     XMLConfiguration.__init__(self, 'Cache')
     self.Add(XMLPropertyDefaultBool('CacheResults', False))
Example #22
0
 def __init__(self):
     XMLConfiguration.__init__(self, 'Features')
     self.Add(XMLPropertyDefaultBool('NetworkAnalyzerModel', False))
Example #23
0
 def __init__(self):
     super().__init__('Contours')
     self.Add(XMLPropertyDefaultBool('Show',False))
     self.Add(XMLPropertyDefaultString('Which','Eye')) # 'Eye' or 'All'
Example #24
0
 def __init__(self):
     XMLConfiguration.__init__(self, 'Join')
     self.Add(XMLPropertyDefaultBool('All', False))
     self.Add(XMLPropertyDefaultBool('OffDiagonal', False))
     self.Add(XMLPropertyDefaultBool('Reciprocals', False))
     self.Add(XMLPropertyDefaultBool('Reflects', False))
Example #25
0
 def __init__(self):
     XMLConfiguration.__init__(self, 'Vertex')
     self.Add(XMLPropertyDefaultCoord('Coord'))
     self.Add(XMLPropertyDefaultBool('Selected', False, False))
 def __init__(self):
     XMLConfiguration.__init__(self, 'Calculation')
     self.Add(XMLPropertyDefaultBool('TrySVD', False))
     self.Add(XMLPropertyDefaultBool('UseSinX', False))
Example #27
0
 def __init__(self):
     super().__init__('Bathtub')
     self.Add(XMLPropertyDefaultBool('Measure',False))
     self.Add(XMLPropertyDefaultFloat('DecadesFromJoinForFit',0.5))
     self.Add(XMLPropertyDefaultInt('MinPointsForFit',6))