Comments (10)
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.
from chiantipy.
So you would recommend not relying on it (the built-in functions) and instead do it manually?
from chiantipy.
The use of photons should be OK. I have used it in the past but all of the routine expect a temperature in Kelvin
from chiantipy.
What about wavelengths in keV?
from chiantipy.
right now, only eV
from chiantipy.
I am sorry, I am confused.
In .chiantirc files, options for wavelength are in angstrom,nm and keV.
But looking through the code and as you mentioned above, it looks like wavelength is actually expected in eV
ChiantiPy/ChiantiPy/core/Ion.py
Lines 2157 to 2158 in b92bcd6
Isn't the rc file options and code contradictory then?
from chiantipy.
yes, they are contradictory. I have not looked at the in a long time. Will try to sort it out.
from chiantipy.
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.
from chiantipy.
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.
from chiantipy.
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.
from chiantipy.
Related Issues (20)
- KeyError on windows 10 HOT 5
- Error on running provided jupyter notebooks in the repo HOT 3
- line identifications in spectrum plot HOT 13
- Ability to give custom abundance files HOT 8
- Error while using spectrum with elementList only when all the ions are not present in the masterlist HOT 7
- Unexpected behavior when setting minAbund lower than lowest abund HOT 3
- Error when giving "Zn" in elementlist HOT 2
- How much memory does the mspectrum process consumes? HOT 1
- Chianti is taking more threads than specified HOT 2
- Clarify emission measure units in the function documentations. HOT 2
- Getting spectrum from Ch.spectrum without smoothing/filtering HOT 4
- IDL and ChiantiPy gives different results. HOT 4
- Possible typo in function's documentation HOT 1
- NaNs generated when calculating spectra under certain conditions HOT 9
- Upload 0.15.1 to PyPI HOT 3
- Non-ionization equilibrium? HOT 2
- Unable to load ioneq HOT 10
- Two-photon calculation? HOT 1
- Problem with mspectrum? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chiantipy.