Skip to content
Snippets Groups Projects
Commit 748b18bb authored by simply-nicky's avatar simply-nicky
Browse files

STData.update_phase fix

parent b1864199
No related branches found
No related tags found
No related merge requests found
......@@ -152,8 +152,8 @@ class STData(DataContainer):
# Initialize a list of AbberationsFit objects
self._ab_fits = []
if self._isphase:
self._ab_fits.extend([AbberationsFit.import_data(self, 0),
AbberationsFit.import_data(self, 1)])
self._ab_fits.extend([AbberationsFit.import_data(self, axis=0),
AbberationsFit.import_data(self, axis=1)])
@property
def _isdefocus(self):
......@@ -350,8 +350,8 @@ class STData(DataContainer):
# Initialize AbberationsFit objects
self._ab_fits.clear()
self._ab_fits.extend([AbberationsFit.import_data(self, 0),
AbberationsFit.import_data(self, 1)])
self._ab_fits.extend([AbberationsFit.import_data(self, axis=0),
AbberationsFit.import_data(self, axis=1)])
return self
else:
raise ValueError("the SpeckleTracking object doesn't belong to the data container")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment