Robin,
I performed the above-described correction to my SN2024gy data from 1/18. I started by heavily smoothing the SN2024gy spectra, which allowed me to fit the altitude dependence to a quadratic function for each wavelength. That allowed me to map all the spectra back to the same altitude, that at which I took the reference star data.
Since I took data for two reference stars (HD103578 at 23 deg) and (HD97633 at 34 deg), I did this twice, obtaining the following altitude-adjusted spectra
You can see that the adjustment is not perfect, but it is a big improvement over the original. With these in hand, I summed over all the spectra in each set and then applied the response function for the appropriate star. This allows me to compare my final spectra to yours
As you can see, my results are much closer to yours now. The comparison for "23 deg" (i.e., mapping to 23 deg altitude and correcting with HD103578) is closer at the blue end. I tend to trust the "34 deg" data more, however, because the altitude adjustment gave more consistent results. In some regions, the agreement is really remarkable.
Comments welcome.
--Michael
Edited by mborland, 21 January 2024 - 08:55 PM.