alhambra.grid#
Module Contents#
Classes#
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
A lattice of flatish tiles. Position 0,0 is a 10nt-north tile. |
|
Functions#
|
|
|
Attributes#
- class alhambra.grid.Lattice[source]#
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- abstract property seed: alhambra.seeds.Seed | None[source]#
- class alhambra.grid.AbstractLattice(v: AbstractLattice | numpy.ndarray, seed: alhambra.seeds.Seed | None = None, seed_offset: tuple[int, int] | None = None)[source]#
Bases:
LatticeHelper class that provides a standard way to create an ABC using inheritance.
- seed: alhambra.seeds.Seed | None[source]#
- class alhambra.grid.LatticeSupportingScadnano[source]#
Bases:
LatticeHelper class that provides a standard way to create an ABC using inheritance.
- seed: alhambra.seeds.SeedSupportingScadnano | None[source]#
- abstract to_scadnano_lattice() ScadnanoLattice[source]#
- to_scadnano(tileset: alhambra.tilesets.TileSet) scadnano.Design[source]#
- class alhambra.grid.AbstractLatticeSupportingScadnano(v: AbstractLattice | numpy.ndarray, seed: alhambra.seeds.Seed | None = None, seed_offset: tuple[int, int] | None = None)[source]#
Bases:
AbstractLatticeHelper class that provides a standard way to create an ABC using inheritance.
- seed: alhambra.seeds.SeedSupportingScadnano | None[source]#
- abstract to_scadnano_lattice() ScadnanoLattice[source]#
- to_scadnano(tileset: alhambra.tilesets.TileSet) scadnano.Design[source]#
- class alhambra.grid.ScadnanoLattice[source]#
Bases:
LatticeSupportingScadnanoHelper class that provides a standard way to create an ABC using inheritance.
- seed: alhambra.seeds.SeedSupportingScadnano | None[source]#
- findtile(tile: str | alhambra.tiles.Tile) list[tuple[int, int]][source]#
- to_scadnano_lattice() ScadnanoLattice[source]#
- alhambra.grid._skip_polyT_and_inertname(glue: alhambra.glues.Glue) bool[source]#
- alhambra.grid.sst_10_11_hofromxy(x: int, y: int, start_helix: int, start_o: int, p: Literal[10, 11] = 10) tuple[int, int][source]#
- class alhambra.grid.SSTLattice(v: AbstractLattice | numpy.ndarray, seed: alhambra.seeds.Seed | None = None, seed_offset: tuple[int, int] | None = None)[source]#
Bases:
AbstractLatticeSupportingScadnanoA lattice of flatish tiles. Position 0,0 is a 10nt-north tile.
- to_scadnano_lattice() ScadnanoLattice[source]#