Load data from 'broken' HDF5 file
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi
During an EEG expeirment, my recording computer crashed and left the .HDF5-file containing the data 'broken'.
I've tried h5read and different variations thereof, but the file cannot be read, however I can read the data 'manually' using:
fid = fopen(broken_datafile);
dat = fread(fid,[1, 1000], 'uint8');
char(dat)
This nicely gives me the header information (about 40000 characters) and a some non-interpretable output, that I assume is related to teh recorded data:
...
...
SubjectDescription xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Comment />
<DayOfBirth>2020-06-26T09:57:17.3659493Z</DayOfBirth>
<FirstName />
<LastName />
</SubjectDescription>TREE ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ï u ÚÌõ^ SNOD ß TREE ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ß HEAP X w NumberOfFeatures 8 x Æõ^ SNOD Ï ( ª ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ 7 ÚÌõ^ h TREE ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÆU t G¼U ·Ðr ÌÔWBÐÔxBoC3>B«ìÁë (ÂÔ'CaÎCíuÃ7ÃÃ3ÃìÄ~ô8BgBÏwYBù.B8(ƤEÆ@íF¶ºaÆ¢
6F?£7ÆöpûÆ`è'Æ8¡Å ÆýÈ
ÆÚN7Æ.ßÅF aÆÕÅÆËu\ÆÌ¯ÅÆ2KÆ~ 7ÆfVÆV%¬ÅÜÆFÐÅØÂÆO½Æ¸éÅ51Æ£kgÆQ=IÆêmƯ8Æ
$ÆüùÆéR£ÆGv`Æ2;ÆoFiUÆã# ƪTÆFƵ·HÆxÞÆâÆ
Ó¤ÆRÐÆm©Ææ
2ÆÌÒ9ÆÐµ¸Æ!ÆdzÆý·mÆ!)2Æ-ÓmÆÀõÆÍê_ÆµÙÆ^ªÆÝ¹ÆÞÀyÆíÉÆö'ÆÍ.ÆÝú®ÆÇvÆÒSÆ©qmÆFá`ÆM(ÆaÆØÃÆ®mSƪÆè ÆR6°ÆUaÆÄ £Æ(,ÆM¡2ƹ²Æh
{ÆGwƽsÆj&fÆ]N,Æ·@fÆ[¤Æ»XÆ[߯²<¤Æ=´Æ{OÆ3i£Æ-Æ(4Æ´¬²Æ´t|Æ(ÍÆtÆQ'gÆÌ-Æ
CgÆ ÆtYÆã)Æ<¤ÆN ´Æê寴¥Æ02Ær8Æ!?µÆM{Æ1ƺèxÆ/ÕkÆA2ÆÈkÆSÆêõ]ƯuÆÝã¦Æz¶Æåׯe}§ÆÜÏ5Æv!<Æì·Æ-FÆwïÆKC|ƬnoÆ À5Æ.oÆ9òÆPKaÆÆØ¨Æ
ð·Æ
ÆK¨Æo8ƯF>Æ® ¸Æó]ÆU'
Does anyone know if I can manually reconstruct the 16-channel EEG of inter type single + the trigger signal using the above approach? And how I can do it?
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!