Skip to content

update readseg.m - #128

Open
CSchoenbeck wants to merge 1 commit into
MarineBioAcousticsRC:masterfrom
CSchoenbeck:readseg_raw_file_fix
Open

update readseg.m#128
CSchoenbeck wants to merge 1 commit into
MarineBioAcousticsRC:masterfrom
CSchoenbeck:readseg_raw_file_fix

Conversation

@CSchoenbeck

Copy link
Copy Markdown
Collaborator

readseg.m currently reads the raw file header to plot spectrograms. however, if multiple raw files were displayed in a spectrogram, only 1 raw file header was being read and assuming all raw files were the same length. when you have variable gaps between raw files (ex: created by buffer wrap around), each raw file header being displayed in the spectrogram needs to be read. this now accounts for reading the headers of each raw file in displayed spectrograms and pads the spectrogram at the start/end when raw files are not the full duration.

readseg.m was updated to read the raw file header to plot spectrograms. however, if multiple raw files were displayed in a spectrogram, only 1 raw file header was being read and assuming both raw files were the same length. when you have variable gaps between raw files, each raw file header being displayed in the spectrogram needs to be read. this now accounts for reading the headers of each raw file in displayed and pads the spectrogram at the start/end when raw files are not the full duration.
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.

1 participant