def __init__(self): XMLConfiguration.__init__(self, 'PostProcessing') self.Add( XMLProperty('Lines', [PostProcessingLineConfiguration() for _ in range(0)], 'array', arrayType=PostProcessingLineConfiguration()))
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,'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, '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, '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'))
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, '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, 'SParameterPlotConfiguration') self.SubDir(PlotConfiguration('Magnitude')) self.SubDir(PlotConfiguration('Phase')) self.SubDir(PlotConfiguration('Impulse')) self.SubDir(PlotConfiguration('Step')) self.SubDir(PlotConfiguration('Impedance')) self.Add(XMLPropertyDefaultFloat('Delay', 0.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
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): XMLConfiguration.__init__(self, 'Color') self.Add(XMLPropertyDefaultString('Background')) self.Add(XMLPropertyDefaultString('Foreground')) self.Add(XMLPropertyDefaultString('ActiveBackground')) self.Add(XMLPropertyDefaultString('ActiveForeground')) self.Add(XMLPropertyDefaultString('DisabledForeground')) self.Add(XMLPropertyDefaultString('Plot'))
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,'Device') self.Add(XMLPropertyDefaultString('ClassName')) self.SubDir(PartPictureConfiguration()) self.Add(XMLProperty('PartProperties',[PartPropertyConfiguration() for _ in range(0)],'array',arrayType=PartPropertyConfiguration())) self.SubDir(DeviceNetListConfiguration()) import SignalIntegrity.App.Preferences for key in SignalIntegrity.App.Preferences['Devices'].dict.keys(): self.SubDir(copy.deepcopy(SignalIntegrity.App.Preferences['Devices'][key]),makeOnRead=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): XMLConfiguration.__init__(self, 'Device') self.Add(XMLPropertyDefaultString('ClassName')) self.SubDir(PartPictureConfiguration()) self.Add( XMLProperty('PartProperties', [PartPropertyConfiguration() for _ in range(0)], 'array', arrayType=PartPropertyConfiguration())) self.SubDir(DeviceNetListConfiguration())
def __init__(self): XMLConfiguration.__init__(self, 'Schematic') self.Add( XMLProperty('Devices', [DeviceConfiguration() for _ in range(0)], 'array', arrayType=DeviceConfiguration())) self.Add( XMLProperty('Wires', [WireConfiguration() for _ in range(0)], 'array', arrayType=WireConfiguration()))
def __init__(self, vertexList=None): if vertexList == None: vertexList = [] XMLConfiguration.__init__(self, 'Wire') self.Add( XMLProperty('Vertices', [ Vertex(vertex['Coord'], vertex['Selected']) for vertex in vertexList ], 'array', arrayType=Vertex()))
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))
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,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()
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): 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, 'Zoom') self.SubDir(ZoomFrequenciesProperties()) self.SubDir(ZoomTimesProperties()) self.SubDir(ZoomVerticalProperties())
def __init__(self): XMLConfiguration.__init__(self, 'Wire') self.Add( XMLProperty('Vertices', [VertexConfiguration() for _ in range(0)], 'array', arrayType=VertexConfiguration()))
def __init__(self): XMLConfiguration.__init__(self, 'DeviceNetListKeyword', write=False) self.Add(XMLPropertyDefaultString('Keyword')) self.Add(XMLPropertyDefaultBool('ShowKeyword', True))
def __init__(self): XMLConfiguration.__init__(self, 'PostProcessingLine') self.Add(XMLPropertyDefaultString('Line', ''))
def __init__(self): XMLConfiguration.__init__(self, 'Drawing') self.SubDir(DrawingPropertiesConfiguration()) self.SubDir(SchematicConfiguration())
def __init__(self): XMLConfiguration.__init__(self, 'Vertex') self.Add(XMLPropertyDefaultCoord('Coord')) self.Add(XMLPropertyDefaultBool('Selected', False, False))