From 9436f93dfe1fdb7f76f475603cdc0bc1fae86646 Mon Sep 17 00:00:00 2001 From: Anton Akhmerov <anton.akhmerov@gmail.com> Date: Mon, 14 Apr 2014 16:44:14 +0200 Subject: [PATCH] extend TODO entry about neighbors --- TODO | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 32df53c..63b293f 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,13 @@ Roughly in order of importance. -*-org-*- -* Fix lattice.neighbors() when lattice has lower dimensionality than the space. +* Improve lattice.neighbors() + to support the following cases: + - The lattice has lower dimensionality than the space + - Hoppings between sites from two separate lattices + + The function should be rewritten in a more robust manner using Delaunay + tessellation from Scipy/QHull and a proper choice of the set of sites on + which to perform the tessellation. * Improve error messages by checking for ABCs Add a classmethod "ensure_isinstance" that takes an object at makes sure that -- GitLab