Fix old 'get_temp' -> 'get_pv' and 'get_ambient_temp' -> 'get_ambient_pv'
[pypid.git] / pypid / backend / __init__.py
index 9efad6a394d2e8e5a0dca3c1b473a5344097972a..15f0a79212747e22070bb18a11a5f28a599f539a 100644 (file)
@@ -1,20 +1,18 @@
-# Copyright (C) 2008-2011 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2011-2012 W. Trevor King <wking@tremily.us>
 #
 # This file is part of pypid.
 #
-# pypid is free software: you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation, either
-# version 3 of the License, or (at your option) any later version.
+# pypid 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 3 of the License, or (at your option) any later
+# version.
 #
-# pypid 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 Lesser General Public License for more details.
+# pypid 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 Lesser General Public
-# License along with pypid.  If not, see
-# <http://www.gnu.org/licenses/>.
+# You should have received a copy of the GNU General Public License along with
+# pypid.  If not, see <http://www.gnu.org/licenses/>.
 
 """Assorted backends for interfacing with your particular hardware.
 """
@@ -83,7 +81,7 @@ class Backend (object):
         "Return the current process variable in PV-units"
         raise NotImplementedError()
 
-    def get_ambient_mv(self):
+    def get_ambient_pv(self):
         "Return the abmient (bath) status in PV-units"
         raise NotImplementedError()