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 tutorial about working with Resolution HDUs #43

Open
sbailey opened this issue Mar 9, 2020 · 7 comments
Open

add tutorial about working with Resolution HDUs #43

sbailey opened this issue Mar 9, 2020 · 7 comments
Assignees

Comments

@sbailey
Copy link
Collaborator

sbailey commented Mar 9, 2020

e.g. expand on this snippet

from desispec.interpolation import resample_flux
from desispec.resolution import Resolution
R = Resolution(spectra.resolution_data['r'][i])
txflux = R.dot(resample_flux(spectra.wave['r'], twave, tflux))
@weaverba137
Copy link
Member

@sbailey, do you know if this ever made it into a notebook?

@sbailey sbailey self-assigned this Feb 28, 2023
@weaverba137
Copy link
Member

Is this important for EDR? If not, feel free to remove it from the EDR countdown project.

@weaverba137
Copy link
Member

@forero, are you aware of any existing notebooks that demonstrate resolution HDUs?

@forero
Copy link
Member

forero commented May 23, 2023

@weaverba137 We have this notebook https://github.com/desihub/tutorials/blob/23.4/meetings/Dec2021/SpectroperfectionismExample.ipynb that does a basic demonstration of the concept, but it doesn't quite follow @sbailey's original idea.

@forero forero self-assigned this May 24, 2023
@forero
Copy link
Member

forero commented May 24, 2023

@sbailey Are you happy with this notebook https://github.com/desihub/tutorials/blob/23.4/meetings/Dec2021/SpectroperfectionismExample.ipynb that mentions resolution HDUs?

@sbailey
Copy link
Collaborator Author

sbailey commented Jun 1, 2023

@forero thanks for finding that historical notebook. Yes, that covers the topics I was thinking of for this ticket. The action item now is to make an updated version of that notebook that uses EDR data as input, and put it some place easier to find that buried under a meetings/ subdir. This might be more technical than "getting_started", but oddly we don't seem to have a directory for spectra-oriented tutorials.

@forero forero added the EDR label Jun 6, 2023
@forero
Copy link
Member

forero commented Jun 23, 2023

I haven't been able to address the issue yet. I am removing it from the EDR board for the time being.

@forero forero removed the EDR label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants