Skip to content

[Requirement] Slicing dataset based on a certain log. #147

@YooSunYoung

Description

@YooSunYoung

Executive summary

Dataset should be split based on the timestamp of the certain logs.

Context and background knowledge

During the measurement, there will be some changes and they will be logged into the files.
They will have timestamps and the dataset should be binned(sliced) based on thaose timestamps.

Inputs

File or dataset that contains NXlog or other time-dependent fields.

Methodology

I think it'll be nice if there is a binning helper that uses foreign key for binning.
For example, we need to use the timestamp of the rotation_angle to slice the data, and the timestamp will be the foreign key.

Otherwise, we can just assume the foreign key will always be the timestamp...?

Outputs

Sliced dataset as....

@scipp/ess-maintainers I'm not sure if it should be a DataGroup or DataArray...

Which interfaces are required?

Python module / function

Test cases

There is a timepix dataset that recorded rotation angle of the sample.
The dataset should be split based on the rotation angle.

Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    essreduceIssues for essreduce.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions