Skip to content

Consider mechanism to track additional data properties such as whether complex is Hermitian #22

@cmeyer

Description

@cmeyer

The DataAndMetadata object includes the ability to describe the data type, dimensional usage, and calibrations. But there is no mechanism to track the overall nature of the data array such as whether complex data is Hermitian.

See nion-software/nionswift#242

The Hermitian-ness of the data can be determined programmatically, but it would be time consuming. So having some mechanism of tracking it would be useful.

Also, it might be nice to treat Hermitian-ness as a data type (i.e. complex64-hermitian) but this might be difficult to support when transparently masquerading as an ndarray since ndarray has no such data type.

Storing this as a property in metadata would be another possibility. But two things make this difficult: the first is the abstract design idea that the metadata is not descriptive of the data mechanics; the second is that metadata is stripped during any processing (this behavior is currently being debated; but that's how it works right now).

That leaves adding another descriptive element to DataAndMetadata to describe whether complex data is to be considered Hermitian.

Are there other similar descriptive possibilities other than Hermitian?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions