Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental reading of complex matrix from MatlabHDF5File #76

Open
jgbos opened this issue Sep 19, 2017 · 0 comments
Open

Incremental reading of complex matrix from MatlabHDF5File #76

jgbos opened this issue Sep 19, 2017 · 0 comments

Comments

@jgbos
Copy link

jgbos commented Sep 19, 2017

I mentioned this problem in #30 and realized it should be a new issue. I would like to read in a complex matrix incrementally via

mat.plain["data"][:,:,1]

but get

ERROR: Dataset indexing (hyperslab) is available only for bits types

The eltype of the dataset is

HDF5.hdf5_to_julia_eltype(HDF5.datatype(d))

which I'm guessing how complex objects are saved. Now, I can read the entire dataset in via read but I'd like to be able to slice along a dimension, as shown above. Obviously this works for Real arrays, but not Complex types. Is it simple to update read_complex to read incrementally? I'm not very familiar with HDF5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants