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

Reproject NDCubeSequence to NDCube #430

Open
DanRyanIrish opened this issue Jun 16, 2021 · 0 comments
Open

Reproject NDCubeSequence to NDCube #430

DanRyanIrish opened this issue Jun 16, 2021 · 0 comments

Comments

@DanRyanIrish
Copy link
Member

Description

Create a method on NDCubeSequence that:

  • Uses NDCube.resample (Initial NDCube.resample Method #429) reprojects each NDCube in the sequence to the WCS of the first NDCube;
  • Stacks the data arrays along an additional 0th array dimension
  • Generates a new WCS that adds an initial array axis to the WCS of the first cube. Let this new axis simply be in pixel units. A later issue can generate physical coordinates for this axis based on user input of cube global_coords.
  • Returns a new (n+1)-D NDCube using the just the reprojected and stacked data array and the newly generated WCS object. Drop all other information to start with.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
GSOC: Resampling
In progress
Development

Successfully merging a pull request may close this issue.

1 participant