Skip to content

Numpy ufunc and Syncopy data object #376

@tensionhead

Description

@tensionhead

According to the Numpy doc we could try to add __ufunc_array__ methods to our data classes to automatically allow numpy ufuncs like np.real, np.abs and so on to work with Syncopy data objects. For basic operations where one operation is applied to every element of a dataset, this could be worthwhile exploring.

Eventually this could turn out to be really powerful, as basically Syncopy data objects which implement __ufunc_array__ then would act like the np.ndarray class, also for arithmetics and so on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExploreExamine novel functionality/proposed changes etc. Does not necessarily involve coding things.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions