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

New iterator pattern [wip] #192

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Sep 25, 2024

  1. refactor: Refactor AxisIterator and TimePlan classes

    This commit refactors the AxisIterator and TimePlan classes in the example.py file. The changes include:
    - Adding type hints and annotations to improve code readability and maintainability.
    - Renaming the `length` method in AxisIterator to `num_timepoints` for clarity.
    - Adding a new `deltas` method to TimePlan to iterate over the time deltas between timepoints.
    - Handling the case of an infinite sequence in the `num_timepoints` method of TimePlan.
    
    These changes improve the overall structure and functionality of the code.
    tlambert03 committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    93099b4 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2024

  1. Configuration menu
    Copy the full SHA
    1847b56 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. wip

    tlambert03 committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    602a05d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a164b76 View commit details
    Browse the repository at this point in the history