lentil.field.merge

lentil.field.merge(a, b, check_overlap=True)[source]

Merge two Fields

Parameters
  • a (Field objects) – Fields to merge

  • b (Field objects) – Fields to merge

  • check_overlap (bool, optional) – If True (default), a ValueError is raised if a and b do not overlap

Returns

out – New Field that represents the union of a and b

Return type

Field