Skip to content

Commit

Permalink
Updated documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
hprats committed Dec 20, 2024
1 parent 2e3aa70 commit af6a48e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/source/lattice_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,19 +110,19 @@ lattice_model = LatticeModel(
from zacrostools.lattice_model import LatticeModel

# Define cell vectors
cell_vectors = ((2.5, 0.0), (0.0, 2.5))
cell_vectors = ((3.27, 0.0), (0.0, 3.27))

# Define site positions
sites = {
'A': [(0.0, 0.0)],
'B': [(0.5, 0.5)]
'tC': [(0.25, 0.25)],
'tM': [(0.75, 0.75)]
}

# Define maximum distances for neighbor pairs
max_distances = {
'A-A': 3.0,
'A-B': 3.0,
'B-B': 3.0
'tC-tC': 3.0,
'tM-tM': 3.0,
'tC-tM': 3.0
}

# Create the LatticeModel instance
Expand Down

0 comments on commit af6a48e

Please sign in to comment.