Skip to content

Inconsistency between synthetic spectra obtained within GUI and using python code #10

@nagarajvernekar30

Description

@nagarajvernekar30

Hello,

I was using iSpec to create a grid of low resolution synthetic spectra. For this, I was using turbospectrum with VALD linelist and MARCS models. What I noticed was that, the spectrum I obtained using the python code given in example.py to generate synthetic spectrum was providing a different spectrum compared to the one obtained within the GUI. I generated sun spectra using both these and compared to real sun at 5000 resolution and found the GUI spectrum is a much better representation than the one obtained through the python code.

Upon trying a bunch of different things, I found that, this difference is not seen in high resolution. Therefore, I think its the problem of convolving the spectrum to lower resolution. I think it could be due to the fact that when the spectrum is being degraded, the code is only giving a to_resolution but not from_resolution. From past experience with degrading spectrum within iSpec GUI, I know that when the from_resolution is not provided, the degraded spectrum is not good enough.

Do you think this is correct ? If this is correct, then why don't the GUI face the same problem in degrading ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions