flatten

Contents

flatten#

autoplex.fitting.common.utils.flatten(atoms_object, recursive=False)[source]#

Flatten an iterable fully, but excluding Atoms objects.

Parameters:
  • atoms_object (Atoms object) –

  • recursive (bool) – set the recursive boolean.

Return type:

a flattened object, excluding the Atoms objects.