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

Refactor and document the Cut hierarchy (Cut -> MonoCut, CutUtilsBase -> Cut) #328

Merged
merged 5 commits into from
Jul 2, 2021

Conversation

pzelasko
Copy link
Collaborator

@pzelasko pzelasko commented Jul 1, 2021

I am going with the name MonoCut because it always represents a single channel. The inheritance from Cut (which now is a real base class) is cleaner and shouldn't be confusing like before (especially after I write the updated docs). There is no need for the hacky typing hint AnyCut anymore.

In a future PR, I will need to explore if MixedCut is sufficient to represent multi-channel data for training, if not maybe we'll add a MultiCut.

I think that snowfall and existing training data should work fine with these changes, but I will test it anyway before I merge this PR.

@pzelasko pzelasko linked an issue Jul 2, 2021 that may be closed by this pull request
@pzelasko pzelasko added this to the v0.8 milestone Jul 2, 2021
@pzelasko pzelasko changed the title WIP: Refactor and document the Cut hierarchy (Cut -> MonoCut, CutUtilsBase -> Cut) Refactor and document the Cut hierarchy (Cut -> MonoCut, CutUtilsBase -> Cut) Jul 2, 2021
@pzelasko pzelasko merged commit 65e7985 into master Jul 2, 2021
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.

Refactoring Cut class hierarchy
1 participant