generate_Ch_list

sknano.core.structures.generate_Ch_list(ns=None, ni=None, nf=None, dn=None, ms=None, mi=None, mf=None, dm=None, imax=None, chiral_types=None, handedness=None, echo_zsh_str=False)[source] [edit on github][source]

Generate a list of (n,m) chiralities.

Parameters:
  • ms (ns,) – list of n and m chiral indices.
  • nf, dn (ni,) – (ni,nf,Δn) denote the start, stop, and step parameters passed to the numpy function np.arange, to generate an array of evenly spaced n chiral indices. ni only required if ns sequence kwarg is None.
  • mf, dm (mi,) – (mi,mf,Δm) denote the start, stop, and step parameters passed to the numpy function np.arange, to generate an array of evenly spaced m chiral indices. mi only required if ms sequence kwarg is None.
  • imax (int, optional) – maximum chiral index n=m=imax.
  • chiral_types ({'all', 'achiral', 'chiral', 'armchair', 'zigzag'}, optional) –
  • handedness ({'all', 'left', 'right'}, optional) –
  • echo_zsh_str (bool, optional) –
Returns:

Ch_list – list of chiralities

Return type:

sequence