Closed ZechangSun closed 4 years ago
Ok, I will review this once the PR #33 is done. Thanks.
This is a little more challenging then what we have tried so far. In particular the quasars will have a wide range of redshifts.
I've suggested 2 options above. Please explore these for a set of ~10 quasars with z=2-4. Thanks.
I finally chose the 1st option since [1070,1170] is out of some spectrum's wavelength range. I have also squashed the bug and updated the previous work which may have problems because of that bug. I have updated a notebook which shows how to normalize the spectrum and 19 normalized spectrum redshift from 2 to 4. Hope for your advice. Thanks!
Ok, a few things:
Thanks!
Thanks for your advice above. I discussed with @caiz12, and his advice is:
Ok, this is almost good. Address the bugs and
move the normalization code to its own method in preprocess.py
.
We'll have to see how this works on low S/N data, but hopefully it will be ok. Thanks @ZechangSun
Dear X, I noticed that you have reminded me that some comments needed to be added to make my code more readable, I have updated my code and added those comments. Thanks for your advice. Besides, I have also noticed that you have changed the code slightly for its readability, I really appreciate your advice, my previous work is confusing sometimes, and I have learnt from your suggestions and will make sure its readability next time. I have updated the other parts of the code to be consistent with the changes you have made. Wish your good healthy and thanks for your help!
Great!
I am merging now.
merging.
Dear X, this code is about the normalization, hope for your advice. Thanks!