Skip to content

fix: wavelength grid to show nm range correctly #719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

manbhav234
Copy link

@manbhav234 manbhav234 commented Mar 10, 2025

This PR fixes #679 .

Earlier, selecting "nm" as the units for wavelength range generated the correct spectrum but the "x-range" in the plot grid showed "cm-1" range. Upon investigation, I found that the radis.calculate_spectrum() always returns the spectrum in "cm-1" range and hence, it is necessary to convert the obtained values to "nm" if user selected "nm" range.

Before:

Before

After:

After

Copy link

vercel bot commented Mar 10, 2025

@manbhav234 is attempting to deploy a commit to the Main Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shown wavelength grid is wrong
1 participant