Skip to content

Create a reader/writer #438

@CSSFrancis

Description

@CSSFrancis

Describe the functionality you would like to see.

It would be nice to have a reader/writer such that you could:

data, axes,metadata, original_metadata =  rsciio.load("file.ext", lazy=True)

rsciio.save("file.ext", data=data, axes=axes, metadata=metadata, original_metadata= original_metadata)

and automatically determine the extension like hyperspy does.

@ericpre Is there any reason against moving the code from hyperspy downstream for this?

@smribet This should be helpful for reading/writing to different formats without too much additional overhead as long as the axes are defined correctly.

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