summaryrefslogtreecommitdiff
path: root/lib/ipython_energymodel_prelude.py
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-02-07 10:58:05 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-02-07 10:58:49 +0100
commit32a38a781f55453b4fe7c480a1d118834f2f236d (patch)
treee17ca4c484a1b158c5e0b8d779e7fc65ea3d95bd /lib/ipython_energymodel_prelude.py
parentcfe740a107964c805451ad0a59eeff0049d5bac1 (diff)
Rename EnergyModel to PTAModel
Diffstat (limited to 'lib/ipython_energymodel_prelude.py')
-rwxr-xr-xlib/ipython_energymodel_prelude.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ipython_energymodel_prelude.py b/lib/ipython_energymodel_prelude.py
index a44a5d7..6777b17 100755
--- a/lib/ipython_energymodel_prelude.py
+++ b/lib/ipython_energymodel_prelude.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
import numpy as np
-from dfatool import EnergyModel, RawData, soft_cast_int
+from dfatool import PTAModel, RawData, soft_cast_int
ignored_trace_indexes = None
@@ -10,4 +10,4 @@ files = '../data/20170125_125433_cc1200.tar ../data/20170125_142420_cc1200.tar .
raw_data = RawData(files)
preprocessed_data = raw_data.get_preprocessed_data()
-model = EnergyModel(preprocessed_data, ignore_trace_indexes = ignored_trace_indexes)
+model = PTAModel(preprocessed_data, ignore_trace_indexes = ignored_trace_indexes)