Closed ashodkh closed 1 year ago
@ashodkh thank you for this contribution!
As you may have seen, there has been a lot of activity on the code base, including on the flux_ivar bug fix that you've included in this PR. Could you please either close this PR and reopen a new PR with just your notebook or merge with main
and fix the conflict(s) in emlines.py
?
Also, your notebook is great but could you please add a few more "header" details, including your name and affiliation and instructions for how to load the dependencies? For example, here's a nice tutorial that @geordie666 wrote for working with targeting bits that you can use as a model-- https://github.com/desihub/desitarget/blob/main/doc/nb/target-selection-bits-and-bitmasks.ipynb
Thanks again.
I added a tutorial that shows how to obtain the fastspecfit and observed healpix spectra of an object in the fastspecfit catalog. I also squared the weights in the flux_ivar calculation. The sum of the weights was already squared, but the weight itself in np.sum (weights/line_ivar) should also be squared.