Closed TheDucktective closed 3 months ago
Hi,
Thanks for your contact.
I may need a little more info from your side. Could you please clarify which version of our code you are using? Since Wu's code is based on an earlier version of ours, the design of the initial parameters is a little changed.
Do you use the qospar.fits
generated from Wu's code directly replacing our fits or you transcript her form into our example? I would expect some error raised if you just replace our fits with hers.
If you do transcript her parameter setting to our example.ipynb
and generate fits from our script, please attach the code for the line_priors
variable. (In the 5th code cell of example.ipynb
)
Besides, the matplotlib problem can be solve by downgrading the matplotlib version to 3.7.X. This problem occurs in 3.8 or higher. But the plot section in our code is not perfect, so my current idea is not to patch but to reorganized the plot part in the future. Sorry for the inconvenience.
Best, Wenke
Hi,
In the end it was just a mix-up on my part with the files. I have another issue but I'll make a dedicated post.
Thanks for your response
Hello,
I am having issues trying to redo the fitting of the example's quasar plate : 5808 mjd : 56325 fiberid : 560, the code compiles and give similar results as to what is shown in the presentation but the SiIV emission line doesn't appear in the fit :
I am using the qsopar.fits parameter file from : https://github.com/QiaoyaWu/sdss4_dr16q_tutorial/blob/main/qsopar_generate.py
After the figures' plot this code :
yields :
['Lya', 'CIV', 'CIII', 'MgII']
The fitting function call is :
Also I did what was advised there : https://github.com/legolason/PyQSOFit/pull/64 for the overlapping axis but it didn't seem to change much.
If you had any idea regarding these issues it would be greatly appreciated. Thank you again for the code and have a great day !