(ch_names)
| 206 | |
| 207 | |
| 208 | def _ndarray_ch_names(ch_names): |
| 209 | # np.array(..., dtype=object) if all entries are empty will give |
| 210 | # an empty array of shape (n_entries, 0) which is not helpful. So let's |
| 211 | # force it to give us an array of shape (n_entries,) full of empty |
| 212 | # tuples |
| 213 | out = np.empty(len(ch_names), dtype=object) |
| 214 | out[:] = ch_names |
| 215 | return out |
| 216 | |
| 217 | |
| 218 | @fill_doc |
no outgoing calls