Skip to content

AxisArray #186

Closed
Closed
@yakir12

Description

@yakir12

Could be mega cool if an interpolation of an AxisArray would allow for indexing as if it was an AxisArray.
So right now this works:

A = AxisArray(rand(length(22:2:60)), Axis{:time}(22s:2s:60s))
a = interpolate(A, BSpline(Constant()), OnCell())

but when indexing into a, I need to used standard indices, a[1:2], to get the values I'd get with A[22s..24s].

This functionality makes a lot of sense to me because the predictor variable is baked into the AxisArray, suppling the interpolation with everything it needs! This will also expand nicely into Images.jl's use of AxisArray and all the other packages (Plots probably)

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