Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Conversation

@etxealaikoion
Copy link

@etxealaikoion etxealaikoion commented Aug 14, 2019

Hi,

I modified the code to load and save complex datatype arrays from/to .mat files. When loading, it creates a tuple of python builtin complex values.

I've implemented a test related to complex values, using the same format of the other tests (as close as I could). Now it passes all the tests.

But regarding tests, I had to modify the json module, from "json" to "json-tricks", to be able to serialize complex data, cause the standar json.dumps didn't work with complex numbers. Any problem with that?

Regards,

Ion

etxealaikoion and others added 7 commits August 14, 2019 19:02
The code about the flags introducing at the headers of variables is not clear. Is much clearer when reading header of variables (in loadmat function), and something similar should be done for code clarity.
@jcbsv
Copy link
Contributor

jcbsv commented Feb 16, 2021

Is there a way to achieve this without json-tricks?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants