Thu, 21 Aug 2008 19:10:57 +0200
added copyright header to every python file
--- a/pygpibtoolkit/HP3562A/HP356X.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/HP356X.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,4 +1,20 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. # +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:python@logilab.fr + +""" + from pygpibtoolkit.pygpib import Constants, Command from pygpibtoolkit.pygpib import Condition from pygpibtoolkit.pygpib import BoolValue, IntValue, FloatValue
--- a/pygpibtoolkit/HP3562A/__init__.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/__init__.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,4 +1,19 @@ -""" +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + + HP356X ======
--- a/pygpibtoolkit/HP3562A/coord_decoder.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/coord_decoder.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,5 +1,19 @@ # -*- coding: utf-8 -*- -""" +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + state_decoder =============
--- a/pygpibtoolkit/HP3562A/datablockwidget.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/datablockwidget.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,4 +1,19 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. # +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + import re import numpy from itertools import izip, count as icount
--- a/pygpibtoolkit/HP3562A/dump_datablock.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/dump_datablock.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,3 +1,19 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + import sys import time import pygpibtoolkit.pygpib
--- a/pygpibtoolkit/HP3562A/dump_datablock_mockup.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/dump_datablock_mockup.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,3 +1,19 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + import glob import os import time
--- a/pygpibtoolkit/HP3562A/enum_types.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/enum_types.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,5 +1,19 @@ # -*- coding: utf-8 -*- -""" +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + Constants used for HP3562A data block interpretation. """
--- a/pygpibtoolkit/HP3562A/mathtools.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/mathtools.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,3 +1,19 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + import numpy def thd(spectrum, squared=True, db=True):
--- a/pygpibtoolkit/HP3562A/q3562A.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/q3562A.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,4 +1,19 @@ # +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" import os, sys import time
--- a/pygpibtoolkit/HP3562A/state_decoder.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/state_decoder.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,5 +1,19 @@ # -*- coding: utf-8 -*- -""" +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + state_decoder =============
--- a/pygpibtoolkit/HP3562A/trace_decoder.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/HP3562A/trace_decoder.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,5 +1,19 @@ # -*- coding: utf-8 -*- -""" +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + trace_decoder =============
--- a/pygpibtoolkit/__init__.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/__init__.py Thu Aug 21 19:10:57 2008 +0200 @@ -0,0 +1,15 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +"""
--- a/pygpibtoolkit/gpib_utils.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/gpib_utils.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,5 +1,19 @@ # -*- coding: utf-8 -*- -""" +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + Several utility functions for GPIB data conversions """ import struct
--- a/pygpibtoolkit/gpibcontroller.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/gpibcontroller.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,7 +1,22 @@ # -""" +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + A general purpose GPIB controller based on prologix GPIB device """ + import sys import threading import time
--- a/pygpibtoolkit/plotter/__init__.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/plotter/__init__.py Thu Aug 21 19:10:57 2008 +0200 @@ -0,0 +1,15 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +"""
--- a/pygpibtoolkit/plotter/gpib_plotter.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/plotter/gpib_plotter.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,3 +1,19 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + import sys, os import time from pygpibtoolkit import pygpib as gpib
--- a/pygpibtoolkit/plotter/gpib_plotter_mockup.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/plotter/gpib_plotter_mockup.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,3 +1,19 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + import glob import os import time
--- a/pygpibtoolkit/plotter/hpgl_parser.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/plotter/hpgl_parser.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,4 +1,19 @@ # -*- coding: utf-8 -*- +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" import re import numpy
--- a/pygpibtoolkit/plotter/hpgl_qt.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/plotter/hpgl_qt.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,4 +1,20 @@ # -*- coding: utf-8 -*- +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + import numpy import pylab import math
--- a/pygpibtoolkit/plotter/qgpib_plotter.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/plotter/qgpib_plotter.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,4 +1,18 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. # +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" import os, sys import time
--- a/pygpibtoolkit/prologix.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/prologix.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,4 +1,18 @@ -""" +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + prologix ========
--- a/pygpibtoolkit/pygpib.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/pygpib.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,5 +1,19 @@ -""" -gpib: create serial connection to GPIB-USB device (ProLogix is the +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + +gpib: create serial connection to GPIB-USB device (Prologix is the only supported device for now). """ import serial
--- a/pygpibtoolkit/qt4/mpl.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/qt4/mpl.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,4 +1,16 @@ #!/usr/bin/env python +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # stolen from: # embedding_in_qt4.py --- Simple Qt4 application embedding matplotlib canvases @@ -10,6 +22,11 @@ # modified with no restriction; raw copies as well as modified versions # may be distributed without limitation. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + + from PyQt4 import QtGui, QtCore from matplotlib.numerix import arange, sin, pi
--- a/pygpibtoolkit/qt4/qpreferences.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/qt4/qpreferences.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,3 +1,19 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + import os from PyQt4 import QtCore, QtGui, uic from pygpibtoolkit.tools import AbstractRegister
--- a/pygpibtoolkit/qt4/qpreferenceseditor.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/qt4/qpreferenceseditor.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,3 +1,19 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr +""" + import os from PyQt4 import QtCore, QtGui, uic from PyQt4.QtCore import Qt, SIGNAL
--- a/pygpibtoolkit/tools.py Tue Aug 19 23:01:19 2008 +0200 +++ b/pygpibtoolkit/tools.py Thu Aug 21 19:10:57 2008 +0200 @@ -1,5 +1,18 @@ +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. # -""" +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" Copyright (c) 2007-2008 David Douard (Paris, FRANCE). +http://www.logilab.org/project/pygpibtoolkit -- mailto:david.douard@logilab.fr + Helper functions and classes """ import re