Dear all, I want to use KPM to calculate LDOS vs. energy for a given position. Apparently, I can do it using 'where' in kwant.operator.Density, but the input must be a crystal position. I wonder if there is any form to find the closest crystal position for a given position vector that does not necessarily belongs to the crystal.
Alternatively, can I somehow integrate kwant.operator.Density in a specific region and not over the entire system? Thanks in advance. -- Antonio Lucas Rigotti Manesco PhD fellow - University of São Paulo, Brazil