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))
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())
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, 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'))
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
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
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): 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())
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())
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))
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' ))
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))
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())
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))
def __init__(self): super().__init__('LogIntensity') self.Add(XMLPropertyDefaultBool('LogIntensity',False)) self.Add(XMLPropertyDefaultFloat('MinExponent',-12)) self.Add(XMLPropertyDefaultFloat('MaxExponent',0))
def __init__(self): XMLConfiguration.__init__(self, 'DeviceNetListKeyword', write=False) self.Add(XMLPropertyDefaultString('Keyword')) self.Add(XMLPropertyDefaultBool('ShowKeyword', True))
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))
def __init__(self): XMLConfiguration.__init__(self, 'Features') self.Add(XMLPropertyDefaultBool('NetworkAnalyzerModel', False))
def __init__(self): super().__init__('Contours') self.Add(XMLPropertyDefaultBool('Show',False)) self.Add(XMLPropertyDefaultString('Which','Eye')) # 'Eye' or 'All'
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))
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))
def __init__(self): super().__init__('Bathtub') self.Add(XMLPropertyDefaultBool('Measure',False)) self.Add(XMLPropertyDefaultFloat('DecadesFromJoinForFit',0.5)) self.Add(XMLPropertyDefaultInt('MinPointsForFit',6))