Skip to content

Refactoring: Put data in separate attribute of RTDC_DataSet #8

@paulmueller

Description

@paulmueller

To separate data from functions, the column data loaded from tdms files should be stored in a separate attribute of RTDC_DataSet.

  • Introduce the RTDC_DataSet.events attribute that can be addressed like a dictionary (e.g. ds._events["time"] returns a numpy array.
  • For the transition: Override the getattr method of RTDC_DataSet and pray that this does not break anything
  • Design the new submodule such that other data columns can be added/computed dynamically (e.g. average grayscale value, image, contour, trace)
  • Make this compatible with the proposed .rtdc file format (dictionary access of events columns of an hdf5) (New standard file format for RT-DC data sets using hdf5 ZELLMECHANIK-DRESDEN/ShapeOut#151)

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