Skip to content

Group per-channel header fields into coherent signal metadata #744

Backlog

Description

@tompollard

Problem

Record stores per-channel header fields in parallel lists: sig_name, file_name, fmt, units, samps_per_frame, adc_gain, baseline, and others. Their entries must remain aligned with each other, the signal array columns, and n_sig as records are selected, edited, and written.

Decisions to make

  • Should logical signal metadata and signal-file layout/encoding metadata be separate objects? Which fields belong to each?
  • How should the model represent several signals sharing a file, and variable-layout multi-segment records?
  • Should counts and name lists be derived from channel entries? How would legacy in-place edits such as record.sig_name[0] = "ECG" remain compatible?
  • Should omitted header defaults, such as one sample per frame, be normalized to explicit values when read? When should type checks and cross-field validation happen?

Related: #371 (record metadata), #441 (signal metadata on MultiRecord), #672 (readable attributes), and the design review on #417.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions