Skip to content

if else to fix zero padding bug - #86

Closed
sfregosi wants to merge 61 commits into
MarineBioAcousticsRC:masterfrom
sfregosi:zeroPaddingBug
Closed

if else to fix zero padding bug#86
sfregosi wants to merge 61 commits into
MarineBioAcousticsRC:masterfrom
sfregosi:zeroPaddingBug

Conversation

@sfregosi

Copy link
Copy Markdown
Contributor

xwavs read in data as row vector, wavs read in as column vector, this pads based on size of 'data'

related to issue #85

Multi dir ltsa merged with flac changes
now decimates both channels of a wav file (e.g., for Soundtrap data/DASBRs) and allows to decimate flac files (also can be multi channel)
added comments and don't strip period from prefix
don't remove - when generating prefix for ltsa file
use ~isfield not isempty to look for PARAMS.ltsa.outfile
use ~isfield not isempty to look for PARAMS.ltsa.outfile
use ~isfield not isempty to look for PARAMS.ltsa.outfile
this functionality already worked if you chose "Open WAV" but actually put FLAC in GUI and as file extension option in uigetfile
sfregosi added 23 commits August 2, 2022 13:54
if Detector Remora is installed...log fig num is 9 not 7.
if Detector Remora is installed...log fig num is 9 not 7.
if you want to skip some dirs of xwavs/wavs nested within a larger dir, just change taves and dfreqs to blank in the parameter check GUI
if you want to skip some dirs of xwavs/wavs nested within a larger dir, just change taves and dfreqs to blank in the parameter check GUI
if you want to skip some dirs of xwavs/wavs nested within a larger dir, just change taves and dfreqs to blank in the parameter check GUI
added ability to use blanks to skip some dirs
merge batchLTSA into flac branch
update flac with pickBugs fix
if else to fix zero padding bug
added ability to use blanks to skip some dirs
Updates for latests MBARC Release
Now allows for data to be of length 1
@sfregosi

Copy link
Copy Markdown
Contributor Author

I updated this to fix a secondary bug with this approach (if total data size is 1, it didn't pad the zeros).

@sfregosi

Copy link
Copy Markdown
Contributor Author

Closing this request as it because really messy behind many other commits/pull requests/merges. Replaced with #105

@sfregosi sfregosi closed this Apr 22, 2024
@sfregosi
sfregosi deleted the zeroPaddingBug branch April 22, 2024 17:13
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