Skip to content

bits class #1

Description

@y-richie-y

Right now the extractors inputs and outputs python list of booleans. This is 1) not the most compact 2) not the most readable. We can create a new class behaves like it has type List[bool], but stores the bits compactly as bytes, and exports to different formats.

Then we adapt the extractors to output bits in this format.

(edit: see https://numpy.org/doc/2.3/reference/generated/numpy.packbits.html)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions