neuroinformatics-unit / movement

Python tools for analysing body movements across space and time
http://movement.neuroinformatics.dev
BSD 3-Clause "New" or "Revised" License
77 stars 7 forks source link

Make `_from_valid_data` public #223

Closed vigji closed 2 weeks ago

vigji commented 2 weeks ago

Is your feature request related to a problem? Please describe.

I would like to create valid datasets from the output of custom pipelines and not from file.

Describe the solution you'd like I would simply make the movement.io._from_valid_data public - or add a public interface to it. Sorry if there's already one and I missed it!

niksirbi commented 2 weeks ago

Hey @vigji, we recently added a public from_numpy() function, I think this should cover your use-case?

You can try updating to the latest movement version to use that.

See our rationale in https://github.com/neuroinformatics-unit/movement/pull/194

vigji commented 2 weeks ago

Oh amazing exactly what I was looking for, thanks :)