-
neso_fame.mesh.FieldTrace.__call__(start: SliceCoord, x3: numpy.typing.ArrayLike, start_weight: float =
0.0
) tuple[SliceCoords, numpy.typing.NDArray] Calculate a position on a field line.
Optionally, rather than strictly following the field line, you can weight so it stays closer to the starting position. This is done using the start_weight parameter. A value of 0 means that the function exactly follows the field line while a value of 1 means the x1 and x2 coordinates will be fixed to those of the start value. Values in between correspond to a weighted sum of these two options.
The distance returned will correspond to the distance along the weighted version of the field line (rather than the original one). That is, it will always be the same as the distance you would get from integrating along the curve returned by this function.
Last update:
Nov 07, 2024