Skip to content

Commit

Permalink
Merge pull request #723 from Beforerr/master
Browse files Browse the repository at this point in the history
return new tplot names in avg_data.py
  • Loading branch information
jameswilburlewis authored Jan 31, 2024
2 parents 925cd66 + a9744c8 commit a413111
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyspedas/analysis/avg_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def avg_data(names, trange=[], res=None, width=None,
Returns
-------
None.
n_names: str/list of str
List of new pytplot names.
"""
old_names = tnames(names)
Expand Down Expand Up @@ -201,3 +202,5 @@ def avg_data(names, trange=[], res=None, width=None,
store_data(new, data=data_dict, attr_dict=metadata)

logging.info('avg_data was applied to: ' + new)

return n_names

0 comments on commit a413111

Please sign in to comment.