[codeface] [PATCH 5/9] Move interactive.py to experiments

  • From: Andreas Ringlstetter <andreas.ringlstetter@xxxxxxxxxxxxxxxxxxxx>
  • To: <codeface@xxxxxxxxxxxxx>
  • Date: Tue, 15 Sep 2015 03:43:49 +0200

From: Andreas Ringlstetter <andreas.ringlstetter@xxxxxxxxx>

Signed-off-by: Andreas Ringlstetter <andreas.ringlstetter@xxxxxxxxx>
---
codeface/interactive.py | 29 -----------------------------
experiments/interactive.py | 29 +++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 29 deletions(-)
delete mode 100644 codeface/interactive.py
create mode 100644 experiments/interactive.py

diff --git a/codeface/interactive.py b/codeface/interactive.py
deleted file mode 100644
index 592f05f..0000000
--- a/codeface/interactive.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# Commands that are useful after adist.yp has been
-# run in ipython
-
-# This file is part of Codeface. Codeface 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, version 2.
-#
-# 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 2010, 2011, 2012 by Wolfgang Mauerer <wm@xxxxxxxxxxxxxxxx>
-# All Rights Reserved.
-
-initialiseR()
-git = shelve.open("/home/wolfgang/linux-14-33")["git"]
-res = createSeries(git, "__main__", ["v2.6.24", "v2.6.25"])
-writeToFile(res, "/home/wolfgang/raw.dat")
-runR('raw = as.xts(read.zoo(file="/home/wolfgang/raw.dat",
FUN=tstamp_to_date))')
-runR('reg = to.regts(raw[,1], 250)')
-reg = RtoPython(runR('reg'))
-raw = RtoPython(runR('raw'))
-
-# ... and then commence with the analysis as desired
diff --git a/experiments/interactive.py b/experiments/interactive.py
new file mode 100644
index 0000000..592f05f
--- /dev/null
+++ b/experiments/interactive.py
@@ -0,0 +1,29 @@
+# Commands that are useful after adist.yp has been
+# run in ipython
+
+# This file is part of Codeface. Codeface 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, version 2.
+#
+# 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 2010, 2011, 2012 by Wolfgang Mauerer <wm@xxxxxxxxxxxxxxxx>
+# All Rights Reserved.
+
+initialiseR()
+git = shelve.open("/home/wolfgang/linux-14-33")["git"]
+res = createSeries(git, "__main__", ["v2.6.24", "v2.6.25"])
+writeToFile(res, "/home/wolfgang/raw.dat")
+runR('raw = as.xts(read.zoo(file="/home/wolfgang/raw.dat",
FUN=tstamp_to_date))')
+runR('reg = to.regts(raw[,1], 250)')
+reg = RtoPython(runR('reg'))
+raw = RtoPython(runR('raw'))
+
+# ... and then commence with the analysis as desired
--
2.5.2


Other related posts: