Skip to content

jonas: first steps for the *.mat interface - #152

Closed
Jonny3 wants to merge 11 commits into
masterfrom
jbleich/add_mathandler
Closed

Jonny3 wants to merge 11 commits into
masterfrom
jbleich/add_mathandler

Conversation

@Jonny3

@Jonny3 Jonny3 commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

What's happeing?

This PR introduces robust handling for MATLAB .mat files within ARES. It includes the MATHandler class (ares/interface/data/mat_handler.py) which acts as a comprehensive interface for reading and writing .mat files of various versions (7.3 and older).
The MATHandler leverages the new Mat73Interface (packages/mat73_interface/mat73_interface/mat73_interface.py) for efficient interaction with HDF5-based .mat v7.3 files, and scipy.io for legacy formats.

a wild ride! --> support for compressed 7.3 mat-files added
image

ToDo:

  • Do we want to enable the different modes via json? (how?) --> Not in the first step | only default
  • Caching in files via 'self.data"? >> check for mf4 also
    • we could store "data" in the class ( unique via hash) and first read from there?
  • implement "get_available_signals" only?

@Jonny3
Jonny3 requested a review from a team March 6, 2026 17:07
@Jonny3 Jonny3 added feature New feature or request prio 1 labels Mar 6, 2026
@Jonny3 Jonny3 linked an issue Mar 6, 2026 that may be closed by this pull request
@Jonny3
Jonny3 force-pushed the jbleich/add_mathandler branch 2 times, most recently from 5ea27dd to be1251a Compare March 7, 2026 07:46
@Jonny3 Jonny3 self-assigned this Mar 7, 2026
@Jonny3
Jonny3 force-pushed the jbleich/add_mathandler branch 14 times, most recently from ad23a19 to 8e1d062 Compare March 13, 2026 05:49
@Jonny3
Jonny3 force-pushed the jbleich/add_mathandler branch 2 times, most recently from 168b3b3 to f980517 Compare March 14, 2026 10:04
@Jonny3
Jonny3 force-pushed the jbleich/add_mathandler branch 7 times, most recently from 714b6e5 to 96ba422 Compare March 23, 2026 13:03
@Jonny3
Jonny3 force-pushed the jbleich/add_mathandler branch 3 times, most recently from 5c800b5 to e0ee06b Compare March 29, 2026 08:15
@Jonny3
Jonny3 force-pushed the jbleich/add_mathandler branch from e0ee06b to fd245dd Compare March 29, 2026 08:15
@Jonny3
Jonny3 force-pushed the jbleich/add_mathandler branch from 62688d0 to b288ca1 Compare March 29, 2026 08:53
@Jonny3

Jonny3 commented Mar 29, 2026

Copy link
Copy Markdown
Contributor Author

done with: #174
--> since originally "package" directory was moved to submodules. Complete "development" of mat-interface aka MATI was done in this PR.

@Jonny3

Jonny3 commented Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

done with other PR.

@Jonny3 Jonny3 closed this Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request prio 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request | MAT - we need it

1 participant