From 7a184543381547475e8dc9edf94974e79aa35053 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 24 Feb 2010 20:25:54 +0000 Subject: [PATCH] mv graphe module to grapher --- __init__.py | 3 ++- graph/__init__.py | 5 ----- grapher/__init__.py | 5 +++++ {graph => grapher}/core.py | 0 {graph => grapher}/spectrogram_audiolab.py | 2 +- {graph => grapher}/waveform_audiolab.py | 2 +- tests/api/examples.py | 2 +- 7 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 graph/__init__.py create mode 100644 grapher/__init__.py rename {graph => grapher}/core.py (100%) rename {graph => grapher}/spectrogram_audiolab.py (98%) rename {graph => grapher}/waveform_audiolab.py (98%) diff --git a/__init__.py b/__init__.py index a97a1a6..f021203 100644 --- a/__init__.py +++ b/__init__.py @@ -1,7 +1,8 @@ +# -*- coding: utf-8 -*- from core import * from metadata import Metadata import decode import encode import analyze -import graph +import grapher diff --git a/graph/__init__.py b/graph/__init__.py deleted file mode 100644 index 378f4f5..0000000 --- a/graph/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- - -from timeside.graph.core import * -from timeside.graph.waveform_audiolab import * -from timeside.graph.spectrogram_audiolab import * diff --git a/grapher/__init__.py b/grapher/__init__.py new file mode 100644 index 0000000..07ed7ba --- /dev/null +++ b/grapher/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- + +from timeside.grapher.core import * +from timeside.grapher.waveform_audiolab import * +from timeside.grapher.spectrogram_audiolab import * diff --git a/graph/core.py b/grapher/core.py similarity index 100% rename from graph/core.py rename to grapher/core.py diff --git a/graph/spectrogram_audiolab.py b/grapher/spectrogram_audiolab.py similarity index 98% rename from graph/spectrogram_audiolab.py rename to grapher/spectrogram_audiolab.py index 6f25f30..be7143c 100644 --- a/graph/spectrogram_audiolab.py +++ b/grapher/spectrogram_audiolab.py @@ -22,7 +22,7 @@ from timeside.core import * from timeside.api import IGrapher from tempfile import NamedTemporaryFile -from timeside.graph.core import * +from timeside.grapher.core import * class SpectrogramGrapherAudiolab(Processor): """Spectrogram graph driver (python style thanks to wav2png.py and scikits.audiolab)""" diff --git a/graph/waveform_audiolab.py b/grapher/waveform_audiolab.py similarity index 98% rename from graph/waveform_audiolab.py rename to grapher/waveform_audiolab.py index 8b9c1ff..ac07330 100644 --- a/graph/waveform_audiolab.py +++ b/grapher/waveform_audiolab.py @@ -22,7 +22,7 @@ from timeside.core import * from timeside.api import IGrapher from tempfile import NamedTemporaryFile -from timeside.graph.core import * +from timeside.grapher.core import * class WaveFormGrapherAudiolab(Processor): """WaveForm graph driver (python style thanks to wav2png.py and scikits.audiolab)""" diff --git a/tests/api/examples.py b/tests/api/examples.py index 8b63ec9..9c8a708 100644 --- a/tests/api/examples.py +++ b/tests/api/examples.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from timeside.core import Processor, implements, interfacedoc, FixedSizeInputAdapter from timeside.api import * -from timeside.graph import * +from timeside.grapher import * from timeside import Metadata from scikits import audiolab import numpy -- 2.39.5