Skip to content

Commit

Permalink
Renamed summary
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Maahn committed Oct 9, 2019
1 parent 52debe2 commit 957ea11
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyOptimalEstimation/pyOEcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,11 @@ def plotIterations(

return fig

def summary(self, returnXarray=False, combineXB=False):
def summary(self, *args, **kwargs):
DeprecationWarning('Use summarize instead of summary!')
return self.summarize(self, *args, **kwargs)

def summarize(self, returnXarray=False, combineXB=False):
'''Provide a summary of the retrieval results as a dictionary.
Parameters
Expand All @@ -937,6 +941,7 @@ def summary(self, returnXarray=False, combineXB=False):

summary = {}
summary['x_a'] = self.x_a.rename_axis('x_vars')
summary['x_a_err'] = self.x_a_err.rename_axis('x_vars')
summary['S_a'] = self.S_a.rename_axis(
'x_vars').rename_axis('x_vars_T', axis=1)
summary['x_op'] = self.x_op.rename_axis('x_vars')
Expand Down

0 comments on commit 957ea11

Please sign in to comment.