Skip to content

DataArray subset #21

@peendebak

Description

@peendebak

At the moment there is no functionality to make a subset of a DataSet or DataArray, e.g. if data have a DataSet with a 2D data array amplitude and setpoint arrays x, y one should be able to do

subdataset = dataset.subset('amplitude', 0:10, 0:30) 

assert(subdataset.x.size==10)
assert(subdataset.y.shape==(10, 30) )

Some questions

  • Which notation do we want to use?
  • Do we copy the metadata, or just create an empty metadata?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions