Skip to content

Review transformation layer and interface #3

@tkittel

Description

@tkittel

Review of this file: https://github.com/mccode-dev/McStasToX/blob/main/mcstastox/LoadFile.py

The Data class acts as the context manager and interface of the package. It loads the NeXus file with the McStasNeXus class. The Data class has several methods that are just thin interfaces to the McStasNeXus class to ease accessing data for the user. It also has transformation of data from local- to global-coordinate system, and handles exporting. Export can currently be to numpy or scipp.

See demo notebooks for examples of how to use the class.

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