# HG changeset patch # User David Douard # Date 1219338657 -7200 # Node ID 2a97995628a3301bc0c9af691f63372b3ef742a4 # Parent 10d218fbf86fb4141a288d7ed1e2c10908350a59 added copyright header to every python file diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/HP356X.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/__init__.py --- 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 ====== diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/coord_decoder.py --- 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 ============= diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/datablockwidget.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/dump_datablock.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/dump_datablock_mockup.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/enum_types.py --- 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. """ diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/mathtools.py --- 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): diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/q3562A.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/state_decoder.py --- 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 ============= diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/HP3562A/trace_decoder.py --- 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 ============= diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/__init__.py --- 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 +""" diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/gpib_utils.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/gpibcontroller.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/plotter/__init__.py --- 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 +""" diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/plotter/gpib_plotter.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/plotter/gpib_plotter_mockup.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/plotter/hpgl_parser.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/plotter/hpgl_qt.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/plotter/qgpib_plotter.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/prologix.py --- 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 ======== diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/pygpib.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/qt4/mpl.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/qt4/qpreferences.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/qt4/qpreferenceseditor.py --- 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 diff -r 10d218fbf86f -r 2a97995628a3 pygpibtoolkit/tools.py --- 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