-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
Description
The following should be modified to be a list of arrays (possibly of variable lengths, for each ell), rather than a zero padded NumPy array.
cf. #599
ASPIRE-Python/src/aspire/basis/basis.py
Lines 79 to 85 in 6cb389e
| max_num_zeros = max(len(z) for z in zeros) | |
| for i, z in enumerate(zeros): | |
| zeros[i] = np.hstack( | |
| (z, np.zeros(max_num_zeros - len(z), dtype=self.dtype)) | |
| ) | |
| self.r0 = m_reshape(np.hstack(zeros), (-1, self.ell_max + 1)).astype(self.dtype) |