The code states that nQList is optional but fails at line 562 unless it is provided (for trunMethod = TO).
nQList: (optional) List of length p, nQList=[nQ1,nQ2,...,nQp], where nQi: number of samples in i-th direction * nQList=[] (default) if p==1 or p>1 and 'truncMethod':'TO'* Required only if p>1 and 'truncMethod':'TP'