From c4ce398cb772da46658e942696f6ec9778ec5046 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sun, 5 Dec 2021 12:52:28 -0500 Subject: write -> save --- qolab/data/trace.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qolab/data/trace.py') diff --git a/qolab/data/trace.py b/qolab/data/trace.py index 783a649..624ff46 100644 --- a/qolab/data/trace.py +++ b/qolab/data/trace.py @@ -24,7 +24,7 @@ class Trace: prefixed_header = [prefix+l for l in header] return prefixed_header - def write(self, fname, item_format='e'): + def save(self, fname, item_format='e'): save_table_with_header(fname, self.values, self.header(), item_format=item_format) @@ -52,7 +52,7 @@ class TraceXY: prefixed_header = [prefix+l for l in header] return prefixed_header - def write(self, fname, item_format='e'): + def save(self, fname, item_format='e'): data=np.concatenate((self.x.values, self.y.values), 1) save_table_with_header(fname, data, self.header(), item_format=item_format) @@ -100,7 +100,7 @@ class TraceSetSameX: prefixed_header = [prefix+l for l in header] return prefixed_header - def write(self, fname, item_format='e'): + def save(self, fname, item_format='e'): data=self.x.values for k,v in self.traces.items(): data=np.concatenate((data, v.values), 1) -- cgit v1.2.3