Rename lead_info
Currently, lead_info
is either of two things, a sequence of propagating modes or a sequence of self-energies.
- There is no need to have
lead_info
as an attribute ofBlockResult
. - In the case of
SMatrix
andGreensFunction
this attribute should be renamed to what it is, i.e.propagating_modes
andselfenergies
. - In cases where a common name is needed (i.e. return value of
_make_linear_sys
), a better name might belead_data
orsolved_leads
. -
BlockResult
itself could be renamed to something more specific, perhapsGeneralSMatrix
.