field_helpers module
Define functions to compute 1D longitudinal electric fields.
- create_1d_field_func(field_values, pos_max, n_intervals, pos_min=0.0)[source]
Create functions computing field for a given position.
- Parameters:
- Return type:
- Returns:
FieldFuncComponent1D – Function giving a field component at a given 1D position. It also have a
xpand afpattributes holding positions and field values. This is used for Cython implementations... todo:: – Clean this
xpfpthingy, not clean at all.