gather#
- Quasistatic2DWakefield.gather(x, y, z, t, ex, ey, ez, bx, by, bz, bunch_name)#
Gather all field components at the specified locations.
- Parameters:
- xndarray
1D array containing the x position where to gather the fields.
- yndarray
1D array containing the x position where to gather the fields.
- zndarray
1D array containing the x position where to gather the fields.
- tfloat
Time at which the field is being gathered.
- exndarray
1D array where the gathered Ex values will be stored.
- eyndarray
1D array where the gathered Ey values will be stored
- ezndarray
1D array where the gathered Ez values will be stored
- bxndarray
1D array where the gathered Bx values will be stored
- byndarray
1D array where the gathered By values will be stored
- bzndarray
1D array where the gathered Bz values will be stored
- bunch_namestr
Name of the bunch that is gathering the fields