Did I find the right examples for you? yes no

# cogent.core.entity.StructureHolder

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

```"""Contains functions to select and group structural entities."""

from cogent.core.entity import StructureHolder, ModelHolder, ChainHolder, \
ResidueHolder, AtomHolder, HIERARCHY

```
```            holder = ModelHolder(name, all)
elif higher_level == 'H':
holder = StructureHolder(name, all)
else:
raise ValueError, "einput got no input entites."
```

```"""Contains functions to select and group structural entities."""

from cogent.core.entity import StructureHolder, ModelHolder, ChainHolder, \
ResidueHolder, AtomHolder, HIERARCHY

```
```            holder = ModelHolder(name, all)
elif higher_level == 'H':
holder = StructureHolder(name, all)
else:
raise ValueError, "einput got no input entites."
```

```from numpy import array
from itertools import izip
from cogent.core.entity import HIERARCHY, copy, StructureHolder, ModelHolder
from cogent.maths.geometry import coords_to_symmetry, coords_to_crystal
from cogent.struct.selection import einput
```
```    # expand the coordinates to crystal
all_coords = coords_to_crystal(coords, fmx, omx, n)
structures = StructureHolder(name)
rng = range(-n, n + 1) # a range like -2, -1, 0, 1, 2
vectors = [(x, y, z) for x in rng for y in rng for z in rng]
```

```from numpy import array
from itertools import izip
from cogent.core.entity import HIERARCHY, copy, StructureHolder, ModelHolder
from cogent.maths.geometry import coords_to_symmetry, coords_to_crystal
from cogent.struct.selection import einput
```
```    # expand the coordinates to crystal
all_coords = coords_to_crystal(coords, fmx, omx, n)
structures = StructureHolder(name)
rng = range(-n, n + 1) # a range like -2, -1, 0, 1, 2
vectors = [(x, y, z) for x in rng for y in rng for z in rng]
```