lentil.field.insert#
- lentil.field.insert(field, out, intensity=False, weight=1)[source]#
Insert a field into an array.
- Parameters:
field (
Field) – Field to insert intooutout (ndarray) – Array to insert
fieldintointensity (bool, optional) – If True, compute intensity of
fieldbefore placing it inout. Default is False.weight (float, optional) – Weight to apply to
fieldbefore it is inserted intoout
- Return type:
ndarray