Skip to content

Add World Coord Value of Sliced out Dimension of NDCube to Extra_coords. #136

@DanRyanIrish

Description

@DanRyanIrish

Example:
Let the NDCube have three dimensions, space, space, wavelength.
Slice out the wavelength dimension:

>>> new_cube = NDCube[:, :, 0]

Value of wavelength at that sliced pixel should be in extra_coords:

>>> new_cube.extra_coords
{"wavelength": {"axis": None, "value": 1 nm}}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions