-
Notifications
You must be signed in to change notification settings - Fork 31
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
Question: Support for photons/keV completed? #399
Comments
that was the original intention. There is some support for having the flux in photon that has worked in the past. Have not tried it lately. There is no support for the wavelength in keV. but T(Kelvin)/constants.boltzmannEv should convert to eV. |
So you would recommend not relying on it (the built-in functions) and instead do it manually? |
The use of photons should be OK. I have used it in the past but all of the routine expect a temperature in Kelvin |
What about wavelengths in keV? |
right now, only eV |
I am sorry, I am confused. ChiantiPy/ChiantiPy/core/Ion.py Lines 2157 to 2158 in b92bcd6
Isn't the rc file options and code contradictory then? |
yes, they are contradictory. I have not looked at the in a long time. Will try to sort it out. |
I have looked into this. Implementing the full range of wavelength possibilities is doable for line spectra but would take some work. However, it is more complex for the continua so I am not going to try to implement the wavelength possibilities right now. |
I have decided to go ahead an implement the use of units other than angstroms for spectral line calculations. These include nm and energies in eV and keV. However, they will not work in spectral calculations and the user will be warned. |
I see that it has been implemented in the new release, thank you for your efforts. I think it is better to leave the issue open as the feature has not been implemented fully (since continuum calculation still not work), for future reference. |
Hi,
I have seen that units for flux can be changed using a .chiantirc files. Is the support for flux in photons and wavelength in keV completed?
The text was updated successfully, but these errors were encountered: