Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Spectral extraction tests #158

Closed
wants to merge 9 commits into from
Closed

Spectral extraction tests #158

wants to merge 9 commits into from

Conversation

ibusko
Copy link
Contributor

@ibusko ibusko commented Dec 3, 2021

This is in response to JDAT-1855: "Try already available specreduce functionality on JWST data".

The notebook relies on the kosmos package to build a trace object necessary to run specreduce's boxcar extraction code. It also uses a locally-fixed version of this code, where a bug was removed. Lastly, it has trouble in actually using the Spectrum1D instance created by the extraction code. This object has its wavelength attribute set in pixel units, which causes trouble with code downstream that wants to use it.

The notebook also uses boxcar-extraction code taken from another notebook, adapts and augments it to allow extractions from boths2d and s3d data, and exercises it with JWST simulated data.

Added on 12/08/2021: minimalist boxcar code based on numpy slices (good for rectified 2-D and 3-D data only).

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ibusko ibusko changed the title Spectral extraction tests DRAFT: Spectral extraction tests Dec 9, 2021
@ibusko ibusko changed the title DRAFT: Spectral extraction tests Spectral extraction tests Dec 10, 2021
@ibusko ibusko marked this pull request as draft December 10, 2021 15:48
@ojustino
Copy link
Collaborator

@ibusko Since your notebook was approved in astropy/specreduce#79 and astropy/specreduce#82 on both scientific and technical bases, I'm going to close this pull request. It was said that we don't actually want to merge this notebook here in dat_pytinthesky.

@ojustino ojustino closed this Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants