Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DanRyanIrish opened this issue Dec 11, 2018 · 3 comments
Closed
Milestone

Comments

@DanRyanIrish
Copy link
Member

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}}
@kakirastern
Copy link

I will attempt to add this feature soon.

@kakirastern
Copy link

PR opened for this issue.

@DanRyanIrish
Copy link
Member Author

This issue has been incorporated into #284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants