Skip to content

Update digital_rf_hdf5.py to allow reading 1 sample using DigitalRFReader.read_vector_raw (take 2)#116

Merged
ryanvolz merged 2 commits into
MITHaystack:masterfrom
ryanvolz:fix_single_sample
Jun 11, 2026
Merged

Update digital_rf_hdf5.py to allow reading 1 sample using DigitalRFReader.read_vector_raw (take 2)#116
ryanvolz merged 2 commits into
MITHaystack:masterfrom
ryanvolz:fix_single_sample

Conversation

@ryanvolz

Copy link
Copy Markdown
Member

read_vector_raw would error if vector_length==1 and only one subchannel is read from, due to z.squeeze() returning a scalar when z contains one sample.

Sponge166 and others added 2 commits June 11, 2026 11:52
read_vector_raw would error if vector_length==1 and only one subchannel is read from, due to z.squeeze() returning a scalar when z contains one sample.
@ryanvolz ryanvolz merged commit 599dec8 into MITHaystack:master Jun 11, 2026
12 checks passed
@ryanvolz ryanvolz deleted the fix_single_sample branch June 11, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants