Skip to content

Fixed examples and container improvements#37

Open
kingofpayne wants to merge 4 commits intomasterfrom
improvements
Open

Fixed examples and container improvements#37
kingofpayne wants to merge 4 commits intomasterfrom
improvements

Conversation

@kingofpayne
Copy link
Collaborator

This PR fixes broken examples due to recent breaking changes.

It also replaces the number_of_traces attributes by implementing the __len__ method in each container class, which is more pythonic.

Finally, as modifying number_of_traces could be used to limit the number of traces for an analysis, this must now be done by using the new class Slice which wraps an existing container. Any container has sliced(start, stop) and limited(count) shortcut methods to wrap the container in a Slice.

Fixed broken examples and tests.
Fixed documentation.
Replaced containers number_of_traces attributes by __len__
implementation.
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