Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Base.vcat method for Samples #170

Merged
merged 8 commits into from
Sep 11, 2024
Merged

add Base.vcat method for Samples #170

merged 8 commits into from
Sep 11, 2024

Conversation

ericphanson
Copy link
Member

This can be quite useful in some circumstances where you are computing new channels based on old ones and things like that.

Here, I've implemented quite a restricted version where vcat is only supported when every parameter except channels matches between the samples (e.g. same encoding parameters, same sample rate, same duration, etc), and all the channels are unique.

I've used this in private code 5-6 times in various places and I'd like to have a single nice upstreamed implementation.

src/samples.jl Outdated Show resolved Hide resolved
Co-authored-by: Dave Kleinschmidt <[email protected]>
Copy link
Member

@kleinschmidt kleinschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs a version bump but I'm good w/ this.

@ericphanson
Copy link
Member Author

I thought maybe I could do a single release with #168

@kleinschmidt kleinschmidt merged commit fe0c510 into main Sep 11, 2024
6 checks passed
@kleinschmidt kleinschmidt deleted the eph/vcat branch September 11, 2024 16:12
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