Skip to content

Commit

Permalink
Minor renaming in WakeFromTable of wakefield_from_table.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nmounet authored Nov 19, 2024
1 parent dcd1877 commit c231e68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xwakes/wakefield_from_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ def __init__(self, table, columns=None):
assert cc in table.columns, f'Column {cc} not in table'
assert cc in KIND_DEFINITIONS, f'Invalid component {cc}'

cc = ComponentFromArrays(
component = ComponentFromArrays(
interpolation_times=table['time'].values,
wake_samples=table[cc].values,
kind=cc)
components.append(cc)
components.append(component)

self.components = components
self.columns = columns
Expand Down

0 comments on commit c231e68

Please sign in to comment.